Peach: Local-first video metadata scraper and media manager.
fix(integration): 接收已认可的 codex-processing-notice-dismiss 改动
longmeidao174a1b56a930
diff --git a/docs/OPERATIONS.md b/docs/OPERATIONS.mdindex 5e9f3920e..b48ebc355 100644--- a/docs/OPERATIONS.md+++ b/docs/OPERATIONS.md@@ -271,6 +271,8 @@ Peach 配置页地址是 `/configuration`。从管理菜单或设置弹窗的「应用资料采集器每次会话最多 6,000 次请求、1 GiB 下载和 4 小时,另有来源限速、冷却及单项截止时间。应用采集流水线运行期检查数据盘 1 GiB 底线;独立封面、探测和九宫格脚本采用各自的磁盘参数,封面与九宫格默认 40 GiB。流量和磁盘预估本身不改变这些限制。+右下角的扫描与采集进度浮窗可收起详情,也可点「隐藏任务提示」关闭;隐藏后后台任务继续执行。当前页签会记住这趟任务的隐藏选择,刷新、换页及暂停后继续均保持隐藏。在「管理 → 数据管理 → 扫描与采集」卡片点击「显示进度浮窗」即可恢复。新任务自动显示,隐藏期间任务完成仍有一次完成提示;失败详情保留在数据管理页。+「扫描与采集」启动前按待处理项显示流量约值;运行中的任务面显示已用流量与预计总流量,可展开查看带网盘图标的各盘明细。资料下载按番号去重,扣除已齐全的字段、可用封面、有效缓存和来源近期确认无结果的请求,并采用现有 HTTP 下载预算;外部采集器另行估算。配套文件检查完毕后,按实际取得的字段和核查范围更新预估,完成的工作从待下载量中扣除。网盘读取按对应 CloudDrive 账号的数据代理配置分别汇总;跟随系统或尚未匹配账号的目录单独保留连接状态,不计入已确认代理合计。“代理保护”限制自动读取视频,不决定网盘的连接方式。本地磁盘读取不计入网络流量;资料站下载按来源连接设置另列。挂载读取量受缓存和预读影响,浏览器与外部采集器的流量也无法完整统计,读数作估算参考。新目录尚未登记的文件在扫描后更新预估,暂停和应用重启保留同一任务的累计值。媒体库设置中的「CloudDrive 代理」只显示已添加媒体库对应的账号,按精确挂载点或推送路径前缀绑定;多个媒体库共用同一账号时放在同组。API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。先在下载设置中保存 CloudDrive2 地址与 API 令牌;令牌需要“查看云盘”权限,保存还需要“修改云盘”权限,自动识别挂载点需要“查看挂载点”权限。页面进入、重新聚焦和点击「重新读取」时取得 CD 当前配置;有未保存编辑时,聚焦不覆盖表单。保存会立即写入 CloudDrive 并读回确认,影响该账号的其他消费者。代理密码不回显,留空保留,勾选后可清除。保存前检查整个账号配置的修订号;官方接口没有原子条件写入,其他客户端恰好在检查与保存之间修改仍有竞争窗口。请求超时或回读失败时,先重新读取核对,不自动重发。HTTP/SOCKS5 表示配置了代理入口,具体节点计费仍取决于代理工具的规则和 TUN。更多接口的适用性见 [CloudDrive 官方 API 接入](CLOUDDRIVE_API.md)。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex f94fbe0a5..10b33bf5a 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -884,6 +884,8 @@ Python 源文件纳入 `src/peach/library_sharing.py` 与 `src/peach/library_pro任务卡复用 Sonner 2.0.8(MIT)的 `toast.custom`、稳定任务 id 与无限停留时间;`processing` 和 `receipts` 两个栈按 `toasterId` 分流,普通回执按任务面板实测高度避让。任务栈启用 `expand` 保持自动高度,详情开合由卡片管理;收起只隐藏正文,暂停、速度与估时仍可见。服务端 `steps` 在实际处理边界更新,完成步骤以勾选与删除线显示。失败浮层只自动展示本次观察到的结束状态或两分钟内的结果,旧失败快照不自动弹出;用户关闭后保持关闭。React Aria 1.22.1 的 Slider、Popover 与现有 BoardUI Button 承担键盘、焦点与浮层行为,三档对应 `low/standard/high`;最高档流光使用 SVG 与 CSS,浮层关闭后卸载,暂停与后台页面停止运动。界面重建依据与差异见 [控件取证](reference-snapshots/processing-task-controls.md)。无新增依赖。问题明细沿用 `state/library-processing-<job_id>.issues.jsonl`,新任务保留其他任务的明细。+任务浮窗的显示选择复用 React 19.3.1 的 `useSyncExternalStore` 与页签级 `sessionStorage`,按任务号同步隐藏和恢复;关闭按钮复用 BoardUI Button,滑动关闭沿用 Sonner。隐藏后查询和完成通知持续工作,数据管理卡片提供恢复入口。该选择仅属于浏览器界面,不写任务控制接口或账本,无新增依赖。+站点强调色检查覆盖进度、焦点、选中态、操作按钮与流光:旧 `--feedback-success` 引用既有强调色色阶;RSS 订阅保留橙色,信息、成功、警告、错误、品牌与图表分类保留语义色。任务中心的摘要复用结果字段白名单和 `Disclosure`:主区域以中文列表显示处理结果,原始字段与来源报告保留在「技术详情」。云下载复用 TanStack Query 5.104.3(MIT)的 `useInfiniteQuery`,按任务 id 倒序每批读取 20 条,轮询覆盖已加载页面;`has_more` 与 `next_before_id` 指定后续页面,更新状态不改变提交顺序。展示番号复用 `catalog_rules.release_code_from_filename`,优先已保存的番号和已绑定作品的番号,缺失时只展示名称中取得的唯一番号;冲突或未识别时不推断。标题资料按页批量读取已绑定作品的 `catalog_title`/`original_title`,其次使用提交标题和 `jav_fallback_title` 清理后的资源名称;`display_code`/`display_title` 是只读投影,不写真实 ledger。卡片复用 `javTitleParts` 去除标题开头的重复番号,以「番号 · 标题」显示,缺少标题时只显示番号。标题单行截断,状态在桌面与标题同行,窄屏另起一行;完整标题可展开。未新增依赖。diff --git a/frontend/e2e/library-processing-controls.test.ts b/frontend/e2e/library-processing-controls.test.tsindex c6afc9c92..538f40a78 100644--- a/frontend/e2e/library-processing-controls.test.ts+++ b/frontend/e2e/library-processing-controls.test.ts@@ -10,6 +10,39 @@ describe('扫描与采集控制', () => {before(async () => { browser = await launch() });after(async () => { await browser?.close() });for (const viewport of VIEWPORTS) {+ it(`${viewport.name}:隐藏、刷新、恢复与新任务的浮窗`, async () => {+ let state = { status: 'running', job_id: 'visibility-first', checked: 2, total: 10 };+ const writes: string[] = [];+ const opened = await visit(browser, '/data-cleanup', viewport, async page => {+ await page.route('**/api/library-processing{,?*}', async route => {+ if (route.request().method() !== 'GET') writes.push(route.request().method());+ await route.fulfill({ json: state });+ });+ });+ const { page } = opened;+ const dock = page.locator('[data-processing-dock]');+ const restore = page.getByRole('button', { name: '显示进度浮窗', exact: true });+ try {+ await dock.getByRole('button', { name: '隐藏任务提示', exact: true }).click();+ await dock.waitFor({ state: 'hidden' });+ await restore.waitFor();+ state = { ...state, status: 'paused', checked: 5 };+ await page.reload();+ await restore.waitFor();+ assert.equal(await dock.count(), 0);+ await restore.click();+ await dock.waitFor();+ await dock.getByText('扫描与采集已暂停', { exact: true }).waitFor();+ await dock.getByRole('button', { name: '隐藏任务提示', exact: true }).click();+ await dock.waitFor({ state: 'hidden' });+ state = { ...state, status: 'running', job_id: 'visibility-next' };+ await dock.waitFor();+ const current = await layout(page);+ assert.ok(current.scrollWidth <= current.viewportWidth, JSON.stringify(current));+ assert.deepEqual(writes, []);+ } finally { await opened.close() }+ });+it(`${viewport.name}:资源提示、粗估、模式切换与暂停继续`, async () => {let state = { status: 'idle', job_id: '', checked: 0, total: 100, speed_mode: 'standard',steps: [{ id: 'sources', label: '扫描文件', status: 'complete' },diff --git a/frontend/src/react/library-processing/library-processing-card.tsx b/frontend/src/react/library-processing/library-processing-card.tsxindex 442bb1ea7..9c9a8fdc9 100644--- a/frontend/src/react/library-processing/library-processing-card.tsx+++ b/frontend/src/react/library-processing/library-processing-card.tsx@@ -28,6 +28,7 @@ import {notesLine, processingActive, remainingTime, type LibraryProcessingCommand, type LibraryProcessingData,} from './library-processing';import { useLibraryProcessingJob } from './use-library-processing';+import { setProcessingNoticeVisible, useProcessingNoticeVisibility } from './processing-notice-visibility';import { ProcessingActions } from './processing-actions';import { ProcessingProgress } from './processing-line';import { TrafficProgress } from './processing-traffic';@@ -157,6 +158,8 @@ export function LibraryProcessingCard(props: LibraryProcessingProps) {useEffect(() => { if (settled) onComplete?.() }, [settled, onComplete]);const state = job.data ?? { status: 'idle' };+ const noticeKey = state.job_id || 'unavailable';+ const { hidden } = useProcessingNoticeVisibility(noticeKey);const problem = start.error ? errorMessage(start.error): job.isError ? (job.data ? DISCONNECTED_TEXT : errorMessage(job.error)): '';@@ -187,7 +190,13 @@ export function LibraryProcessingCard(props: LibraryProcessingProps) {</>}><div className="flex flex-col gap-2">- <FieldsetTitle>扫描与采集</FieldsetTitle>+ <div className="flex flex-wrap items-center justify-between gap-2">+ <FieldsetTitle>扫描与采集</FieldsetTitle>+ {hidden && (processingActive(state) || state.status === 'failed' || job.isError)+ ? <Button variant="secondary" size="small" onClick={() => setProcessingNoticeVisible(noticeKey, true)}>+ 显示进度浮窗+ </Button> : null}+ </div><p className="text-body-2-regular text-text-secondary">{SCAN_CARD_TEXT}</p>{state.status === 'paused' && !state.total? <span className="self-start"><StatusLabel>已暂停</StatusLabel></span>diff --git a/frontend/src/react/library-processing/library-processing-dock.tsx b/frontend/src/react/library-processing/library-processing-dock.tsxindex 40677b1a0..cca125cfd 100644--- a/frontend/src/react/library-processing/library-processing-dock.tsx+++ b/frontend/src/react/library-processing/library-processing-dock.tsx@@ -5,6 +5,7 @@ import { errorMessage } from '../../api';import { DISCONNECTED_TEXT, freshProcessingResult, processingActive } from './library-processing';import { ProcessingNoticePanel } from './library-processing-notice';import { useLibraryProcessingJob } from './use-library-processing';+import { setProcessingNoticeVisible, useProcessingNoticeVisibility } from './processing-notice-visibility';const TASK_TOAST = 'peach-library-processing';@@ -15,27 +16,28 @@ const TASK_TOAST = 'peach-library-processing';* 落在随后画出任务卡的那次更新之后,把刚出现的任务卡一起收走,状态不变就再也不出来。 */export function LibraryProcessingDock({ toast: receipt }: Pick<LibraryProcessingProps, 'toast'>) {const { job, settled } = useLibraryProcessingJob({ toast: receipt, mode: 'notice' });- const dismissed = useRef('');const shown = useRef(false);const state = job.data;+ const key = state?.job_id || 'unavailable';+ const { hidden, requested } = useProcessingNoticeVisibility(key);const problem = job.isError ? state ? DISCONNECTED_TEXT : errorMessage(job.error) : '';useEffect(() => {const active = processingActive(state);- const key = state?.job_id || 'unavailable';const currentFailure = state?.status === 'failed'&& (settled?.job_id === state.job_id || freshProcessingResult(state));- if (!active && ((!problem && !currentFailure) || dismissed.current === key)) {+ if (hidden || (!active && !problem && !currentFailure && !(requested && state?.status === 'failed'))) {if (shown.current) toast.dismiss(TASK_TOAST);shown.current = false;return;}- toast.custom(() => <div className="peach-react"><ProcessingNoticePanel state={state} problem={problem} measure /></div>, {- id: TASK_TOAST, toasterId: 'processing', duration: Infinity, dismissible: !active,- closeButton: !active, className: 'processing-task-toast',- onDismiss: () => { dismissed.current = key; shown.current = false },+ toast.custom(() => <div className="peach-react"><ProcessingNoticePanel state={state} problem={problem} measure+ onHide={() => setProcessingNoticeVisible(key, false)} /></div>, {+ id: TASK_TOAST, toasterId: 'processing', duration: Infinity, dismissible: true,+ closeButton: false, className: 'processing-task-toast',+ onDismiss: () => { setProcessingNoticeVisible(key, false); shown.current = false },});shown.current = true;- }, [state, problem, settled]);+ }, [state, problem, settled, key, hidden, requested]);useEffect(() => () => {if (shown.current) toast.dismiss(TASK_TOAST);shown.current = false;diff --git a/frontend/src/react/library-processing/library-processing-notice.tsx b/frontend/src/react/library-processing/library-processing-notice.tsxindex 4c312634b..c811f8cc1 100644--- a/frontend/src/react/library-processing/library-processing-notice.tsx+++ b/frontend/src/react/library-processing/library-processing-notice.tsx@@ -1,7 +1,7 @@/* 常驻任务面:状态、计数与控件共用服务端快照。位置由全站通知栈管理。 */import { useEffect, useId, useRef, useState } from 'react';import { VisuallyHidden } from 'react-aria';-import { RiArrowRightLine, RiCheckLine, RiCheckboxBlankCircleLine, RiErrorWarningLine, RiInformationLine } from '@remixicon/react';+import { RiArrowRightLine, RiCheckLine, RiCheckboxBlankCircleLine, RiCloseLine, RiErrorWarningLine, RiInformationLine } from '@remixicon/react';import { Button } from '@/components/base/buttons/button';import { LinkButton } from '@/components/base/buttons/link-button';import { cx } from '@/utils/cx';@@ -30,8 +30,8 @@ function Gauge({ value, max }: { value: number; max: number }) {</svg>;}-export function ProcessingNoticePanel({ state, problem = '', measure = false }: {- state?: LibraryProcessingData; problem?: string; measure?: boolean;+export function ProcessingNoticePanel({ state, problem = '', measure = false, onHide }: {+ state?: LibraryProcessingData; problem?: string; measure?: boolean; onHide?(): void;}) {const [expanded, setExpanded] = useState(() => expandedFor(state?.job_id));const bodyId = useId();@@ -81,6 +81,8 @@ export function ProcessingNoticePanel({ state, problem = '', measure = false }:</div><Button size="small" variant="secondary" iconOnly leadingIcon={CollapseChevron} data-processing-toggle="" data-collapse-upward=""aria-label={expanded ? '收起任务详情' : '展开任务详情'} aria-expanded={expanded} aria-controls={bodyId} onClick={toggle} />+ {onHide ? <Button size="small" variant="secondary" iconOnly leadingIcon={RiCloseLine}+ aria-label="隐藏任务提示" onClick={onHide} /> : null}</div><TrafficProgress traffic={state?.traffic} detailsOpen={trafficExpanded} onDetailsChange={setTrafficExpanded} /></div>diff --git a/frontend/src/react/library-processing/processing-notice-visibility.ts b/frontend/src/react/library-processing/processing-notice-visibility.tsnew file mode 100644index 000000000..88a14c4f5--- /dev/null+++ b/frontend/src/react/library-processing/processing-notice-visibility.ts@@ -0,0 +1,27 @@+import { useSyncExternalStore } from 'react';++const KEY = 'peach.library-processing.visibility';+const listeners = new Set<() => void>();+let fallback = '';++function snapshot(): string {+ try { return sessionStorage.getItem(KEY) || '' }+ catch { return fallback }+}++function subscribe(listener: () => void) {+ listeners.add(listener);+ return () => { listeners.delete(listener) };+}++/** 只控制当前浏览器页签的任务提示;任务查询与运行状态独立。 */+export function setProcessingNoticeVisible(jobId: string, visible: boolean): void {+ fallback = `${visible ? 'shown' : 'hidden'}:${jobId}`;+ try { sessionStorage.setItem(KEY, fallback) } catch { /* 存储不可用时保留当前页面的选择。 */ }+ listeners.forEach(listener => listener());+}++export function useProcessingNoticeVisibility(jobId: string) {+ const choice = useSyncExternalStore(subscribe, snapshot, () => '');+ return { hidden: choice === `hidden:${jobId}`, requested: choice === `shown:${jobId}` };+}diff --git a/frontend/test/react/library-processing-dock.test.tsx b/frontend/test/react/library-processing-dock.test.tsxindex f51cbd550..1d3cf77c7 100644--- a/frontend/test/react/library-processing-dock.test.tsx+++ b/frontend/test/react/library-processing-dock.test.tsx@@ -4,13 +4,14 @@ import { afterEach, beforeEach, expect, it, vi } from 'vitest';import { queryClient } from '../../src/react/query';import { LIBRARY_PROCESSING_KEY, type LibraryProcessingData } from '../../src/react/library-processing/library-processing';import { LibraryProcessingDock } from '../../src/react/library-processing/library-processing-dock';+import { setProcessingNoticeVisible } from '../../src/react/library-processing/processing-notice-visibility';import { mount } from './render';const sonner = vi.hoisted(() => ({ custom: vi.fn(), dismiss: vi.fn() }));vi.mock('sonner', () => ({ toast: sonner }));notifyManager.setScheduler(notify => notify());beforeEach(() => { sonner.custom.mockClear(); sonner.dismiss.mockClear() });-afterEach(() => { queryClient.clear(); localStorage.clear() });+afterEach(() => { queryClient.clear(); localStorage.clear(); sessionStorage.clear() });async function open(state: LibraryProcessingData) {queryClient.setQueryData(LIBRARY_PROCESSING_KEY, state);@@ -43,7 +44,7 @@ it('本次观察到的任务失败持续显示,关闭后保持收起', async (await act(async () => { queryClient.setQueryData(LIBRARY_PROCESSING_KEY, failed) });expect(sonner.custom).toHaveBeenCalled();const options = sonner.custom.mock.calls.at(-1)?.[1] as { onDismiss(): void };- options.onDismiss();+ await act(async () => options.onDismiss());sonner.custom.mockClear();await act(async () => { queryClient.setQueryData(LIBRARY_PROCESSING_KEY, { ...failed, issue_count: 1 }) });expect(sonner.custom).not.toHaveBeenCalled();@@ -53,3 +54,39 @@ it('刚刚失败的短任务仍可显示', async () => {await open({ status: 'failed', job_id: 'fresh', completed_at: Date.now() / 1000 - 10 });expect(sonner.custom).toHaveBeenCalled();});++it('运行任务隐藏后状态更新保持隐藏,恢复时显示当前进度', async () => {+ await open({ status: 'running', job_id: 'hide-current', checked: 1 });+ const options = sonner.custom.mock.calls.at(-1)?.[1] as { onDismiss(): void; dismissible: boolean };+ expect(options.dismissible).toBe(true);+ await act(async () => options.onDismiss());+ sonner.custom.mockClear();+ for (const status of ['running', 'pausing', 'paused', 'running', 'failed']) {+ await act(async () => { queryClient.setQueryData(LIBRARY_PROCESSING_KEY,+ { status, job_id: 'hide-current', checked: 9 }) });+ expect(sonner.custom).not.toHaveBeenCalled();+ }+ expect(queryClient.getQueryData<LibraryProcessingData>(LIBRARY_PROCESSING_KEY)?.checked).toBe(9);+ await act(async () => setProcessingNoticeVisible('hide-current', true));+ expect(sonner.custom).toHaveBeenCalled();+});++it('页面挂载时读取当前任务的隐藏选择,新任务正常显示', async () => {+ setProcessingNoticeVisible('saved', false);+ await open({ status: 'running', job_id: 'saved' });+ expect(sonner.custom).not.toHaveBeenCalled();+ await act(async () => { queryClient.setQueryData(LIBRARY_PROCESSING_KEY, { status: 'running', job_id: 'next' }) });+ expect(sonner.custom).toHaveBeenCalled();+});++it('隐藏任务完成后仍给一次完成回执', async () => {+ const receipt = vi.fn();+ const state = { status: 'running', job_id: 'hidden-completion' };+ queryClient.setQueryData(LIBRARY_PROCESSING_KEY, state);+ vi.stubGlobal('fetch', vi.fn(async () => ({ ok: true, json: async () => state })));+ setProcessingNoticeVisible(state.job_id, false);+ await mount(<QueryClientProvider client={queryClient}><LibraryProcessingDock toast={receipt} /></QueryClientProvider>);+ await act(async () => { queryClient.setQueryData(LIBRARY_PROCESSING_KEY, { ...state, status: 'complete' }) });+ expect(receipt).toHaveBeenCalledTimes(1);+ expect(sonner.custom).not.toHaveBeenCalled();+});diff --git a/frontend/test/react/library-processing.test.tsx b/frontend/test/react/library-processing.test.tsxindex 004bbaab6..5eca7e486 100644--- a/frontend/test/react/library-processing.test.tsx+++ b/frontend/test/react/library-processing.test.tsx@@ -14,6 +14,7 @@ import {} from '../../src/react/library-processing/library-processing';import { LibraryProcessingCard } from '../../src/react/library-processing/library-processing-card';import { LibraryProcessingNotice } from '../../src/react/library-processing/library-processing-notice';+import { setProcessingNoticeVisible } from '../../src/react/library-processing/processing-notice-visibility';import type { LibraryProcessingProps } from '../../src/react/bundle';import { actionOrder, buttonNamed as textButtonNamed, click, mount, mountRoot, submit } from './render';@@ -27,6 +28,7 @@ const buttonNamed = (name: string, root: ParentNode = document) =>afterEach(() => {queryClient.clear();localStorage.clear();+ sessionStorage.clear();});/* Query 派发更新用的是它自己抓住的那个真 `setTimeout(0)`,假时钟推不动它:推完时钟@@ -74,6 +76,15 @@ const notice = (props: LibraryProcessingProps) => (<QueryClientProvider client={queryClient}><LibraryProcessingNotice {...props} /></QueryClientProvider>);+it('隐藏任务提示后卡片提供恢复入口,恢复不提交业务请求', async () => {+ const { posts } = await open({ status: 'paused', job_id: 'restore-from-card', checked: 2, total: 10 });+ setProcessingNoticeVisible('restore-from-card', false);+ const host = await mount(card({ toast: vi.fn() }));+ await click(buttonNamed('显示进度浮窗', host));+ expect(buttonNamed('显示进度浮窗', host)).toBeNull();+ expect(posts()).toEqual([]);+});+/** 轮询是 Query 的定时器,推进时钟会引起重画,得在 act 里推。 */const tick = (ms: number) => act(async () => { await vi.advanceTimersByTimeAsync(ms) });diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 0f5ab4441..a3a672d21 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "99032ff4-87c0-4448-9107-37f6c03224b8", e._sentryDebugIdIdentifier = "sentry-dbid-99032ff4-87c0-4448-9107-37f6c03224b8");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6713ac8f-6690-4c44-95e6-c20b381b8bc0", e._sentryDebugIdIdentifier = "sentry-dbid-6713ac8f-6690-4c44-95e6-c20b381b8bc0");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {@@ -17722,101 +17722,101 @@ function O_(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var Ree = .9999, zee = 1.0001, k_ = -.01, A_ = .01;-function j_(e) {+var Ree = .9999, zee = 1.0001, Bee = -.01, k_ = .01;+function A_(e) {return e.max - e.min;}-function M_(e, t, n) {+function j_(e, t, n) {return Math.abs(e - t) <= n;}-function N_(e, t, n, r = .5) {- e.origin = r, e.originPoint = Bd(t.min, t.max, e.origin), e.scale = j_(n) / j_(t), e.translate = Bd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ree && e.scale <= zee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= k_ && e.translate <= A_ || isNaN(e.translate)) && (e.translate = 0);+function M_(e, t, n, r = .5) {+ e.origin = r, e.originPoint = Bd(t.min, t.max, e.origin), e.scale = A_(n) / A_(t), e.translate = Bd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ree && e.scale <= zee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Bee && e.translate <= k_ || isNaN(e.translate)) && (e.translate = 0);}-function P_(e, t, n, r) {- N_(e.x, t.x, n.x, r ? r.originX : void 0), N_(e.y, t.y, n.y, r ? r.originY : void 0);+function N_(e, t, n, r) {+ M_(e.x, t.x, n.x, r ? r.originX : void 0), M_(e.y, t.y, n.y, r ? r.originY : void 0);}-function F_(e, t, n, r = 0) {- e.min = (r ? Bd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + j_(t);+function P_(e, t, n, r = 0) {+ e.min = (r ? Bd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + A_(t);}-function I_(e, t, n, r) {- F_(e.x, t.x, n.x, r?.x), F_(e.y, t.y, n.y, r?.y);+function F_(e, t, n, r) {+ P_(e.x, t.x, n.x, r?.x), P_(e.y, t.y, n.y, r?.y);}-function L_(e, t, n, r = 0) {+function I_(e, t, n, r = 0) {let i = r ? Bd(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + j_(t);+ e.min = t.min - i, e.max = e.min + A_(t);}-function R_(e, t, n, r) {- L_(e.x, t.x, n.x, r?.x), L_(e.y, t.y, n.y, r?.y);+function L_(e, t, n, r) {+ I_(e.x, t.x, n.x, r?.x), I_(e.y, t.y, n.y, r?.y);}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function z_(e, t, n, r, i) {+function R_(e, t, n, r, i) {return e -= t, e = mg(e, 1 / n, r), i !== void 0 && (e = mg(e, 1 / i, r)), e;}-function B_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+function z_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {if (fd.test(t) && (t = parseFloat(t), t = Bd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;let s = Bd(a.min, a.max, r);- e === a && (s -= t), e.min = z_(e.min, t, n, s, i), e.max = z_(e.max, t, n, s, i);+ e === a && (s -= t), e.min = R_(e.min, t, n, s, i), e.max = R_(e.max, t, n, s, i);}-function V_(e, t, [n, r, i], a, o) {- B_(e, t[n], t[r], t[i], t.scale, a, o);+function B_(e, t, [n, r, i], a, o) {+ z_(e, t[n], t[r], t[i], t.scale, a, o);}-var H_ = [+var V_ = ["x","scaleX","originX"-], U_ = [+], H_ = ["y","scaleY","originY"];-function W_(e, t, n, r) {- V_(e.x, t, H_, n ? n.x : void 0, r ? r.x : void 0), V_(e.y, t, U_, n ? n.y : void 0, r ? r.y : void 0);+function U_(e, t, n, r) {+ B_(e.x, t, V_, n ? n.x : void 0, r ? r.x : void 0), B_(e.y, t, H_, n ? n.y : void 0, r ? r.y : void 0);}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function G_(e) {+function W_(e) {return e.translate === 0 && e.scale === 1;}-function K_(e) {- return G_(e.x) && G_(e.y);+function G_(e) {+ return W_(e.x) && W_(e.y);}-function q_(e, t) {+function K_(e, t) {return e.min === t.min && e.max === t.max;}-function J_(e, t) {- return q_(e.x, t.x) && q_(e.y, t.y);+function q_(e, t) {+ return K_(e.x, t.x) && K_(e.y, t.y);}-function Y_(e, t) {+function J_(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function X_(e, t) {- return Y_(e.x, t.x) && Y_(e.y, t.y);+function Y_(e, t) {+ return J_(e.x, t.x) && J_(e.y, t.y);}-function Z_(e) {- return j_(e.x) / j_(e.y);+function X_(e) {+ return A_(e.x) / A_(e.y);}-function Q_(e, t) {+function Z_(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 $_(e) {+function Q_(e) {return [e("x"), e("y")];}//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function ev(e, t) {+function $_(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var tv = { correct: (e, t) => {+var ev = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {if (G.test(e)) e = parseFloat(e);else return e;}- return `${ev(e, t.target.x)}% ${ev(e, t.target.y)}%`;-} }, Bee = { correct: (e, { treeScale: t, projectionDelta: n }) => {+ return `${$_(e, t.target.x)}% ${$_(e, t.target.y)}%`;+} }, tv = { correct: (e, { treeScale: t, projectionDelta: n }) => {let r = e, i = Id.parse(e);if (i.length > 5) return r;let a = Id.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;@@ -17944,14 +17944,14 @@ var Yee = class {}}, Xee = {borderRadius: {- ...tv,+ ...ev,applyTo: [...Ph]},- borderTopLeftRadius: tv,- borderTopRightRadius: tv,- borderBottomLeftRadius: tv,- borderBottomRightRadius: tv,- boxShadow: Bee+ borderTopLeftRadius: ev,+ borderTopRightRadius: ev,+ borderBottomLeftRadius: ev,+ borderBottomRightRadius: ev,+ boxShadow: tv}, cv = {hasAnimatedSinceResize: !0,hasEverUpdated: !1@@ -18031,7 +18031,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || i.getDefaultTransition() || hte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !X_(this.targetLayout, r), l = !t && n;+ let a = this.options.transition || i.getDefaultTransition() || hte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Y_(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 = {@@ -18110,7 +18110,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !j_(this.snapshot.measuredBox.x) && !j_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !A_(this.snapshot.measuredBox.x) && !A_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;@@ -18137,7 +18137,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;e && fv(this);- let t = this.projectionDelta && !K_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ let t = this.projectionDelta && !G_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;e && this.instance && (t || dg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {@@ -18185,9 +18185,9 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet n = this.path[e];if (!dg(n.latestValues)) continue;let r;- n.instance && (ug(n.latestValues) && n.updateSnapshot(), r = t_(), D_(r, n.measurePageBox())), W_(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (ug(n.latestValues) && n.updateSnapshot(), r = t_(), D_(r, n.measurePageBox())), U_(t, n.latestValues, n.snapshot?.layoutBox, r);}- return dg(this.latestValues) && W_(t, this.latestValues), t;+ return dg(this.latestValues) && U_(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -18214,7 +18214,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = Bu.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = t_(), this.targetWithTransforms = t_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), I_(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : D_(this.target, this.layout.layoutBox), _g(this.target, this.targetDelta)) : D_(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), Xg.value && lv.calculatedTargetDeltas++);+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = t_(), this.targetWithTransforms = t_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), F_(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : D_(this.target, this.layout.layoutBox), _g(this.target, this.targetDelta)) : D_(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), Xg.value && lv.calculatedTargetDeltas++);}getClosestProjectingParent() {if (!(!this.parent || ug(this.parent.latestValues) || fg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();@@ -18223,7 +18223,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = t_(), this.relativeTargetOrigin = t_(), R_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), D_(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = t_(), this.relativeTargetOrigin = t_(), L_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), D_(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -18237,7 +18237,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet a = this.treeScale.x, o = this.treeScale.y;bg(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 = t_());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (O_(this.prevProjectionDelta.x, this.projectionDelta.x), O_(this.prevProjectionDelta.y, this.projectionDelta.y)), P_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Q_(this.projectionDelta.x, this.prevProjectionDelta.x) || !Q_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Xg.value && lv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (O_(this.prevProjectionDelta.x, this.projectionDelta.x), O_(this.prevProjectionDelta.y, this.projectionDelta.y)), N_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Z_(this.projectionDelta.x, this.prevProjectionDelta.x) || !Z_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Xg.value && lv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -18263,7 +18263,7 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- r ? (o.x.translate = r.x, o.x.scale = Bd(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 = Bd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (vv(o.x, e.x, n), vv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (R_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), pte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && J_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= t_(), D_(f, this.relativeTarget)), c && (this.animationValues = a, Uee(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 = Bd(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 = Bd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (vv(o.x, e.x, n), vv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (L_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), pte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && q_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= t_(), D_(f, this.relativeTarget)), c && (this.animationValues = a, Uee(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) {@@ -18294,12 +18294,12 @@ function mv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (t && i && n) {if (this !== e && this.layout && n && Cv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {i = this.target || t_();- let t = j_(this.layout.layoutBox.x);+ let t = A_(this.layout.layoutBox.x);i.x.min = e.target.x.min, i.x.max = i.x.min + t;- let n = j_(this.layout.layoutBox.y);+ let n = A_(this.layout.layoutBox.y);i.y.min = e.target.y.min, i.y.max = i.y.min + n;}- D_(t, i), wg(t, r), P_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ D_(t, i), wg(t, r), N_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {@@ -18394,31 +18394,31 @@ function ete(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;- if (i === "size") $_((e) => {- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = j_(r);+ if (i === "size") Q_((e) => {+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = A_(r);r.min = n[e].min, r.max = r.min + i;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";E_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);- } else Cv(i, t.layoutBox, n) && $_((r) => {- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = j_(n[r]);+ } else Cv(i, t.layoutBox, n) && Q_((r) => {+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = A_(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 = $g();- P_(o, n, t.layoutBox);+ N_(o, n, t.layoutBox);let s = $g();- a ? P_(s, e.applyTransform(r, !0), t.measuredBox) : P_(s, n, t.layoutBox);- let c = !K_(o), l = !1;+ a ? N_(s, e.applyTransform(r, !0), t.measuredBox) : N_(s, n, t.layoutBox);+ let c = !G_(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 = t_();- R_(s, t.layoutBox, i.layoutBox, o);+ L_(s, t.layoutBox, i.layoutBox, o);let c = t_();- R_(c, n, a.layoutBox, o), X_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);+ L_(c, n, a.layoutBox, o), Y_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);}}}@@ -18458,7 +18458,7 @@ function ate(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- $_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ Q_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}function ote(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);@@ -18513,7 +18513,7 @@ function gte(e) {Sv(e.x), Sv(e.y);}function Cv(e, t, n) {- return e === "position" || e === "preserve-aspect" && !M_(Z_(t), Z_(n), .2);+ return e === "position" || e === "preserve-aspect" && !j_(X_(t), X_(n), .2);}function _te(e) {return e !== e.root && e.scroll?.wasRoot;@@ -18881,21 +18881,21 @@ function Mte(e, t) {let n = e.style || {}, r = {};return Bv(r, n, e), Object.assign(r, jte(e, t)), r;}-function Vv(e, t) {+function Nte(e, t) {let n = {}, r = Mte(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 Hv = () => ({+var Vv = () => ({...zv(),attrs: {}});//#endregion//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function Nte(e, t, n, r) {+function Pte(e, t, n, r) {let i = (0, D.useMemo)(() => {- let n = Hv();+ let n = Vv();return ag(n, t, S_(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }@@ -18912,23 +18912,23 @@ function Nte(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var Pte = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function Uv(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Pte.has(e);+var Fte = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));+function Hv(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Fte.has(e);}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function Fte(e, t) {- return e.startsWith("on") ? !Uv(e) : t?.(e) ?? !Uv(e);+function Ite(e, t) {+ return e.startsWith("on") ? !Hv(e) : t?.(e) ?? !Hv(e);}-function Ite(e, t, n, r) {+function Lte(e, t, n, r) {let i = {};- for (let a in e) (a !== "values" || typeof e.values != "object") && (hh(e[a]) || (Fte(a, r) || n === !0 && Uv(a) || !t && !Uv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));+ for (let a in e) (a !== "values" || typeof e.values != "object") && (hh(e[a]) || (Ite(a, r) || n === !0 && Hv(a) || !t && !Hv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));return i;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var Lte = [+var Rte = ["animate","circle","defs",@@ -18957,13 +18957,13 @@ var Lte = [];//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Wv(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(Lte.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Uv(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(Rte.indexOf(e) > -1 || /[A-Z]/u.test(e));}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function Rte(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Wv(e) ? Nte : Vv)(t, r, i, e), l = Ite(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {+function zte(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Uv(e) ? Pte : Nte)(t, r, i, e), l = Lte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {...l,...c,ref: n@@ -18975,13 +18975,13 @@ function Rte(e, t, n, { latestValues: r }, i, a = !1, o, s) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function zte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function Bte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: Bte(n, r, i, e),+ latestValues: Vte(n, r, i, e),renderState: t()};}-function Bte(e, t, n, r) {+function Vte(e, t, n, r) {let i = {}, a = r(e, {});for (let e in a) i[e] = sv(a[e]);let { initial: o, animate: s } = e, c = s_(e), l = c_(e);@@ -19009,19 +19009,19 @@ function Bte(e, t, n, r) {}return i;}-var Gv = (e) => (t, n) => {- let r = (0, D.useContext)(Lv), i = (0, D.useContext)(ru), a = () => zte(e, t, r, i);+var Wv = (e) => (t, n) => {+ let r = (0, D.useContext)(Lv), i = (0, D.useContext)(ru), a = () => Bte(e, t, r, i);return n ? a() : tu(a);-}, Vte = /*@__PURE__*/ Gv({+}, Hte = /*@__PURE__*/ Wv({scrapeMotionValuesFromProps: b_,createRenderState: zv-}), Hte = /*@__PURE__*/ Gv({+}), Ute = /*@__PURE__*/ Wv({scrapeMotionValuesFromProps: C_,- createRenderState: Hv-}), Kv = Symbol.for("motionComponentSymbol");+ createRenderState: Vv+}), Wte = Symbol.for("motionComponentSymbol");//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function qv(e, t, n) {+function Gv(e, t, n) {let r = (0, D.useRef)(n);(0, D.useInsertionEffect)(() => {r.current = n;@@ -19040,15 +19040,15 @@ function qv(e, t, n) {}//#endregion//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Jv = (0, D.createContext)({});+var Kv = (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function Yv(e) {+function qv(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 Xv(e, t, n, r, i, a) {+function Jv(e, t, n, r, i, a) {let { visualElement: o } = (0, D.useContext)(Lv), s = (0, D.useContext)(Nv), c = (0, D.useContext)(ru), l = (0, D.useContext)(Ev), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,@@ -19060,8 +19060,8 @@ function Xv(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, D.useContext)(Jv);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ute(f.current, n, i, h);+ let m = f.current, h = (0, D.useContext)(Kv);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Gte(f.current, n, i, h);let g = (0, D.useRef)(!1);(0, D.useInsertionEffect)(() => {m && g.current && m.update(n, c);@@ -19077,12 +19077,12 @@ function Xv(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function Ute(e, t, n, r) {+function Gte(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 : Zv(e.parent)), e.projection.setOptions({+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Yv(e.parent)), e.projection.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && Yv(s),+ alwaysMeasureLayout: !!o || s && qv(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19092,45 +19092,45 @@ function Ute(e, t, n, r) {layoutAnchor: u});}-function Zv(e) {- if (e) return e.options.allowProjection === !1 ? Zv(e.parent) : e.projection;+function Yv(e) {+ if (e) return e.options.allowProjection === !1 ? Yv(e.parent) : e.projection;}//#endregion//#region node_modules/framer-motion/dist/es/motion/index.mjs-function Qv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+function Xv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {r && Dte(r);- let a = n ? n === "svg" : Wv(e), o = a ? Hte : Vte;+ let a = n ? n === "svg" : Uv(e), o = a ? Ute : Hte;function s(n, s) {let c, l = {...(0, D.useContext)(Ev),...n,- layoutId: Wte(n)+ layoutId: Kte(n)}, { isStatic: u, isValidProp: d } = l, f = Ate(n), p = o(n, u);if (!u && typeof window < "u") {- Gte(l, r);- let t = Kte(l);- c = t.MeasureLayout, f.visualElement = Xv(e, p, l, i, t.ProjectionNode, a);+ qte(l, r);+ let t = Jte(l);+ c = t.MeasureLayout, f.visualElement = Jv(e, p, l, i, t.ProjectionNode, a);}return (0, O.jsxs)(Lv.Provider, {value: f,children: [c && f.visualElement ? (0, O.jsx)(c, {visualElement: f.visualElement,...l- }) : null, Rte(e, n, qv(p, f.visualElement, s), p, u, t, a, d)]+ }) : null, zte(e, n, Gv(p, f.visualElement, s), p, u, t, a, d)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, D.forwardRef)(s);- return c[Kv] = e, c;+ return c[Wte] = e, c;}-function Wte({ layoutId: e }) {+function Kte({ layoutId: e }) {let t = (0, D.useContext)(eu).id;return t && e !== void 0 ? t + "-" + e : e;}-function Gte(e, t) {+function qte(e, t) {(0, D.useContext)(Nv).strict;}-function Kte(e) {+function Jte(e) {let { drag: t, layout: n } = Iv();if (!t && !n) return {};let r = {@@ -19144,14 +19144,14 @@ function Kte(e) {}//#endregion//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function qte(e, t) {- if (typeof Proxy > "u") return Qv;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Qv(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Qv(a, void 0, e, t)), n.get(a)) });+function Yte(e, t) {+ if (typeof Proxy > "u") return Xv;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Xv(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Xv(a, void 0, e, t)), n.get(a)) });}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Jte = (e, t) => t.isSVG ?? Wv(e) ? new Pee(t) : new Mee(t, { allowProjection: e !== D.Fragment }), Yte = class extends g_ {+var Xte = (e, t) => t.isSVG ?? Uv(e) ? new Pee(t) : new Mee(t, { allowProjection: e !== D.Fragment }), Zte = class extends g_ {constructor(e) {super(e), e.animationState ||= Iee(e);}@@ -19169,11 +19169,11 @@ var Jte = (e, t) => t.isSVG ?? Wv(e) ? new Pee(t) : new Mee(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, Xte = 0, Zte = {- animation: { Feature: Yte },+}, Qte = 0, $te = {+ animation: { Feature: Zte },exit: { Feature: class extends g_ {constructor() {- super(...arguments), this.id = Xte++;+ super(...arguments), this.id = Qte++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19206,28 +19206,28 @@ var Jte = (e, t) => t.isSVG ?? Wv(e) ? new Pee(t) : new Mee(t, { allowProjection};//#endregion//#region node_modules/framer-motion/dist/es/events/event-info.mjs-function $v(e) {+function Zv(e) {return { point: {x: e.pageX,y: e.pageY} };}-var Qte = (e) => (t) => Lg(t) && e(t, $v(t));+var ene = (e) => (t) => Lg(t) && e(t, Zv(t));//#endregion//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs-function ey(e, t, n, r) {- return ov(e, t, Qte(n), r);+function Qv(e, t, n, r) {+ return ov(e, t, ene(n), r);}//#endregion//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs-var ty = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ny = (e, t) => Math.abs(e - t);-function $te(e, t) {- let n = ny(e.x, t.x), r = ny(e.y, t.y);+var $v = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ey = (e, t) => Math.abs(e - t);+function tne(e, t) {+ let n = ey(e.x, t.x), r = ey(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}//#endregion//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs-var ry = /*#__PURE__*/ new Set(["auto", "scroll"]), iy = class {+var ty = /*#__PURE__*/ new Set(["auto", "scroll"]), ny = 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);@@ -19235,8 +19235,8 @@ var ry = /*#__PURE__*/ new Set(["auto", "scroll"]), iy = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = ay(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = sy(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = $te(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = ry(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = ay(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = tne(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19249,33 +19249,33 @@ var ry = /*#__PURE__*/ new Set(["auto", "scroll"]), iy = class {let { onStart: i, onMove: a } = this.handlers;t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = ay(t, this.transformPagePoint), this.hasPendingMove = !0, cf.update(this.updatePoint, !0);+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = ry(t, this.transformPagePoint), this.hasPendingMove = !0, cf.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = sy(e.type === "pointercancel" ? this.lastMoveEventInfo : ay(t, this.transformPagePoint), this.history);+ let a = ay(e.type === "pointercancel" ? this.lastMoveEventInfo : ry(t, this.transformPagePoint), this.history);this.startEvent && n && n(e, a), r && r(e, a);}, !Lg(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = ay($v(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;+ let s = ry(Zv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;this.history = [{...c,timestamp: l}];let { onSessionStart: u } = t;- u && u(e, sy(s, this.history));+ u && u(e, ay(s, this.history));let d = {passive: !0,capture: !0};- this.removeListeners = pu(ey(this.contextWindow, "pointermove", this.handlePointerMove, d), ey(this.contextWindow, "pointerup", this.handlePointerUp, d), ey(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = pu(Qv(this.contextWindow, "pointermove", this.handlePointerMove, d), Qv(this.contextWindow, "pointerup", this.handlePointerUp, d), Qv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (ry.has(e.overflowX) || ry.has(e.overflowY)) && this.scrollPositions.set(t, {+ (ty.has(e.overflowX) || ty.has(e.overflowY)) && this.scrollPositions.set(t, {x: t.scrollLeft,y: t.scrollTop}), t = t.parentElement;@@ -19309,35 +19309,35 @@ var ry = /*#__PURE__*/ new Set(["auto", "scroll"]), iy = class {this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), lf(this.updatePoint);}};-function ay(e, t) {+function ry(e, t) {return t ? { point: t(e.point) } : e;}-function oy(e, t) {+function iy(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function sy({ point: e }, t) {+function ay({ point: e }, t) {return {point: e,- delta: oy(e, cy(t)),- offset: oy(e, ene(t)),- velocity: tne(t, .1)+ delta: iy(e, oy(t)),+ offset: iy(e, nne(t)),+ velocity: rne(t, .1)};}-function ene(e) {+function nne(e) {return e[0];}-function cy(e) {+function oy(e) {return e[e.length - 1];}-function tne(e, t) {+function rne(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = cy(e);+ let n = e.length - 1, r = null, i = oy(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ gu(t)));) n--;if (!r) return {x: 0,@@ -19357,61 +19357,61 @@ function tne(e, t) {}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs-function nne(e, { min: t, max: n }, r) {+function ine(e, { min: t, max: n }, r) {return t !== void 0 && e < t ? e = r ? Bd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Bd(n, e, r.max) : Math.min(e, n)), e;}-function ly(e, t, n) {+function sy(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 rne(e, { top: t, left: n, bottom: r, right: i }) {+function ane(e, { top: t, left: n, bottom: r, right: i }) {return {- x: ly(e.x, n, i),- y: ly(e.y, t, r)+ x: sy(e.x, n, i),+ y: sy(e.y, t, r)};}-function uy(e, t) {+function cy(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 dy(e, t) {+function one(e, t) {return {- x: uy(e.x, t.x),- y: uy(e.y, t.y)+ x: cy(e.x, t.x),+ y: cy(e.y, t.y)};}-function fy(e, t) {- let n = .5, r = j_(e), i = j_(t);+function sne(e, t) {+ let n = .5, r = A_(e), i = A_(t);return i > r ? n = /* @__PURE__ */ mu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ mu(e.min, e.max - i, t.min)), ou(0, 1, n);}-function py(e, t) {+function ly(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 my = .35;-function hy(e = my) {- return e === !1 ? e = 0 : e === !0 && (e = my), {- x: gy(e, "left", "right"),- y: gy(e, "top", "bottom")+var uy = .35;+function dy(e = uy) {+ return e === !1 ? e = 0 : e === !0 && (e = uy), {+ x: fy(e, "left", "right"),+ y: fy(e, "top", "bottom")};}-function gy(e, t, n) {+function fy(e, t, n) {return {- min: _y(e, t),- max: _y(e, n)+ min: py(e, t),+ max: py(e, n)};}-function _y(e, t) {+function py(e, t) {return typeof e == "number" ? e : e[t] || 0;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs-var vy = /* @__PURE__ */ new WeakMap(), yy = class {+var my = /* @__PURE__ */ new WeakMap(), hy = class {constructor(e) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,@@ -19426,13 +19426,13 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {}, a = (e, t) => {let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = lee(n), !this.openDragLock)) return;- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), $_((e) => {+ 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), Q_((e) => {let t = this.getAxisMotionValue(e).get() || 0;if (fd.test(t)) {let { projection: n } = this.visualElement;if (n && n.layout) {let r = n.layout.layoutBox[e];- r && (t = j_(r) * (parseFloat(t) / 100));+ r && (t = A_(r) * (parseFloat(t) / 100));}}this.originPoint[e] = t;@@ -19444,7 +19444,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;- r && this.currentDirection === null ? (this.currentDirection = ine(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));+ r && this.currentDirection === null ? (this.currentDirection = yy(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.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 = () => {@@ -19454,7 +19454,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {y: 0});}, { dragSnapToOrigin: l } = this.getProps();- this.panSession = new iy(e, {+ this.panSession = new ny(e, {onSessionStart: i,onStart: a,onMove: o,@@ -19464,7 +19464,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {transformPagePoint: this.visualElement.getTransformPagePoint(),dragSnapToOrigin: l,distanceThreshold: n,- contextWindow: ty(this.visualElement),+ contextWindow: $v(this.visualElement),element: this.visualElement.current});}@@ -19488,23 +19488,23 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !Sy(e, r, this.currentDirection)) return;+ if (!n || !vy(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = nne(a, this.constraints[e], this.elastic[e])), i.set(a);+ this.constraints && this.constraints[e] && (a = ine(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 && Yv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? rne(n.layoutBox, e) : !1, this.elastic = hy(t), r !== this.constraints && !Yv(e) && n && this.constraints && !this.hasMutatedConstraints && $_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = py(n.layoutBox[e], this.constraints[e]));+ e && qv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? ane(n.layoutBox, e) : !1, this.elastic = dy(t), r !== this.constraints && !qv(e) && n && this.constraints && !this.hasMutatedConstraints && Q_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = ly(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!e || !Yv(e)) return !1;+ if (!e || !qv(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 = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = dy(r.layout.layoutBox, i);+ let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = one(r.layout.layoutBox, i);if (t) {let e = t(oee(a));this.hasMutatedConstraints = !!e, e && (a = cg(e));@@ -19512,8 +19512,8 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {return a;}startAnimation(e) {- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = $_((o) => {- if (!Sy(o, t, this.currentDirection)) return;+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = Q_((o) => {+ if (!vy(o, t, this.currentDirection)) return;let c = s && s[o] || {};(a === !0 || a === o) && (c = {min: 0,@@ -19539,7 +19539,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {return _h(this.visualElement, e), n.start(nh(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- $_((e) => this.getAxisMotionValue(e).stop());+ Q_((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -19550,8 +19550,8 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- $_((e) => {- if (!Sy(e, n, this.currentDirection)) return;+ Q_((e) => {+ if (!vy(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];t.set((t.get() || 0) + i[e] - Bd(r, o, .5));});@@ -19559,40 +19559,40 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!Yv(t) || !n || !this.constraints) return;+ if (!qv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- $_((e) => {+ Q_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = fy({+ i[e] = sne({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), $_((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Q_((t) => {let n = this.getAxisMotionValue(t);- if (!Sy(t, e, null) || !n.get()) return;+ if (!vy(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];n.set(Bd(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- vy.set(this.visualElement, this);- let e = this.visualElement.current, t = ey(e, "pointerdown", (t) => {+ my.set(this.visualElement, this);+ let e = this.visualElement.current, t = Qv(e, "pointerdown", (t) => {let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && hee(i);n && r && !a && this.start(t);}), n, r = () => {let { dragConstraints: t } = this.getProps();- Yv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= xy(e, t.current, () => this.scalePositionWithinConstraints()));+ qv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= _y(e, t.current, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), cf.read(r);let o = ov(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && ($_((t) => {+ this.isDragging && t && (Q_((t) => {let n = this.getAxisMotionValue(t);n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));}), this.visualElement.render());@@ -19602,7 +19602,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {};}getProps() {- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = my, dragMomentum: o = !0 } = e;+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = uy, dragMomentum: o = !0 } = e;return {...e,drag: t,@@ -19614,30 +19614,30 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {};}};-function by(e) {+function gy(e) {let t = !0;return () => {t ? t = !1 : e();};}-function xy(e, t, n) {- let r = Yg(e, by(n)), i = Yg(t, by(n));+function _y(e, t, n) {+ let r = Yg(e, gy(n)), i = Yg(t, gy(n));return () => {r(), i();};}-function Sy(e, t, n) {+function vy(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function ine(e, t = 10) {+function yy(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 ane = class extends g_ {+var cne = class extends g_ {constructor(e) {- super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new yy(e);+ super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new hy(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -19650,31 +19650,31 @@ var ane = class extends g_ {unmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Cy = (e) => (t, n) => {+}, by = (e) => (t, n) => {e && cf.update(() => e(t, n), !1, !0);-}, one = class extends g_ {+}, lne = class extends g_ {constructor() {super(...arguments), this.removePointerDownListener = fu;}onPointerDown(e) {- this.session = new iy(e, this.createPanHandlers(), {+ this.session = new ny(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: ty(this.node)+ contextWindow: $v(this.node)});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Cy(e),- onStart: Cy(t),- onMove: Cy(n),+ onSessionStart: by(e),+ onStart: by(t),+ onMove: by(n),onEnd: (e, t) => {delete this.session, r && cf.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = ey(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Qv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session && this.session.updateHandlers(this.createPanHandlers());@@ -19682,10 +19682,10 @@ var ane = class extends g_ {unmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, wy = !1, sne = class extends D.Component {+}, xy = !1, une = class extends D.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), wy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), xy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,@@ -19698,7 +19698,7 @@ var ane = class extends g_ {return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({...a.options,layoutDependency: t- }), wy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {+ }), xy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {let e = a.getStack();(!e || !e.members.length) && this.safeToRemove();}))), null;@@ -19711,7 +19711,7 @@ var ane = class extends g_ {}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- wy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ xy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19721,41 +19721,41 @@ var ane = class extends g_ {return null;}};-function Ty(e) {+function Sy(e) {let [t, n] = Ov(), r = (0, D.useContext)(eu);- return (0, O.jsx)(sne, {+ return (0, O.jsx)(une, {...e,layoutGroup: r,- switchLayoutGroup: (0, D.useContext)(Jv),+ switchLayoutGroup: (0, D.useContext)(Kv),isPresent: t,safeToRemove: n});}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs-var cne = {- pan: { Feature: one },+var dne = {+ pan: { Feature: lne },drag: {- Feature: ane,+ Feature: cne,ProjectionNode: Tv,- MeasureLayout: Ty+ MeasureLayout: Sy}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/hover.mjs-function Ey(e, t, n) {+function Cy(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];- i && cf.postRender(() => i(t, $v(t)));+ i && cf.postRender(() => i(t, Zv(t)));}-var lne = class extends g_ {+var fne = class extends g_ {mount() {let { current: e } = this.node;- e && (this.unmount = dee(e, (e, t) => (Ey(this.node, t, "Start"), (e) => Ey(this.node, e, "End"))));+ e && (this.unmount = dee(e, (e, t) => (Cy(this.node, t, "Start"), (e) => Cy(this.node, e, "End"))));}unmount() {}-}, une = class extends g_ {+}, pne = class extends g_ {constructor() {super(...arguments), this.isActive = !1;}@@ -19778,51 +19778,51 @@ var lne = class extends g_ {};//#endregion//#region node_modules/framer-motion/dist/es/gestures/press.mjs-function Dy(e, t, n) {+function wy(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 && cf.postRender(() => i(t, $v(t)));+ i && cf.postRender(() => i(t, Zv(t)));}-var dne = class extends g_ {+var mne = class extends g_ {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = _ee(e, (e, t) => (Dy(this.node, t, "Start"), (e, { success: t }) => Dy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = _ee(e, (e, t) => (wy(this.node, t, "Start"), (e, { success: t }) => wy(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Oy = /* @__PURE__ */ new WeakMap(), ky = /* @__PURE__ */ new WeakMap(), fne = (e) => {- let t = Oy.get(e.target);+}, Ty = /* @__PURE__ */ new WeakMap(), Ey = /* @__PURE__ */ new WeakMap(), hne = (e) => {+ let t = Ty.get(e.target);t && t(e);-}, pne = (e) => {- e.forEach(fne);+}, gne = (e) => {+ e.forEach(hne);};-function mne({ root: e, ...t }) {+function _ne({ root: e, ...t }) {let n = e || document;- ky.has(n) || ky.set(n, {});- let r = ky.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(pne, {+ Ey.has(n) || Ey.set(n, {});+ let r = Ey.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(gne, {root: e,...t})), r[i];}-function hne(e, t, n) {- let r = mne(t);- return Oy.set(e, n), r.observe(e), () => {- Oy.delete(e), r.unobserve(e);+function vne(e, t, n) {+ let r = _ne(t);+ return Ty.set(e, n), r.observe(e), () => {+ Ty.delete(e), r.unobserve(e);};}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var gne = {+var yne = {some: 0,all: 1-}, _ne = class extends g_ {+}, bne = class extends g_ {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19831,7 +19831,7 @@ var gne = {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 : gne[r]+ threshold: typeof r == "number" ? r : yne[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19839,7 +19839,7 @@ var gne = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = hne(this.node.current, a, o);+ this.stopObserver = vne(this.node.current, a, o);}mount() {this.startObserver();@@ -19851,68 +19851,68 @@ var gne = {"amount","margin","root"- ].some(vne(e, t)) && this.startObserver();+ ].some(xne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function vne({ viewport: e = {} }, { viewport: t = {} } = {}) {+function xne({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs-var yne = {- inView: { Feature: _ne },- tap: { Feature: dne },- focus: { Feature: une },- hover: { Feature: lne }-}, bne = { layout: {+var Sne = {+ inView: { Feature: bne },+ tap: { Feature: mne },+ focus: { Feature: pne },+ hover: { Feature: fne }+}, Cne = { layout: {ProjectionNode: Tv,- MeasureLayout: Ty-} }, xne = /*@__PURE__*/ qte({- ...Zte,- ...yne,- ...cne,- ...bne-}, Jte);+ MeasureLayout: Sy+} }, wne = /*@__PURE__*/ Yte({+ ...$te,+ ...Sne,+ ...dne,+ ...Cne+}, Xte);//#endregion//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function Ay() {+function Dy() {!u_.current && d_();let [e] = (0, D.useState)(l_.current);return e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function jy(e) {+function Oy(e) {return typeof e == "object" && !Array.isArray(e);}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function My(e, t, n, r) {- return e == null ? [] : typeof e == "string" && jy(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function ky(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && Oy(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Sne(e, t, n) {+function Tne(e, t, n) {return e * (t + 1) + n * t;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Ny(e, t, n, r) {+function Ay(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Cne(e, t, n) {+function Ene(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (au(e, i), r--);}}-function wne(e, t, n, r, i, a) {- Cne(e, i, a);+function Dne(e, t, n, r, i, a) {+ Ene(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: Bd(i, a, r[o]),@@ -19921,19 +19921,19 @@ function wne(e, t, n, r, i, a) {}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Tne(e, t, n = 0) {+function One(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Ene(e, t) {+function kne(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Dne = "easeInOut", Py = 20;-function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var Ane = "easeInOut", jy = 20;+function jne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;for (let n = 0; n < e.length; n++) {let o = e[n];@@ -19942,16 +19942,16 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, Ny(d, o.at, u, l));+ l.set(o.name, Ay(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = Ny(d, h.at, u, l));+ h.at !== void 0 && (d = Ay(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = kne(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];+ let c = Mne(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && Mne(c)) {+ if (S === 2 && Fne(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -19967,9 +19967,9 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let w = d + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Py}`, m && m < Py) {+ if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${jy}`, m && m < jy) {let e = b > 0 ? _ / b : 0;- b = Sne(b, m, _);+ b = Tne(b, m, _);let t = [...c], n = [...u];y = Array.isArray(y) ? [...y] : [y];let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -19979,20 +19979,20 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Fu(f, e - 1));}- Tne(u, m, e);+ One(u, m, e);}let E = w + b;- wne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ Dne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};if (hh(p)) {- let e = Fy(p, s);- _(m, h, Iy("default", e));+ let e = My(p, s);+ _(m, h, Ny("default", e));} else {- let e = My(p, m, r, c), t = e.length;+ let e = ky(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = Fy(r, s);- for (let e in m) _(m[e], Ane(h, e), Iy(e, i), n, t);+ let r = e[n], i = My(r, s);+ for (let e in m) _(m[e], Nne(h, e), Ny(e, i), n, t);}}u = d, d += g;@@ -20000,13 +20000,13 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Ene);+ a.sort(kne);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];s.push(n), c.push(/* @__PURE__ */ mu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Dne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Ane)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20023,33 +20023,33 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function Fy(e, t) {+function My(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function Iy(e, t) {+function Ny(e, t) {return t[e] || (t[e] = []), t[e];}-function kne(e) {+function Mne(e) {return Array.isArray(e) ? e : [e];}-function Ane(e, t) {+function Nne(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var jne = (e) => typeof e == "number", Mne = (e) => e.every(jne);+var Pne = (e) => typeof e == "number", Fne = (e) => e.every(Pne);//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Nne(e, t) {- return hh(e) || typeof e == "number" || typeof e == "string" && !jy(t);+function Ine(e, t) {+ return hh(e) || typeof e == "number" || typeof e == "string" && !Oy(t);}-function Ly(e, t, n, r) {+function Py(e, t, n, r) {let i = [];- if (Nne(e, t)) i.push(av(e, jy(t) && t.default || t, n && (n.default || n)));+ if (Ine(e, t)) i.push(av(e, Oy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = My(e, t, r), o = a.length;+ let a = ky(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };"delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Ag(r, t, s, n_.get(r))) : i.push(...Hh(Bh(r) ?? jg, r, t, s));@@ -20059,9 +20059,9 @@ function Ly(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function Pne(e, t, n) {+function Lne(e, t, n) {let r = [];- return One(e.map((e) => {+ return jne(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {let t = e[0], n = Km(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [@@ -20076,27 +20076,27 @@ function Pne(e, t, n) {}return e;}), t, n, { spring: Df }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...Ly(n, e, t));+ r.push(...Py(n, e, t));}), r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Fne(e) {+function Rne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function Ine(e = {}) {+function zne(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = [], s, c = {};- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Fne(e)) {+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Rne(e)) {let { onComplete: n, ...r } = i || {};- typeof n == "function" && (s = n), o = Pne(e, {+ typeof n == "function" && (s = n), o = Lne(e, {...c,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = Ly(e, i, {+ typeof n == "function" && (s = n), o = Py(e, i, {...c,...r}, t);@@ -20108,13 +20108,13 @@ function Ine(e = {}) {}return i;}-var Lne = Object.assign(Ine(), {+var Bne = Object.assign(zne(), {addEffect: Rh,removeEffect: zh});//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Rne(e, t, n, r) {+function Vne(e, t, n, r) {if (e == null) return [];let i = Kh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {@@ -20150,12 +20150,12 @@ function Rne(e, t, n, r) {}return s;}-var zne = /*@__PURE__*/ ((e) => {+var Hne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Lm(Rne(t, n, r, e));+ return new Lm(Vne(t, n, r, e));}return t;-})(), Ry = xne, zy = class {+})(), Fy = wne, Iy = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -20170,22 +20170,22 @@ var zne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, By = class extends zy {+}, Ly = class extends Iy {filter(e, t, n) {- let [r, i] = Wy(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = Vy(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends zy {+(class extends Iy {static {this.type = "header";}});-var Vy = class extends zy {+var Ry = class extends Iy {static {this.type = "loader";}-}, Hy = class extends By {+}, zy = class extends Ly {static {this.type = "item";}@@ -20196,7 +20196,7 @@ var Vy = class extends zy {}return null;}-}, Bne = class extends By {+}, Une = class extends Ly {static {this.type = "section";}@@ -20208,7 +20208,7 @@ var Vy = class extends zy {}return null;}-}, Uy = class {+}, By = class {get size() {return this.itemCount;}@@ -20283,14 +20283,14 @@ var Vy = class extends zy {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = Wy(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = Vy(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function Wy(e, t, n, r) {+function Vy(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20305,7 +20305,7 @@ function Wy(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var Gy = class {+var Hy = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20386,7 +20386,7 @@ var Gy = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, Ky = class e extends Gy {+}, Uy = class e extends Hy {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20437,7 +20437,7 @@ var Gy = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Vne = class extends Gy {+}, Wne = class extends Hy {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -20445,7 +20445,7 @@ var Gy = class {return !0;}createElement(e) {- return new Ky(e, this);+ return new Uy(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20467,8 +20467,8 @@ var Gy = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof Ky && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof Ky ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof Uy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof Uy ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -20487,13 +20487,13 @@ var Gy = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function qy(e) {+function Wy(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, D.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = Hne(a) ? a : null, o = n ? s.get(n) : null;+ let n = Gne(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20518,7 +20518,7 @@ function qy(e) {i]);}-function Hne(e) {+function Gne(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20528,25 +20528,25 @@ function Hne(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Jy(e) {+function Gy(e) {e.focus({ preventScroll: !0 });}//#endregion//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var Yy = (e) => Une(e) ? e.document : Wne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Xy = (e) => Yy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Zy(e) {+var Ky = (e) => Kne(e) ? e.document : qne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), qy = (e) => Ky(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Jy(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function Une(e) {+function Kne(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function Wne(e) {- return Zy(e) && e.nodeType === 9;+function qne(e) {+ return Jy(e) && e.nodeType === 9;}-function Qy(e) {- return Zy(e) && e.nodeType === 11 && "host" in e;+function Yy(e) {+ return Jy(e) && e.nodeType === 11 && "host" in e;}-function $y(e, t, n, r) {+function Xy(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -20554,7 +20554,7 @@ function $y(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function eb(e, t, n, r) {+function Zy(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20569,73 +20569,73 @@ function eb(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Gne = !1;-function tb() {- return Gne;+var Jne = !1;+function Qy() {+ return Jne;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function nb(e, t) {- if (!tb()) return t && e ? e.contains(t) : !1;+function $y(e, t) {+ if (!Qy()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Qy(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Yy(n) ? n.host : n.parentNode;}return !1;}-var rb = (e = document) => {- if (!tb()) return e.activeElement;+var eb = (e = document) => {+ if (!Qy()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function K(e) {- if (tb() && e.target instanceof Element && e.target.shadowRoot) {+ if (Qy() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function ib(e, t) {+function tb(e, t) {if (t === null) return [];- t ??= Xy(e);+ t ??= qy(e);let n = [t];- if (!tb() || !e || e === t) return n;+ if (!Qy() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Qy(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Yy(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function ab(e) {+function nb(e) {if (!e) return !1;- let t = e.getRootNode(), n = Xy(e);+ let t = e.getRootNode(), n = qy(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var ob = typeof Element < "u" && "checkVisibility" in Element.prototype;-function sb(e) {- let t = Xy(e);+var Yne = typeof Element < "u" && "checkVisibility" in Element.prototype;+function rb(e) {+ let t = qy(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = Xy(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = qy(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function cb(e, t) {+function ib(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function lb(e, t) {- return ob ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && sb(e) && cb(e, t) && (!e.parentElement || lb(e.parentElement, e));+function ab(e, t) {+ return Yne ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && rb(e) && ib(e, t) && (!e.parentElement || ab(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var ub = [+var ob = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20650,41 +20650,41 @@ var ub = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], db = ub.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-ub.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var fb = ub.join(":not([hidden]):not([tabindex=\"-1\"]),");-function pb(e, t) {- return e.matches(db) && !hb(e) && (t?.skipVisibilityCheck || lb(e));+], sb = ob.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+ob.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var cb = ob.join(":not([hidden]):not([tabindex=\"-1\"]),");+function lb(e, t) {+ return e.matches(sb) && !db(e) && (t?.skipVisibilityCheck || ab(e));}-function mb(e) {- return e.matches(fb) && lb(e) && !hb(e);+function ub(e) {+ return e.matches(cb) && ab(e) && !db(e);}-function hb(e) {+function db(e) {let t = e;for (; t != null;) {- if (t instanceof Xy(t).HTMLElement && t.inert) return !0;+ if (t instanceof qy(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var gb = typeof document < "u" ? D.useLayoutEffect : () => {};+var fb = typeof document < "u" ? D.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function _b(e) {+function pb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function vb(e, t) {+function mb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function yb(e) {+function hb(e) {let t = (0, D.useRef)({isFocused: !1,observer: null});- return gb(() => {+ return fb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20696,14 +20696,14 @@ function yb(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = _b(r);+ let t = pb(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === rb() ? null : rb();+ let e = n === eb() ? null : eb();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20716,83 +20716,83 @@ function yb(e) {}}, [e]);}-var bb = !1;-function xb(e) {- for (; e && !pb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = rb(Xy(e).document);+var gb = !1;+function _b(e) {+ for (; e && !lb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = eb(qy(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Qy(n) ? n : Xy(e), i = (t) => t === e || Zy(t) && nb(e, t), a = (e) => e === t || t != null && Zy(e) && nb(t, e);- bb = !0;+ let n = e?.getRootNode(), r = n != null && Yy(n) ? n : qy(e), i = (t) => t === e || Jy(t) && $y(e, t), a = (e) => e === t || t != null && Jy(e) && $y(t, e);+ gb = !0;let o = !1, s = (e) => {(a(K(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Jy(t), d()));+ (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Gy(t), d()));}, l = (e) => {(i(K(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Jy(t), d()));+ (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Gy(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), bb = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), gb = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function Sb(e) {+function vb(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function Cb(e) {+function yb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function wb(e) {+function bb(e) {let t = null;return () => (t ??= e(), t);}-var Tb = wb(function() {- return Cb(/^Mac/i);-}), Eb = wb(function() {- return Cb(/^iPhone/i);-}), Db = wb(function() {- return Cb(/^iPad/i) || Tb() && navigator.maxTouchPoints > 1;-}), Ob = wb(function() {- return Eb() || Db();-}), kb = wb(function() {- return Tb() || Ob();-}), Ab = wb(function() {- return Sb(/AppleWebKit/i) && (Ob() || !jb());-}), jb = wb(function() {- return Sb(/Chrome|CriOS|CrMo/i);-}), Mb = wb(function() {- return Sb(/Android/i);+var xb = bb(function() {+ return yb(/^Mac/i);+}), Sb = bb(function() {+ return yb(/^iPhone/i);+}), Cb = bb(function() {+ return yb(/^iPad/i) || xb() && navigator.maxTouchPoints > 1;+}), wb = bb(function() {+ return Sb() || Cb();+}), Tb = bb(function() {+ return xb() || wb();+}), Eb = bb(function() {+ return vb(/AppleWebKit/i) && (wb() || !Db());+}), Db = bb(function() {+ return vb(/Chrome|CriOS|CrMo/i);+}), Ob = bb(function() {+ return vb(/Android/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function Nb(e) {- return e.pointerType === "" && e.isTrusted ? !0 : Mb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function kb(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : Ob() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Pb(e) {- return !Mb() && e.width === 0 && e.height === 0 || Mb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Ab(e) {+ return !Ob() && e.width === 0 && e.height === 0 || Ob() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}//#endregion//#region node_modules/react-aria/dist/private/utils/openLink.mjs-var Fb = /*#__PURE__*/ (0, D.createContext)({+var jb = /*#__PURE__*/ (0, D.createContext)({isNative: !0,- open: qne,+ open: Zne,useHref: (e) => e});-function Ib() {- return (0, D.useContext)(Fb);+function Mb() {+ return (0, D.useContext)(jb);}-function Lb(e, t) {+function Nb(e, t) {let n = e.getAttribute("target");return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;}-function Rb(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Ab() && Tb() && !Db() ? new KeyboardEvent("keydown", {+function Pb(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Eb() && xb() && !Cb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20807,21 +20807,21 @@ function Rb(e, t, n = !0) {bubbles: !0,cancelable: !0});- Rb.isOpening = n, Jy(e), e.dispatchEvent(s), Rb.isOpening = !1;+ Pb.isOpening = n, Gy(e), e.dispatchEvent(s), Pb.isOpening = !1;}-Rb.isOpening = !1;-function Kne(e, t) {+Pb.isOpening = !1;+function Xne(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function qne(e, t) {- Kne(e, (e) => Rb(e, t));+function Zne(e, t) {+ Xne(e, (e) => Pb(e, t));}-function zb(e) {- let t = Ib().useHref(e.href ?? "");+function Fb(e) {+ let t = Mb().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20831,8 +20831,8 @@ function zb(e) {"data-referrer-policy": e.referrerPolicy};}-function Bb(e) {- let t = Ib().useHref(e?.href ?? ""), n = {};+function Ib(e) {+ let t = Mb().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20843,140 +20843,140 @@ function Bb(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function Jne(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Lb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Qne(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Nb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Vb = {+var Lb = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, Hb = /*#__PURE__*/ D.createContext(Vb), Yne = /*#__PURE__*/ D.createContext(!1);+}, Rb = /*#__PURE__*/ D.createContext(Lb), $ne = /*#__PURE__*/ D.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Ub = /* @__PURE__ */ new WeakMap();-function Xne(e = !1) {- let t = (0, D.useContext)(Hb), n = (0, D.useRef)(null);+var zb = /* @__PURE__ */ new WeakMap();+function ere(e = !1) {+ let t = (0, D.useContext)(Rb), n = (0, D.useRef)(null);if (n.current === null && !e) {let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = Ub.get(e);- n == null ? Ub.set(e, {+ let n = zb.get(e);+ n == null ? zb.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Ub.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, zb.delete(e));}n.current = ++t.current;}return n.current;}-function Zne(e) {- let t = (0, D.useContext)(Hb), n = Xne(!!e), r = `react-aria${t.prefix}`;+function tre(e) {+ let t = (0, D.useContext)(Rb), n = ere(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Qne(e) {- let t = D.useId(), [n] = (0, D.useState)(Wb()), r = n ? "react-aria" : `react-aria${Vb.prefix}`;+function nre(e) {+ let t = D.useId(), [n] = (0, D.useState)(Bb()), r = n ? "react-aria" : `react-aria${Lb.prefix}`;return e || `${r}-${t}`;}-var $ne = typeof D.useId == "function" ? Qne : Zne;-function ere() {+var rre = typeof D.useId == "function" ? nre : tre;+function ire() {return !1;}-function tre() {+function are() {return !0;}-function nre(e) {+function ore(e) {return () => {};}-function Wb() {- return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(nre, ere, tre) : (0, D.useContext)(Yne);+function Bb() {+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(ore, ire, are) : (0, D.useContext)($ne);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Gb = null, Kb = /* @__PURE__ */ new Set(), qb = /* @__PURE__ */ new Map(), Jb = !1, Yb = !1, rre = {+var Vb = null, Hb = /* @__PURE__ */ new Set(), Ub = /* @__PURE__ */ new Map(), Wb = !1, Gb = !1, sre = {Tab: !0,Escape: !0};-function Xb(e, t) {- for (let n of Kb) n(e, t);+function Kb(e, t) {+ for (let n of Hb) n(e, t);}-function ire(e) {- return !(e.metaKey || !Tb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function cre(e) {+ return !(e.metaKey || !xb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}-function Zb(e) {- Jb = !0, !Rb.isOpening && ire(e) && (Gb = "keyboard", Xb("keyboard", e));+function qb(e) {+ Wb = !0, !Pb.isOpening && cre(e) && (Vb = "keyboard", Kb("keyboard", e));}-function Qb(e) {- Gb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Jb = !0, Xb("pointer", e));+function Jb(e) {+ Vb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Wb = !0, Kb("pointer", e));}-function $b(e) {- !Rb.isOpening && Nb(e) && (Jb = !0, Gb = "virtual");+function Yb(e) {+ !Pb.isOpening && kb(e) && (Wb = !0, Vb = "virtual");}-function ex(e) {- if (bb) return;- let t = K(e), n = Xy(t), r = Yy(t);- t === n ? Yb = !0 : t !== r && e.isTrusted && (!Jb && !Yb && (Gb = "virtual", Xb("virtual", e)), Jb = !1, Yb = !1);+function Xb(e) {+ if (gb) return;+ let t = K(e), n = qy(t), r = Ky(t);+ t === n ? Gb = !0 : t !== r && e.isTrusted && (!Wb && !Gb && (Vb = "virtual", Kb("virtual", e)), Wb = !1, Gb = !1);}-function tx() {- bb || (Jb = !1, Yb = !0);+function Zb() {+ gb || (Wb = !1, Gb = !0);}-function nx(e) {- let t = rb(Yy(K(e)));+function Qb(e) {+ let t = eb(Ky(K(e)));queueMicrotask(() => {- rb(Yy(K(e))) !== t && sx("keyboard");+ eb(Ky(K(e))) !== t && rx("keyboard");});}-function rx(e) {+function $b(e) {if (typeof window > "u" || typeof document > "u") return;- let t = Xy(e), n = Yy(e);- if (qb.get(t)) return;+ let t = qy(e), n = Ky(e);+ if (Ub.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- Jb = !0, r.apply(this, arguments);+ Wb = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Zb, !0), n.addEventListener("keyup", Zb, !0), n.addEventListener("click", $b, !0), n.addEventListener("invalid", nx, !0), t.addEventListener("focus", ex, !0), t.addEventListener("blur", tx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Qb, !0), n.addEventListener("pointermove", Qb, !0), n.addEventListener("pointerup", Qb, !0)), t.addEventListener("beforeunload", () => {- ix(e);- }, { once: !0 }), qb.set(t, { focus: r });+ }), n.addEventListener("keydown", qb, !0), n.addEventListener("keyup", qb, !0), n.addEventListener("click", Yb, !0), n.addEventListener("invalid", Qb, !0), t.addEventListener("focus", Xb, !0), t.addEventListener("blur", Zb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Jb, !0), n.addEventListener("pointermove", Jb, !0), n.addEventListener("pointerup", Jb, !0)), t.addEventListener("beforeunload", () => {+ ex(e);+ }, { once: !0 }), Ub.set(t, { focus: r });}-var ix = (e, t) => {- let n = Xy(e), r = Yy(e);- t && r.removeEventListener("DOMContentLoaded", t), qb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var ex = (e, t) => {+ let n = qy(e), r = Ky(e);+ t && r.removeEventListener("DOMContentLoaded", t), Ub.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: qb.get(n).focus- }), r.removeEventListener("keydown", Zb, !0), r.removeEventListener("keyup", Zb, !0), r.removeEventListener("click", $b, !0), r.removeEventListener("invalid", nx, !0), n.removeEventListener("focus", ex, !0), n.removeEventListener("blur", tx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Qb, !0), r.removeEventListener("pointermove", Qb, !0), r.removeEventListener("pointerup", Qb, !0)), qb.delete(n));+ value: Ub.get(n).focus+ }), r.removeEventListener("keydown", qb, !0), r.removeEventListener("keyup", qb, !0), r.removeEventListener("click", Yb, !0), r.removeEventListener("invalid", Qb, !0), n.removeEventListener("focus", Xb, !0), n.removeEventListener("blur", Zb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Jb, !0), r.removeEventListener("pointermove", Jb, !0), r.removeEventListener("pointerup", Jb, !0)), Ub.delete(n));};-function are(e) {- let t = Yy(e), n;+function lre(e) {+ let t = Ky(e), n;return t.readyState === "loading" ? (n = () => {- rx(e);- }, t.addEventListener("DOMContentLoaded", n)) : rx(e), () => ix(e, n);+ $b(e);+ }, t.addEventListener("DOMContentLoaded", n)) : $b(e), () => ex(e, n);}-typeof document < "u" && are();-function ax() {- return Gb !== "pointer";+typeof document < "u" && lre();+function tx() {+ return Vb !== "pointer";}-function ox() {- return Gb;+function nx() {+ return Vb;}-function sx(e) {- Gb = e, Xb(e, null);+function rx(e) {+ Vb = e, Kb(e, null);}-function cx() {- rx();- let [e, t] = (0, D.useState)(Gb);+function ix() {+ $b();+ let [e, t] = (0, D.useState)(Vb);return (0, D.useEffect)(() => {let e = () => {- t(Gb);+ t(Vb);};- return Kb.add(e), () => {- Kb.delete(e);+ return Hb.add(e), () => {+ Hb.delete(e);};- }, []), Wb() ? null : e;+ }, []), Bb() ? null : e;}-var ore = /* @__PURE__ */ new Set([+var ure = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -20987,90 +20987,90 @@ var ore = /* @__PURE__ */ new Set(["submit","reset"]);-function sre(e, t, n) {- let r = n ? K(n) : void 0, i = Yy(r), a = Xy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = rb(i);- return e = e || u instanceof o && !ore.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !rre[n.key]);+function dre(e, t, n) {+ let r = n ? K(n) : void 0, i = Ky(r), a = qy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = eb(i);+ return e = e || u instanceof o && !ure.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !sre[n.key]);}-function lx(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || ax());- return ux((e) => {+function ax(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || tx());+ return ox((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function ux(e, t, n) {- rx(), (0, D.useEffect)(() => {+function ox(e, t, n) {+ $b(), (0, D.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- sre(!!n?.isTextInput, t, r) && e(ax());+ dre(!!n?.isTextInput, t, r) && e(tx());};- return Kb.add(t), () => {- Kb.delete(t);+ return Hb.add(t), () => {+ Hb.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var dx = /* @__PURE__ */ new Map(), fx = /* @__PURE__ */ new Set();-function px(e) {+var sx = /* @__PURE__ */ new Map(), cx = /* @__PURE__ */ new Set();+function lx(e) {return "propertyName" in e;}-function cre(e) {+function fre(e) {let t = K(e);- if (!px(e) || !t) return;- let n = dx.get(t);- n || (n = /* @__PURE__ */ new Set(), dx.set(t, n), t.addEventListener("transitioncancel", mx, { once: !0 })), n.add(e.propertyName);+ if (!lx(e) || !t) return;+ let n = sx.get(t);+ n || (n = /* @__PURE__ */ new Set(), sx.set(t, n), t.addEventListener("transitioncancel", ux, { once: !0 })), n.add(e.propertyName);}-function mx(e) {+function ux(e) {let t = K(e);- if (!px(e) || !t) return;- let n = dx.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", mx), dx.delete(t)), dx.size === 0)) for (let e of fx) e(!0), fx.delete(e);+ if (!lx(e) || !t) return;+ let n = sx.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", ux), sx.delete(t)), sx.size === 0)) for (let e of cx) e(!0), cx.delete(e);}-function hx() {- $y(document, "transitionrun", cre), $y(document, "transitionend", mx);+function dx() {+ Xy(document, "transitionrun", fre), Xy(document, "transitionend", ux);}-function lre() {- for (let [e] of dx) "isConnected" in e && !e.isConnected && dx.delete(e);+function pre() {+ for (let [e] of sx) "isConnected" in e && !e.isConnected && sx.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? $y(document, "DOMContentLoaded", hx) : hx());-function gx(e) {+typeof document < "u" && (document.readyState === "loading" ? Xy(document, "DOMContentLoaded", dx) : dx());+function fx(e) {let t = window.requestAnimationFrame(() => {- if (lre(), dx.size === 0) return e(!1);- fx.add(e);+ if (pre(), sx.size === 0) return e(!1);+ cx.add(e);});return () => {- window.cancelAnimationFrame(t), fx.delete(e);+ window.cancelAnimationFrame(t), cx.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function _x(e) {+function px(e) {if (!e.isConnected) return;- let t = Yy(e);- if (ox() === "virtual") {- let n = rb(t);- gx(() => {- let r = rb(t);- (r === n || r === t.body) && e.isConnected && Jy(e);+ let t = Ky(e);+ if (nx() === "virtual") {+ let n = eb(t);+ fx(() => {+ let r = eb(t);+ (r === n || r === t.body) && e.isConnected && Gy(e);});- } else Jy(e);+ } else Gy(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function vx(...e) {+function mx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}//#endregion//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function ure(e) {+function mre(e) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return gb(() => {+ return fb(() => {r.current = t, i.current && a.current();}), [t, (0, D.useCallback)((e) => {i.current = e(r.current), a.current();@@ -21078,21 +21078,21 @@ function ure(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var dre = !!(typeof window < "u" && window.document && window.document.createElement), yx = /* @__PURE__ */ new Map(), bx;-typeof FinalizationRegistry < "u" && (bx = new FinalizationRegistry((e) => {- yx.delete(e);+var hre = !!(typeof window < "u" && window.document && window.document.createElement), hx = /* @__PURE__ */ new Map(), gx;+typeof FinalizationRegistry < "u" && (gx = new FinalizationRegistry((e) => {+ hx.delete(e);}));-var xx = /* @__PURE__ */ new WeakMap();-function Sx(e) {- let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = $ne(t), a = (0, D.useRef)(null), o = xx.get(a);- if (bx && o !== i && (o != null && bx.unregister(a), bx.register(a, i, a), xx.set(a, i)), dre) {- let e = yx.get(i);- e && !e.includes(r) ? e.push(r) : yx.set(i, [r]);- }- return gb(() => {+var _x = /* @__PURE__ */ new WeakMap();+function vx(e) {+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = rre(t), a = (0, D.useRef)(null), o = _x.get(a);+ if (gx && o !== i && (o != null && gx.unregister(a), gx.register(a, i, a), _x.set(a, i)), hre) {+ let e = hx.get(i);+ e && !e.includes(r) ? e.push(r) : hx.set(i, [r]);+ }+ return fb(() => {let e = i;return () => {- bx && (bx.unregister(a), xx.delete(a)), yx.delete(e);+ gx && (gx.unregister(a), _x.delete(a)), hx.delete(e);};}, [i]), (0, D.useEffect)(() => {let e = r.current;@@ -21101,20 +21101,20 @@ function Sx(e) {};}), i;}-function fre(e, t) {+function gre(e, t) {if (e === t) return e;- let n = yx.get(e);+ let n = hx.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = yx.get(t);+ let r = hx.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function Cx(e = []) {- let t = Sx(), [n, r] = ure(t), i = (0, D.useCallback)(() => {+function yx(e = []) {+ let t = vx(), [n, r] = mre(t), i = (0, D.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return gb(i, [+ return fb(i, [t,i,...e@@ -21122,38 +21122,38 @@ function Cx(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function wx(...e) {+function bx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Tx(e, t);+ let r = xx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Tx(e[n], null);+ typeof t == "function" ? t() : xx(e[n], null);});};};}-function Tx(e, t) {+function xx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function Ex(e) {+function Sx(e) {var t, n, r = "";if (typeof e == "string" || typeof e == "number") r += e;else if (typeof e == "object") {if (Array.isArray(e)) {var i = e.length;- for (t = 0; t < i; t++) e[t] && (n = Ex(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Sx(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function Dx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ex(e)) && (r && (r += " "), r += t);+function Cx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Sx(e)) && (r && (r += " "), r += t);return r;}//#endregion@@ -21164,18 +21164,18 @@ function q(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = vx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Dx(n, i) : e === "id" && n && i ? t.id = fre(n, i) : e === "ref" && n && i ? t.ref = wx(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = mx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Cx(n, i) : e === "id" && n && i ? t.id = gre(n, i) : e === "ref" && n && i ? t.ref = bx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Ox(e) {+function wx(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {if (K(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = yb(a), s = (0, D.useCallback)((e) => {- let t = K(e), r = Yy(t), a = r ? rb(r) : rb();+ }, [r, i]), o = hb(a), s = (0, D.useCallback)((e) => {+ let t = K(e), r = Ky(t), a = r ? eb(r) : eb();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21189,7 +21189,7 @@ function Ox(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function kx(e) {+function Tx(e) {if (e) return (t) => {let n = !0;e({@@ -21214,33 +21214,33 @@ function kx(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var pre = /* @__PURE__ */ new Set([+var _re = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), mre = [+]), vre = ["Alt","Control","Meta","Shift"];-function hre(e) {+function yre(e) {let t = /* @__PURE__ */ new Set();- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Tb() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(xb() ? "Meta" : "Control"), t;}-function gre(e) {+function bre(e) {let t = /* @__PURE__ */ new Set();return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;}-function Ax(e) {- return mre.filter((t) => e.has(t));+function Ex(e) {+ return vre.filter((t) => e.has(t));}-function _re(e) {+function xre(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return pre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return _re.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -21252,10 +21252,10 @@ function _re(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function jx(e) {+function Dx(e) {return e.toLowerCase();}-var vre = {+var Sre = {space: " ",esc: "escape",del: "delete",@@ -21267,26 +21267,26 @@ var vre = {pageup: "pageup",pagedown: "pagedown"};-function yre(e) {- let t = jx(e);- return vre[t] ?? t;+function Cre(e) {+ let t = Dx(e);+ return Sre[t] ?? t;}-function bre(e) {- let t = Ax(hre(e)), n = yre(e.key);+function wre(e) {+ let t = Ex(yre(e)), n = Cre(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function xre(e) {- let t = Ax(gre(e)), n = jx(e.key);+function Tre(e) {+ let t = Ex(bre(e)), n = Dx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Sre(e) {+function Ere(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = _re(n);- t.set(bre(e), r);+ let e = xre(n);+ t.set(wre(e), r);}return (e) => {- let n = xre(e), r = t.get(n), i = r?.(e);+ let n = Tre(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21298,16 +21298,16 @@ function Sre(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Mx(e) {+function Ox(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Sre(t), s = kx((e) => {- nb(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = kx((e) => {- nb(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Ere(t), s = Tx((e) => {+ $y(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = Tx((e) => {+ $y(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? vx(e.onKeyDown, s) : s, a = e.onKeyUp ? vx(e.onKeyUp, c) : c;- } else i = kx(e.onKeyDown), a = kx(e.onKeyUp);+ i = e.onKeyDown ? mx(e.onKeyDown, s) : s, a = e.onKeyUp ? mx(e.onKeyUp, c) : c;+ } else i = Tx(e.onKeyDown), a = Tx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -21315,7 +21315,7 @@ function Mx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Nx(e) {+function kx(e) {let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21338,8 +21338,8 @@ function Nx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Px(e, t) {- gb(() => {+function Ax(e, t) {+ fb(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -21347,17 +21347,17 @@ function Px(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Fx = /*#__PURE__*/ D.createContext(null);-function Cre(e) {- let t = (0, D.useContext)(Fx) || {};- Px(t, e);+var jx = /*#__PURE__*/ D.createContext(null);+function Dre(e) {+ let t = (0, D.useContext)(jx) || {};+ Ax(t, e);let { ref: n, ...r } = t;return r;}-function Ix(e, t) {- let { focusProps: n } = Ox(e), { keyboardProps: r } = Mx(e), i = q(n, r), a = Cre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);+function Mx(e, t) {+ let { focusProps: n } = wx(e), { keyboardProps: r } = Ox(e), i = q(n, r), a = Dre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);(0, D.useEffect)(() => {- s.current && t.current && _x(t.current), s.current = !1;+ s.current && t.current && px(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: q({@@ -21392,22 +21392,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Lx = /*#__PURE__*/ (0, D.createContext)(!1);-function wre(e) {- if ((0, D.useContext)(Lx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);- let t = /*#__PURE__*/ D.createElement(Lx.Provider, { value: !0 }, e.children);+var Nx = /*#__PURE__*/ (0, D.createContext)(!1);+function Ore(e) {+ if ((0, D.useContext)(Nx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);+ let t = /*#__PURE__*/ D.createElement(Nx.Provider, { value: !0 }, e.children);return /*#__PURE__*/ D.createElement("template", null, t);}-function Rx(e) {- let t = (t, n) => (0, D.useContext)(Lx) ? null : e(t, n);+function Px(e) {+ let t = (t, n) => (0, D.useContext)(Nx) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);}-function zx() {- return (0, D.useContext)(Lx);+function Fx() {+ return (0, D.useContext)(Nx);}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var Tre = /* @__PURE__ */ o(((e) => {+var kre = /* @__PURE__ */ o(((e) => {var t = v();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21445,47 +21445,47 @@ var Tre = /* @__PURE__ */ o(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), Bx = /* @__PURE__ */ o(((e, t) => {- t.exports = Tre();-})), Ere = Bx(), Vx = /*#__PURE__*/ (0, D.createContext)(!1), Hx = /*#__PURE__*/ (0, D.createContext)(null);-function Ux(e) {- if ((0, D.useContext)(Hx)) return e.content;- let { collection: t, document: n } = Are(e.createCollection);- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(wre, null, /*#__PURE__*/ D.createElement(Hx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Dre, {+})), Ix = /* @__PURE__ */ o(((e, t) => {+ t.exports = kre();+})), Are = Ix(), Lx = /*#__PURE__*/ (0, D.createContext)(!1), Rx = /*#__PURE__*/ (0, D.createContext)(null);+function zx(e) {+ if ((0, D.useContext)(Rx)) return e.content;+ let { collection: t, document: n } = Pre(e.createCollection);+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Ore, null, /*#__PURE__*/ D.createElement(Rx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(jre, {render: e.children,collection: t}));}-function Dre({ collection: e, render: t }) {+function jre({ collection: e, render: t }) {return t(e);}-function Ore(e, t, n) {- let r = Wb(), i = (0, D.useRef)(r);+function Mre(e, t, n) {+ let r = Bb(), i = (0, D.useRef)(r);i.current = r;let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Ere.useSyncExternalStore)(e, a);+ return (0, Are.useSyncExternalStore)(e, a);}-var kre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Ore;-function Are(e) {- let [t] = (0, D.useState)(() => new Vne(e?.() || new Uy()));+var Nre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Mre;+function Pre(e) {+ let [t] = (0, D.useState)(() => new Wne(e?.() || new By()));return {- collection: kre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {+ collection: Nre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var Wx = /*#__PURE__*/ (0, D.createContext)(null);-function jre(e) {- return class extends zy {+var Bx = /*#__PURE__*/ (0, D.createContext)(null);+function Fre(e) {+ return class extends Iy {static {this.type = e;}};}-function Gx(e, t, n, r, i, a) {- typeof e == "string" && (e = jre(e));+function Vx(e, t, n, r, i, a) {+ typeof e == "string" && (e = Fre(e));let o = (0, D.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21494,86 +21494,86 @@ function Gx(e, t, n, r, i, a) {r,a,e- ]), s = (0, D.useContext)(Wx);+ ]), s = (0, D.useContext)(Bx);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Bx.Provider, { value: o }, i) : null;}return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);}-function Kx(e, t) {+function Hx(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {- let a = (0, D.useContext)(Fx);- if (!(0, D.useContext)(Vx)) {+ let a = (0, D.useContext)(jx);+ if (!(0, D.useContext)(Lx)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return Gx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Fx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));+ return Vx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(jx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function qx(e, t, n = Jx) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Gx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));+function Ux(e, t, n = Wx) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Vx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));return i.displayName = t.name, i;}-function Jx(e) {- return qy({+function Wx(e) {+ return Wy({...e,addIdAndValue: !0});}-var Yx = /*#__PURE__*/ (0, D.createContext)(null);-function Xx(e) {- let t = (0, D.useContext)(Yx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Jx({+var Gx = /*#__PURE__*/ (0, D.createContext)(null);+function Kx(e) {+ let t = (0, D.useContext)(Gx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Wx({...e,idScope: r,dependencies: n});- return (0, D.useContext)(Hx) && (i = /*#__PURE__*/ D.createElement(Mre, null, i)), t = (0, D.useMemo)(() => ({+ return (0, D.useContext)(Rx) && (i = /*#__PURE__*/ D.createElement(Ire, null, i)), t = (0, D.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ D.createElement(Yx.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ D.createElement(Gx.Provider, { value: t }, i);}-function Mre({ children: e }) {- let t = (0, D.useContext)(Hx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Hx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Vx.Provider, { value: !0 }, e)), [e]);- return Wb() ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);+function Ire({ children: e }) {+ let t = (0, D.useContext)(Rx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Rx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Lx.Provider, { value: !0 }, e)), [e]);+ return Bb() ? /*#__PURE__*/ D.createElement(Bx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var Nre = "react-aria-clear-focus", Pre = "react-aria-focus";+var Lre = "react-aria-clear-focus", Rre = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function Zx(e) {- let t = Ire(Yy(e));- t !== e && (t && Fre(t, e), e && Qx(e, t));+function qx(e) {+ let t = Bre(Ky(e));+ t !== e && (t && zre(t, e), e && Jx(e, t));}-function Fre(e, t) {+function zre(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function Qx(e, t) {+function Jx(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function Ire(e) {- let t = rb(e), n = t?.getAttribute("aria-activedescendant");+function Bre(e) {+ let t = eb(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function $x(e, t) {- let n = Xy(t), r = Yy(t);+function Yx(e, t) {+ let n = qy(t), r = Ky(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-var eS = 100, tS = 600, nS = {+var Xx = 100, Zx = 600, Qx = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21583,7 +21583,7 @@ var eS = 100, tS = 600, nS = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, Lre = /* @__PURE__ */ new Set([+}, Vre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21594,7 +21594,7 @@ var eS = 100, tS = 600, nS = {"submit","reset"]);-function rS() {+function $x() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -21602,59 +21602,59 @@ function rS() {angle: window.screen.orientation?.angle ?? 0};}-function Rre(e) {- nS.resizeTimeStamp <= e.timeStamp + 50 && (nS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(nS.resizeTimeout), nS.resizeTimeout = window.setTimeout(iS, 150));+function Hre(e) {+ Qx.resizeTimeStamp <= e.timeStamp + 50 && (Qx.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Qx.resizeTimeout), Qx.resizeTimeout = window.setTimeout(eS, 150));}-function iS() {- let e = $x("viewport");- if (Mb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = rS(), r = t - nS.startTimeStamp, i = nS.screenHeight - n.height, a = nS.screenAngle - n.angle;- Math.abs(a) % 180 && nS.screenWidth - n.height < eS && (nS.screenWidth = n.width, nS.screenHeight = n.height, nS.screenAngle = n.angle, i = 0), r > tS && (window.clearTimeout(nS.screenTimeout), nS.screenTimeout = window.setTimeout(() => {- let e = sS(document.hasFocus() ? rb() : null), t = rS();- Math.abs(nS.screenAngle - t.angle) % 180 || nS.isOpen && e || (nS.screenWidth = t.width, nS.screenHeight = t.height, nS.screenAngle = t.angle, nS.isOpen = !1);- }, tS)), r <= tS && i >= eS && (nS.endTimeStamp = t), nS.isOpen = i >= eS;+function eS() {+ let e = Yx("viewport");+ if (Ob() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = $x(), r = t - Qx.startTimeStamp, i = Qx.screenHeight - n.height, a = Qx.screenAngle - n.angle;+ Math.abs(a) % 180 && Qx.screenWidth - n.height < Xx && (Qx.screenWidth = n.width, Qx.screenHeight = n.height, Qx.screenAngle = n.angle, i = 0), r > Zx && (window.clearTimeout(Qx.screenTimeout), Qx.screenTimeout = window.setTimeout(() => {+ let e = rS(document.hasFocus() ? eb() : null), t = $x();+ Math.abs(Qx.screenAngle - t.angle) % 180 || Qx.isOpen && e || (Qx.screenWidth = t.width, Qx.screenHeight = t.height, Qx.screenAngle = t.angle, Qx.isOpen = !1);+ }, Zx)), r <= Zx && i >= Xx && (Qx.endTimeStamp = t), Qx.isOpen = i >= Xx;}-function zre() {- let e = rS(), t = nS.screenAngle - e.angle;- if (Math.abs(t) % 180 && !nS.isOpen) {- let e = nS.screenWidth;- nS.screenWidth = nS.screenHeight, nS.screenHeight = e;+function Ure() {+ let e = $x(), t = Qx.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !Qx.isOpen) {+ let e = Qx.screenWidth;+ Qx.screenWidth = Qx.screenHeight, Qx.screenHeight = e;}- nS.isOpen || (nS.screenAngle = e.angle);+ Qx.isOpen || (Qx.screenAngle = e.angle);}-function Bre(e) {- let t = sS(K(e)), n = performance.now(), r = rS(), i = nS.screenHeight - r.height;- i < eS && t && (nS.screenWidth = r.width, nS.screenHeight = r.height, nS.screenAngle = r.angle, nS.startTimeStamp = n), t && window.clearTimeout(nS.screenTimeout), i >= eS && t && (nS.endTimeStamp = n);+function Wre(e) {+ let t = rS(K(e)), n = performance.now(), r = $x(), i = Qx.screenHeight - r.height;+ i < Xx && t && (Qx.screenWidth = r.width, Qx.screenHeight = r.height, Qx.screenAngle = r.angle, Qx.startTimeStamp = n), t && window.clearTimeout(Qx.screenTimeout), i >= Xx && t && (Qx.endTimeStamp = n);}-function aS() {- let e = rS();- $y(window.visualViewport, "resize", Ab() ? iS : Rre), $y(window.screen.orientation, "change", zre), $y(window, "focus", Bre, {+function tS() {+ let e = $x();+ Xy(window.visualViewport, "resize", Eb() ? eS : Hre), Xy(window.screen.orientation, "change", Ure), Xy(window, "focus", Wre, {capture: !0,passive: !0- }), nS.screenWidth = e.width, nS.screenHeight = e.height, nS.screenAngle = e.angle;+ }), Qx.screenWidth = e.width, Qx.screenHeight = e.height, Qx.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? $y(document, "DOMContentLoaded", aS) : aS());-function oS() {- let e = $x("viewport");- return Mb() && e?.includes("overlays-content") ? !1 : nS.isOpen ? !0 : nS.startTimeStamp ? nS.endTimeStamp >= nS.startTimeStamp ? !0 : performance.now() - nS.startTimeStamp <= tS ? nS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Xy(document, "DOMContentLoaded", tS) : tS());+function nS() {+ let e = Yx("viewport");+ return Ob() && e?.includes("overlays-content") ? !1 : Qx.isOpen ? !0 : Qx.startTimeStamp ? Qx.endTimeStamp >= Qx.startTimeStamp ? !0 : performance.now() - Qx.startTimeStamp <= Zx ? Qx.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function sS(e) {- if (!(e instanceof Element) || !pb(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Lre.has(e.type);+function rS(e) {+ if (!(e instanceof Element) || !lb(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Vre.has(e.type);return t || n || r;}-function cS(e) {- return Tb() ? e.metaKey : e.ctrlKey;+function iS(e) {+ return xb() ? e.metaKey : e.ctrlKey;}-function lS() {- return nS.isOpen;+function aS() {+ return Qx.isOpen;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var Vre = D.useInsertionEffect ?? gb;-function uS(e) {+var Gre = D.useInsertionEffect ?? fb;+function oS(e) {let t = (0, D.useRef)(null);- return Vre(() => {+ return Gre(() => {t.current = e;}, [e]), (0, D.useCallback)((...e) => {let n = t.current;@@ -21663,10 +21663,10 @@ function uS(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function dS(e, t, n, r) {- let i = uS(n), a = n == null;+function sS(e, t, n, r) {+ let i = oS(n), a = n == null;(0, D.useEffect)(() => {- if (!(a || e.current == null)) return $y(e.current, t, i, r);+ if (!(a || e.current == null)) return Xy(e.current, t, i, r);}, [e,t,@@ -21676,9 +21676,9 @@ function dS(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function fS(e, t) {+function cS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = Sx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = vx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i@@ -21686,7 +21686,7 @@ function fS(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var Hre = /* @__PURE__ */ new Set([+var Kre = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21697,7 +21697,7 @@ var Hre = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Ure = /* @__PURE__ */ new Set([+]), qre = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21718,20 +21718,20 @@ var Hre = /* @__PURE__ */ new Set(["ur","yi"]);-function Wre(e) {+function Jre(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return Hre.has(t.script);+ if (t.script) return Kre.has(t.script);}let t = e.split("-")[0];- return Ure.has(t);+ return qre.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var pS = Symbol.for("react-aria.i18n.locale");-function mS() {- let e = typeof window < "u" && window[pS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var lS = Symbol.for("react-aria.i18n.locale");+function uS() {+ let e = typeof window < "u" && window[lS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21739,33 +21739,33 @@ function mS() {}return {locale: e,- direction: Wre(e) ? "rtl" : "ltr"+ direction: Jre(e) ? "rtl" : "ltr"};}-var hS = mS(), gS = /* @__PURE__ */ new Set();-function _S() {- hS = mS();- for (let e of gS) e(hS);+var dS = uS(), fS = /* @__PURE__ */ new Set();+function pS() {+ dS = uS();+ for (let e of fS) e(dS);}-function Gre() {- let e = Wb(), [t, n] = (0, D.useState)(hS);- return (0, D.useEffect)(() => (gS.size === 0 && window.addEventListener("languagechange", _S), gS.add(n), () => {- gS.delete(n), gS.size === 0 && window.removeEventListener("languagechange", _S);+function Yre() {+ let e = Bb(), [t, n] = (0, D.useState)(dS);+ return (0, D.useEffect)(() => (fS.size === 0 && window.addEventListener("languagechange", pS), fS.add(n), () => {+ fS.delete(n), fS.size === 0 && window.removeEventListener("languagechange", pS);}), []), e ? {- locale: typeof window < "u" && window[pS] || "en-US",+ locale: typeof window < "u" && window[lS] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Kre = /*#__PURE__*/ D.createContext(null);-function vS() {- let e = Gre();- return (0, D.useContext)(Kre) || e;+var Xre = /*#__PURE__*/ D.createContext(null);+function mS() {+ let e = Yre();+ return (0, D.useContext)(Xre) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18n.strings"), yS = void 0, bS = class e {+var Zre = Symbol.for("react-aria.i18n.locale"), Qre = Symbol.for("react-aria.i18n.strings"), hS = void 0, gS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21776,39 +21776,39 @@ var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Yre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = $re(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[qre];- if (yS === void 0) {- let t = window[Jre];+ let n = window[Zre];+ if (hS === void 0) {+ let t = window[Qre];if (!t) return null;- yS = {};- for (let r in t) yS[r] = new e({ [n]: t[r] }, n);+ hS = {};+ for (let r in t) hS[r] = new e({ [n]: t[r] }, n);}- let r = yS?.[t];+ let r = hS?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function Yre(e, t, n = "en-US") {+function $re(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Xre(e), i = Zre(e);+ let r = eie(e), i = tie(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function Xre(e) {+function eie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Zre(e) {+function tie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = class {+var _S = /* @__PURE__ */ new Map(), vS = /* @__PURE__ */ new Map(), nie = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21819,37 +21819,37 @@ var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = xS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), xS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = _S.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), _S.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = SS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), SS.set(this.locale, t)), t.format(e);+ let t = vS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), vS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, CS = /* @__PURE__ */ new WeakMap();-function $re(e) {- let t = CS.get(e);- return t || (t = new bS(e), CS.set(e, t)), t;+}, yS = /* @__PURE__ */ new WeakMap();+function rie(e) {+ let t = yS.get(e);+ return t || (t = new gS(e), yS.set(e, t)), t;}-function eie(e, t) {- return t && bS.getGlobalDictionaryForPackage(t) || $re(e);+function iie(e, t) {+ return t && gS.getGlobalDictionaryForPackage(t) || rie(e);}-function wS(e, t) {- let { locale: n } = vS(), r = eie(e, t);- return (0, D.useMemo)(() => new Qre(n, r), [n, r]);+function bS(e, t) {+ let { locale: n } = mS(), r = iie(e, t);+ return (0, D.useMemo)(() => new nie(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set([+var aie = /* @__PURE__ */ new Set(["id"]), oie = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), rie = /* @__PURE__ */ new Set([+]), sie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21857,64 +21857,64 @@ var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), iie = /* @__PURE__ */ new Set([+]), cie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), TS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), aie = /^(data-.*)$/;-function ES(e, t = {}) {+]), xS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), lie = /^(data-.*)$/;+function SS(e, t = {}) {let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (tie.has(t) || n && nie.has(t) || r && rie.has(t) || i && iie.has(t) || a && (TS.has(t) || t.endsWith("Capture") && TS.has(t.slice(0, -7))) || o?.has(t) || aie.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (aie.has(t) || n && oie.has(t) || r && sie.has(t) || i && cie.has(t) || a && (xS.has(t) || t.endsWith("Capture") && xS.has(t.slice(0, -7))) || o?.has(t) || lie.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var DS = "default", OS = "", kS = /* @__PURE__ */ new WeakMap();-function AS(e) {- if (Ob() && Ab()) {- if (DS === "default") {- let t = Yy(e);- OS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- DS = "disabled";+var CS = "default", wS = "", TS = /* @__PURE__ */ new WeakMap();+function ES(e) {+ if (wb() && Eb()) {+ if (CS === "default") {+ let t = Ky(e);+ wS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ CS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- kS.set(e, e.style[t]), e.style[t] = "none";+ TS.set(e, e.style[t]), e.style[t] = "none";}}-function jS(e) {- if (Ob() && Ab()) {- if (DS !== "disabled") return;- DS = "restoring", setTimeout(() => {- gx(() => {- if (DS === "restoring") {- let t = Yy(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = OS || ""), OS = "", DS = "default";+function DS(e) {+ if (wb() && Eb()) {+ if (CS !== "disabled") return;+ CS = "restoring", setTimeout(() => {+ fx(() => {+ if (CS === "restoring") {+ let t = Ky(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = wS || ""), wS = "", CS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && kS.has(e)) {- let t = kS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), kS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && TS.has(e)) {+ let t = TS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), TS.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var MS = /* @__PURE__ */ new WeakMap();-function NS(e) {- let t = Yy(e), n = MS.get(t);- return n ??= $x("csp-nonce", t), n !== void 0 && MS.set(t, n), n;+var OS = /* @__PURE__ */ new WeakMap();+function kS(e) {+ let t = Ky(e), n = OS.get(t);+ return n ??= Yx("csp-nonce", t), n !== void 0 && OS.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var PS = D.createContext({ register: () => {} });-PS.displayName = "PressResponderContext";+var AS = D.createContext({ register: () => {} });+AS.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function FS() {+function jS() {let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21941,15 +21941,15 @@ function FS() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function oie(e) {- let t = (0, D.useContext)(PS);+function uie(e) {+ let t = (0, D.useContext)(AS);if (t) {let { register: n, ref: r, ...i } = t;e = q(i, e), n();}- return Px(t, e.ref), e;+ return Ax(t, e.ref), e;}-var IS = class {+var MS = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21962,9 +21962,9 @@ var IS = class {get shouldStopPropagation() {return this.#e;}-}, LS = Symbol("linkClicked"), RS = "react-aria-pressable-style", zS = "data-react-aria-pressable";-function BS(e) {- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = oie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({+}, NS = Symbol("linkClicked"), PS = "react-aria-pressable-style", FS = "data-react-aria-pressable";+function IS(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = uie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21974,12 +21974,12 @@ function BS(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = FS(), y = (0, D.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = jS(), y = (0, D.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new IS("pressstart", t, e);+ let n = new MS("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21993,11 +21993,11 @@ function BS(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new IS("pressend", r, e);+ let t = new MS("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new IS("press", r, e);+ let n = new MS("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22006,19 +22006,19 @@ function BS(e) {i,n,t- ]), x = uS(b), S = uS((0, D.useCallback)((e, t) => {+ ]), x = oS(b), S = oS((0, D.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new IS("pressup", t, e);+ let r = new MS("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, D.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(US(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || jS(t.target);+ t.didFirePressStart && t.pointerType != null && b(zS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || DS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22026,7 +22026,7 @@ function BS(e) {d,v,b- ]), w = uS(C);+ ]), w = oS(C);(0, D.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22043,39 +22043,39 @@ function BS(e) {}, [s, o]), O = (0, D.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- vb(n, t), o(_b(n));+ mb(n, t), o(pb(n));}}, [s, o]), k = (0, D.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (HS(t.nativeEvent, t.currentTarget) && nb(t.currentTarget, K(t))) {- WS(K(t), t.key) && t.preventDefault();+ if (RS(t.nativeEvent, t.currentTarget) && $y(t.currentTarget, K(t))) {+ BS(K(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(Yy(t.currentTarget), "keyup", vx((t) => {- HS(t, i) && !t.repeat && nb(i, K(t)) && e.target && S(US(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && Tb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(Ky(t.currentTarget), "keyup", mx((t) => {+ RS(t, i) && !t.repeat && $y(i, K(t)) && e.target && S(zS(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && xb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || nb(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Rb.isOpening) {+ if ((!t || $y(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Pb.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Nb(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || kb(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(US(t.currentTarget, t), r), a = x(US(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(zS(t.currentTarget, t), r), a = x(zS(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, E(t), w(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && HS(t, e.target)) {- WS(K(t), t.key) && t.preventDefault();- let n = K(t), r = nb(e.target, n);- x(US(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && VS(e.target) && nb(e.target, n) && !t[LS] && (t[LS] = !0, Rb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && RS(t, e.target)) {+ BS(K(t), t.key) && t.preventDefault();+ let n = K(t), r = $y(e.target, n);+ x(zS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && LS(e.target) && $y(e.target, n) && !t[NS] && (t[NS] = !0, Pb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -22084,39 +22084,39 @@ function BS(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !nb(t.currentTarget, K(t))) return;- if (Pb(t.nativeEvent)) {+ if (t.button !== 0 || !$y(t.currentTarget, K(t))) return;+ if (Ab(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || AS(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || ES(e.target), i = y(t, e.pointerType);let a = K(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Yy(t.currentTarget), "pointerup", n, !1), _(Yy(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Ky(t.currentTarget), "pointerup", n, !1), _(Ky(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (nb(t.currentTarget, K(t)) && t.button === 0) {+ if ($y(t.currentTarget, K(t)) && t.button === 0) {if (l) {- let n = xb(t.target);+ let n = _b(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- nb(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ $y(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(US(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(zS(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(US(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(zS(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (nb(e.target, K(t)) && e.pointerType != null) {+ if ($y(e.target, K(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Jy(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Gy(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22126,7 +22126,7 @@ function BS(e) {w(e);};t.onDragStart = (e) => {- nb(e.currentTarget, K(e)) && w(e);+ $y(e.currentTarget, K(e)) && w(e);};}return t;@@ -22143,14 +22143,14 @@ function BS(e) {]);return (0, D.useEffect)(() => {if (!f) return;- let e = Yy(f.current);- if (!e || !e.head || e.getElementById(RS)) return;+ let e = Ky(f.current);+ if (!e || !e.head || e.getElementById(PS)) return;let t = e.createElement("style");- t.id = RS;- let n = NS(e);+ t.id = PS;+ let n = kS(e);n && (t.nonce = n), t.textContent = `@layer {- [${zS}] {+ [${FS}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22158,23 +22158,23 @@ function BS(e) {}, [f]), (0, D.useEffect)(() => {let e = g.current;return () => {- d || jS(e.target ?? void 0);+ d || DS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: q(p, k, { [zS]: !0 })+ pressProps: q(p, k, { [FS]: !0 })};}-function VS(e) {+function LS(e) {return e.tagName === "A" && e.hasAttribute("href");}-function HS(e, t) {+function RS(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Xy(i).HTMLInputElement && !GS(i, n) || i instanceof Xy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && VS(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof qy(i).HTMLInputElement && !VS(i, n) || i instanceof qy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && LS(i)) && n !== "Enter");}-function US(e, t) {+function zS(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22187,13 +22187,13 @@ function US(e, t) {key: t.key};}-function sie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !VS(e);+function die(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !LS(e);}-function WS(e, t) {- return Tb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !GS(e, t) : sie(e);+function BS(e, t) {+ return xb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !VS(e, t) : die(e);}-var cie = /* @__PURE__ */ new Set([+var fie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22204,12 +22204,12 @@ var cie = /* @__PURE__ */ new Set(["submit","reset"]);-function GS(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : cie.has(e.type);+function VS(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : fie.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function lie(e, t) {+function pie(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -22231,7 +22231,7 @@ function lie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = BS({+ let { pressProps: _, isPressed: v } = IS({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22241,9 +22241,9 @@ function lie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Ix(e, t);+ }), { focusableProps: y } = Mx(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = q(y, _, ES(e, { labelable: !0 }));+ let b = q(y, _, SS(e, { labelable: !0 }));return {isPressed: v,buttonProps: q(g, b, {@@ -22258,7 +22258,7 @@ function lie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var uie = class {+var mie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22283,7 +22283,7 @@ var uie = class {return this._currentNode;}set currentNode(e) {- if (!nb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!$y(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -22297,7 +22297,7 @@ var uie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return nb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return $y(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22361,45 +22361,45 @@ var uie = class {return null;}};-function KS(e, t, n, r) {- return tb() ? new uie(e, t, n, r) : e.createTreeWalker(t, n, r);+function HS(e, t, n, r) {+ return Qy() ? new mie(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var qS = /*#__PURE__*/ D.createContext(null), JS = "react-aria-focus-scope-restore", YS = null;-function XS(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(qS) || {}, l = (0, D.useMemo)(() => new pC({ scopeRef: s }), [s]);- gb(() => {- let e = c || mC.root;- if (mC.getTreeNode(e.scopeRef) && YS && !nC(YS, e.scopeRef)) {- let t = mC.getTreeNode(YS);+var US = /*#__PURE__*/ D.createContext(null), WS = "react-aria-focus-scope-restore", GS = null;+function KS(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(US) || {}, l = (0, D.useMemo)(() => new cC({ scopeRef: s }), [s]);+ fb(() => {+ let e = c || lC.root;+ if (lC.getTreeNode(e.scopeRef) && GS && !QS(GS, e.scopeRef)) {+ let t = lC.getTreeNode(GS);t && (e = t);}- e.addChild(l), mC.addNode(l);- }, [l, c]), gb(() => {- let e = mC.getTreeNode(s);+ e.addChild(l), lC.addNode(l);+ }, [l, c]), fb(() => {+ let e = lC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), gb(() => {+ }, [n]), fb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(JS, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(WS, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(JS, n);+ for (let e of t) e.removeEventListener(WS, n);};- }, [t]), sC(s, r, n), mie(s, n), lC(s, r, n), oC(s, i), (0, D.useEffect)(() => {- let e = rb(Yy(s.current ? s.current[0] : void 0)), t = null;- if (eC(e, s.current)) {- for (let n of mC.traverse()) n.scopeRef && eC(e, n.scopeRef.current) && (t = n);- t === mC.getTreeNode(s) && (YS = t.scopeRef);- }- }, [s]), gb(() => () => {- let e = mC.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === YS || nC(s, YS)) && (!e || mC.getTreeNode(e)) && (YS = e), mC.removeTreeNode(s);+ }, [t]), nC(s, r, n), vie(s, n), iC(s, r, n), bie(s, i), (0, D.useEffect)(() => {+ let e = eb(Ky(s.current ? s.current[0] : void 0)), t = null;+ if (XS(e, s.current)) {+ for (let n of lC.traverse()) n.scopeRef && XS(e, n.scopeRef.current) && (t = n);+ t === lC.getTreeNode(s) && (GS = t.scopeRef);+ }+ }, [s]), fb(() => () => {+ let e = lC.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === GS || QS(s, GS)) && (!e || lC.getTreeNode(e)) && (GS = e), lC.removeTreeNode(s);}, [s]);- let u = (0, D.useMemo)(() => die(s), []), d = (0, D.useMemo)(() => ({+ let u = (0, D.useMemo)(() => hie(s), []), d = (0, D.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ D.createElement(qS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {+ return /*#__PURE__*/ D.createElement(US.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22409,154 +22409,154 @@ function XS(e) {ref: o}));}-function die(e) {+function hie(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rb(Yy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = dC(ZS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || eb(Ky(n[0] ?? void 0)), c = n[0].previousElementSibling, l = oC(qS(n), {tabbable: i,accept: o}, n);- l.currentNode = eC(s, n) ? s : c;+ l.currentNode = XS(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && rC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && $S(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rb(Yy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = dC(ZS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || eb(Ky(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = oC(qS(n), {tabbable: i,accept: o}, n);- l.currentNode = eC(s, n) ? s : c;+ l.currentNode = XS(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && rC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && $S(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = dC(ZS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = oC(qS(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && rC(o, !0), o;+ return o && $S(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = dC(ZS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = oC(qS(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && rC(o, !0), o;+ return o && $S(o, !0), o;}};}-function ZS(e) {+function qS(e) {return e[0].parentElement;}-function QS(e) {- let t = mC.getTreeNode(YS);+function JS(e) {+ let t = lC.getTreeNode(GS);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function fie(e) {- if (!e.form) return Array.from(Yy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = Xy(e);+function gie(e) {+ if (!e.form) return Array.from(Ky(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = qy(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function pie(e) {+function _ie(e) {if (e.checked) return !0;- let t = fie(e);+ let t = gie(e);return t.length > 0 && !t.some((e) => e.checked);}-function mie(e, t) {+function vie(e, t) {let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);- gb(() => {+ fb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = Yy(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;- let n = rb(a), r = e.current;- if (!r || !eC(n, r)) return;- let i = dC(ZS(r), { tabbable: !0 }, r);+ let a = Ky(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !JS(e) || t.isComposing) return;+ let n = eb(a), r = e.current;+ if (!r || !XS(n, r)) return;+ let i = oC(qS(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (rC(o, !0), o instanceof Xy(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && ($S(o, !0), o instanceof qy(o).HTMLInputElement && o.select());}, s = (t) => {- (!YS || nC(YS, e)) && eC(K(t), e.current) ? (YS = e, n.current = K(t)) : QS(e) && !tC(K(t), e) ? n.current ? rC(n.current) : YS && YS.current && aC(YS.current) : QS(e) && (n.current = K(t));+ (!GS || QS(GS, e)) && XS(K(t), e.current) ? (GS = e, n.current = K(t)) : JS(e) && !ZS(K(t), e) ? n.current ? $S(n.current) : GS && GS.current && tC(GS.current) : JS(e) && (n.current = K(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = ox(), i = (r === "virtual" || r === null) && Mb() && jb(), o = rb(a);- if (!i && o && QS(e) && !tC(o, e)) {- YS = e;+ let r = nx(), i = (r === "virtual" || r === null) && Ob() && Db(), o = eb(a);+ if (!i && o && JS(e) && !ZS(o, e)) {+ GS = e;let r = K(t);- r && r.isConnected ? (n.current = r, rC(n.current)) : YS.current && aC(YS.current);+ r && r.isConnected ? (n.current = r, $S(n.current)) : GS.current && tC(GS.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), gb(() => () => {+ }, [e, t]), fb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function $S(e) {- return tC(e);+function YS(e) {+ return ZS(e);}-function eC(e, t) {- return !e || !t ? !1 : t.some((t) => nb(t, e));+function XS(e, t) {+ return !e || !t ? !1 : t.some((t) => $y(t, e));}-function tC(e, t = null) {+function ZS(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of mC.traverse(mC.getTreeNode(t))) if (n && eC(e, n.current)) return !0;+ for (let { scopeRef: n } of lC.traverse(lC.getTreeNode(t))) if (n && XS(e, n.current)) return !0;return !1;}-function hie(e) {- return tC(e, YS);+function yie(e) {+ return ZS(e, GS);}-function nC(e, t) {- let n = mC.getTreeNode(t)?.parent;+function QS(e, t) {+ let n = lC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function rC(e, t = !1) {+function $S(e, t = !1) {if (e != null && !t) try {- _x(e);+ px(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function iC(e, t = !0) {- let n = e[0].previousElementSibling, r = ZS(e), i = dC(r, { tabbable: t }, e);+function eC(e, t = !0) {+ let n = e[0].previousElementSibling, r = qS(e), i = oC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = ZS(e), i = dC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = qS(e), i = oC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function aC(e, t = !0) {- rC(iC(e, t));+function tC(e, t = !0) {+ $S(eC(e, t));}-function oC(e, t) {+function bie(e, t) {let n = D.useRef(t);(0, D.useEffect)(() => {- n.current && (YS = e, !eC(rb(Yy(e.current ? e.current[0] : void 0)), YS.current) && e.current && aC(e.current)), n.current = !1;+ n.current && (GS = e, !XS(eb(Ky(e.current ? e.current[0] : void 0)), GS.current) && e.current && tC(e.current)), n.current = !1;}, [e]);}-function sC(e, t, n) {- gb(() => {+function nC(e, t, n) {+ fb(() => {if (t || n) return;- let r = e.current, i = Yy(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = Ky(r ? r[0] : void 0), a = (t) => {let n = K(t);- eC(n, e.current) ? YS = e : $S(n) || (YS = null);+ XS(n, e.current) ? GS = e : YS(n) || (GS = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -22567,43 +22567,43 @@ function sC(e, t, n) {n]);}-function cC(e) {- let t = mC.getTreeNode(YS);+function rC(e) {+ let t = lC.getTreeNode(GS);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function lC(e, t, n) {- let r = (0, D.useRef)(typeof document < "u" ? rb(Yy(e.current ? e.current[0] : void 0)) : null);- gb(() => {- let r = e.current, i = Yy(r ? r[0] : void 0);+function iC(e, t, n) {+ let r = (0, D.useRef)(typeof document < "u" ? eb(Ky(e.current ? e.current[0] : void 0)) : null);+ fb(() => {+ let r = e.current, i = Ky(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!YS || nC(YS, e)) && eC(rb(i), e.current) && (YS = e);+ (!GS || QS(GS, e)) && XS(eb(i), e.current) && (GS = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), gb(() => {- let r = Yy(e.current ? e.current[0] : void 0);+ }, [e, n]), fb(() => {+ let r = Ky(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !JS(e) || t.isComposing) return;let n = r.activeElement;- if (!tC(n, e) || !cC(e)) return;- let i = mC.getTreeNode(e);+ if (!ZS(n, e) || !rC(e)) return;+ let i = lC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = dC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = oC(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !tC(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !ZS(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (tC(s, e));- t.preventDefault(), t.stopPropagation(), s ? rC(s, !0) : $S(a) ? rC(a, !0) : n.blur();+ while (ZS(s, e));+ t.preventDefault(), t.stopPropagation(), s ? $S(s, !0) : YS(a) ? $S(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22613,31 +22613,31 @@ function lC(e, t, n) {e,t,n- ]), gb(() => {- let n = Yy(e.current ? e.current[0] : void 0);+ ]), fb(() => {+ let n = Ky(e.current ? e.current[0] : void 0);if (!t) return;- let i = mC.getTreeNode(e);+ let i = lC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = mC.getTreeNode(e);+ let r = lC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = rb(n);- if (t && i && (a && tC(a, e) || a === n.body && cC(e))) {- let t = mC.clone();+ let i = r.nodeToRestore, a = eb(n);+ if (t && i && (a && ZS(a, e) || a === n.body && rC(e))) {+ let t = lC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- uC(n.nodeToRestore);+ aC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && mC.getTreeNode(n.scopeRef)) {- let e = iC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && lC.getTreeNode(n.scopeRef)) {+ let e = eC(n.scopeRef.current, !0);if (e) {- uC(e);+ aC(e);return;}}@@ -22649,21 +22649,21 @@ function lC(e, t, n) {};}, [e, t]);}-function uC(e) {- e.dispatchEvent(new CustomEvent(JS, {+function aC(e) {+ e.dispatchEvent(new CustomEvent(WS, {bubbles: !0,cancelable: !0- })) && rC(e);+ })) && $S(e);}-function dC(e, t, n) {- let r = t?.tabbable ? mb : pb, i = Yy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = KS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return nb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!pie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || eC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function oC(e, t, n) {+ let r = t?.tabbable ? ub : lb, i = Ky(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = HS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return $y(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!_ie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || XS(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var fC = class e {+var sC = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new pC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new cC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22674,7 +22674,7 @@ var fC = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new pC({ scopeRef: e });+ let i = new cC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22685,7 +22685,7 @@ var fC = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && eC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && XS(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -22697,7 +22697,7 @@ var fC = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, pC = class {+}, cC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22707,13 +22707,13 @@ var fC = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, mC = new fC(), hC = 7e3, gC = null;-function _C(e, t = "assertive", n = hC) {- gC ? gC.announce(e, t, n) : (gC = new vC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? gC.announce(e, t, n) : setTimeout(() => {- gC?.isAttached() && gC?.announce(e, t, n);+}, lC = new sC(), uC = 7e3, dC = null;+function fC(e, t = "assertive", n = uC) {+ dC ? dC.announce(e, t, n) : (dC = new pC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? dC.announce(e, t, n) : setTimeout(() => {+ dC?.isAttached() && dC?.announce(e, t, n);}, 100));}-var vC = class {+var pC = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -22738,7 +22738,7 @@ var vC = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = hC) {+ announce(e, t = "assertive", n = uC) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -22751,8 +22751,8 @@ var vC = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function yC(e, t) {- let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = uS(e);+function mC(e, t) {+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = oS(e);(0, D.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, D.useEffect)(() => {@@ -22762,33 +22762,33 @@ function yC(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function bC(e, t) {+function hC(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function xC(e, t) {+function gC(e, t) {let n = e;- for (bC(n, t) && (n = n.parentElement); n && !bC(n, t);) n = n.parentElement;+ for (hC(n, t) && (n = n.parentElement); n && !hC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function SC(e, t) {+function _C(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (bC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (hC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function CC(e, t, n = {}) {- e !== t && wC(e, t, t.getBoundingClientRect(), n);+function vC(e, t, n = {}) {+ e !== t && yC(e, t, t.getBoundingClientRect(), n);}-function wC(e, t, n, r = {}) {+function yC(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, I = m - (f ? 0 : E) - S - F, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;- Ob() && Ab() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);+ wb() && Eb() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);let ie = k < te || A > I, ae = j < ne || M > re;if (ie && i === "start") o += k - te;else if (ie && i === "center") o += (k + A) / 2 - (te + I) / 2;@@ -22809,7 +22809,7 @@ function wC(e, t, n, r = {}) {top: o});}-function TC(e, t = {}) {+function bC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22822,47 +22822,47 @@ function TC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = SC(e, !0);- for (let t of i) CC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = _C(e, !0);+ for (let t of i) vC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? SC(n, !0) : [];- for (let e of i) CC(e, n, {+ i = n ? _C(n, !0) : [];+ for (let e of i) vC(e, n, {block: "center",inline: "center"});- for (let t of SC(e, !0)) CC(t, e);+ for (let t of _C(e, !0)) vC(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var EC = 0, DC = /* @__PURE__ */ new Map();-function OC(e) {+var xC = 0, SC = /* @__PURE__ */ new Map();+function CC(e) {let [t, n] = (0, D.useState)();- return gb(() => {+ return fb(() => {if (!e) return;- let t = DC.get(e);+ let t = SC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${EC++}`;+ let r = `react-aria-description-${xC++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, DC.set(e, t);+ }, SC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), DC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), SC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function kC(e, t, n) {- let r = uS((e) => {+function wC(e, t, n) {+ let r = oS((e) => {n && !e.defaultPrevented && n(t);});(0, D.useEffect)(() => {@@ -22874,21 +22874,21 @@ function kC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function AC(e, t, n) {+function TC(e, t, n) {let { validationBehavior: r, focus: i } = e;- gb(() => {+ fb(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(MC(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(DC(n.current));}});- let a = (0, D.useRef)(!1), o = uS(() => {+ let a = (0, D.useRef)(!1), o = oS(() => {a.current || t.resetValidation();- }), s = uS((e) => {+ }), s = oS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && NC(r) === n.current && (i ? i() : n.current?.focus(), sx("keyboard")), e.preventDefault();- }), c = uS(() => {+ !e.defaultPrevented && n && r && OC(r) === n.current && (i ? i() : n.current?.focus(), rx("keyboard")), e.preventDefault();+ }), c = oS(() => {t.commitValidation();});(0, D.useEffect)(() => {@@ -22902,7 +22902,7 @@ function AC(e, t, n) {};}, [n, r]);}-function jC(e) {+function EC(e) {let t = e.validity;return {badInput: t.badInput,@@ -22918,14 +22918,14 @@ function jC(e) {valid: t.valid};}-function MC(e) {+function DC(e) {return {isInvalid: !e.validity.valid,- validationDetails: jC(e),+ validationDetails: EC(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function NC(e) {+function OC(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22934,16 +22934,16 @@ function NC(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function PC(e = !0) {+function kC(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return gb(() => {+ return fb(() => {r.current || n(!1);}, []), [i, t];}-function FC(e = !0) {- let t = Sx(), [n, r] = PC(e);+function AC(e = !0) {+ let t = vx(), [n, r] = kC(e);return {id: r ? t : void 0,ref: n@@ -22951,7 +22951,7 @@ function FC(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var IC = {+var jC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22963,18 +22963,18 @@ var IC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, LC = {- ...IC,+}, MC = {+ ...jC,customError: !0,valid: !1-}, RC = {+}, NC = {isInvalid: !1,- validationDetails: IC,+ validationDetails: jC,validationErrors: []-}, zC = (0, D.createContext)({}), BC = "__reactAriaFormValidationState";-function VC(e) {+}, PC = (0, D.createContext)({}), FC = "__reactAriaFormValidationState";+function IC(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[BC];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[FC];return {realtimeValidation: t,displayValidation: n,@@ -22983,71 +22983,71 @@ function VC(e) {commitValidation: a};}- return HC(e);+ return LC(e);}-function HC(e) {+function LC(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: LC- }, l = (0, D.useMemo)(() => !o || i == null ? null : GC(WC(o, i)), [o, i]);+ validationDetails: MC+ }, l = (0, D.useMemo)(() => !o || i == null ? null : BC(zC(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, D.useContext)(zC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => UC(u[e])) : UC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);+ let u = (0, D.useContext)(PC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => RC(u[e])) : RC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, D.useMemo)(() => GC(m ? [] : d), [m, d]), _ = (0, D.useRef)(RC), [v, y] = (0, D.useState)(RC), b = (0, D.useRef)(RC), x = () => {+ let g = (0, D.useMemo)(() => BC(m ? [] : d), [m, d]), _ = (0, D.useRef)(NC), [v, y] = (0, D.useState)(NC), b = (0, D.useRef)(NC), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- KC(e, b.current) || (b.current = e, y(e));+ VC(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, D.useState)(!1);return (0, D.useEffect)(x), {- realtimeValidation: c || g || l || a || RC,+ realtimeValidation: c || g || l || a || NC,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !KC(v, e) ? y(e) : _.current = e;+ s === "aria" && !VC(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = RC;- KC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = NC;+ VC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function UC(e) {+function RC(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function WC(e, t) {+function zC(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return UC(n);+ if (n && typeof n != "boolean") return RC(n);}return [];}-function GC(e) {+function BC(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: LC+ validationDetails: MC} : null;}-function KC(e, t) {+function VC(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}//#endregion//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs-function qC(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = VC({+function HC(e, t, n) {+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = IC({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- AC(e, b, n);+ TC(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(K(e).checked);- }, { pressProps: T, isPressed: E } = BS({+ }, { pressProps: T, isPressed: E } = IS({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23055,7 +23055,7 @@ function qC(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, D.useState)(!1), { pressProps: A } = BS({+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = IS({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));},@@ -23072,13 +23072,13 @@ function qC(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [BC]: i } = e, { commitValidation: a } = i || b;+ let { [FC]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: j } = Ix(e, n), M = q(T, j), N = ES(e, { labelable: !0 });- kC(n, t.defaultSelected, t.setSelected);- let P = FC(), ee = FC();+ }), { focusableProps: j } = Mx(e, n), M = q(T, j), N = SS(e, { labelable: !0 });+ wC(n, t.defaultSelected, t.setSelected);+ let P = AC(), ee = AC();return {labelProps: q(A, { onClick: (e) => e.preventDefault() }),inputProps: q(N, {@@ -23115,8 +23115,8 @@ function qC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function JC(e, t, n) {- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = qC(e, t, n), { isIndeterminate: m } = e;+function UC(e, t, n) {+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = HC(e, t, n), { isIndeterminate: m } = e;return (0, D.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -23135,18 +23135,18 @@ function JC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var YC = /* @__PURE__ */ new WeakMap();+var WC = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function XC(e) {+function GC(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = Sx(t);- let o = Sx(), s = {};+ t = vx(t);+ let o = vx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = fS({+ let c = cS({id: t,"aria-label": i,"aria-labelledby": r@@ -23158,13 +23158,13 @@ function XC(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function ZC(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = XC(e), s = Cx([+function KC(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = GC(e), s = yx([!!t,!!n,r,i- ]), c = Cx([+ ]), c = yx([!!t,!!n,r,@@ -23183,26 +23183,26 @@ function ZC(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function QC(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = FS(), c = (0, D.useCallback)((e) => {- nb(e.currentTarget, K(e)) && a.current.isFocusWithin && !nb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function qC(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = jS(), c = (0, D.useCallback)((e) => {+ $y(e.currentTarget, K(e)) && a.current.isFocusWithin && !$y(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = yb(c), u = (0, D.useCallback)((e) => {- if (!nb(e.currentTarget, K(e))) return;- let t = K(e), n = Yy(t), s = rb(n);+ ]), l = hb(c), u = (0, D.useCallback)((e) => {+ if (!$y(e.currentTarget, K(e))) return;+ let t = K(e), n = Ky(t), s = eb(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = K(e);- if (a.current.isFocusWithin && !nb(t, r)) {+ if (a.current.isFocusWithin && !$y(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- vb(e, t);- let i = _b(e);+ mb(e, t);+ let i = pb(e);c(i);}}, { capture: !0 });@@ -23224,14 +23224,14 @@ function QC(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var $C = D.useInsertionEffect ?? D.useLayoutEffect;-function ew(e, t, n) {+var JC = D.useInsertionEffect ?? D.useLayoutEffect;+function YC(e, t, n) {let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;(0, D.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- $C(() => {+ JC(() => {a.current = c;});let [, l] = (0, D.useReducer)(() => ({}), {});@@ -23242,8 +23242,8 @@ function ew(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function tw(e = {}) {- let { isReadOnly: t } = e, [n, r] = ew(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);+function XC(e = {}) {+ let { isReadOnly: t } = e, [n, r] = YC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);function a(e) {t || r(e);}@@ -23259,26 +23259,26 @@ function tw(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function gie(e, t, n) {- let r = tw({+function ZC(e, t, n) {+ let r = XC({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = YC.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = WC.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = VC({+ let { realtimeValidation: l } = IC({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, D.useRef)(RC), d = () => {+ }), u = (0, D.useRef)(NC), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, D.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = JC({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = UC({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23286,7 +23286,7 @@ function gie(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [BC]: {+ [FC]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23310,10 +23310,10 @@ function gie(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function nw(e, t = -Infinity, n = Infinity) {+function QC(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function rw(e, t) {+function $C(e, t) {let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;else {@@ -23326,24 +23326,24 @@ function rw(e, t) {}return n;}-function iw(e, t, n, r) {+function ew(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = rw(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(rw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(rw((n - t) / r, r)) * r), a = rw(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = $C(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor($C(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor($C((n - t) / r, r)) * r), a = $C(a, r), a;}//#endregion//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var aw = /* @__PURE__ */ new Map(), ow = !1;+var tw = /* @__PURE__ */ new Map(), nw = !1;try {- ow = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ nw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var _ie = class {+var xie = class {constructor(e, t = {}) {- this.numberFormatter = vie(e, t), this.options = t;+ this.numberFormatter = Sie(e, t), this.options = t;}format(e) {let t = "";- return t = !ow && this.options.signDisplay != null ? yie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !nw && this.options.signDisplay != null ? Cie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23375,21 +23375,21 @@ var _ie = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !ow && this.options.signDisplay != null && (e = {+ return !nw && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function vie(e, t = {}) {+function Sie(e, t = {}) {let { numberingSystem: n } = t;n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (aw.has(r)) return aw.get(r);+ if (tw.has(r)) return tw.get(r);let i = new Intl.NumberFormat(e, t);- return aw.set(r, i), i;+ return tw.set(r, i), i;}-function yie(e, t, n) {+function Cie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23403,12 +23403,12 @@ function yie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useMove.mjs-function sw(e) {+function rw(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, D.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = FS(), s = uS((0, D.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = jS(), s = oS((0, D.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23430,8 +23430,8 @@ function sw(e) {t,n,i- ])), c = uS((0, D.useCallback)((e, t) => {- jS(), i.current.didMove && r?.({+ ])), c = oS((0, D.useCallback)((e, t) => {+ DS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23442,7 +23442,7 @@ function sw(e) {}, [r, i]));return { moveProps: (0, D.useMemo)(() => {let e = {}, t = () => {- AS(), i.current.didMove = !1;+ ES(), i.current.didMove = !1;};{let n = (e) => {@@ -23457,7 +23457,7 @@ function sw(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = Xy(K(e));+ let a = qy(K(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23467,7 +23467,7 @@ function sw(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = Xy(K(e));+ let o = qy(K(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23501,7 +23501,7 @@ function sw(e) {}//#endregion//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var cw = {+var iw = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23513,38 +23513,38 @@ var cw = {width: "1px",whiteSpace: "nowrap"};-function lw(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = QC({+function aw(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = qC({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, D.useMemo)(() => r ? t : t ? {- ...cw,+ ...iw,...t- } : cw, [r]);+ } : iw, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function uw(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = lw(e);+function ow(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = aw(e);return /*#__PURE__*/ D.createElement(n, q(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function bie(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = ew(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Ix(e, t), d = VC({+function wie(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = YC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Mx(e, t), d = IC({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = ZC({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = KC({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = ES(e, { labelable: !0 }), b = {+ }), y = SS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, D.useState)(c);- return kC(t, e.defaultValue ?? x, l), AC(e, d, t), {+ return wC(t, e.defaultValue ?? x, l), TC(e, d, t), {labelProps: h,inputProps: q(y, n === "input" ? b : void 0, {disabled: r,@@ -23591,28 +23591,28 @@ function bie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function xie(e = {}) {- let { locale: t } = vS();- return (0, D.useMemo)(() => new _ie(t, e), [t, e]);+function Tie(e = {}) {+ let { locale: t } = mS();+ return (0, D.useMemo)(() => new xie(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/slider/utils.mjs-var dw = /* @__PURE__ */ new WeakMap();-function fw(e, t) {- let n = dw.get(e);+var sw = /* @__PURE__ */ new WeakMap();+function cw(e, t) {+ let n = sw.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}//#endregion//#region node_modules/react-aria/dist/private/slider/useSlider.mjs-function Sie(e, t, n) {- let { labelProps: r, fieldProps: i } = XC(e), a = e.orientation === "vertical";- dw.set(t, {+function Eie(e, t, n) {+ let { labelProps: r, fieldProps: i } = GC(e), a = e.orientation === "vertical";+ sw.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = vS(), { addGlobalListener: s, removeGlobalListener: c } = FS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = sw({+ let { direction: o } = mS(), { addGlobalListener: s, removeGlobalListener: c } = jS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = rw({onMoveStart() {d.current = null;},@@ -23622,7 +23622,7 @@ function Sie(e, t, n) {d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);let c = a ? r : e;if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {- let e = nw(d.current / s, 0, 1);+ let e = QC(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23646,7 +23646,7 @@ function Sie(e, t, n) {(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));};return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {- document.getElementById(fw(t, 0))?.focus(), sx("keyboard");+ document.getElementById(cw(t, 0))?.focus(), rx("keyboard");}), {labelProps: r,groupProps: {@@ -23669,27 +23669,27 @@ function Sie(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => fw(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => cw(t, n)).join(" "),"aria-live": "off"}};}//#endregion//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function Cie(e, t) {- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = vS(), { addGlobalListener: m, removeGlobalListener: h } = FS(), g = dw.get(t), { labelProps: _, fieldProps: v } = XC({+function Die(e, t) {+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = mS(), { addGlobalListener: m, removeGlobalListener: h } = jS(), g = sw.get(t), { labelProps: _, fieldProps: v } = GC({...e,- id: fw(t, n),+ id: cw(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, D.useCallback)(() => {- s.current && Jy(s.current);+ s.current && Gy(s.current);}, [s]), x = t.focusedThumb === n;(0, D.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, D.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = Mx({+ }, { keyboardProps: T } = Ox({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23705,7 +23705,7 @@ function Cie(e, t) {})},allowRepeats: !0- }), { moveProps: E } = sw({+ }), { moveProps: E } = rw({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23716,7 +23716,7 @@ function Cie(e, t) {if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);else {let t = f ? r : e;- (f || S) && (t = -t), C.current += t, c(n, nw(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, QC(C.current / g, 0, 1));}},onMoveEnd() {@@ -23724,7 +23724,7 @@ function Cie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: O } = Ix(q(e, {+ let { focusableProps: O } = Mx(q(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), k = (0, D.useRef)(void 0), A = (e) => {@@ -23744,7 +23744,7 @@ function Cie(e, t) {A(e.changedTouches[0].identifier);}});- return kC(s, t.defaultValues[n], (e) => {+ return wC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: q(O, v, {@@ -23785,42 +23785,42 @@ function Cie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var wie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function pw(e) {+var Oie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function lw(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var mw = /* @__PURE__ */ new WeakMap(), hw = [];-function gw(e, t) {- let n = Xy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && wie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+var uw = /* @__PURE__ */ new WeakMap(), dw = [];+function fw(e, t) {+ let n = qy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Oie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (tb()) {+ if (Qy()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Qy(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Yy(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (nb(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if ($y(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = KS(Yy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = HS(Ky(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = mw.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), mw.set(e, t + 1));+ let t = uw.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), uw.set(e, t + 1));};- hw.length && hw[hw.length - 1].disconnect(), d(i);+ dw.length && dw[dw.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => nb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pw(e) ? o.add(e) : e instanceof Element && d(e);- if (tb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => $y(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && lw(e) ? o.add(e) : e instanceof Element && d(e);+ if (Qy()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23833,11 +23833,11 @@ function gw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (tb()) for (let e of u) {+ if (Qy()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => nb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pw(e) ? o.add(e) : e instanceof Element && d(e);- if (tb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => $y(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && lw(e) ? o.add(e) : e instanceof Element && d(e);+ if (Qy()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23863,59 +23863,59 @@ function gw(e, t) {p.disconnect();}};- return hw.push(h), () => {- if (p.disconnect(), tb()) for (let e of m) e.disconnect();+ return dw.push(h), () => {+ if (p.disconnect(), Qy()) for (let e of m) e.disconnect();for (let e of s) {- let t = mw.get(e);- t != null && (t === 1 ? (l(e, !1), mw.delete(e)) : mw.set(e, t - 1));+ let t = uw.get(e);+ t != null && (t === 1 ? (l(e, !1), uw.delete(e)) : uw.set(e, t - 1));}- h === hw[hw.length - 1] ? (hw.pop(), hw.length && hw[hw.length - 1].observe()) : hw.splice(hw.indexOf(h), 1);+ h === dw[dw.length - 1] ? (dw.pop(), dw.length && dw[dw.length - 1].observe()) : dw.splice(dw.indexOf(h), 1);};}-function _w(e) {- let t = hw[hw.length - 1];+function pw(e) {+ let t = dw[dw.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var vw = /* @__PURE__ */ new WeakMap();-function Tie(e) {+var mw = /* @__PURE__ */ new WeakMap();+function kie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Eie(e, t) {- let n = vw.get(e);+function Aie(e, t) {+ let n = mw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Tie(t)}`;+ return `${n.id}-option-${kie(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function yw(e) {- return kb() ? e.altKey : e.ctrlKey;+function hw(e) {+ return Tb() ? e.altKey : e.ctrlKey;}-function bw(e, t) {+function gw(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}-var xw = /* @__PURE__ */ new WeakMap();-function Die(e) {- let t = Sx();- return xw.set(e, t), t;+var _w = /* @__PURE__ */ new WeakMap();+function jie(e) {+ let t = vx();+ return _w.set(e, t), t;}-function Oie(e) {- return xw.get(e);+function Mie(e) {+ return _w.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var Sw = class {+var vw = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : bw(this.ref, e);+ let n = e == null ? null : gw(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23941,12 +23941,12 @@ var Sw = class {height: e?.clientHeight ?? 0};}-}, Cw = class {+}, yw = class {constructor(...e) {if (e.length === 1) {let t = e[0];- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Sw(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Sw(this.ref);+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new vw(t.ref);+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new vw(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23986,14 +23986,14 @@ var Sw = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = bw(this.ref, e);+ let t = this.getNextKey(e), n = gw(this.ref, e);if (t != null) {- let e = bw(this.ref, t);+ let e = gw(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = bw(this.ref, r);+ let e = gw(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -24027,7 +24027,7 @@ var Sw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !bC(t)) return this.getFirstKey();+ if (t && !hC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24042,7 +24042,7 @@ var Sw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !bC(t)) return this.getLastKey();+ if (t && !hC(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -24065,184 +24065,184 @@ var Sw = class {}return null;}-}, ww = {};-ww = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, bw = {};+bw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var Tw = {};-Tw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var xw = {};+xw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var Ew = {};-Ew = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var Sw = {};+Sw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var Dw = {};-Dw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var Cw = {};+Cw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var Ow = {};-Ow = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var ww = {};+ww = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var kw = {};-kw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var Tw = {};+Tw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var Aw = {};-Aw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var Ew = {};+Ew = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var jw = {};-jw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var Dw = {};+Dw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var Mw = {};-Mw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var Ow = {};+Ow = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var Nw = {};-Nw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var kw = {};+kw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var Pw = {};-Pw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var Aw = {};+Aw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var Fw = {};-Fw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var jw = {};+jw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var Iw = {};-Iw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var Mw = {};+Mw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var Lw = {};-Lw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var Nw = {};+Nw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var Rw = {};-Rw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var Pw = {};+Pw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var zw = {};-zw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var Fw = {};+Fw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var Bw = {};-Bw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var Iw = {};+Iw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Vw = {};-Vw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var Lw = {};+Lw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var Hw = {};-Hw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var Rw = {};+Rw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var Uw = {};-Uw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var zw = {};+zw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Ww = {};-Ww = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var Bw = {};+Bw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var Gw = {};-Gw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var Vw = {};+Vw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var Kw = {};-Kw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var Hw = {};+Hw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var qw = {};-qw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var Uw = {};+Uw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var Jw = {};-Jw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var Ww = {};+Ww = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var Yw = {};-Yw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var Gw = {};+Gw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Xw = {};-Xw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var Kw = {};+Kw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var Zw = {};-Zw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var qw = {};+qw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var Qw = {};-Qw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Jw = {};+Jw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var $w = {};-$w = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var Yw = {};+Yw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var eT = {};-eT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var Xw = {};+Xw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var tT = {};-tT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var Zw = {};+Zw = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var nT = {};-nT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var Qw = {};+Qw = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var rT = {};-rT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var $w = {};+$w = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var iT = {};-iT = {- "ar-AE": ww,- "bg-BG": Tw,- "cs-CZ": Ew,- "da-DK": Dw,- "de-DE": Ow,- "el-GR": kw,- "en-US": Aw,- "es-ES": jw,- "et-EE": Mw,- "fi-FI": Nw,- "fr-FR": Pw,- "he-IL": Fw,- "hr-HR": Iw,- "hu-HU": Lw,- "it-IT": Rw,- "ja-JP": zw,- "ko-KR": Bw,- "lt-LT": Vw,- "lv-LV": Hw,- "nb-NO": Uw,- "nl-NL": Ww,- "pl-PL": Gw,- "pt-BR": Kw,- "pt-PT": qw,- "ro-RO": Jw,- "ru-RU": Yw,- "sk-SK": Xw,- "sl-SI": Zw,- "sr-SP": Qw,- "sv-SE": $w,- "tr-TR": eT,- "uk-UA": tT,- "zh-CN": nT,- "zh-TW": rT+var eT = {};+eT = {+ "ar-AE": bw,+ "bg-BG": xw,+ "cs-CZ": Sw,+ "da-DK": Cw,+ "de-DE": ww,+ "el-GR": Tw,+ "en-US": Ew,+ "es-ES": Dw,+ "et-EE": Ow,+ "fi-FI": kw,+ "fr-FR": Aw,+ "he-IL": jw,+ "hr-HR": Mw,+ "hu-HU": Nw,+ "it-IT": Pw,+ "ja-JP": Fw,+ "ko-KR": Iw,+ "lt-LT": Lw,+ "lv-LV": Rw,+ "nb-NO": zw,+ "nl-NL": Bw,+ "pl-PL": Vw,+ "pt-BR": Hw,+ "pt-PT": Uw,+ "ro-RO": Ww,+ "ru-RU": Gw,+ "sk-SK": Kw,+ "sl-SI": qw,+ "sr-SP": Jw,+ "sv-SE": Yw,+ "tr-TR": Xw,+ "uk-UA": Zw,+ "zh-CN": Qw,+ "zh-TW": $w};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var kie = 500;-function aT(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = kie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = FS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = BS({+var Nie = 500;+function tT(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Nie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = jS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = IS({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24250,12 +24250,12 @@ function aT(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Yy(e.target).activeElement !== e.target && Jy(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Ky(e.target).activeElement !== e.target && Gy(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = Xy(e.target);+ let t = qy(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24270,12 +24270,12 @@ function aT(e) {});}});- return { longPressProps: q(f, OC(a && !t ? s : void 0)) };+ return { longPressProps: q(f, CC(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function Aie(e) {- let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = aT({+function Pie(e) {+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = tT({onLongPressStart() {n.current = !1;},@@ -24287,7 +24287,7 @@ function Aie(e) {});}});- return t ? { contextMenuProps: q(Ob() ? r : {}, {+ return t ? { contextMenuProps: q(wb() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24298,7 +24298,7 @@ function Aie(e) {});},onKeyDown(e) {- if (Tb() && e.ctrlKey && e.key === "Enter") {+ if (xb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24318,13 +24318,13 @@ function Aie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var oT = /* @__PURE__ */ new WeakMap();-function jie(e) {+var nT = /* @__PURE__ */ new WeakMap();+function Fie(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, D.useEffect)(() => !n || r === null ? void 0 : $y(ib(t.current), "scroll", (e) => {+ (0, D.useEffect)(() => !n || r === null ? void 0 : Xy(tb(t.current), "scroll", (e) => {let n = K(e);- if (!t.current || n instanceof Node && !nb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || oT.get(t.current);+ if (!t.current || n instanceof Node && !$y(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || nT.get(t.current);i && i();}, !0), [n,@@ -24334,14 +24334,14 @@ function jie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Mie(e, t, n) {+function Iie(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, D.useEffect)(() => {- n && n.current && oT.set(n.current, t.close);+ n && n.current && nT.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = Sx();+ let o = vx();return {triggerProps: {"aria-haspopup": a,@@ -24354,14 +24354,14 @@ function Mie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Nie(e) {+function Lie(e) {return e && e.__esModule ? e.default : e;}-function sT(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Sx(), { triggerProps: s, overlayProps: c } = Mie({ type: r }, t, n), l = (e, n, r = "first") => {+function rT(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = vx(), { triggerProps: s, overlayProps: c } = Iie({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Mx({+ }, { keyboardProps: u } = Ox({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24373,7 +24373,7 @@ function sT(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = wS(Nie(iT), "@react-aria/menu"), { longPressProps: f } = aT({+ }), d = bS(Lie(eT), "@react-aria/menu"), { longPressProps: f } = tT({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24385,14 +24385,14 @@ function sT(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Jy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Gy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Jy(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Gy(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = Aie({ onContextMenu(e) {+ let { contextMenuProps: m } = Pie({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24437,8 +24437,8 @@ function sT(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var cT = 1e3;-function lT(e) {+var iT = 1e3;+function aT(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({search: "",timeout: void 0@@ -24457,12 +24457,12 @@ function lT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, cT);+ }, iT);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Pie(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !nb(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Rie(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !$y(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -24473,34 +24473,34 @@ function lT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, cT);+ }, iT);}} : void 0} };}-function Pie(e) {+function Rie(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function uT(e, t) {+function oT(e, t) {let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);- gb(() => (n.current = !0, () => {+ fb(() => (n.current = !0, () => {n.current = !1;- }), []), gb(() => {+ }), []), fb(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function dT(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = vS(), _ = Ib(), v = (e, n, i) => {+function sT(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = mS(), _ = Mb(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !yw(e)) {+ if (t.isLink(n) && m === "selection" && l && !hw(e)) {(0, Tt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = bw(r, n), o = t.getItemProps(n);+ let a = gw(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24512,7 +24512,7 @@ function dT(e) {t.extendSelection(n);return;}- if (l && !yw(e)) {+ if (l && !hw(e)) {t.replaceSelection(n);return;}@@ -24539,9 +24539,9 @@ function dT(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, cS(e));+ let r = n.getFirstKey(t.focusedKey, iS(e));if (t.setFocusedKey(r), r != null) {- if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (iS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24573,9 +24573,9 @@ function dT(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, cS(e));+ let r = n.getLastKey(t.focusedKey, iS(e));if (t.setFocusedKey(r), r != null) {- if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (iS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24606,12 +24606,12 @@ function dT(e) {else return !1;}, A = () => {if (!f && r.current) {- let e = dC(r.current, { tabbable: !0 }), t, n;+ let e = oC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = rb();- t && (!ab(t) || i && !mb(i)) && Jy(t);+ let i = eb();+ t && (!nb(t) || i && !ub(i)) && Gy(t);}return {shouldContinuePropagation: !0,@@ -24621,11 +24621,11 @@ function dT(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), M = (e, t) => ({- [Tb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [xb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [Tb() ? e + "+Alt" : e + "+Control"]: t,+ [xb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: N } = Mx({+ }), { keyboardProps: N } = Ox({shortcuts: {...M("ArrowDown", y),...M("ArrowUp", b),@@ -24635,7 +24635,7 @@ function dT(e) {...M("PageUp", E)},allowRepeats: !0- }), { keyboardProps: P } = Mx({ shortcuts: {+ }), { keyboardProps: P } = Ox({ shortcuts: {...M("Home", x),...M("End", w),"Mod+A": O,@@ -24646,7 +24646,7 @@ function dT(e) {top: 0,left: 0});- dS(p, "scroll", () => {+ sS(p, "scroll", () => {ee.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24654,11 +24654,11 @@ function dT(e) {});let F = (e) => {if (t.isFocused) {- nb(e.currentTarget, K(e)) || t.setFocused(!1);+ $y(e.currentTarget, K(e)) || t.setFocused(!1);return;}- if (!nb(e.currentTarget, K(e))) return;- let i = ox();+ if (!$y(e.currentTarget, K(e))) return;+ let i = nx();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24669,27 +24669,27 @@ function dT(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);if (t.focusedKey != null && p.current) {- let e = bw(r, t.focusedKey);- e instanceof HTMLElement && (!ab(e) && !d && Jy(e), (i === "keyboard" || h && i === "virtual") && TC(e, { containingElement: r.current }));+ let e = gw(r, t.focusedKey);+ e instanceof HTMLElement && (!nb(e) && !d && Gy(e), (i === "keyboard" || h && i === "virtual") && bC(e, { containingElement: r.current }));}}, te = (e) => {- nb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ $y(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, I = (0, D.useRef)(!1);- dS(r, Pre, d ? (e) => {+ sS(r, Rre, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (I.current = !0);} : void 0);let ne = n.getFirstKey?.() ?? null;- uT(() => {+ oT(() => {if (I.current) {if (ne == null) {- let e = rb();- Zx(r.current), Qx(e, null), t.collection.size > 0 && (I.current = !1);+ let e = eb();+ qx(r.current), Jx(e, null), t.collection.size > 0 && (I.current = !1);} else t.setFocusedKey(ne), I.current = !1;}- }, [ne, t.collection.size]), uT(() => {+ }, [ne, t.collection.size]), oT(() => {t.collection.size > 0 && (I.current = !1);- }, [t.focusedKey]), dS(r, Nre, d ? (e) => {+ }, [t.focusedKey]), sS(r, Lre, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let re = (0, D.useRef)(i), ie = (0, D.useRef)(!1);@@ -24704,22 +24704,22 @@ function dT(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && _x(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && px(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);}});let ae = (0, D.useRef)(t.focusedKey), oe = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = ox(), n = bw(r, t.focusedKey);+ let e = nx(), n = gw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (CC(p.current, n), e !== "virtual" && TC(n, { containingElement: r.current }));+ p.current && (vC(p.current, n), e !== "virtual" && bC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && _x(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && px(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, D.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), dS(r, "react-aria-focus-scope-restore", (e) => {+ }, []), sS(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {@@ -24729,14 +24729,14 @@ function dT(e) {onMouseDown(e) {p.current === K(e) && e.preventDefault();}- }, { typeSelectProps: ce } = lT({+ }, { typeSelectProps: ce } = aT({keyboardDelegate: n,selectionManager: t});u || (se = q(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);- let ue = Die(t.collection);+ let ue = jie(t.collection);return { collectionProps: q(se, {tabIndex: le,"data-collection": ue@@ -24744,13 +24744,13 @@ function dT(e) {}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function fT(e, t) {+function cT(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function pT(e) {- return mT(e, 0);+function lT(e) {+ return uT(e, 0);}-function mT(e, t) {+function uT(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24758,112 +24758,112 @@ function mT(e, t) {n++;}}-function hT(e) {+function dT(e) {let t;for (let n of e) t = n;return t;}-function gT(e, t, n) {+function fT(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [..._T(e, t), t], i = [..._T(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...pT(e, t), t], i = [...pT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);}-function _T(e, t) {+function pT(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}//#endregion//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var vT = /* @__PURE__ */ new WeakMap();-function yT(e) {- let t = vT.get(e);+var mT = /* @__PURE__ */ new WeakMap();+function hT(e) {+ let t = mT.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(fT(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(cT(i, e)) : i.type === "item" && n++;};- return r(e), vT.set(e, n), n;+ return r(e), mT.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var bT = /* @__PURE__ */ new Map();-function xT(e) {- let { locale: t } = vS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (bT.has(n)) return bT.get(n);+var gT = /* @__PURE__ */ new Map();+function _T(e) {+ let { locale: t } = mS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (gT.has(n)) return gT.get(n);let r = new Intl.Collator(t, e);- return bT.set(n, r), r;+ return gT.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Fie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {- let r = (0, D.useRef)(!1), i = (0, D.useContext)(PS), a = q(i || {}, {+var zie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, D.useRef)(!1), i = (0, D.useContext)(AS), a = q(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = Nx(n || i?.ref), Px(i, a.ref), (0, D.useEffect)(() => {+ return a.ref = kx(n || i?.ref), Ax(i, a.ref), (0, D.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ D.createElement(PS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ D.createElement(AS.Provider, { value: a }, e);});-function Iie({ children: e }) {+function Bie({ children: e }) {let t = (0, D.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ D.createElement(PS.Provider, { value: t }, e);+ return /*#__PURE__*/ D.createElement(AS.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var ST = /*#__PURE__*/ (0, D.createContext)({});-function CT(e) {- let { getContainer: t } = e, { getContainer: n } = wT();- return /*#__PURE__*/ D.createElement(ST.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var vT = /*#__PURE__*/ (0, D.createContext)({});+function yT(e) {+ let { getContainer: t } = e, { getContainer: n } = bT();+ return /*#__PURE__*/ D.createElement(vT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function wT() {- return (0, D.useContext)(ST) ?? {};+function bT() {+ return (0, D.useContext)(vT) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var TT = /*#__PURE__*/ D.createContext(null);-function ET(e) {- let t = Wb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({+var xT = /*#__PURE__*/ D.createContext(null);+function ST(e) {+ let t = Bb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = wT();+ }), [i, a]), { getContainer: s } = bT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(XS, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(KS, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ D.createElement(TT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Iie, null, /*#__PURE__*/ D.createElement(Fx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ D.createElement(xT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Bie, null, /*#__PURE__*/ D.createElement(jx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);}-function DT() {- let e = (0, D.useContext)(TT)?.setContain;- gb(() => {+function CT() {+ let e = (0, D.useContext)(xT)?.setContain;+ fb(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Lie(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = Cx();+function Vie(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = yx();i = e["aria-label"] ? void 0 : i;- let a = Cx();+ let a = yx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, D.useRef)(!1);(0, D.useEffect)(() => {- if (!r && t.current && !ab(t.current)) {- _x(t.current);+ if (!r && t.current && !nb(t.current)) {+ px(t.current);let e = setTimeout(() => {- (rb() === t.current || rb() === document.body) && (o.current = !0, t.current && (t.current.blur(), _x(t.current)), o.current = !1);+ (eb() === t.current || eb() === document.body) && (o.current = !0, t.current && (t.current.blur(), px(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), DT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});+ }, [t, r]), CT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...ES(e, { labelable: !0 }),+ ...SS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24878,23 +24878,23 @@ function Lie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function OT(e = {}) {+function wT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({isFocused: !1,- isFocusVisible: t || ax()+ isFocusVisible: t || tx()}), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = ax(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = tx(), o(e), l();}, [l]);- ux((e) => {+ ox((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Ox({+ let { focusProps: d } = wx({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = QC({+ }), { focusWithinProps: f } = qC({isDisabled: !r,onFocusWithinChange: u});@@ -24906,42 +24906,42 @@ function OT(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function Rie(e = {}) {- let { locale: t } = vS();+function Hie(e = {}) {+ let { locale: t } = mS();return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var kT = !1, AT = 0;-function zie() {- kT = !0, setTimeout(() => {- kT = !1;+var TT = !1, ET = 0;+function Uie() {+ TT = !0, setTimeout(() => {+ TT = !1;}, 500);}-function jT(e) {- e.pointerType === "touch" && zie();+function DT(e) {+ e.pointerType === "touch" && Uie();}-function Bie() {- let e = Yy(null);- if (e !== void 0) return AT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", jT), AT++, () => {- AT--, !(AT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", jT);+function Wie() {+ let e = Ky(null);+ if (e !== void 0) return ET === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", DT), ET++, () => {+ ET--, !(ET > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", DT);};}-function MT(e) {+function OT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, D.useEffect)(Bie, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = FS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {+ (0, D.useEffect)(Wie, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = jS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !nb(e.currentTarget, K(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !$y(e.currentTarget, K(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(Yy(K(e)), "pointerover", (e) => {- s.isHovered && s.target && !nb(s.target, K(e)) && a(e, e.pointerType);+ s.target = l, c(Ky(K(e)), "pointerover", (e) => {+ s.isHovered && s.target && !$y(s.target, K(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24956,9 +24956,9 @@ function MT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- kT && t.pointerType === "mouse" || e(t, t.pointerType);+ TT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && nb(e.currentTarget, K(e)) && a(e, e.pointerType);+ !i && $y(e.currentTarget, K(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24981,22 +24981,22 @@ function MT(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Vie(e) {+function Gie(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = uS((e) => {- n && NT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = uS((e) => {+ }), o = oS((e) => {+ n && kT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = oS((e) => {n && n(e);});(0, D.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = Yy(n);+ let n = t.current, i = Ky(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && NT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && kT(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -25004,30 +25004,30 @@ function Vie(e) {}}, [t, r]);}-function NT(e, t) {+function kT(e, t) {if (e.button > 0) return !1;let n = K(e);if (n) {let e = n.ownerDocument;- if (!e || !nb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !$y(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion//#region node_modules/react-aria/dist/private/gridlist/utils.mjs-var PT = /* @__PURE__ */ new WeakMap();-function FT(e, t) {- let { id: n } = PT.get(e) ?? {};+var AT = /* @__PURE__ */ new WeakMap();+function jT(e, t) {+ let { id: n } = AT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${Hie(t)}`;+ return `${n}-${Kie(t)}`;}-function Hie(e) {+function Kie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var IT = {};-IT = {+var MT = {};+MT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -25041,8 +25041,8 @@ IT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var LT = {};-LT = {+var NT = {};+NT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -25056,8 +25056,8 @@ LT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var RT = {};-RT = {+var PT = {};+PT = {deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",select: "Vybrat",@@ -25071,8 +25071,8 @@ RT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var zT = {};-zT = {+var FT = {};+FT = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -25086,8 +25086,8 @@ zT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var BT = {};-BT = {+var IT = {};+IT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25101,8 +25101,8 @@ BT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var VT = {};-VT = {+var LT = {};+LT = {deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select: "Επιλογή",@@ -25116,8 +25116,8 @@ VT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var HT = {};-HT = {+var RT = {};+RT = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25131,8 +25131,8 @@ HT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var UT = {};-UT = {+var zT = {};+zT = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25146,8 +25146,8 @@ UT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var WT = {};-WT = {+var BT = {};+BT = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25161,8 +25161,8 @@ WT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var GT = {};-GT = {+var VT = {};+VT = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25176,8 +25176,8 @@ GT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var KT = {};-KT = {+var HT = {};+HT = {deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",select: "Sélectionner",@@ -25191,8 +25191,8 @@ KT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var qT = {};-qT = {+var UT = {};+UT = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25206,8 +25206,8 @@ qT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var JT = {};-JT = {+var WT = {};+WT = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25221,8 +25221,8 @@ JT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var YT = {};-YT = {+var GT = {};+GT = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25236,8 +25236,8 @@ YT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var XT = {};-XT = {+var KT = {};+KT = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25251,8 +25251,8 @@ XT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var ZT = {};-ZT = {+var qT = {};+qT = {deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect: "長押しして選択モードを開きます。",select: "選択",@@ -25266,8 +25266,8 @@ ZT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var QT = {};-QT = {+var JT = {};+JT = {deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",select: "선택",@@ -25281,8 +25281,8 @@ QT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var $T = {};-$T = {+var YT = {};+YT = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25296,8 +25296,8 @@ $T = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var eE = {};-eE = {+var XT = {};+XT = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25311,8 +25311,8 @@ eE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var tE = {};-tE = {+var ZT = {};+ZT = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25326,8 +25326,8 @@ tE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var nE = {};-nE = {+var QT = {};+QT = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25341,8 +25341,8 @@ nE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var rE = {};-rE = {+var $T = {};+$T = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25356,8 +25356,8 @@ rE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var iE = {};-iE = {+var eE = {};+eE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25371,8 +25371,8 @@ iE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var aE = {};-aE = {+var tE = {};+tE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25386,8 +25386,8 @@ aE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var oE = {};-oE = {+var nE = {};+nE = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25401,8 +25401,8 @@ oE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var sE = {};-sE = {+var rE = {};+rE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25416,8 +25416,8 @@ sE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var cE = {};-cE = {+var iE = {};+iE = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25431,8 +25431,8 @@ cE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var lE = {};-lE = {+var aE = {};+aE = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25446,8 +25446,8 @@ lE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var uE = {};-uE = {+var oE = {};+oE = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25461,8 +25461,8 @@ uE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var dE = {};-dE = {+var sE = {};+sE = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25476,8 +25476,8 @@ dE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var fE = {};-fE = {+var cE = {};+cE = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25491,8 +25491,8 @@ fE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var pE = {};-pE = {+var lE = {};+lE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25506,8 +25506,8 @@ pE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var mE = {};-mE = {+var uE = {};+uE = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25521,8 +25521,8 @@ mE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var hE = {};-hE = {+var dE = {};+dE = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25536,55 +25536,55 @@ hE = {};//#endregion//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs-var gE = {};-gE = {- "ar-AE": IT,- "bg-BG": LT,- "cs-CZ": RT,- "da-DK": zT,- "de-DE": BT,- "el-GR": VT,- "en-US": HT,- "es-ES": UT,- "et-EE": WT,- "fi-FI": GT,- "fr-FR": KT,- "he-IL": qT,- "hr-HR": JT,- "hu-HU": YT,- "it-IT": XT,- "ja-JP": ZT,- "ko-KR": QT,- "lt-LT": $T,- "lv-LV": eE,- "nb-NO": tE,- "nl-NL": nE,- "pl-PL": rE,- "pt-BR": iE,- "pt-PT": aE,- "ro-RO": oE,- "ru-RU": sE,- "sk-SK": cE,- "sl-SI": lE,- "sr-SP": uE,- "sv-SE": dE,- "tr-TR": fE,- "uk-UA": pE,- "zh-CN": mE,- "zh-TW": hE+var fE = {};+fE = {+ "ar-AE": MT,+ "bg-BG": NT,+ "cs-CZ": PT,+ "da-DK": FT,+ "de-DE": IT,+ "el-GR": LT,+ "en-US": RT,+ "es-ES": zT,+ "et-EE": BT,+ "fi-FI": VT,+ "fr-FR": HT,+ "he-IL": UT,+ "hr-HR": WT,+ "hu-HU": GT,+ "it-IT": KT,+ "ja-JP": qT,+ "ko-KR": JT,+ "lt-LT": YT,+ "lv-LV": XT,+ "nb-NO": ZT,+ "nl-NL": QT,+ "pl-PL": $T,+ "pt-BR": eE,+ "pt-PT": tE,+ "ro-RO": nE,+ "ru-RU": rE,+ "sk-SK": iE,+ "sl-SI": aE,+ "sr-SP": oE,+ "sv-SE": sE,+ "tr-TR": cE,+ "uk-UA": lE,+ "zh-CN": uE,+ "zh-TW": dE};//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Uie(e) {+function qie(e) {return e && e.__esModule ? e.default : e;}-function _E(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = wS(Uie(gE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {+function pE(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = bS(qie(fE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = vE(i, a.current), o = vE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = mE(i, a.current), o = mE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];if (t.selectionManager.selectedKeys.size === 1 && s) {let e = t.selectionManager.selectedKeys.keys().next().value;if (e != null && t.collection.getItem(e)) {@@ -25604,7 +25604,7 @@ function _E(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && _C(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && fC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25615,7 +25615,7 @@ function _E(e, t) {n,r]);- yC(() => {+ mC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25623,7 +25623,7 @@ function _E(e, t) {}}, [i, t.selectionManager.isFocused]);}-function vE(e, t) {+function mE(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);@@ -25631,13 +25631,13 @@ function vE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function yE(e, t) {+function hE(e, t) {let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);- return gb(() => {+ return fb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = dC(e.current, { tabbable: !0 });+ let t = oC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25656,12 +25656,12 @@ function yE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Wie(e) {+function Jie(e) {return e && e.__esModule ? e.default : e;}-function bE(e) {- let t = wS(Wie(gE), "@react-aria/grid"), n = cx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return OC((0, D.useMemo)(() => {+function gE(e) {+ let t = bS(Jie(fE), "@react-aria/grid"), n = ix(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return CC((0, D.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25674,11 +25674,11 @@ function bE(e) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function xE(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = xT({+function _E(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = _T({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new Cw({+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new yw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25695,7 +25695,7 @@ function xE(e) {c,l,s- ]), { collectionProps: d } = dT({+ ]), { collectionProps: d } = sT({...e,ref: i,selectionManager: t,@@ -25705,10 +25705,10 @@ function xE(e) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Gie(e, t, n) {+function Yie(e, t, n) {let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let { listProps: f } = xE({+ let { listProps: f } = _E({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25723,31 +25723,31 @@ function Gie(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = Sx(e.id);- PT.set(t, {+ }), p = vx(e.id);+ AT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = bE({+ let m = gE({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = yE(n, { isDisabled: t.collection.size !== 0 }), g = q(ES(e, { labelable: !0 }), {+ }), h = hE(n, { isDisabled: t.collection.size !== 0 }), g = q(SS(e, { labelable: !0 }), {role: "grid",id: p,"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), _E({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), pE({}, t), { gridProps: g };}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function SE(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Ib();- t = Sx(t);+function vE(e) {+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Mb();+ t = vx(t);let p = (e) => {- if (e.pointerType === "keyboard" && yw(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && hw(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25758,11 +25758,11 @@ function SE(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (cS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (iS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, D.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? Zx(i.current) : s ? s() : rb() !== i.current && i.current && _x(i.current));+ r === n.focusedKey && n.isFocused && (o ? qx(i.current) : s ? s() : eb() !== i.current && i.current && px(i.current));}, [i,r,@@ -25790,22 +25790,22 @@ function SE(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);}, A = { ref: i };a ? (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || wE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || bE(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !CE(e.key)) return;+ if (e.pointerType === "keyboard" && !yE(e.key)) return;k(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || wE(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || bE(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && CE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && yE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));});- let j = Oie(n.collection);+ let j = Mie(n.collection);if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = q(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -25820,10 +25820,10 @@ function SE(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = vx(A[e], O[e]));- let { pressProps: M, isPressed: N } = BS(A), P = x ? (e) => {+ ]) O[e] && (A[e] = mx(A[e], O[e]));+ let { pressProps: M, isPressed: N } = IS(A), P = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: ee } = aT({+ } : void 0, { longPressProps: ee } = tT({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25831,7 +25831,7 @@ function SE(e) {}), F = (e) => {C.current === "touch" && T.current && e.preventDefault();}, te = d !== "none" && n.isLink(r) ? (e) => {- Rb.isOpening || e.preventDefault();+ Pb.isOpening || e.preventDefault();} : void 0, I = q(m, v || b || o && !c ? M : {}, w ? ee : {}, {onDoubleClick: P,onDragStartCapture: F,@@ -25844,7 +25844,7 @@ function SE(e) {if (e != null) return e !== j;t = t.parentElement;}- return mb(e);+ return ub(e);}, re = I.onPointerDown;I.onPointerDown = (e) => {let t = K(e);@@ -25864,15 +25864,15 @@ function SE(e) {hasAction: S};}-function CE(e) {+function yE(e) {return e === "Enter";}-function wE(e) {+function bE(e) {return e === " ";}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var TE = {+var xE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25882,18 +25882,18 @@ var TE = {rtl: "ArrowRight"}};-function Kie(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = vS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = PT.get(t), f = Cx(), p = (0, D.useRef)(null), m = () => {+function Xie(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = mS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = AT.get(t), f = yx(), p = (0, D.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (ab(n.current) && n.current !== rb(Yy(n.current))) return;- let e = dC(n.current, { tabbable: !0 }).firstChild();+ if (nb(n.current) && n.current !== eb(Ky(n.current))) return;+ let e = oC(n.current, { tabbable: !0 }).firstChild();if (e) {- _x(e), TC(e, { containingElement: xC(e) });+ px(e), bC(e, { containingElement: gC(e) });return;}}- (p.current != null && r.key !== p.current || !ab(n.current)) && _x(n.current);+ (p.current != null && r.key !== p.current || !nb(n.current)) && px(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25903,7 +25903,7 @@ function Kie(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = qie(e, t.collection);+ let n = Zie(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -25914,75 +25914,75 @@ function Kie(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = SE({+ let { itemProps: v, ...y } = vE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? vx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? mx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = rb(Yy(n.current));- if (!nb(e.currentTarget, K(e)) || !n.current || !i) return;- let a = dC(n.current);- if (a.currentNode = i, !EE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = eb(Ky(n.current));+ if (!$y(e.currentTarget, K(e)) || !n.current || !i) return;+ let a = oC(n.current);+ if (a.currentNode = i, !SE(e, t, r, g, s, i, n.current, o)) switch (e.key) {case "ArrowLeft":if (u === "arrow") {let t = s === "rtl" ? a.nextNode() : a.previousNode();- if (t) e.preventDefault(), e.stopPropagation(), _x(t), TC(t, { containingElement: xC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") _x(n.current), TC(n.current, { containingElement: xC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), px(t), bC(t, { containingElement: gC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") px(n.current), bC(n.current, { containingElement: gC(n.current) });else {a.currentNode = n.current;- let e = DE(a);- e && (_x(e), TC(e, { containingElement: xC(n.current) }));+ let e = CE(a);+ e && (px(e), bC(e, { containingElement: gC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), _x(t), TC(t, { containingElement: xC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") _x(n.current), TC(n.current, { containingElement: xC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), px(t), bC(t, { containingElement: gC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") px(n.current), bC(n.current, { containingElement: gC(n.current) });else {a.currentNode = n.current;- let e = DE(a);- e && (_x(e), TC(e, { containingElement: xC(n.current) }));+ let e = CE(a);+ e && (px(e), bC(e, { containingElement: gC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && nb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && $y(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && nb(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && rb(Yy(n.current)) === n.current && m();- }) : ax() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && $y(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && eb(Ky(n.current)) === n.current && m();+ }) : tx() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = rb(Yy(n.current));- if (nb(e.currentTarget, K(e)) && n.current && i) {+ let i = eb(Ky(n.current));+ if ($y(e.currentTarget, K(e)) && n.current && i) {if (u === "tab") {if (K(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (EE(e, t, r, g, s, i, n.current, o)) return;+ if (SE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = dC(n.current, { tabbable: !0 });+ let t = oC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = zb(r.props), w = q(v, y.hasAction ? C : {}, {+ }, C = Fb(r.props), w = q(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,"aria-label": r["aria-label"] || r.textValue || void 0,"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${FT(t, r.key)} ${f}` : void 0,- id: FT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${jT(t, r.key)} ${f}` : void 0,+ id: jT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -26003,37 +26003,37 @@ function Kie(e, t, n) {...y};}-function EE(e, t, n, r, i, a, o, s) {+function SE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === TE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === TE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === xE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === xE.collapse[i] && t.selectionManager.focusedKey === n.key) {if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;}return !1;}-function DE(e) {+function CE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function qie(e, t) {+function Zie(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Jie(e) {+function Qie(e) {return e && e.__esModule ? e.default : e;}-function OE(e, t) {- let { key: n } = e, r = t.selectionManager, i = Sx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function wE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = vx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": wS(Jie(gE), "@react-aria/grid").format("select"),+ "aria-label": bS(Qie(fE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -26041,31 +26041,31 @@ function OE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Yie(e, t) {- let { key: n } = e, { checkboxProps: r } = OE(e, t);+function $ie(e, t) {+ let { key: n } = e, { checkboxProps: r } = wE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${FT(t, n)}`+ "aria-labelledby": `${r.id} ${jT(t, n)}`} };}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Xie(e, t, n) {- let r = ES(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function eae(e, t, n) {+ let r = SS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");- let { listProps: s } = xE({+ let { listProps: s } = _E({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = QC({+ }), { focusWithinProps: c } = qC({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = Sx(e.id);- vw.set(t, {+ }), l = vx(e.id);+ mw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -26075,7 +26075,7 @@ function Xie(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = XC({+ let { labelProps: u, fieldProps: d } = GC({...e,id: l,labelElementType: "span"@@ -26091,8 +26091,8 @@ function Xie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Zie(e) {- let { heading: t, "aria-label": n } = e, r = Sx();+function tae(e) {+ let { heading: t, "aria-label": n } = e, r = vx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26111,8 +26111,8 @@ function Zie(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Qie(e, t, n) {- let { key: r } = e, i = vw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Cx(), f = Cx(), p = {+function nae(e, t, n) {+ let { key: r } = e, i = mw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = yx(), f = yx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -26122,9 +26122,9 @@ function Qie(e, t, n) {}, m = t.collection.getItem(r);if (u) {let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = yT(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = hT(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Eie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = SE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Aie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = vE({selectionManager: t.selectionManager,key: r,ref: n,@@ -26133,18 +26133,18 @@ function Qie(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? vx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? mx(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = MT({+ }), { hoverProps: S } = OT({isDisabled: a || !c,onHoverStart() {- ax() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ tx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = ES(m?.props);+ }), C = SS(m?.props);delete C.id;- let w = Bb(m?.props);+ let w = Ib(m?.props);return {optionProps: {...p,@@ -26154,7 +26154,7 @@ function Qie(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && ax(),+ isFocusVisible: y && t.selectionManager.isFocused && tx(),isSelected: o,isDisabled: a,isPressed: v,@@ -26164,13 +26164,13 @@ function Qie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/utils.mjs-var kE = /* @__PURE__ */ new WeakMap();+var TE = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/menu/useMenu.mjs-function $ie(e, t, n) {+function rae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = ES(e, { labelable: !0 }), { listProps: c } = xE({+ let s = SS(e, { labelable: !0 }), { listProps: c } = _E({...o,ref: n,selectionManager: t.selectionManager,@@ -26179,7 +26179,7 @@ function $ie(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return kE.set(t, {+ return TE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -26196,15 +26196,15 @@ function $ie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function eae(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = kE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Ib(), N = () => {+function iae(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = TE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Mb(), N = () => {if (!w && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {let e = k.onAction;e(i, A?.value);}}, P = "menuitem";w || (C.selectionMode === "single" ? P = "menuitemradio" : C.selectionMode === "multiple" && (P = "menuitemcheckbox"));- let ee = Cx(), F = Cx(), te = Cx(), I = {+ let ee = yx(), F = yx(), te = yx(), I = {id: r,"aria-disabled": E || void 0,role: P,@@ -26221,17 +26221,17 @@ function eae(e, t, n) {};if (C.selectionMode !== "none" && !w && (I["aria-checked"] = O), s) {let e = Number(A?.index);- I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = yT(t.collection);+ I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = hT(t.collection);}let ne = (0, D.useRef)(!1), re = (e) => {f?.(e), ne.current = e;}, ie = (0, D.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), N(), Jne(e, M, A.props.href, A?.props.routerOptions);+ m?.(e), N(), Qne(e, M, A.props.href, A?.props.routerOptions);let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, j && !w && t && j(), ie.current = null;- }, { itemProps: se, isFocused: ce } = SE({+ }, { itemProps: se, isFocused: ce } = vE({id: r,selectionManager: C,key: i,@@ -26240,27 +26240,27 @@ function eae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: k.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = BS({+ }), { pressProps: le, isPressed: ue } = IS({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: re,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = MT({+ }), { hoverProps: de } = OT({isDisabled: E,onHoverStart(e) {- !ax() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !tx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = Mx({+ }), { keyboardProps: fe } = Ox({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, K(e).click(), sx("keyboard");+ }, K(e).click(), rx("keyboard");},Enter: (e) => {ie.current = {@@ -26268,8 +26268,8 @@ function eae(e, t, n) {key: "Enter"};let t = K(e);- if (t.tagName !== "A") t.click(), sx("keyboard");- else return sx("keyboard"), {+ if (t.tagName !== "A") t.click(), rx("keyboard");+ else return rx("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26277,13 +26277,13 @@ function eae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = Ix({+ }), { focusableProps: pe } = Mx({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = ES(A?.props);+ }, n), me = SS(A?.props);delete me.id;- let he = Bb(A?.props);+ let he = Ib(A?.props);return {menuItemProps: {...I,@@ -26298,7 +26298,7 @@ function eae(e, t, n) {descriptionProps: { id: F },keyboardShortcutProps: { id: te },isFocused: ce,- isFocusVisible: ce && C.isFocused && ax() && !T,+ isFocusVisible: ce && C.isFocused && tx() && !T,isSelected: O,isPressed: ue,isDisabled: E@@ -26306,8 +26306,8 @@ function eae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function tae(e) {- let { heading: t, "aria-label": n } = e, r = Sx();+function aae(e) {+ let { heading: t, "aria-label": n } = e, r = vx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26323,15 +26323,15 @@ function tae(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function nae() {+function oae() {return window.ResizeObserver !== void 0;}-function AE(e) {- let { ref: t, box: n, onResize: r } = e, i = uS(r);+function EE(e) {+ let { ref: t, box: n, onResize: r } = e, i = oS(r);(0, D.useEffect)(() => {let e = t?.current;if (e) {- if (nae()) {+ if (oae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26347,189 +26347,189 @@ function AE(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var jE = {};-jE = { dismiss: "تجاهل" };+var DE = {};+DE = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var ME = {};-ME = { dismiss: "Отхвърляне" };+var OE = {};+OE = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var NE = {};-NE = { dismiss: "Odstranit" };+var kE = {};+kE = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var PE = {};-PE = { dismiss: "Luk" };+var AE = {};+AE = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var FE = {};-FE = { dismiss: "Schließen" };+var jE = {};+jE = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var IE = {};-IE = { dismiss: "Απόρριψη" };+var ME = {};+ME = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var LE = {};-LE = { dismiss: "Dismiss" };+var NE = {};+NE = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var RE = {};-RE = { dismiss: "Descartar" };+var PE = {};+PE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var zE = {};-zE = { dismiss: "Lõpeta" };+var FE = {};+FE = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var BE = {};-BE = { dismiss: "Hylkää" };+var IE = {};+IE = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var VE = {};-VE = { dismiss: "Rejeter" };+var LE = {};+LE = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var HE = {};-HE = { dismiss: "התעלם" };+var RE = {};+RE = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var UE = {};-UE = { dismiss: "Odbaci" };+var zE = {};+zE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var WE = {};-WE = { dismiss: "Elutasítás" };+var BE = {};+BE = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var GE = {};-GE = { dismiss: "Ignora" };+var VE = {};+VE = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var KE = {};-KE = { dismiss: "閉じる" };+var HE = {};+HE = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var qE = {};-qE = { dismiss: "무시" };+var UE = {};+UE = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var JE = {};-JE = { dismiss: "Atmesti" };+var WE = {};+WE = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var YE = {};-YE = { dismiss: "Nerādīt" };+var GE = {};+GE = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var XE = {};-XE = { dismiss: "Lukk" };+var KE = {};+KE = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var ZE = {};-ZE = { dismiss: "Negeren" };+var qE = {};+qE = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var QE = {};-QE = { dismiss: "Zignoruj" };+var JE = {};+JE = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var $E = {};-$E = { dismiss: "Descartar" };+var YE = {};+YE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var eD = {};-eD = { dismiss: "Dispensar" };+var XE = {};+XE = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var tD = {};-tD = { dismiss: "Revocare" };+var ZE = {};+ZE = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var nD = {};-nD = { dismiss: "Пропустить" };+var QE = {};+QE = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var rD = {};-rD = { dismiss: "Zrušiť" };+var $E = {};+$E = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var iD = {};-iD = { dismiss: "Opusti" };+var eD = {};+eD = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var aD = {};-aD = { dismiss: "Odbaci" };+var tD = {};+tD = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var oD = {};-oD = { dismiss: "Avvisa" };+var nD = {};+nD = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var sD = {};-sD = { dismiss: "Kapat" };+var rD = {};+rD = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var cD = {};-cD = { dismiss: "Скасувати" };+var iD = {};+iD = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var lD = {};-lD = { dismiss: "取消" };+var aD = {};+aD = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var uD = {};-uD = { dismiss: "關閉" };+var oD = {};+oD = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var dD = {};-dD = {- "ar-AE": jE,- "bg-BG": ME,- "cs-CZ": NE,- "da-DK": PE,- "de-DE": FE,- "el-GR": IE,- "en-US": LE,- "es-ES": RE,- "et-EE": zE,- "fi-FI": BE,- "fr-FR": VE,- "he-IL": HE,- "hr-HR": UE,- "hu-HU": WE,- "it-IT": GE,- "ja-JP": KE,- "ko-KR": qE,- "lt-LT": JE,- "lv-LV": YE,- "nb-NO": XE,- "nl-NL": ZE,- "pl-PL": QE,- "pt-BR": $E,- "pt-PT": eD,- "ro-RO": tD,- "ru-RU": nD,- "sk-SK": rD,- "sl-SI": iD,- "sr-SP": aD,- "sv-SE": oD,- "tr-TR": sD,- "uk-UA": cD,- "zh-CN": lD,- "zh-TW": uD+var sD = {};+sD = {+ "ar-AE": DE,+ "bg-BG": OE,+ "cs-CZ": kE,+ "da-DK": AE,+ "de-DE": jE,+ "el-GR": ME,+ "en-US": NE,+ "es-ES": PE,+ "et-EE": FE,+ "fi-FI": IE,+ "fr-FR": LE,+ "he-IL": RE,+ "hr-HR": zE,+ "hu-HU": BE,+ "it-IT": VE,+ "ja-JP": HE,+ "ko-KR": UE,+ "lt-LT": WE,+ "lv-LV": GE,+ "nb-NO": KE,+ "nl-NL": qE,+ "pl-PL": JE,+ "pt-BR": YE,+ "pt-PT": XE,+ "ro-RO": ZE,+ "ru-RU": QE,+ "sk-SK": $E,+ "sl-SI": eD,+ "sr-SP": tD,+ "sv-SE": nD,+ "tr-TR": rD,+ "uk-UA": iD,+ "zh-CN": aD,+ "zh-TW": oD};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function rae(e) {+function sae(e) {return e && e.__esModule ? e.default : e;}-function fD(e) {- let { onDismiss: t, ...n } = e, r = fS(n, wS(rae(dD), "@react-aria/overlays").format("dismiss")), i = () => {+function cD(e) {+ let { onDismiss: t, ...n } = e, r = cS(n, bS(sae(sD), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ D.createElement(uw, null, /*#__PURE__*/ D.createElement("button", {+ return /*#__PURE__*/ D.createElement(ow, null, /*#__PURE__*/ D.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26541,35 +26541,35 @@ function fD(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var pD = [];-function mD(e, t) {+var lD = [];+function uD(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);(0, D.useEffect)(() => {- if (i && !pD.includes(t)) return pD.push(t), () => {- let e = pD.indexOf(t);- e >= 0 && pD.splice(e, 1);+ if (i && !lD.includes(t)) return lD.push(t), () => {+ let e = lD.indexOf(t);+ e >= 0 && lD.splice(e, 1);};}, [i, t]);let l = () => {- pD[pD.length - 1] === t && n && n();+ lD[lD.length - 1] === t && n && n();}, u = (e) => {- let n = pD[pD.length - 1];+ let n = lD[lD.length - 1];c.current = n, (!s || s(K(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(K(e))) && (pD[pD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Mx({ shortcuts: { Escape: () => {+ (!s || s(K(e))) && (lD[lD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Ox({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Vie({+ Gie({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = QC({+ let { focusWithinProps: p } = qC({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !hie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !yie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26582,88 +26582,88 @@ function mD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var iae = 200, aae = 50, oae = 600, hD = /* @__PURE__ */ new WeakMap(), gD = /* @__PURE__ */ new Set(), _D = /* @__PURE__ */ new Set();-function sae(e, t) {- let n = lS();- if (e !== n || t.aborted) for (let e of _D) e(n), _D.delete(e);- if (!e && n && Ab() && !t.aborted) window.clearInterval(hD.get(window)), hD.set(window, vD(iae));+var cae = 200, lae = 50, uae = 600, dD = /* @__PURE__ */ new WeakMap(), fD = /* @__PURE__ */ new Set(), pD = /* @__PURE__ */ new Set();+function dae(e, t) {+ let n = aS();+ if (e !== n || t.aborted) for (let e of pD) e(n), pD.delete(e);+ if (!e && n && Eb() && !t.aborted) window.clearInterval(dD.get(window)), dD.set(window, mD(cae));else {- if (e !== n || t.aborted) for (let e of gD) e(n), gD.delete(e);- (_D.size + gD.size <= 0 || t.aborted) && (window.clearInterval(hD.get(window)), hD.delete(window));+ if (e !== n || t.aborted) for (let e of fD) e(n), fD.delete(e);+ (pD.size + fD.size <= 0 || t.aborted) && (window.clearInterval(dD.get(window)), dD.delete(window));}}-function vD(e = oae) {- return window.setInterval(sae, aae, lS(), AbortSignal.timeout(e));+function mD(e = uae) {+ return window.setInterval(dae, lae, aS(), AbortSignal.timeout(e));}-function yD(e) {- if (!oS()) return e(!1), () => {};+function hD(e) {+ if (!nS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = sS(document.hasFocus() ? rb() : null);- if (lS() === t || lS() && !t) return e(t);- _D.add(e), hD.has(window) || hD.set(window, vD());+ let t = rS(document.hasFocus() ? eb() : null);+ if (aS() === t || aS() && !t) return e(t);+ pD.add(e), dD.has(window) || dD.set(window, mD());});});return () => {- window.cancelAnimationFrame(t), _D.delete(e);+ window.cancelAnimationFrame(t), pD.delete(e);};}-function cae(e) {- if (!oS()) return e(!1), () => {};+function fae(e) {+ if (!nS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = sS(document.hasFocus() ? rb() : null);- if (lS() === t) return e(t);- gD.add(e), hD.has(window) || hD.set(window, vD());+ let t = rS(document.hasFocus() ? eb() : null);+ if (aS() === t) return e(t);+ fD.add(e), dD.has(window) || dD.set(window, mD());});});return () => {- window.cancelAnimationFrame(t), gD.delete(e);+ window.cancelAnimationFrame(t), fD.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var bD = typeof document < "u" && window.visualViewport, xD = 0, SD;-function CD(e = {}) {+var gD = typeof document < "u" && window.visualViewport, _D = 0, vD;+function yD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- gb(() => {- if (!t) return xD++, xD === 1 && (SD = Ob() && Ab() ? uae() : lae(n)), () => {- xD--, xD === 0 && SD();+ fb(() => {+ if (!t) return _D++, _D === 1 && (vD = wb() && Eb() ? mae() : pae(n)), () => {+ _D--, _D === 0 && vD();};}, [t, n]);}-function lae(e) {+function pae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return vx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? eb(document.documentElement, "scrollbar-gutter", "stable") : eb(document.documentElement, "padding-right", `${t}px`)), eb(document.documentElement, "overflow", "hidden"), e && TD(), e && oS() && wD());+ return mx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Zy(document.documentElement, "scrollbar-gutter", "stable") : Zy(document.documentElement, "padding-right", `${t}px`)), Zy(document.documentElement, "overflow", "hidden"), e && xD(), e && nS() && bD());}-function uae() {- let e = eb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function mae() {+ let e = Zy(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = K(e);- t = bC(r, !0) ? r : xC(r, !0), n = !1;+ t = hC(r, !0) ? r : gC(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = NS();+ }, i = document.createElement("style"), a = kS();a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);let o = (e) => {e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();- }, s = TD(), c = vx($y(document, "touchstart", r, {+ }, s = xD(), c = mx(Xy(document, "touchstart", r, {passive: !1,capture: !0- }), $y(document, "touchmove", o, {+ }), Xy(document, "touchmove", o, {passive: !1,capture: !0- }), wD());+ }), bD());return () => {e(), c(), i.remove(), s();};}-function wD() {- return $y(document, "blur", (e) => {+function bD() {+ return Xy(document, "blur", (e) => {let t = K(e), n = e.relatedTarget;- n && sS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && rS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function TD() {+function xD() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26674,9 +26674,9 @@ function TD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- rb() === this && dae(this);+ eb() === this && hae(this);};- yD((t) => t ? e() : cae(() => e()));+ hD((t) => t ? e() : fae(() => e()));}}}), () => {@@ -26687,15 +26687,15 @@ function TD() {});};}-function dae(e) {+function hae(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = xC(n);+ let e = gC(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- bD && (n = Math.min(n, bD.offsetTop + bD.height));+ gD && (n = Math.min(n, gD.offsetTop + gD.height));let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);e.scrollTo({top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),@@ -26708,19 +26708,19 @@ function dae(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function fae(e, t, n) {- let { overlayProps: r, underlayProps: i } = mD({+function gae(e, t, n) {+ let { overlayProps: r, underlayProps: i } = uD({...e,isOpen: t.isOpen,onClose: t.close}, n);- CD({+ yD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), DT();+ }), CT();let { isEntering: a } = e;return (0, D.useEffect)(() => {- if (t.isOpen && n.current) return a ? _w(n.current) : gw([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? pw(n.current) : fw([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -26732,33 +26732,33 @@ function fae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var ED = {+var SD = {top: "top",bottom: "top",left: "left",right: "left"-}, DD = {+}, CD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, pae = {+}, _ae = {top: "left",left: "top"-}, OD = {+}, wD = {top: "height",left: "width"-}, kD = {+}, TD = {width: "totalWidth",height: "totalHeight"-}, AD = {}, mae = () => typeof document < "u" ? window.visualViewport : null;-function jD(e, t) {+}, ED = {}, vae = () => typeof document < "u" ? window.visualViewport : null;+function DD(e, t) {let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;if (e.tagName === "BODY" || e.tagName === "HTML") {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));- } else ({width: n, height: r, top: o, left: s} = LD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return Ab() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ } else ({width: n, height: r, top: o, left: s} = ND(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return Eb() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -26768,7 +26768,7 @@ function jD(e, t) {left: s};}-function hae(e) {+function yae(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26776,11 +26776,11 @@ function hae(e) {height: e.scrollHeight};}-function MD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[OD[e]], l = o[e] + r.scroll[ED[e]] + a, u = o[e] + r.scroll[ED[e]] + c - a, d = t - s + r.scroll[ED[e]] + o[e] - r[ED[e]], f = t - s + n + r.scroll[ED[e]] + o[e] - r[ED[e]];+function OD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[wD[e]], l = o[e] + r.scroll[SD[e]] + a, u = o[e] + r.scroll[SD[e]] + c - a, d = t - s + r.scroll[SD[e]] + o[e] - r[SD[e]], f = t - s + n + r.scroll[SD[e]] + o[e] - r[SD[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function gae(e) {+function bae(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26789,55 +26789,55 @@ function gae(e) {right: parseInt(t.marginRight, 10) || 0};}-function ND(e) {- if (AD[e]) return AD[e];- let [t, n] = e.split(" "), r = ED[t] || "right", i = pae[r];- ED[n] || (n = "center");- let a = OD[r], o = OD[i];- return AD[e] = {+function kD(e) {+ if (ED[e]) return ED[e];+ let [t, n] = e.split(" "), r = SD[t] || "right", i = _ae[r];+ SD[n] || (n = "center");+ let a = wD[r], o = wD[i];+ return ED[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, AD[e];+ }, ED[e];}-function PD(e, t, n, r, i, a, o, s, c, l, u) {+function AD(e, t, n, r, i, a, o, s, c, l, u) {let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;- if (_[m] = nw(_[m], v, y), d === p) {- let t = s ? u[h] : u[kD[h]];- _[DD[p]] = Math.floor(t - e[p] + i);+ if (_[m] = QC(_[m], v, y), d === p) {+ let t = s ? u[h] : u[TD[h]];+ _[CD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function _ae(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[kD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function xae(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[TD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))};return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));}-function FD(e, t, n, r, i, a, o, s) {+function jD(e, t, n, r, i, a, o, s) {let { placement: c, axis: l, size: u } = a;- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[DD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[DD[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[CD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[CD[l]] - i);}-function vae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = ND(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = PD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = FD(s, l, t, i, a + u, v, c, g);+function Sae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = kD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = AD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = jD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = ND(`${DD[S]} ${C}`), r = PD(t, s, n, e, u, d, l, f, m, h, c);- FD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = kD(`${CD[S]} ${C}`), r = AD(t, s, n, e, u, d, l, f, m, h, c);+ jD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);}let D = "bottom";v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));- let O = MD(b, w[b], n[x], s, c, a, l);+ let O = OD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = _ae(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = PD(t, s, n, v, T, d, l, f, m, h, c), O = MD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[ED[b]], M = j + .5 * t[x], N = m / 2 + h, P = ED[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;- A[b] = nw(nw(M, t[b] + m / 2 - (w[b] + i[ED[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ED[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = xae(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = AD(t, s, n, v, T, d, l, f, m, h, c), O = OD(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[SD[b]], M = j + .5 * t[x], N = m / 2 + h, P = SD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;+ A[b] = QC(QC(M, t[b] + m / 2 - (w[b] + i[SD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[SD[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let F = S === "left" || S === "top" ? n[y] : 0, te = {x: S === "top" || S === "bottom" ? j : F,y: S === "left" || S === "right" ? j : F@@ -26851,17 +26851,17 @@ function vae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: te};}-function yae(e) {- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = mae(), h = r instanceof HTMLElement ? bae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? LD(n, !1, p) : RD(n, h, !1, p);+function Cae(e) {+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = vae(), h = r instanceof HTMLElement ? wae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ND(n, !1, p) : PD(n, h, !1, p);if (!g) {let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;}- let b = LD(r, !0), x = gae(r);+ let b = ND(r, !0), x = bae(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = hae(i), C = jD(s, m), w = jD(h, m), T;+ let S = yae(i), C = DD(s, m), w = DD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = ID(h, !1);+ let e = MD(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26873,11 +26873,11 @@ function yae(e) {left: 0,width: 0,height: 0- } : RD(s, h, !1);- let E = nb(s, h);- return vae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : PD(s, h, !1);+ let E = $y(s, h);+ return Sae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function ID(e, t) {+function MD(e, t) {let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {top: n,@@ -26886,8 +26886,8 @@ function ID(e, t) {height: a};}-function LD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || ID(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function ND(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || MD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26895,30 +26895,30 @@ function LD(e, t, n) {height: o};}-function RD(e, t, n, r) {+function PD(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || ID(e, n);+ if (i.position === "fixed") a = r || MD(e, n);else {- a = LD(e, n, r);- let i = LD(t, n), o = window.getComputedStyle(t);+ a = ND(e, n, r);+ let i = ND(t, n), o = window.getComputedStyle(t);i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;}return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;}-function bae(e) {+function wae(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !zD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !zD(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !FD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !FD(t);) t = t.parentElement;return t || document.documentElement;}-function zD(e) {+function FD(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var BD = typeof document < "u" ? window.visualViewport : null;-function xae(e) {- let { direction: t } = vS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [+var ID = typeof document < "u" ? window.visualViewport : null;+function Tae(e) {+ let { direction: t } = mS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [p,s,i.current,@@ -26935,15 +26935,15 @@ function xae(e) {g,_,n- ], S = (0, D.useRef)(BD?.scale);+ ], S = (0, D.useRef)(ID?.scale);(0, D.useEffect)(() => {- m && (S.current = BD?.scale);+ m && (S.current = ID?.scale);}, [m]);let C = (0, D.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || BD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || ID?.scale !== S.current) return;let e = null;- if (o.current && ab(o.current)) {- let t = rb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && nb(o.current)) {+ let t = eb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26951,8 +26951,8 @@ function xae(e) {}let h = i.current;!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");- let y = yae({- placement: Cae(s, t),+ let y = Cae({+ placement: Dae(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26962,28 +26962,28 @@ function xae(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? ID(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? MD(a.current, !0).width : 0),arrowBoundaryOffset: _,targetRect: v?.(r.current)});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = rb();+ let x = eb();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- gb(C, x), Sae(C), AE({+ fb(C, x), Eae(C), EE({ref: i,onResize: C- }), AE({+ }), EE({ref: r,onResize: C});let w = (0, D.useRef)(!1);- gb(() => {+ fb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26991,16 +26991,16 @@ function xae(e) {}, n = () => {w.current && t();};- BD?.addEventListener("resize", t), BD?.addEventListener("scroll", n);- let r = $y(ib(window), "scroll", n);+ ID?.addEventListener("resize", t), ID?.addEventListener("scroll", n);+ let r = Xy(tb(window), "scroll", n);return () => {- BD?.removeEventListener("resize", t), BD?.removeEventListener("scroll", n), r();+ ID?.removeEventListener("resize", t), ID?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, D.useCallback)(() => {w.current || h?.();}, [h, w]);- return jie({+ return Fie({triggerRef: r,isOpen: m,onClose: h && T@@ -27026,25 +27026,25 @@ function xae(e) {updatePosition: C};}-function Sae(e) {- gb(() => (window.addEventListener("resize", e, !1), () => {+function Eae(e) {+ fb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function Cae(e, t) {+function Dae(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs-function wae(e, t) {- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = mD({+function Oae(e, t) {+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = uD({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = xae({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Tae({...c,targetRef: n,overlayRef: r,@@ -27052,15 +27052,15 @@ function wae(e, t) {onClose: a && !l ? t.close : null,getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});- CD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {- if (t.isOpen && r.current) return a ? _w(i?.current ?? r.current) : gw([i?.current ?? r.current], { shouldUseInert: !0 });+ yD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {+ if (t.isOpen && r.current) return a ? pw(i?.current ?? r.current) : fw([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = QC(e);+ let { focusWithinProps: g } = qC(e);return {popoverProps: q(u, f, g),arrowProps: p,@@ -27071,13 +27071,13 @@ function wae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var VD = /* @__PURE__ */ new WeakMap();+var LD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function Tae(e, t, n) {+function kae(e, t, n) {let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {e.stopPropagation(), t.setSelectedValue(r);- }, { pressProps: g, isPressed: _ } = BS({+ }, { pressProps: g, isPressed: _ } = IS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27085,7 +27085,7 @@ function Tae(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = BS({+ }), { pressProps: v, isPressed: y } = IS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27095,11 +27095,11 @@ function Tae(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Ix(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = ES(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = Mx(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = SS(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = VD.get(t);- kC(n, t.defaultSelectedValue, t.setSelectedValue), AC({ validationBehavior: k }, t, n);- let A = FC();+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = LD.get(t);+ wC(n, t.defaultSelectedValue, t.setSelectedValue), TC({ validationBehavior: k }, t, n);+ let A = AC();return {labelProps: q(v, (0, D.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -27131,13 +27131,13 @@ function Tae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function Eae(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = vS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = ZC({+function Aae(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = mS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = KC({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = ES(e, { labelable: !0 }), { focusWithinProps: v } = QC({+ }), _ = SS(e, { labelable: !0 }), { focusWithinProps: v } = qC({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -27145,13 +27145,13 @@ function Eae(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = dC(n.currentTarget, {+ let r = oC(n.currentTarget, {from: K(n),- accept: (e) => e instanceof Xy(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof qy(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = Mx({+ let { keyboardProps: b } = Ox({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -27159,8 +27159,8 @@ function Eae(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = Sx(n);- return VD.set(t, {+ }), x = vx(n);+ return LD.set(t, {name: x,form: r,descriptionId: h.id,@@ -27189,21 +27189,21 @@ function Eae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var HD = /* @__PURE__ */ new WeakMap();-function Dae(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = xT({+var RD = /* @__PURE__ */ new WeakMap();+function jae(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = _T({usage: "search",sensitivity: "base"- }), u = (0, D.useMemo)(() => r || new Cw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, D.useMemo)(() => r || new yw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = sT({+ ]), { menuTriggerProps: d, menuProps: f } = rT({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Mx({+ }, t, n), { keyboardProps: p } = Ox({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27219,21 +27219,21 @@ function Dae(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = lT({+ }), { typeSelectProps: m } = aT({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = ZC({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = KC({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = ES(e, { labelable: !0 }), C = q(m, d, y), w = Sx();- return HD.set(t, {+ let S = SS(e, { labelable: !0 }), C = q(m, d, y), w = vx();+ return RD.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27243,13 +27243,13 @@ function Dae(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), sx("keyboard"));+ e.isDisabled || (n.current?.focus(), rx("keyboard"));}},triggerProps: q(S, {...C,isDisabled: i,- onKeyDown: vx(C.onKeyDown, p.onKeyDown),+ onKeyDown: mx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27273,7 +27273,7 @@ function Dae(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- nb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ $y(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -27294,13 +27294,13 @@ function Dae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function Oae(e, t, n) {- let r = HD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = lw({ style: {+function Mae(e, t, n) {+ let r = RD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = aw({ style: {position: "fixed",top: 0,left: 0} });- kC(e.selectRef, t.defaultValue, t.setValue), AC({+ wC(e.selectRef, t.defaultValue, t.setValue), TC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27330,8 +27330,8 @@ function Oae(e, t, n) {}};}-function kae(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = Oae({+function Nae(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = Mae({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27355,7 +27355,7 @@ function kae(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = HD.get(t) || {};+ let { validationBehavior: e } = RD.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27386,8 +27386,8 @@ function kae(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function Aae(e) {- let t = ES(e, { labelable: !0 }), n;+function Pae(e) {+ let t = SS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27396,8 +27396,8 @@ function Aae(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function jae(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = qC(e, t, n);+function Fae(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = HC(e, t, n);return {labelProps: r,inputProps: {@@ -27411,10 +27411,10 @@ function jae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var UD = class {+var zD = class {constructor(e) {if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");- this.layoutDelegate = e.layoutDelegate || (e.layout ? new Mae(e.layout) : new Sw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Iae(e.layout) : new vw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27450,7 +27450,7 @@ var UD = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of fT(n, this.collection)) {+ for (let e of cT(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27484,13 +27484,13 @@ var UD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = fT(t, this.collection);- return (this.direction === "rtl" ? hT(e)?.key : pT(e)?.key) ?? null;+ let e = cT(t, this.collection);+ return (this.direction === "rtl" ? dT(e)?.key : lT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = fT(n, this.collection), i = (this.direction === "rtl" ? mT(r, t.index - 1) : mT(r, t.index + 1)) ?? null;+ let r = cT(n, this.collection), i = (this.direction === "rtl" ? uT(r, t.index - 1) : uT(r, t.index + 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;}return null;@@ -27499,13 +27499,13 @@ var UD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = fT(t, this.collection);- return (this.direction === "rtl" ? pT(e)?.key : hT(e)?.key) ?? null;+ let e = cT(t, this.collection);+ return (this.direction === "rtl" ? lT(e)?.key : dT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = fT(n, this.collection), i = (this.direction === "rtl" ? mT(r, t.index + 1) : mT(r, t.index - 1)) ?? null;+ let r = cT(n, this.collection), i = (this.direction === "rtl" ? uT(r, t.index + 1) : uT(r, t.index - 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;}return null;@@ -27516,13 +27516,13 @@ var UD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? pT(fT(e, this.collection))?.key ?? null : null;+ return e ? lT(cT(e, this.collection))?.key ?? null : null;}}if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = pT(fT(e, this.collection))?.key ?? null;+ n = lT(cT(e, this.collection))?.key ?? null;}return n;}@@ -27532,13 +27532,13 @@ var UD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? hT(fT(e, this.collection))?.key ?? null : null;+ return e ? dT(cT(e, this.collection))?.key ?? null : null;}}if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = hT(fT(e, this.collection))?.key ?? null;+ n = dT(cT(e, this.collection))?.key ?? null;}return n;}@@ -27574,13 +27574,13 @@ var UD = class {if (!t) return null;if (t.textValue) {let n = t.textValue.slice(0, e.length);- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? pT(fT(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? lT(cT(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, Mae = class {+}, Iae = class {constructor(e) {this.layout = e;}@@ -27593,16 +27593,16 @@ var UD = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, WD = /* @__PURE__ */ new WeakMap();+}, BD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function Nae(e, t, n) {+function Lae(e, t, n) {let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let h = xT({+ let h = _T({usage: "search",sensitivity: "base"- }), { direction: g } = vS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new UD({+ }), { direction: g } = mS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new zD({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27619,7 +27619,7 @@ function Nae(e, t, n) {g,h,o- ]), { collectionProps: y } = dT({+ ]), { collectionProps: y } = sT({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27627,8 +27627,8 @@ function Nae(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = Sx(e.id);- WD.set(t, {+ }), b = vx(e.id);+ BD.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27637,44 +27637,44 @@ function Nae(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = bE({+ let x = gE({selectionManager: m,hasItemActions: !!(l || u)- }), S = ES(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {- m.isFocused ? nb(e.currentTarget, K(e)) || m.setFocused(!1) : nb(e.currentTarget, K(e)) && m.setFocused(!0);+ }), S = SS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {+ m.isFocused ? $y(e.currentTarget, K(e)) || m.setFocused(!1) : $y(e.currentTarget, K(e)) && m.setFocused(!0);}, [m]), w = (0, D.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = yE(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {+ }), [C, y.onBlur]), T = hE(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), _E({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), pE({ getRowText: c }, t), { gridProps: E };}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var GD = /* @__PURE__ */ new WeakMap();-function KD(e) {+var VD = /* @__PURE__ */ new WeakMap();+function HD(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function qD(e, t) {- let n = GD.get(e);+function UD(e, t) {+ let n = VD.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${KD(t)}`;+ return `${n}-${HD(t)}`;}-function JD(e, t, n) {- let r = GD.get(e);+function WD(e, t, n) {+ let r = VD.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${KD(t)}-${KD(n)}`;+ return `${r}-${HD(t)}-${HD(n)}`;}-function YD(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => JD(e, t, n)).join(" ");+function GD(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => WD(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var XD = {};-XD = {+var KD = {};+KD = {ascending: "تصاعدي",ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse: "طي",@@ -27689,8 +27689,8 @@ XD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var ZD = {};-ZD = {+var qD = {};+qD = {ascending: "възходящ",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse: "Свиване",@@ -27705,8 +27705,8 @@ ZD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var QD = {};-QD = {+var JD = {};+JD = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27721,8 +27721,8 @@ QD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var $D = {};-$D = {+var YD = {};+YD = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27737,8 +27737,8 @@ $D = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var eO = {};-eO = {+var XD = {};+XD = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27753,8 +27753,8 @@ eO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var tO = {};-tO = {+var ZD = {};+ZD = {ascending: "αύξουσα",ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse: "Σύμπτυξη",@@ -27769,8 +27769,8 @@ tO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var nO = {};-nO = {+var QD = {};+QD = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27785,8 +27785,8 @@ nO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var rO = {};-rO = {+var $D = {};+$D = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27801,8 +27801,8 @@ rO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var iO = {};-iO = {+var eO = {};+eO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27817,8 +27817,8 @@ iO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var aO = {};-aO = {+var tO = {};+tO = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27833,8 +27833,8 @@ aO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var oO = {};-oO = {+var nO = {};+nO = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27849,8 +27849,8 @@ oO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var sO = {};-sO = {+var rO = {};+rO = {ascending: "עולה",ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse: "כווץ",@@ -27865,8 +27865,8 @@ sO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var cO = {};-cO = {+var iO = {};+iO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27881,8 +27881,8 @@ cO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var lO = {};-lO = {+var aO = {};+aO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27897,8 +27897,8 @@ lO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var uO = {};-uO = {+var oO = {};+oO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27913,8 +27913,8 @@ uO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var dO = {};-dO = {+var sO = {};+sO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27929,8 +27929,8 @@ dO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var fO = {};-fO = {+var cO = {};+cO = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -27945,8 +27945,8 @@ fO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var pO = {};-pO = {+var lO = {};+lO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27961,8 +27961,8 @@ pO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var mO = {};-mO = {+var uO = {};+uO = {ascending: "augošā secībā",ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse: "Sakļaut",@@ -27977,8 +27977,8 @@ mO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var hO = {};-hO = {+var dO = {};+dO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27993,8 +27993,8 @@ hO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var gO = {};-gO = {+var fO = {};+fO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -28009,8 +28009,8 @@ gO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var _O = {};-_O = {+var pO = {};+pO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -28025,8 +28025,8 @@ _O = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var vO = {};-vO = {+var mO = {};+mO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -28041,8 +28041,8 @@ vO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var yO = {};-yO = {+var hO = {};+hO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -28057,8 +28057,8 @@ yO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var bO = {};-bO = {+var gO = {};+gO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -28073,8 +28073,8 @@ bO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var xO = {};-xO = {+var _O = {};+_O = {ascending: "возрастание",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse: "Свернуть",@@ -28089,8 +28089,8 @@ xO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var SO = {};-SO = {+var vO = {};+vO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28105,8 +28105,8 @@ SO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var CO = {};-CO = {+var yO = {};+yO = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -28121,8 +28121,8 @@ CO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var wO = {};-wO = {+var bO = {};+bO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28137,8 +28137,8 @@ wO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var TO = {};-TO = {+var xO = {};+xO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28153,8 +28153,8 @@ TO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var EO = {};-EO = {+var SO = {};+SO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28169,8 +28169,8 @@ EO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var DO = {};-DO = {+var CO = {};+CO = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -28185,8 +28185,8 @@ DO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var OO = {};-OO = {+var wO = {};+wO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28201,8 +28201,8 @@ OO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var kO = {};-kO = {+var TO = {};+TO = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -28217,46 +28217,46 @@ kO = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var AO = {};-AO = {- "ar-AE": XD,- "bg-BG": ZD,- "cs-CZ": QD,- "da-DK": $D,- "de-DE": eO,- "el-GR": tO,- "en-US": nO,- "es-ES": rO,- "et-EE": iO,- "fi-FI": aO,- "fr-FR": oO,- "he-IL": sO,- "hr-HR": cO,- "hu-HU": lO,- "it-IT": uO,- "ja-JP": dO,- "ko-KR": fO,- "lt-LT": pO,- "lv-LV": mO,- "nb-NO": hO,- "nl-NL": gO,- "pl-PL": _O,- "pt-BR": vO,- "pt-PT": yO,- "ro-RO": bO,- "ru-RU": xO,- "sk-SK": SO,- "sl-SI": CO,- "sr-SP": wO,- "sv-SE": TO,- "tr-TR": EO,- "uk-UA": DO,- "zh-CN": OO,- "zh-TW": kO+var EO = {};+EO = {+ "ar-AE": KD,+ "bg-BG": qD,+ "cs-CZ": JD,+ "da-DK": YD,+ "de-DE": XD,+ "el-GR": ZD,+ "en-US": QD,+ "es-ES": $D,+ "et-EE": eO,+ "fi-FI": tO,+ "fr-FR": nO,+ "he-IL": rO,+ "hr-HR": iO,+ "hu-HU": aO,+ "it-IT": oO,+ "ja-JP": sO,+ "ko-KR": cO,+ "lt-LT": lO,+ "lv-LV": uO,+ "nb-NO": dO,+ "nl-NL": fO,+ "pl-PL": pO,+ "pt-BR": mO,+ "pt-PT": hO,+ "ro-RO": gO,+ "ru-RU": _O,+ "sk-SK": vO,+ "sl-SI": yO,+ "sr-SP": bO,+ "sv-SE": xO,+ "tr-TR": SO,+ "uk-UA": CO,+ "zh-CN": wO,+ "zh-TW": TO};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Pae = class extends UD {+var Rae = class extends zD {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28264,7 +28264,7 @@ var Pae = class extends UD {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = pT(fT(n, this.collection));+ let e = lT(cT(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -28285,13 +28285,13 @@ var Pae = class extends UD {let t = this.findNextKey(e.key, (e) => e.type === "column");if (t != null) return t;let n = this.collection.headerRows[e.level];- for (let e of fT(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of cT(n, this.collection)) if (e.type === "column") return e.key;return null;}findPreviousColumnKey(e) {let t = this.findPreviousKey(e.key, (e) => e.type === "column");if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...fT(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...cT(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28320,7 +28320,7 @@ var Pae = class extends UD {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of fT(o, this.collection)) {+ for (let r of cT(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -28334,14 +28334,14 @@ var Pae = class extends UD {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Fae(e) {+function zae(e) {return e && e.__esModule ? e.default : e;}-function Iae(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = xT({+function Bae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = _T({usage: "search",sensitivity: "base"- }), { direction: c } = vS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Pae({+ }), { direction: c } = mS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Rae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28360,52 +28360,52 @@ function Iae(e, t, n) {s,a,o- ]), d = Sx(e.id);- GD.set(t, d);- let { gridProps: f } = Nae({+ ]), d = vx(e.id);+ VD.set(t, d);+ let { gridProps: f } = Lae({...e,id: d,keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = wS(Fae(AO), "@react-aria/table"), g = (0, D.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = bS(zae(EO), "@react-aria/table"), g = (0, D.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = OC(g);- return yC(() => {- g && _C(g, "assertive", 500);+ ]), _ = CC(g);+ return mC(() => {+ g && fC(g, "assertive", 500);}, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function jO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = vS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = WD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {+function DO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = mS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = BD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {if (n.current) {- let e = dC(n.current);+ let e = oC(n.current);if (p === "child") {- let i = rb(Yy(n.current));- if (ab(n.current) && n.current !== i) return;- let a = Yy(n.current);+ let i = eb(Ky(n.current));+ if (nb(n.current) && n.current !== i) return;+ let a = Ky(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && nb(n.current, e)) {- _x(e);+ if (e && m.current === r.key && $y(n.current, e)) {+ px(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? MO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? OO(e) : e.firstChild();if (o) {- _x(o);+ px(o);return;}}- (m.current != null && r.key !== m.current || !ab(n.current)) && _x(n.current);+ (m.current != null && r.key !== m.current || !nb(n.current)) && px(n.current);}- }, { itemProps: _, isPressed: v } = SE({+ }, { itemProps: _, isPressed: v } = vE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28417,44 +28417,44 @@ function jO(e, t, n) {}), y = q(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = rb(Yy(n.current));- if (!nb(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = dC(n.current);+ let i = eb(Ky(n.current));+ if (!$y(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = oC(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _x(t), TC(t, { containingElement: xC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) px(t), bC(t, { containingElement: gC(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (_x(n.current), TC(n.current, { containingElement: xC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : MO(a), t && (_x(t), TC(t, { containingElement: xC(n.current) })));+ p === "cell" && l === "rtl" ? (px(n.current), bC(n.current, { containingElement: gC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : OO(a), t && (px(t), bC(t, { containingElement: gC(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _x(t), TC(t, { containingElement: xC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) px(t), bC(t, { containingElement: gC(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (_x(n.current), TC(n.current, { containingElement: xC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? MO(a) : a.firstChild(), t && (_x(t), TC(t, { containingElement: xC(n.current) })));+ p === "cell" && l === "ltr" ? (px(n.current), bC(n.current, { containingElement: gC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? OO(a) : a.firstChild(), t && (px(t), bC(t, { containingElement: gC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && nb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && $y(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = rb(Yy(n.current));- if (nb(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = eb(Ky(n.current));+ if ($y(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && K(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = dC(n.current, { tabbable: !0 });+ let t = oC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28465,9 +28465,9 @@ function jO(e, t, n) {onFocus: (e) => {if (m.current = r.key, K(e) !== n.current) {let i = K(e);- n.current && nb(n.current, i) && (h.current = i), ax() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && nb(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && rb(Yy(n.current)) === n.current && g();+ n.current && $y(n.current, i) && (h.current = i), tx() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && $y(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && eb(Ky(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28482,7 +28482,7 @@ function jO(e, t, n) {isPressed: v};}-function MO(e) {+function OO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28491,33 +28491,33 @@ function MO(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Lae(e, t, n) {- let { gridCellProps: r, isPressed: i } = jO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = JD(t, e.node.parentKey, a)), {+function Vae(e, t, n) {+ let { gridCellProps: r, isPressed: i } = DO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = WD(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Rae(e) {+function Hae(e) {return e && e.__esModule ? e.default : e;}-function zae(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = jO({+function Uae(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = DO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = BS({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = IS({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = Ix({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !Mb() && (u = d ? f : "none");- let p = wS(Rae(AO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && Mb() && (m = `${m}, ${p.format(f)}`));- let h = OC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = Mx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !Ob() && (u = d ? f : "none");+ let p = bS(Hae(EO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && Ob() && (m = `${m}, ${p.format(f)}`));+ let h = CC(m), g = t.collection.size === 0;return (0, D.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28528,7 +28528,7 @@ function zae(e, t, n) {columnHeaderProps: {...q(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: qD(t, r.key),+ id: UD(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28537,17 +28537,17 @@ function zae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Bae(e) {+function Wae(e) {return e && e.__esModule ? e.default : e;}-function Vae(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = wS(Bae(AO), "@react-aria/table"), d = Sx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = vS(), b = (0, D.useCallback)((e) => {+function Gae(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = bS(Wae(EO), "@react-aria/table"), d = vx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = mS(), b = (0, D.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, D.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, D.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && _x(i.current)), m.current = null;+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && px(i.current)), m.current = null;}, [t,i,@@ -28555,14 +28555,14 @@ function Vae(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = Mx({ shortcuts: {+ }, { keyboardProps: w } = Ox({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, D.useRef)(0), { moveProps: E } = sw({+ } }), T = (0, D.useRef)(0), { moveProps: E } = rw({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28578,12 +28578,12 @@ function Vae(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), k = Math.floor(t.getColumnMinWidth(r.key)), A = Math.floor(t.getColumnMaxWidth(r.key));A === Infinity && (A = 2 ** 53 - 1);- let j = Math.floor(t.getColumnWidth(r.key)), M = cx();+ let j = Math.floor(t.getColumnWidth(r.key)), M = ix();M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");- let N = OC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {+ let N = CC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${qD(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${UD(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: j }),type: "range",min: k,@@ -28591,11 +28591,11 @@ function Vae(e, t, n) {value: j,...N}, ee = (0, D.useCallback)(() => {- n.current && _x(n.current);- }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = uS(b);+ n.current && px(n.current);+ }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = oS(b);(0, D.useEffect)(() => {if (te.current !== F && F != null && F === r.key) {- h.current = rb() === n.current, I(r);+ h.current = eb() === n.current, I(r);let e = setTimeout(() => ee(), 0), t = setTimeout(ee, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28611,7 +28611,7 @@ function Vae(e, t, n) {let ne = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(K(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: re } = BS({+ }, { pressProps: re } = IS({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (ee(), e.pointerType !== "virtual" && b(r)));@@ -28619,7 +28619,7 @@ function Vae(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = lw();+ }), { visuallyHiddenProps: ie } = aw();return {resizerProps: q(w, {...E,@@ -28639,20 +28639,20 @@ function Vae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Hae(e, t, n) {+function Kae(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Uae(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = WD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = SE({+function qae(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = BD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = vE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? vx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? mx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28667,10 +28667,10 @@ function Uae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function Wae(e) {+function Jae(e) {return e && e.__esModule ? e.default : e;}-var NO = {+var kO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28680,21 +28680,21 @@ var NO = {rtl: "ArrowRight"}};-function Gae(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Uae(e, t, n), { direction: s } = vS();+function Yae(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = qae(e, t, n), { direction: s } = mS();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 = wS(Wae(AO), "@react-aria/table"), u = fS({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = bS(Jae(EO), "@react-aria/table"), u = cS({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": YD(t, r.key)+ "aria-labelledby": GD(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = PO(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 = PO(t.collection, a);+ let n = AO(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 = AO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === NO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === NO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === kO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === kO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28712,45 +28712,45 @@ function Gae(e, t, n) {};}}- let p = zb(r.props), m = o.hasAction ? p : {};+ let p = Fb(r.props), m = o.hasAction ? p : {};return {rowProps: {...q(a, d, m),- "aria-labelledby": YD(t, r.key)+ "aria-labelledby": GD(t, r.key)},expandButtonProps: f,...o};}-function PO(e, t) {+function AO(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function Kae() {+function Xae() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function FO() {- return Kae();+function jO() {+ return Xae();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function qae(e) {+function Zae(e) {return e && e.__esModule ? e.default : e;}-function Jae(e, t) {- let { key: n } = e, { checkboxProps: r } = OE(e, t);+function Qae(e, t) {+ let { key: n } = e, { checkboxProps: r } = wE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${YD(t, n)}`+ "aria-labelledby": `${r.id} ${GD(t, n)}`} };}-function Yae(e) {+function $ae(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": wS(qae(AO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": bS(Zae(EO), "@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,@@ -28759,23 +28759,23 @@ function Yae(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var IO = /* @__PURE__ */ new WeakMap();-function LO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${IO.get(e)}-${n}-${t}`) : "";+var MO = /* @__PURE__ */ new WeakMap();+function NO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${MO.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function Xae(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 } = SE({+function eoe(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 } = vE({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = LO(t, r, "tab"), m = LO(t, r, "tabpanel"), { tabIndex: h } = d, g = ES(u?.props, { labelable: !0 });+ }), p = NO(t, r, "tab"), m = NO(t, r, "tabpanel"), { tabIndex: h } = d, g = SS(u?.props, { labelable: !0 });delete g.id;- let _ = Bb(u?.props), { focusableProps: v } = Ix({+ let _ = Ib(u?.props), { focusableProps: v } = Mx({...u?.props,isDisabled: l}, n);@@ -28795,7 +28795,7 @@ function Xae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Zae = class {+var toe = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28839,11 +28839,11 @@ var Zae = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Qae(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = vS(), { collectionProps: l } = dT({+function noe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = mS(), { collectionProps: l } = sT({ref: n,selectionManager: o,- keyboardDelegate: (0, D.useMemo)(() => new Zae(a, c, r, s), [+ keyboardDelegate: (0, D.useMemo)(() => new toe(a, c, r, s), [a,s,r,@@ -28853,9 +28853,9 @@ function Qae(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = Sx();- return IO.set(t, u), { tabListProps: {- ...q(l, fS({+ }), u = vx();+ return MO.set(t, u), { tabListProps: {+ ...q(l, cS({...e,id: u})),@@ -28866,12 +28866,12 @@ function Qae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function $ae(e, t, n) {- let r = yE(n) ? void 0 : 0, i = LO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: q(fS({+function roe(e, t, n) {+ let r = hE(n) ? void 0 : 0, i = NO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: q(cS({...e,id: i,- "aria-labelledby": LO(t, t?.selectedKey, "tab")+ "aria-labelledby": NO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28881,301 +28881,301 @@ function $ae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function eoe(e, t, n) {- let { gridProps: r } = Gie(e, t, n);+function ioe(e, t, n) {+ let { gridProps: r } = Yie(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var RO = {};-RO = {+var PO = {};+PO = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var zO = {};-zO = {+var FO = {};+FO = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var BO = {};-BO = {+var IO = {};+IO = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var VO = {};-VO = {+var LO = {};+LO = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var HO = {};-HO = {+var RO = {};+RO = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var UO = {};-UO = {+var zO = {};+zO = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var WO = {};-WO = {+var BO = {};+BO = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var GO = {};-GO = {+var VO = {};+VO = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var KO = {};-KO = {+var HO = {};+HO = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var qO = {};-qO = {+var UO = {};+UO = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var JO = {};-JO = {+var WO = {};+WO = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var YO = {};-YO = {+var GO = {};+GO = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var XO = {};-XO = {+var KO = {};+KO = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var ZO = {};-ZO = {+var qO = {};+qO = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var QO = {};-QO = {+var JO = {};+JO = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var $O = {};-$O = {+var YO = {};+YO = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var ek = {};-ek = {+var XO = {};+XO = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var tk = {};-tk = {+var ZO = {};+ZO = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var nk = {};-nk = {+var QO = {};+QO = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var rk = {};-rk = {+var $O = {};+$O = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var ik = {};-ik = {+var ek = {};+ek = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var ak = {};-ak = {+var tk = {};+tk = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var ok = {};-ok = {+var nk = {};+nk = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var sk = {};-sk = {+var rk = {};+rk = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var ck = {};-ck = {+var ik = {};+ik = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var lk = {};-lk = {+var ak = {};+ak = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var uk = {};-uk = {+var ok = {};+ok = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var dk = {};-dk = {+var sk = {};+sk = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var fk = {};-fk = {+var ck = {};+ck = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var pk = {};-pk = {+var lk = {};+lk = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var mk = {};-mk = {+var uk = {};+uk = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var hk = {};-hk = {+var dk = {};+dk = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var gk = {};-gk = {+var fk = {};+fk = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var _k = {};-_k = {+var pk = {};+pk = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-var vk = {};-vk = {- "ar-AE": RO,- "bg-BG": zO,- "cs-CZ": BO,- "da-DK": VO,- "de-DE": HO,- "el-GR": UO,- "en-US": WO,- "es-ES": GO,- "et-EE": KO,- "fi-FI": qO,- "fr-FR": JO,- "he-IL": YO,- "hr-HR": XO,- "hu-HU": ZO,- "it-IT": QO,- "ja-JP": $O,- "ko-KR": ek,- "lt-LT": tk,- "lv-LV": nk,- "nb-NO": rk,- "nl-NL": ik,- "pl-PL": ak,- "pt-BR": ok,- "pt-PT": sk,- "ro-RO": ck,- "ru-RU": lk,- "sk-SK": uk,- "sl-SI": dk,- "sr-SP": fk,- "sv-SE": pk,- "tr-TR": mk,- "uk-UA": hk,- "zh-CN": gk,- "zh-TW": _k+var mk = {};+mk = {+ "ar-AE": PO,+ "bg-BG": FO,+ "cs-CZ": IO,+ "da-DK": LO,+ "de-DE": RO,+ "el-GR": zO,+ "en-US": BO,+ "es-ES": VO,+ "et-EE": HO,+ "fi-FI": UO,+ "fr-FR": WO,+ "he-IL": GO,+ "hr-HR": KO,+ "hu-HU": qO,+ "it-IT": JO,+ "ja-JP": YO,+ "ko-KR": XO,+ "lt-LT": ZO,+ "lv-LV": QO,+ "nb-NO": $O,+ "nl-NL": ek,+ "pl-PL": tk,+ "pt-BR": nk,+ "pt-PT": rk,+ "ro-RO": ik,+ "ru-RU": ak,+ "sk-SK": ok,+ "sl-SI": sk,+ "sr-SP": ck,+ "sv-SE": lk,+ "tr-TR": uk,+ "uk-UA": dk,+ "zh-CN": fk,+ "zh-TW": pk};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function toe(e) {+function aoe(e) {return e && e.__esModule ? e.default : e;}-function yk(e, t, n) {- let { node: r } = e, i = Kie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = wS(toe(vk), "@react-aria/tree"), s = {+function hk(e, t, n) {+ let { node: r } = e, i = Xie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = bS(aoe(mk), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder: !0,preventFocusOnPress: !0,"data-react-aria-prevent-focus": !0,- ...fS({+ ...cS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -29187,15 +29187,15 @@ function yk(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var bk = "(prefers-reduced-motion: reduce)", noe = () => matchMedia(bk).matches, roe = (e) => {- let t = matchMedia(bk);+var gk = "(prefers-reduced-motion: reduce)", ooe = () => matchMedia(gk).matches, soe = (e) => {+ let t = matchMedia(gk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, xk = /* @__PURE__ */ new Map(), Sk = () => {+}, _k = /* @__PURE__ */ new Map(), vk = () => {let e = document.documentElement;- xk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...xk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ _k.size ? e.style.setProperty("--selection-dock-space", `${Math.max(..._k.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function ioe({ children: e, count: t, label: n }) {- let r = (0, D.useRef)(null), i = kv(), a = (0, D.useSyncExternalStore)(roe, noe, () => !1), { isFocusVisible: o } = lx(), s = a || o, c = {+function coe({ children: e, count: t, label: n }) {+ let r = (0, D.useRef)(null), i = kv(), a = (0, D.useSyncExternalStore)(soe, ooe, () => !1), { isFocusVisible: o } = ax(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29203,12 +29203,12 @@ function ioe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- xk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Sk();+ _k.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), vk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), xk.delete(e), Sk();+ n.disconnect(), window.removeEventListener("resize", t), _k.delete(e), vk();};- }, [i]), /* @__PURE__ */ (0, O.jsxs)(Ry.div, {+ }, [i]), /* @__PURE__ */ (0, O.jsxs)(Fy.div, {ref: r,role: "group","aria-label": n,@@ -29241,18 +29241,18 @@ function ioe({ children: e, count: t, label: n }) {}), e]});}-function Ck({ visible: e, ...t }) {- return /* @__PURE__ */ (0, O.jsx)(Mv, { children: e ? /* @__PURE__ */ (0, O.jsx)(ioe, { ...t }, "selection") : null });+function yk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(Mv, { children: e ? /* @__PURE__ */ (0, O.jsx)(coe, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var wk = {+var bk = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function aoe(e, t = !1) {+function loe(e, t = !1) {switch (e) {case "trash": return [{@@ -29268,7 +29268,7 @@ function aoe(e, t = !1) {glyph: "trash",danger: !0},- wk+ bk];case "junk": return [t ? {@@ -29289,7 +29289,7 @@ function aoe(e, t = !1) {glyph: "trash",danger: !0},- wk+ bk];case "follow": return [{@@ -29310,7 +29310,7 @@ function aoe(e, t = !1) {label: "忽略",glyph: "eye-off"},- wk+ bk];default: return [{@@ -29344,39 +29344,39 @@ function aoe(e, t = !1) {glyph: "trash",danger: !0},- wk+ bk];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var Tk = null, Ek = {+var xk = null, Sk = {count: 0,context: "catalog",junkDismissed: !1-}, Dk = /* @__PURE__ */ new Set();-function ooe(e) {- return Dk.add(e), () => {- Dk.delete(e);+}, Ck = /* @__PURE__ */ new Set();+function uoe(e) {+ return Ck.add(e), () => {+ Ck.delete(e);};}-function soe() {- for (let e of [...Dk]) e();+function doe() {+ for (let e of [...Ck]) e();}-var coe = { render(e) {- Ek = e, (0, Tt.flushSync)(soe);+var foe = { render(e) {+ Sk = e, (0, Tt.flushSync)(doe);} };-function loe(e) {- return Tk = e, coe;+function poe(e) {+ return xk = e, foe;}-function uoe() {- let e = (0, D.useSyncExternalStore)(ooe, () => Ek);- return Tk ? /* @__PURE__ */ (0, O.jsx)(doe, {- host: Tk,+function moe() {+ let e = (0, D.useSyncExternalStore)(uoe, () => Sk);+ return xk ? /* @__PURE__ */ (0, O.jsx)(hoe, {+ host: xk,props: e}) : null;}-function doe({ host: e, props: t }) {+function hoe({ host: e, props: t }) {let n = t.count > 0;return (0, D.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29386,11 +29386,11 @@ function doe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, O.jsx)(Ck, {+ children: /* @__PURE__ */ (0, O.jsx)(yk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: aoe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: loe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29407,12 +29407,12 @@ function doe({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function Ok(e, t, n, r) {+function wk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function foe(e, t) {+function goe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29432,7 +29432,7 @@ function foe(e, t) {}//#endregion//#region src/sort-preferences.ts-var kk = [+var Tk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29441,7 +29441,7 @@ var kk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Ak = ["release", "发行时间"], jk = [...kk, Ak].map(([e]) => e), Mk = {+], Ek = ["release", "发行时间"], Dk = [...Tk, Ek].map(([e]) => e), Ok = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29450,28 +29450,28 @@ var kk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Nk = {+}, kk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Pk = (e, t, n = Mk) => (n[e] || [])[+(t === "asc")] || "", Fk = (e, t = Mk) => t[e] ? "desc" : "";-function Ik(e, t, n, r = Mk) {+}, Ak = (e, t, n = Ok) => (n[e] || [])[+(t === "asc")] || "", jk = (e, t = Ok) => t[e] ? "desc" : "";+function Mk(e, t, n, r = Ok) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Fk(e, r)+ dir: jk(e, r)};}-function Lk(e, t, n) {+function Nk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Rk(e, t, n, r, i = n) {- let a = e ? Nk[e] : void 0, o = a ? a[0] : e, s = o && jk.includes(o) ? o : i;- return Mk[s] ? {+function Pk(e, t, n, r, i = n) {+ let a = e ? kk[e] : void 0, o = a ? a[0] : e, s = o && Dk.includes(o) ? o : i;+ return Ok[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Lk(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Nk(s, n, r)} : {sort: s,dir: ""@@ -29479,15 +29479,15 @@ function Rk(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var zk = [+var Fk = ["spot1","spot2","spot3"-], poe = [+], _oe = ["光晕一","光晕二","光晕三"-], Bk = "native", Vk = [+], Ik = "native", Lk = [["ash","灰雾",@@ -29793,7 +29793,7 @@ var zk = ["rose"],[- Bk,+ Ik,"玻璃原色",{spot1: {@@ -29811,7 +29811,7 @@ var zk = [},"blue"]-], Hk = (e) => e === Bk, Uk = [...Vk.map(([e, t]) => [e, t]), ["custom", "自定义"]], moe = (e) => (Uk.find(([t]) => t === e) || Uk[0])[1], Wk = (e) => structuredClone((Vk.find(([t]) => t === e) || Vk[0])[2]), Gk = [+], Rk = (e) => e === Ik, zk = [...Lk.map(([e, t]) => [e, t]), ["custom", "自定义"]], voe = (e) => (zk.find(([t]) => t === e) || zk[0])[1], Bk = (e) => structuredClone((Lk.find(([t]) => t === e) || Lk[0])[2]), Vk = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29824,7 +29824,7 @@ var zk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], Kk = "blue", qk = (e) => Gk.some(([t]) => t === e) ? e : Kk, hoe = (e) => (Vk.find(([t]) => t === e) || [])[3] || "blue", Jk = [+], Hk = "blue", Uk = (e) => Vk.some(([t]) => t === e) ? e : Hk, yoe = (e) => (Lk.find(([t]) => t === e) || [])[3] || "blue", boe = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29834,7 +29834,7 @@ var zk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], goe = [+], xoe = [["gray","云灰",@@ -30230,11 +30230,11 @@ var zk = ["霁蓝","#6686b8"]-], Yk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Xk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, _oe = (e, t) => `rgba(${[+], Wk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Gk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Soe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, voe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Coe = {strength: [0,100,@@ -30260,7 +30260,7 @@ var zk = [100,50]-}, Zk = {+}, Kk = {on: !0,preset: "ash",strength: 100,@@ -30268,57 +30268,57 @@ var zk = [speed: 100,soften: 50,size: 50,- ...Wk("ash")+ ...Bk("ash")};-function Qk(e) {- let t = e && typeof e == "object" ? e : {}, n = Uk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Wk(r === "custom" ? "ash" : r), a = {+function qk(e) {+ let t = e && typeof e == "object" ? e : {}, n = zk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Bk(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(voe)) a[e] = Yk(+t[e], n, r, i);- for (let e of zk) {+ for (let [e, [n, r, i]] of Object.entries(Coe)) a[e] = Wk(+t[e], n, r, i);+ for (let e of Fk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Xk(r.color, o.color),- alpha: Yk(+r.alpha, 0, 100, o.alpha)+ color: Gk(r.color, o.color),+ alpha: Wk(+r.alpha, 0, 100, o.alpha)};}return a;}-var yoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, $k = /* @__PURE__ */ new WeakMap();-function boe(e, t) {+var woe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Jk = /* @__PURE__ */ new WeakMap();+function Toe(e, t) {if (!e) return;- let n = $k.get(e);- n || (n = /* @__PURE__ */ new Map(), $k.set(e, n));- let r = t.on && !Hk(t.preset), i = (t, r) => {+ let n = Jk.get(e);+ n || (n = /* @__PURE__ */ new Map(), Jk.set(e, n));+ let r = t.on && !Rk(t.preset), i = (t, r) => {n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));};- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), zk.forEach((e, n) => {+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Fk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, _oe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, Soe(r.color, r.alpha));});}-function xoe(e, t) {+function Yk(e, t) {if (!e) return;- let n = !t.on || Hk(t.preset);+ let n = !t.on || Rk(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var Soe = "peach.settings.v1", Coe = [+var Xk = "peach.settings.v1", Zk = ["system","light","dark"-], eA = [+], Qk = [0,7,30,90-], woe = [+], Eoe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], tA = {+], $k = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30339,46 +30339,46 @@ var Soe = "peach.settings.v1", Coe = [theme: "system",groupCollapse: !0,sidebarOrder: [...hl],- homeGlow: Zk,- accent: Kk-}, nA = (e, t, n) => t.includes(e) ? e : n;-function Toe(e) {+ homeGlow: Kk,+ accent: Hk+}, eA = (e, t, n) => t.includes(e) ? e : n;+function Doe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...tA,+ ...$k,...t};- n.followInitialDays = eA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = Qk.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);- let a = Nk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Ok(+n.batchSize, 1, 200, 60), n.defaultSort = nA(n.defaultSort, jk, "seed"), n.hoverDelaySeconds = Ok(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Ok(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Ok(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Ok(+n.relatedLimit, 0, 60, 20), n.feedLimit = Ok(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = nA(n.theme, Coe, "system"), n.homeGlow = Qk(n.homeGlow), n.accent = qk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {+ let a = kk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = wk(+n.batchSize, 1, 200, 60), n.defaultSort = eA(n.defaultSort, Dk, "seed"), n.hoverDelaySeconds = wk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = wk(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = wk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = wk(+n.relatedLimit, 0, 60, 20), n.feedLimit = wk(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = eA(n.theme, Zk, "system"), n.homeGlow = qk(n.homeGlow), n.accent = Uk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {settings: n,migrated: r};}-function Eoe(e) {+function Ooe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Toe(t);+ return Doe(t);}-var rA = null;-function iA() {- if (rA) return rA;- let { settings: e, migrated: t } = Eoe(localStorage);- return rA = foe(Soe, e), t && rA.save(), rA;+var tA = null;+function nA() {+ if (tA) return tA;+ let { settings: e, migrated: t } = Ooe(localStorage);+ return tA = goe(Xk, e), t && tA.save(), tA;}-function aA(e, t, n = iA()) {+function rA(e, t, n = nA()) {let r = n.value, i = e && e.followInitialDays;- eA.includes(i) && (r.followInitialDays = i, n.save());- for (let t of woe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ Qk.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Eoe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Ok(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== tA.searchHistoryLimit && Doe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = wk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== $k.searchHistoryLimit && koe(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Doe(e = iA()) {+function koe(e = nA()) {return z("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -30386,7 +30386,7 @@ function Doe(e = iA()) {}//#endregion//#region src/appearance/theme.ts-var Ooe = [+var Aoe = [["system","跟随系统",@@ -30402,32 +30402,32 @@ var Ooe = ["深色","moon"]-], koe = null, oA = () => koe ??= matchMedia("(prefers-color-scheme: dark)"), sA = null;-function Aoe() {- return sA || (sA = document.createElement("style"), sA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), sA.isConnected || document.head.append(sA), () => {+], joe = null, iA = () => joe ??= matchMedia("(prefers-color-scheme: dark)"), aA = null;+function Moe() {+ return aA || (aA = document.createElement("style"), aA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), aA.isConnected || document.head.append(aA), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), sA?.remove();+ cancelAnimationFrame(t), clearTimeout(n), aA?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function cA(e = iA().value.theme) {- let t = Aoe(), n = document.documentElement;+function oA(e = nA().value.theme) {+ let t = Moe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && oA().matches;+ let r = e === "dark" || e === "system" && iA().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var lA = !1;-function uA() {- lA || (lA = !0, oA().addEventListener("change", () => {- iA().value.theme === "system" && cA();+var sA = !1;+function Noe() {+ sA || (sA = !0, iA().addEventListener("change", () => {+ nA().value.theme === "system" && oA();}));}//#endregion//#region src/appearance/layout.ts-var dA = [[+var cA = [["big","大图","maximize"@@ -30435,7 +30435,7 @@ var dA = [["small","小图","layout-grid"-]], fA = [[+]], lA = [["big","大图","maximize"@@ -30443,7 +30443,7 @@ var dA = [["small","小图","layout-grid"-]], pA = [[+]], uA = [["fixed","固定比例","layout-grid"@@ -30451,130 +30451,130 @@ var dA = [["masonry","瀑布流","columns-2"-]], mA = .75, hA = () => iA().value, gA = (e = hA()) => ya(e.javLayout), joe = (e = hA()) => ya(e.homeLayout), _A = (e, t = hA()) => e ? joe(t) : gA(t), vA = fA.map(([e]) => e), yA = pA.map(([e]) => e), bA = (e = hA()) => nA(e.photoSize, vA, "small"), xA = (e = hA()) => nA(e.photoLayout, yA, "masonry"), SA = null;-function CA(e, t = hA()) {+]], dA = .75, fA = () => nA().value, pA = (e = fA()) => ya(e.javLayout), Poe = (e = fA()) => ya(e.homeLayout), mA = (e, t = fA()) => e ? Poe(t) : pA(t), hA = lA.map(([e]) => e), gA = uA.map(([e]) => e), _A = (e = fA()) => eA(e.photoSize, hA, "small"), vA = (e = fA()) => eA(e.photoLayout, gA, "masonry"), yA = null;+function bA(e, t = fA()) {let n = {active: e.active,- size: _A(e.home, t),+ size: mA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = SA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (SA = n), SA;+ }, r = yA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (yA = n), yA;}-function wA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? mA : 16 / 9;+function xA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? dA : 16 / 9;}-function Moe(e, t = iA()) {+function Foe(e, t = nA()) {t.value.homeLayout = ya(e), t.save();}-function TA(e, t = iA()) {+function SA(e, t = nA()) {t.value.javLayout = ya(e), t.save();}-function Noe(e, t = iA()) {+function Ioe(e, t = nA()) {t.value.homeLayout = t.value.javLayout = ya(e), t.save();}-function Poe(e, t = iA()) {- t.value.photoSize = nA(e, vA, "small"), t.save();+function Loe(e, t = nA()) {+ t.value.photoSize = eA(e, hA, "small"), t.save();}-function EA(e, t = iA()) {- t.value.photoLayout = nA(e, yA, "masonry"), t.save();+function CA(e, t = nA()) {+ t.value.photoLayout = eA(e, gA, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var DA = "density", OA = {+var wA = "density", TA = {big: "336px",dense: "168px"-}, kA = () => localStorage.getItem(DA) === "dense" ? "dense" : "big";-function AA(e, t) {- let [n, r] = fA;+}, EA = () => localStorage.getItem(wA) === "dense" ? "dense" : "big";+function DA(e, t) {+ let [n, r] = lA;if (e.querySelector("[data-icon-swap]")) ls(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = cs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- jA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ OA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function jA(e, t, n) {+function OA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var MA = () => document.querySelector("#density");-function NA(e = kA()) {+var kA = () => document.querySelector("#density");+function AA(e = EA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== OA[e] && t.style.setProperty("--tile", OA[e]), jA(document.body, "data-density", e);- let n = MA();- n && (jA(n, "aria-pressed", String(e === "dense")), jA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), AA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== TA[e] && t.style.setProperty("--tile", TA[e]), OA(document.body, "data-density", e);+ let n = kA();+ n && (OA(n, "aria-pressed", String(e === "dense")), OA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), DA(n, e === "big" ? "big" : "small"));}-function Foe() {- let e = kA() === "big" ? "dense" : "big";- localStorage.setItem(DA, e), NA(e);+function Roe() {+ let e = EA() === "big" ? "dense" : "big";+ localStorage.setItem(wA, e), AA(e);}-function Ioe(e) {- let t = MA();- t && (jA(t, "aria-pressed", String(e === "small")), jA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), AA(t, e));+function zoe(e) {+ let t = kA();+ t && (OA(t, "aria-pressed", String(e === "small")), OA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), DA(t, e));}//#endregion//#region src/appearance/glow.ts-function PA(e = iA()) {- boe(document.querySelector(".glowlayer"), e.value.homeGlow);+function jA(e = nA()) {+ Toe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var FA = 0;-function IA(e = iA()) {- FA ||= requestAnimationFrame(() => {- FA = 0, PA(e);+var MA = 0;+function NA(e = nA()) {+ MA ||= requestAnimationFrame(() => {+ MA = 0, jA(e);});}-function LA(e = iA()) {- xoe(document.documentElement, e.value.homeGlow);+function PA(e = nA()) {+ Yk(document.documentElement, e.value.homeGlow);}-function RA(e = iA()) {+function FA(e = nA()) {document.documentElement.dataset.accent = e.value.accent;}-var zA = (e, t, n) => ({+var IA = (e, t, n) => ({key: e,label: t,- native: Hk(e),- fill: Hk(e) ? "" : yoe(n)+ native: Rk(e),+ fill: Rk(e) ? "" : woe(n)});-function Loe(e) {- let t = Vk.map(([e, t, n]) => zA(e, t, zk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(zA("custom", "自定义", zk.map((t) => e[t].color))), t;+function Boe(e) {+ let t = Lk.map(([e, t, n]) => IA(e, t, Fk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(IA("custom", "自定义", Fk.map((t) => e[t].color))), t;}-var BA = Gk;-function Roe(e, t = iA()) {+var LA = Vk;+function Voe(e, t = nA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Wk(e)), t.value.accent = hoe(e), t.save(), IA(t), LA(t), RA(t);+ n.preset = e, Object.assign(n, Bk(e)), t.value.accent = yoe(e), t.save(), NA(t), PA(t), FA(t);}-function zoe(e, t = iA()) {- t.value.accent = qk(e), t.save(), RA(t);+function Hoe(e, t = nA()) {+ t.value.accent = Uk(e), t.save(), FA(t);}-function Boe(e = iA()) {+function Uoe(e = nA()) {let t = e.value.homeGlow;- t.preset = Zk.preset, Object.assign(t, Wk(t.preset)), e.value.accent = Kk, e.save(), IA(e), LA(e), RA(e);+ t.preset = Kk.preset, Object.assign(t, Bk(t.preset)), e.value.accent = Hk, e.save(), NA(e), PA(e), FA(e);}-function VA(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Hk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function RA(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Rk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Voe(e, t = iA()) {- return VA(e, t.value.homeGlow), t.subscribe(() => VA(e, t.value.homeGlow));+function Woe(e, t = nA()) {+ return RA(e, t.value.homeGlow), t.subscribe(() => RA(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function HA({ store: e, label: t, hidden: n }) {+function zA({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Loe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Boe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => Roe(t.key, e),+ onClick: () => Voe(t.key, e),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30586,14 +30586,14 @@ function HA({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var UA = null;-function Hoe(e) {- UA = e;+var BA = null;+function Goe(e) {+ BA = e;}-function Uoe() {- return UA ? /* @__PURE__ */ (0, O.jsx)(WA, { host: UA }) : null;+function Koe() {+ return BA ? /* @__PURE__ */ (0, O.jsx)(qoe, { host: BA }) : null;}-function WA({ host: e }) {+function qoe({ host: e }) {let { store: t } = e;(0, D.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30605,11 +30605,11 @@ function WA({ host: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Boe(t),+ onClick: () => Uoe(t),children: "重置"})]}),- /* @__PURE__ */ (0, O.jsx)(HA, {+ /* @__PURE__ */ (0, O.jsx)(zA, {store: t,label: "光晕",hidden: !n.on@@ -30623,14 +30623,14 @@ function WA({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: BA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: LA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => zoe(e, t),+ onClick: () => Hoe(e, t),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30649,32 +30649,32 @@ function WA({ host: e }) {}//#endregion//#region src/player/host.ts-var GA = null;-function KA(e) {- GA = e;+var VA = null;+function Joe(e) {+ VA = e;}-function qA() {- if (!GA) throw Error("播放器还没有接上宿主(configurePlayer)");- return GA;+function HA() {+ if (!VA) throw Error("播放器还没有接上宿主(configurePlayer)");+ return VA;}//#endregion//#region src/player/menu.ts-var JA = null;-function YA(e) {- JA = e;+var UA = null;+function WA(e) {+ UA = e;}-function XA() {+function GA() {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 ZA = null, QA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function $A() {+var KA = null, qA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function JA() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && To(e, () => {e.innerHTML = "";- }), ZA &&= (ZA(), null);+ }), KA &&= (KA(), null);}-async function Woe(e) {+async function YA(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30687,8 +30687,8 @@ async function Woe(e) {return t.remove(), n;}}-function Goe(e) {- let t = !!JA?.inMiniplayer(e), n = e.peachItem, r = JA?.kind(e) ?? "item", i = (t) => {+function XA(e) {+ let t = !!UA?.inMiniplayer(e), n = e.peachItem, r = UA?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);if (r !== "follow" && location.pathname === i.pathname) {let e = new URLSearchParams(location.search);@@ -30704,7 +30704,7 @@ function Goe(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Woe(i(e)).then((e) => qA().toast(e ? t : "复制失败,请手动复制地址栏", {+ YA(i(e)).then((e) => HA().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30716,11 +30716,11 @@ function Goe(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => JA?.expand()+ run: () => UA?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => JA?.toMiniplayer()+ run: () => UA?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30743,29 +30743,29 @@ function Goe(e) {run: () => s.click()}), o;}-function Koe(e, t, n) {- let r = XA();- $A();- let i = qA().stage();+function ZA(e, t, n) {+ let r = GA();+ JA();+ let i = HA().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Goe(e);+ let a = XA(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}">${QA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? QA(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${qA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? qA(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), wo(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)];- $A(), n?.run();+ JA(), n?.run();};});let s = (e) => {- r.contains(e.target) || $A();+ r.contains(e.target) || JA();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), $A();+ e.preventDefault(), e.stopPropagation(), JA();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30773,51 +30773,51 @@ function Koe(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Do(t, e.el()) && $A();+ Do(t, e.el()) && JA();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), ZA = () => {+ }, 0), KA = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function qoe(e) {+function Yoe(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Koe(e, t.clientX, t.clientY));- }), e.on("dispose", $A);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), ZA(e, t.clientX, t.clientY));+ }), e.on("dispose", JA);}//#endregion//#region src/player/registry.ts-var ej = null, tj = () => ej;-function nj(e) {- ej = e;+var QA = null, $A = () => QA;+function ej(e) {+ QA = e;}-function rj(e) {+function tj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function ij(e) {+function nj(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 Joe(e) {+function Xoe(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 aj = 3e3;-function oj(e, t) {+var rj = 3e3;+function ij(e, t) {let n = Number(e) || 0, r = mn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Yoe(e) {+function Zoe(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30832,10 +30832,10 @@ function Yoe(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Joe(e), s = e.currentTime || 0;+ let a = performance.now(), o = Xoe(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 > aj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > rj * 2 && (t.length = 0);}for (n = {at: a,@@ -30844,56 +30844,56 @@ function Yoe(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > aj;) t.shift();+ }); t.length > 2 && a - t[0].at > rj;) 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 sj = 24;-function cj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > sj && e.splice(0, e.length - sj);+var aj = 24;+function oj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > aj && e.splice(0, e.length - aj);}-var lj = "peach-player-panel";-function uj(e, t, n, r) {- let i = [...Array(Math.max(0, sj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var sj = "peach-player-panel";+function cj(e, t, n, r) {+ let i = [...Array(Math.max(0, aj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;}-function Xoe() {+function Qoe() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button><div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div><div data-player-stats="" id="playerStats" role="status" hidden></div>`;}-function dj(e, t = "") {+function lj(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 fj(e, t = "") {- let n = dj(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 uj(e, t = "") {+ let n = lj(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 pj(e, t, n = "", r = null) {+function dj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : fj(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : uj(t, n);}-function mj(e) {+function fj(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 Zoe(e, t) {- return e > 0 ? mj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : mj(0);+function $oe(e, t) {+ return e > 0 ? fj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : fj(0);}//#endregion//#region src/player/subtitle-style.ts-var hj = {+var pj = {font: {label: "字体",values: [@@ -30996,7 +30996,7 @@ var hj = {["shadow", "阴影"]]}-}, gj = {+}, mj = {font: "sans",size: "100",color: "white",@@ -31006,7 +31006,7 @@ var hj = {window: "black",windowOpacity: "0",edge: "shadow"-}, _j = "peach.caption-style.v1", Qoe = {+}, hj = "peach.caption-style.v1", ese = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31015,7 +31015,7 @@ var hj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, $oe = {+}, tse = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31023,28 +31023,28 @@ var hj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, ese = {+}, nse = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function tse() {+function rse() {let e = {};try {- e = JSON.parse(localStorage.getItem(_j) || "{}") || {};+ e = JSON.parse(localStorage.getItem(hj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(gj).map(([t, n]) => [t, hj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(mj).map(([t, n]) => [t, pj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function vj(e, t, n) {- let r = tse(), i = document.createElement("div");+function gj(e, t, n) {+ let r = rse(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${Qoe[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", $oe[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", ese[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${ese[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", tse[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", nse[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31059,27 +31059,27 @@ function vj(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (hj[e].values.some(([e]) => e === t)) {+ if (pj[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(_j, JSON.stringify(r));+ localStorage.setItem(hj, JSON.stringify(r));} catch {}}},reset() {- r = { ...gj }, o();+ r = { ...mj }, o();try {- localStorage.removeItem(_j);+ localStorage.removeItem(hj);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var yj = /* @__PURE__ */ new Map(), bj = class {+var _j = /* @__PURE__ */ new Map(), vj = class {player;video;changed;@@ -31128,7 +31128,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (yj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (_j.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31142,15 +31142,15 @@ var yj = /* @__PURE__ */ new Map(), bj = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return yj.set(this.url, t), t.finally(() => {- yj.get(this.url) === t && yj.delete(this.url);+ return _j.set(this.url, t), t.finally(() => {+ _j.get(this.url) === t && _j.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await yj.get(this.url)?.catch(() => {}), e.aborted) return;+ if (await _j.get(this.url)?.catch(() => {}), e.aborted) return;let t = await z(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();@@ -31205,7 +31205,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, xj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", nse = class {+}, yj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", ise = class {player;video;panels;@@ -31224,7 +31224,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = vj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = xj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = gj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = yj(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31234,7 +31234,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new bj(e, t, () => {+ }), this.session = new vj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31282,7 +31282,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(hj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(pj).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31294,7 +31294,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {}styleOptions(e) {this.page = "style";- let t = hj[e];+ let t = pj[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;@@ -31411,7 +31411,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {};//#endregion//#region src/player/controls.ts-function Sj(e, t, n = "") {+function bj(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));@@ -31422,27 +31422,27 @@ function Sj(e, t, n = "") {};return o(), o;}-function Cj(e, t) {+function xj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function rse(e, t = !0) {- let n = qA(), r = n.settings();+function ase(e, t = !0) {+ let n = HA(), 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 wj = /* @__PURE__ */ new WeakMap();-function Tj(e) {+var Sj = /* @__PURE__ */ new WeakMap();+function Cj(e) {if (!e) return;- let t = qA().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), wj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = HA().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Sj.get(e)?.(t ? "默认视图" : "影院模式");}-function Ej(e, t = !0) {- let n = qA(), r = n.settings();+function wj(e, t = !0) {+ let n = HA(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), Tj(i?.querySelector("[data-player-theater]")), rj(tj());+ i?.toggleAttribute("data-theater", r.theaterMode), Cj(i?.querySelector("[data-player-theater]")), tj($A());}-function ise(e) {- let t = qA().stage(), n = t?.querySelector("[data-ambient-canvas]");+function ose(e) {+ let t = HA().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31465,9 +31465,9 @@ function ise(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (qA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (HA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && qA().settings().ambientMode && (l(), e.paused || u(++o));+ !i && HA().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31476,7 +31476,7 @@ function ise(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Dj(e, t, n = 0, r = null) {+function Tj(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31486,7 +31486,7 @@ function Dj(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]");- Sj(s, "设置");+ bj(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31526,11 +31526,11 @@ function Dj(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(lj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(sj, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(lj, b);+ document.addEventListener(sj, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31546,13 +31546,13 @@ function Dj(e, t, n = 0, r = null) {}), i;}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {T = "main";- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${qA().settings().ambientMode}">+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${HA().settings().ambientMode}">${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${xj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${yj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${B(n.label)}</b>${R("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- rse(!qA().settings().ambientMode), E();+ ase(!HA().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31632,8 +31632,8 @@ function Dj(e, t, n = 0, r = null) {"removequalitylevel","change"], N), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", P), document.removeEventListener(lj, b), x && clearTimeout(x);- }), u = new nse(e, t, {+ S++, document.removeEventListener("pointerdown", P), document.removeEventListener(sj, b), x && clearTimeout(x);+ }), u = new ise(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31642,21 +31642,21 @@ function Dj(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), ase(e, a), ose(e), (e) => {+ }), g(), sse(e, a), cse(e), (e) => {f = e?.length ? e : null, N();};}-function ase(e, t) {+function sse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = qA().settings().theaterMode, i = document.createElement("div");+ let r = HA().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- wj.set(a, Sj(a, "影院模式", "T")), Tj(a), a.onclick = (e) => {- e.stopPropagation(), Ej(!qA().settings().theaterMode);+ Sj.set(a, bj(a, "影院模式", "T")), Cj(a), a.onclick = (e) => {+ e.stopPropagation(), wj(!HA().settings().theaterMode);};}-function ose(e) {+function cse(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31668,7 +31668,7 @@ function ose(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 = Sj(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 = bj(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 ? "播放" : "暂停");};@@ -31679,7 +31679,7 @@ function ose(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 = Sj(p, "静音", "M"), g = () => {+ let h = bj(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 ? "取消静音" : "静音");};@@ -31705,7 +31705,7 @@ function ose(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 = Sj(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = bj(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = gn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : gn(t)} / ${gn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${gn(n)};点击显示已播放时间` : `已播放 ${gn(t)},总时长 ${gn(n)};点击显示剩余时间`);};@@ -31717,12 +31717,12 @@ function ose(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- Sj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = Sj(E, "画中画");+ bj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = bj(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Sj(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = bj(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 ? "退出全屏" : "全屏"), rj(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), tj(e);};e.on(["fullscreenchange",@@ -31743,7 +31743,7 @@ function ose(e) {});let P = document.createElement("div");P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);- let ee = P.querySelector("button"), F = Sj(ee, "展开控件"), te = (t) => {+ let ee = P.querySelector("button"), F = bj(ee, "展开控件"), te = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");};ee.onclick = (t) => {@@ -31755,7 +31755,7 @@ function ose(e) {}, ne = new ResizeObserver(I);ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();}-function Oj(e, t, n = {}) {+function Ej(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31789,13 +31789,13 @@ function Oj(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function sse(e, t) {+function lse(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => mn(e.duration()) || mn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(qA().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(HA().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31836,11 +31836,11 @@ function sse(e, t) {} catch {}});}-function kj(e) {+function Dj(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 Aj(e, t) {+function Oj(e, t) {z(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31856,35 +31856,35 @@ function Aj(e, t) {}//#endregion//#region src/player/progress.ts-var jj = "peach.playback-position.v1", Mj = /* @__PURE__ */ new WeakMap();-function Nj(e) {- Mj.get(e)?.(), Mj.delete(e);+var kj = "peach.playback-position.v1", Aj = /* @__PURE__ */ new WeakMap();+function jj(e) {+ Aj.get(e)?.(), Aj.delete(e);}-function Pj(e, t, n = null) {+function Mj(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function cse(e) {+function use(e) {try {- let t = localStorage.getItem(`${jj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${kj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function lse(e, t) {- let n = cse(e);+function dse(e, t) {+ let n = use(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * mn(t.duration) : 0;}-function use(e, t) {- Nj(t);+function fse(e, t) {+ jj(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${jj}:${e}`, String(r));+ localStorage.setItem(`${kj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31898,7 +31898,7 @@ function use(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Mj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Aj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31911,19 +31911,19 @@ function use(e, t) {}//#endregion//#region src/player/telemetry.ts-var Fj = /* @__PURE__ */ new WeakMap();-function Ij(e) {- Fj.get(e)?.(), Fj.delete(e);+var Nj = /* @__PURE__ */ new WeakMap();+function Pj(e) {+ Nj.get(e)?.(), Nj.delete(e);}-function Lj(e, t, n, r) {+function Fj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Fj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Nj.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function Rj(e, t, n = {}) {+function Ij(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {let r = mn(e.duration) || mn(t.duration);@@ -31964,11 +31964,11 @@ function Rj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Lj(t, l, u, () => {+ }, Fj(t, l, u, () => {a++;}), c();}-function dse(e, t) {+function pse(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = mn(e.duration) || mn(t.duration);(r || n) && (z("/api/follow/activity", {@@ -31999,24 +31999,24 @@ function dse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Lj(t, o, s, () => {});+ }, Fj(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function zj(e) {+function Lj(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Nj(t), Ij(t));+ t && (jj(t), Pj(t));try {e.dispose();} catch {}}//#endregion//#region src/core/random-id.ts-function Bj() {+function Rj() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -32025,23 +32025,23 @@ function Bj() {}//#endregion//#region src/player/stream.ts-function Vj() {- return Bj();+function zj() {+ return Rj();}-function Hj(e, t) {+function Bj(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function fse(e) {+function mse(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Uj(e, t) {- let n = fse(e);+async function Vj(e, t) {+ let n = mse(e);if (n) return n;try {let n = await z(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32050,9 +32050,9 @@ async function Uj(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return Hj(e, t);+ return Bj(e, t);}-function Wj(e) {+function Hj(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32061,23 +32061,23 @@ function Wj(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var Gj = "";-function Kj() {- return Gj;+var Uj = "";+function Wj() {+ return Uj;}-function qj() {- return Gj ||= Vj(), Gj;+function Gj() {+ return Uj ||= zj(), Uj;}-var pse = (e) => Hj(e, qj()), mse = (e) => Uj(e, qj());-function Jj() {- let e = Gj;- e && (Gj = "", Wj(e));+var hse = (e) => Bj(e, Gj()), gse = (e) => Vj(e, Gj());+function Kj() {+ let e = Uj;+ e && (Uj = "", Hj(e));}//#endregion//#region src/player/v10-player.ts-var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {+var qj = (e) => typeof e == "string" ? [e] : e, _se = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Bj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Rj()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32172,9 +32172,9 @@ var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => Yj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => Yj(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => Yj(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => qj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => qj(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => qj(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32229,7 +32229,7 @@ var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, gse = "/vendor/videojs/10.1.0/", _se = [+}, vse = "/vendor/videojs/10.1.0/", yse = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32247,18 +32247,18 @@ var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], Xj = null;-function Zj() {- return Xj ??= Promise.all(_se.map((e) => import(+], Jj = null;+function Yj() {+ return Jj ??= Promise.all(yse.map((e) => import(/* @vite-ignore */- `${gse}${e}`-))).then(() => hse).catch((e) => {- throw Xj = null, e;- }), Xj;+ `${vse}${e}`+))).then(() => _se).catch((e) => {+ throw Jj = null, e;+ }), Jj;}//#endregion//#region src/player/immerse-player.ts-var vse = {+var bse = {controls: !1,preload: "auto",posterImage: !1,@@ -32270,39 +32270,39 @@ var vse = {errorDisplay: !1,textTrackSettings: !1};-function yse(e, t) {+function xse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Uj(n, r), Zj().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Vj(n, r), Yj().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = Hj(n, r), l = String(o.type || "").includes("mpegurl");+ let c = Bj(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, vse);- i = t, t.peachItem = n, t.peachPlaybackKey = Pj("item", n);+ let t = s(e, bse);+ i = t, t.peachItem = n, t.peachPlaybackKey = Mj("item", n);let r = new AbortController();- vj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new bj(t, e), Aj(t, n.id), l && t.one("error", () => {+ gj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new vj(t, e), Oj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Rj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ Ij(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, Wj(r), i ? zj(i) : (e.pause(), Ij(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, Hj(r), i ? Lj(i) : (e.pause(), Pj(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var Qj = /* @__PURE__ */ new WeakMap(), $j = null, eM = null, tM = null;-function nM() {- $j &&= (clearInterval($j), null), eM &&= (clearInterval(eM), null), tM &&= (clearTimeout(tM), null);+var Xj = /* @__PURE__ */ new WeakMap(), Zj = null, Qj = null, $j = null;+function eM() {+ Zj &&= (clearInterval(Zj), null), Qj &&= (clearInterval(Qj), null), $j &&= (clearTimeout($j), null);}-async function bse(e, t, n, r = {}) {- let i = tj();+async function Sse(e, t, n, r = {}) {+ let i = $A();if (i && !i.isDisposed()) return i;- let a = qA(), o = r.resume ?? null;+ let a = HA(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : mse(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : gse(e), c;try {- c = await Zj();+ c = await Yj();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32328,7 +32328,7 @@ async function bse(e, t, n, r = {}) {} }}});- nj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Pj("item", e), qoe(l), l.on("loadedmetadata", () => {+ ej(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Mj("item", e), Yoe(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}`);});@@ -32336,7 +32336,7 @@ async function bse(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Yoe(oj(f, e.duration)), m = 0, h = !1, g = () => tj() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Zoe(ij(f, e.duration)), m = 0, h = !1, g = () => $A() === 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(() => {@@ -32347,15 +32347,15 @@ async function bse(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- Qj.set(l, y), y.updateStats = () => {+ Xj.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 = Kj(), h = s ? dj(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 = Wj(), h = s ? lj(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 = pj(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 = dj(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 = ij(t);- cj(d.speed, x), cj(d.activity, C), cj(d.buffer, w);+ let w = nj(t);+ oj(d.speed, x), oj(d.activity, C), oj(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 ? ["网络活动",`${_ ? _n(_) : "—"} · ${h.length} 请求`,@@ -32373,17 +32373,17 @@ async function bse(e, t, n, r = {}) {["连接速度",D,- uj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ cj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- uj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ cj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- uj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ cj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${gn(t.currentTime)} / ${gn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32399,15 +32399,15 @@ async function bse(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = pj(l, e.id, Kj(), r ? null : p), a = r ? mj(i) : Zoe(i, ij(t));+ let i = dj(l, e.id, Wj(), r ? null : p), a = r ? fj(i) : $oe(i, nj(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), eM && clearInterval(eM), eM = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), Qj && clearInterval(Qj), Qj = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (tM && clearTimeout(tM), tM = setTimeout(() => {- e.hidden = !0, eM &&= (clearInterval(eM), null);+ e && ($j && clearTimeout($j), $j = setTimeout(() => {+ e.hidden = !0, Qj &&= (clearInterval(Qj), null);}, 1400));};return l.on([@@ -32418,7 +32418,7 @@ async function bse(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(pse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(hse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32426,13 +32426,13 @@ async function bse(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Dj(l, t, e.height, r.qualities ?? null);+ let n = Tj(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 = oj(r, e.duration));- }).catch(() => {}), Oj(l, e, { thumbnail: !r.source }), sse(l, e), kj(l), r.source || Aj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = ij(r, e.duration));+ }).catch(() => {}), Ej(l, e, { thumbnail: !r.source }), lse(l, e), Dj(l), r.source || Oj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32441,14 +32441,14 @@ async function bse(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var xse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function rM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xse), e.querySelector(":scope > #playerStatsBtn")) return;+var Cse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function tM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Cse), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Xoe(), e.insertBefore(n.content, t);+ n.innerHTML = Qoe(), e.insertBefore(n.content, t);}-function iM(e, t) {- let n = Qj.get(e);+function nM(e, t) {+ let n = Xj.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32460,29 +32460,29 @@ function iM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), $j &&= (clearInterval($j), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), Zj &&= (clearInterval(Zj), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(lj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), $j && clearInterval($j), $j = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(sj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), Zj && clearInterval(Zj), Zj = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(lj, t), s = () => document.removeEventListener(lj, t);+ document.addEventListener(sj, t), s = () => document.removeEventListener(sj, t);}- let c = e.el().querySelector("video"), l = c ? ise(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, nM()));+ let c = e.el().querySelector("video"), l = c ? ose(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, eM()));};return e.one("dispose", d), d;}-function aM(e, t) {- if (t.kind === "immerse") return yse(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = qA(), c = t.chrome === !1 ? null : e.parentElement;- c && rM(c, e);- let l = Pj(n, r, i?.index ?? null), u = {+function rM(e, t) {+ if (t.kind === "immerse") return xse(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = HA(), c = t.chrome === !1 ? null : e.parentElement;+ c && tM(c, e);+ let l = Mj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: lse(l, r),+ time: dse(l, r),autoplay: !1}};@@ -32502,38 +32502,38 @@ function aM(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Nj(m), d ? (tj() === d && (nj(null), nM()), zj(d)) : Ij(m));+ p(), !(d && a?.(d)) && (jj(m), d ? ($A() === d && (ej(null), eM()), Lj(d)) : Pj(m));};- return bse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, use(l, m), n === "follow" ? dse(r, m) : (m.addEventListener("play", () => {+ return Sse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, fse(l, m), n === "follow" ? pse(r, m) : (m.addEventListener("play", () => {z("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Rj(r, m, {+ }, { once: !0 }), Ij(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = iM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = nM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function oM(e) {+function iM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function sM(e, t) {+function aM(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function cM(e, t, n) {+function wse(e, t, n) {e.controls = !1;let r = !1, i = null;- return Zj().then((a) => {+ return Yj().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32558,57 +32558,57 @@ function cM(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Dj(o, e), Oj(o, null, { thumbnail: !1 }), kj(o));+ r || o.isDisposed() || (Tj(o, e), Ej(o, null, { thumbnail: !1 }), Dj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, zj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, Lj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var lM = "peach.catalog-view.v1", uM = /* @__PURE__ */ new Set(), dM = "cards";-function fM() {+var oM = "peach.catalog-view.v1", sM = /* @__PURE__ */ new Set(), cM = "cards";+function lM() {try {- return localStorage.getItem(lM) === "list" ? "list" : "cards";+ return localStorage.getItem(oM) === "list" ? "list" : "cards";} catch {- return dM;+ return cM;}}-function pM(e) {- dM = e === "list" ? "list" : "cards";+function uM(e) {+ cM = e === "list" ? "list" : "cards";try {- localStorage.setItem(lM, dM);+ localStorage.setItem(oM, cM);} catch {}- uM.forEach((e) => e());+ sM.forEach((e) => e());}-function mM(e) {- uM.add(e);+function dM(e) {+ sM.add(e);let t = (t) => {- (t.key === lM || t.key === null) && e();+ (t.key === oM || t.key === null) && e();};return addEventListener("storage", t), () => {- uM.delete(e), removeEventListener("storage", t);+ sM.delete(e), removeEventListener("storage", t);};}-var hM = () => (0, D.useSyncExternalStore)(mM, fM, () => "cards");-function gM(e, t) {+var fM = () => (0, D.useSyncExternalStore)(dM, lM, () => "cards");+function pM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var _M = (e, t) => [+var mM = (e, t) => ["catalog-grid","catalog",e,t-], vM = (e, t) => [+], hM = (e, t) => ["catalog-grid","entity",e,t];-async function yM(e, t, n, r, i) {+async function gM(e, t, n, r, i) {let a = new URLSearchParams(e);a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");let o = await V(`/api/items?${a}`, i), s = {@@ -32618,22 +32618,22 @@ async function yM(e, t, n, r, i) {};return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var bM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, xM = (e, t) => {+var _M = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, vM = (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 SM(e) {- let t = gM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function yM(e) {+ let t = pM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: _M(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => yM(t, e, n, r, i),+ queryKey: mM(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => gM(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: bM(n)+ getNextPageParam: _M(n)};}-function CM(e) {+function bM(e) {return {- queryKey: vM(e.entityKey || "", e.revision || 0),+ queryKey: hM(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32648,12 +32648,12 @@ function CM(e) {};},initialPageParam: 0,- getNextPageParam: xM+ getNextPageParam: vM};}-async function wM(e, t) {- if (e.mode !== "catalog" || e.wall || fM() === "list") return;- let n = SM(e);+async function xM(e, t) {+ if (e.mode !== "catalog" || e.wall || lM() === "list") return;+ let n = yM(e);await U.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32662,11 +32662,11 @@ async function wM(e, t) {})});}-function TM(e) {+function SM(e) {let t = JSON.stringify(e);return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function EM(e, t, n) {+function CM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32681,24 +32681,24 @@ function EM(e, t, n) {return !0;}) : [...e];}-var DM = (e, t) => !!e && !!Sa(e, t);-function OM(e, t) {- let n = (e) => DM(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) => DM(e, t)) || e[e.length - 1];+var wM = (e, t) => !!e && !!Sa(e, t);+function TM(e, t) {+ let n = (e) => wM(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) => wM(e, t)) || e[e.length - 1];}-function kM(e, { collapse: t, mix: n, javImage: r }) {+function EM(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 = EM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = CM(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 = OM(e, r);+ let t = TM(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32711,16 +32711,16 @@ function kM(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function AM(e, t, n) {+function DM(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 jM(e, t) {+function OM(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 MM(e, t) {+function kM(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32733,10 +32733,10 @@ function MM(e, t) {strip: null}), r;}-function NM(e, t) {- PM((t) => t.id === e, t);+function AM(e, t) {+ jM((t) => t.id === e, t);}-function PM(e, t) {+function jM(e, t) {U.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32757,34 +32757,34 @@ function PM(e, t) {} : n)});}-var FM = (e) => Math.min(Math.max(e || 0, 0), 100), IM = (e) => Math.round(FM(e) / 20), LM = (e) => {- let t = IM(e);+var MM = (e) => Math.min(Math.max(e || 0, 0), 100), NM = (e) => Math.round(MM(e) / 20), PM = (e) => {+ let t = NM(e);return t ? `${t} 星` : "未评分";-}, RM = (e, t) => t === IM(e) ? 0 : t * 20, zM = (e) => ["item", e], BM = (e) => [+}, FM = (e, t) => t === NM(e) ? 0 : t * 20, IM = (e) => ["item", e], LM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Sse = (e, t) => [+], RM = (e, t) => ["item-related",e,t-], Cse = (e) => `/api/item?id=${e}`, wse = (e, t) => `/api/related?id=${e}&limit=${t}`, VM = "/api/playlist", HM = "/api/feedback", UM = "/api/item-tag", WM = "/api/watch-later", GM = "/api/quality-goal", KM = "/api/preference", qM = class extends Error {};-async function JM(e, t) {- let n = await V(Cse(e), t);- if (n.error) throw new qM(n.error);+], zM = (e) => `/api/item?id=${e}`, Tse = (e, t) => `/api/related?id=${e}&limit=${t}`, BM = "/api/playlist", VM = "/api/feedback", HM = "/api/item-tag", UM = "/api/watch-later", WM = "/api/quality-goal", GM = "/api/preference", KM = class extends Error {};+async function qM(e, t) {+ let n = await V(zM(e), t);+ if (n.error) throw new KM(n.error);return n;}-async function YM(e, t, n) {+async function JM(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([JM(r, n), t.mixRelated(r)]);- return U.setQueryData(zM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([qM(r, n), t.mixRelated(r)]);+ return U.setQueryData(IM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Qa(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return XM(await V(`${VM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return YM(await V(`${BM}?id=${e.playlistId}`, n));let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32795,19 +32795,19 @@ async function YM(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var XM = (e) => ({+var YM = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), ZM = (e) => e.disposal === "vanished";-function QM(e, t) {+}), XM = (e) => e.disposal === "vanished";+function ZM(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !ZM(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !XM(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 Tse(e, t) {+function Ese(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32815,20 +32815,20 @@ function Tse(e, t) {part_label: n};}-function $M(e, t) {+function QM(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function eN(e, t) {+async function $M(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = BM(n);+ let o = LM(n);try {let r = n.fresh ? void 0 : U.getQueryData(o);a = !r && n.kind === "mix", i = r || await U.fetchQuery({queryKey: o,- queryFn: () => YM(n, e.helpers, t),+ queryFn: () => JM(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32840,21 +32840,21 @@ async function eN(e, t) {return;}}- let o = i ? QM(i, e.id) : e.id;+ let o = i ? ZM(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? U.getQueryData(zM(o)) : void 0;+ let s, c = a && o === i?.seedId ? U.getQueryData(IM(o)) : void 0;try {s = c || await U.fetchQuery({- queryKey: zM(o),- queryFn: () => JM(o, t),+ queryKey: IM(o),+ queryFn: () => qM(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof qM) {+ if (e instanceof KM) {r.redirect({ kind: "gone" });return;}@@ -32865,7 +32865,7 @@ async function eN(e, t) {id: Number(s.follow_item_id)});}-function Ese(e) {+function Dse(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = un(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32887,35 +32887,35 @@ function Ese(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function Dse(e, t) {+function Ose(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = un(t.tagLabel(e.k)), i = n.get(r);(!i || un(e.k) === r && un(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var tN = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), nN = (e, t) => ({+var eN = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), tN = (e, t) => ({...e,tags: (e.tags || []).filter((e) => un(e.k) !== un(t))-}), rN = (e, t) => tN(e, t.k) ? e : {+}), nN = (e, t) => eN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, iN = "peach.recentTags";-function aN() {+}, rN = "peach.recentTags";+function iN() {try {- let e = JSON.parse(localStorage.getItem(iN) || "[]");+ let e = JSON.parse(localStorage.getItem(rN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function Ose(e) {+function kse(e) {try {- let t = aN().filter((t) => un(t) !== un(e));- localStorage.setItem(iN, JSON.stringify([e, ...t].slice(0, 12)));+ let t = iN().filter((t) => un(t) !== un(e));+ localStorage.setItem(rN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function kse(e, t, n) {+function Ase(e, t, n) {let r = un(e), i = new Map(t.map((e) => [un(e.k), e])), a = t.filter((e) => !r || un(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(un(e)) || {k: e,n: 0@@ -32926,73 +32926,73 @@ function kse(e, t, n) {create: r && !s ? e.trim() : ""};}-var Ase = {+var jse = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, jse = {+}, Mse = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Mse(e) {+function Nse(e) {let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: jse[e.kind],+ title: Mse[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var oN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Nse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(oN(e.part_label))}</small>` : "";-function Pse(e, t, n, r) {+var aN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Pse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(aN(e.part_label))}</small>` : "";+function Fse(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Fse = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Ise(e, t) {+var Ise = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Lse(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function Lse(e) {+function Rse(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 sN(e, t) {+function oN(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 Rse = (e, t, n) => [+var zse = (e, t, n) => ["immerse-list",e,t,n];-function zse(e) {+function Bse(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 Bse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Vse(e, t = Math.random) {+var Vse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Hse(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 Hse(e, t) {- return Vse(((await V(`/api/items?${e}`)).items || []).filter((e) => Bse(e, t)));+async function Use(e, t) {+ return Hse(((await V(`/api/items?${e}`)).items || []).filter((e) => Vse(e, t)));}-var cN = (e) => U.ensureQueryData({- queryKey: zM(e),- queryFn: ({ signal: t }) => JM(e, t)+var sN = (e) => U.ensureQueryData({+ queryKey: IM(e),+ queryFn: ({ signal: t }) => qM(e, t)});-function Use(e, t) {+function Wse(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Wse(e) {+function Gse(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,@@ -33001,306 +33001,306 @@ function Wse(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Gse(e, t, n) {+function Kse(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 Kse(e, t) {+function qse(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 qse = 15e3, lN = {+var Jse = 15e3, cN = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, uN = null, dN = null, fN = lN, pN = /* @__PURE__ */ new Set(), mN = 0, hN = 0, gN = 0, _N = "", vN = [], yN = 0, bN = !1, xN = !1, SN = null, CN = /* @__PURE__ */ new Set(), wN = "", TN = null, EN = 0, DN = null, ON = !1;-function kN() {- if (!uN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return uN;+}, lN = null, uN = null, dN = cN, fN = /* @__PURE__ */ new Set(), pN = 0, mN = 0, hN = 0, gN = "", _N = [], vN = 0, yN = !1, bN = !1, xN = null, SN = /* @__PURE__ */ new Set(), CN = "", wN = null, TN = 0, EN = null, DN = !1;+function ON() {+ if (!lN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return lN;}-function Jse(e) {- return pN.add(e), () => {- pN.delete(e);+function Yse(e) {+ return fN.add(e), () => {+ fN.delete(e);};}-function Yse() {- for (let e of [...pN]) e();+function Xse() {+ for (let e of [...fN]) e();}-function AN() {- (0, Tt.flushSync)(Yse);+function kN() {+ (0, Tt.flushSync)(Xse);}-function jN() {- let e = TN ? fj(TN.id) : 0;- return e ? `${wN} · ${mj(e)}` : wN;+function AN() {+ let e = wN ? uj(wN.id) : 0;+ return e ? `${CN} · ${fj(e)}` : CN;}-function MN(e, t = null) {- clearInterval(EN), EN = 0, e === null ? (fN = {- ...fN,+function jN(e, t = null) {+ clearInterval(TN), TN = 0, e === null ? (dN = {+ ...dN,loading: null- }, AN()) : (wN = e, TN = t, fN = {- ...fN,- loading: jN()- }, AN(), EN = window.setInterval(() => {- TN = vN[yN] ?? null, fN = {- ...fN,- loading: jN()- }, AN();+ }, kN()) : (CN = e, wN = t, dN = {+ ...dN,+ loading: AN()+ }, kN(), TN = window.setInterval(() => {+ wN = _N[vN] ?? null, dN = {+ ...dN,+ loading: AN()+ }, kN();}, 500));}-function Xse(e) {+function Zse(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), dN.track.append(t);- let r = Vj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), uN.track.append(t);+ let r = zj(), i = () => {}, a = {el: t,video: n,session: r,- release: () => Wj(r),+ release: () => Hj(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return CN.add(a), a;+ return SN.add(a), a;}-function Zse(e, t) {+function Qse(e, t) {return new Promise((n) => {- e.release = aM(e.video, {+ e.release = rM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- fN.open && zN(1);+ dN.open && RN(1);}}), e.gone.then(n);});}-function NN(e) {- e && !e.disposed && (e.disposed = !0, CN.delete(e), e.leave(), e.release(), e.el.remove(), SN === e && (SN = null));+function MN(e) {+ e && !e.disposed && (e.disposed = !0, SN.delete(e), e.leave(), e.release(), e.el.remove(), xN === e && (xN = null));}-var PN = [+var NN = ["loadeddata","canplay","error"];-function Qse(e) {+function $se(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), PN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), NN.forEach((e) => t.removeEventListener(e, i)), n());};- PN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, qse);+ NN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Jse);e.gone.then(i);});}-function FN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Gse(e.videoWidth, e.videoHeight, n);+function PN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Kse(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var IN = () => dN?.track.querySelectorAll("video").forEach(FN);-function $se(e) {- delete e.dataset.fit, e.readyState >= 1 ? FN(e) : e.addEventListener("loadedmetadata", () => FN(e), { once: !0 });-}+var FN = () => uN?.track.querySelectorAll("video").forEach(PN);function ece(e) {- fN = {- ...fN,+ delete e.dataset.fit, e.readyState >= 1 ? PN(e) : e.addEventListener("loadedmetadata", () => PN(e), { once: !0 });+}+function tce(e) {+ dN = {+ ...dN,wide: e- }, AN(), IN();+ }, kN(), FN();}-var LN = () => {- let e = _N;+var IN = () => {+ let e = gN;return U.fetchQuery({- queryKey: Rse(e, hN, gN),- queryFn: () => Hse(e, kN().sourceOffline),+ queryKey: zse(e, mN, hN),+ queryFn: () => Use(e, ON().sourceOffline),staleTime: Infinity});};-function tce(e, t) {+function nce(e, t) {let n = () => mn(e.duration) || mn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && dN && (dN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), DN = {+ t && uN && (uN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), EN = {video: e,duration: n};}-async function RN(e = 0) {- let t = vN[yN];- if (!t || bN) return;- let n = mN;- kN().route(t.id), bN = !0, MN(e ? "切换中" : "加载中", t);+async function LN(e = 0) {+ let t = _N[vN];+ if (!t || yN) return;+ let n = pN;+ ON().route(t.id), yN = !0, jN(e ? "切换中" : "加载中", t);let r = null;try {- if (await cN(t.id).catch((e) => {- if (!(e instanceof qM)) throw e;- }), n !== mN) return;- let i = SN, a = !!(e && i);- a || NN(i);- let o = Xse(a ? e > 0 ? 100 : -100 : 0);- if (r = o, $se(o.video), await Zse(o, t), await Qse(o), o.disposed || (ece(Kse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await sN(t.id).catch((e) => {+ if (!(e instanceof KM)) throw e;+ }), n !== pN) return;+ let i = xN, a = !!(e && i);+ a || MN(i);+ let o = Zse(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, ece(o.video), await Qse(o, t), await $se(o), o.disposed || (tce(qse(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)), NN(i), o.el.style.transform = ""), o.disposed)) return;- SN = o, r = null, o.video.play()?.catch(() => {}), fN = {- ...fN,+ })), await new Promise((e) => setTimeout(e, 210)), MN(i), o.el.style.transform = ""), o.disposed)) return;+ xN = o, r = null, o.video.play()?.catch(() => {}), dN = {+ ...dN,idle: !1,shown: {item: t,- index: yN,- length: vN.length+ index: vN,+ length: _N.length}- }, tce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), MN(null);+ }, nce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), jN(null);} catch {- NN(r), n === mN && MN(null);+ MN(r), n === pN && jN(null);} finally {- n === mN && (bN = !1);+ n === pN && (yN = !1);}}-async function zN(e) {- if (bN || !fN.open) return;- let t = mN;- if (yN += e, MN("切换中", vN[yN] ?? null), yN >= vN.length - 3 && !xN) {- xN = !0;+async function RN(e) {+ if (yN || !dN.open) return;+ let t = pN;+ if (vN += e, jN("切换中", _N[vN] ?? null), vN >= _N.length - 3 && !bN) {+ bN = !0;try {- gN += 1;- let e = await LN();- t === mN && (vN = Use(vN, e));+ hN += 1;+ let e = await IN();+ t === pN && (_N = Wse(_N, e));} catch {} finally {- xN = !1;+ bN = !1;}}- t === mN && (yN >= vN.length && (yN = 0), yN < 0 && (yN = vN.length - 1), await RN(e));+ t === pN && (vN >= _N.length && (vN = 0), vN < 0 && (vN = _N.length - 1), await LN(e));}-async function nce(e) {- let t = ++mN;- BN(), hN += 1, gN = 0, _N = zse(kN().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), fN = {- ...fN,+async function rce(e) {+ let t = ++pN;+ zN(), mN += 1, hN = 0, gN = Bse(ON().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), dN = {+ ...dN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), MN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), jN("加载内容");try {- let n = await LN();+ let n = await IN();if (e && !n.some((t) => t.id === e)) {- let t = await cN(e).catch((e) => {- if (e instanceof qM) return null;+ let t = await sN(e).catch((e) => {+ if (e instanceof KM) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== mN) return;- if (vN = n, !vN.length) {- VN(), kN().warn("当前筛选下没有可直接播放的内容");+ if (t !== pN) return;+ if (_N = n, !_N.length) {+ BN(), ON().warn("当前筛选下没有可直接播放的内容");return;}- yN = Math.max(0, vN.findIndex((t) => t.id === e)), await RN();+ vN = Math.max(0, _N.findIndex((t) => t.id === e)), await LN();} catch {- if (t !== mN) return;- MN(null), VN();+ if (t !== pN) return;+ jN(null), BN();}}-function BN() {- clearInterval(EN), EN = 0, qN(), GN = null, DN = null, ON = !1, [...CN].forEach(NN), bN = !1;+function zN() {+ clearInterval(TN), TN = 0, KN(), WN = null, EN = null, DN = !1, [...SN].forEach(MN), yN = !1;}-function VN() {- fN.open && (mN++, BN(), fN = lN, document.body.removeAttribute("data-immerse-open"), AN(), kN().closed());+function BN() {+ dN.open && (pN++, zN(), dN = cN, document.body.removeAttribute("data-immerse-open"), kN(), ON().closed());}-var HN = 0, UN = null, WN = 0, GN = null, KN = 0;-function qN() {- clearTimeout(HN), HN = 0, UN = null;+var VN = 0, HN = null, UN = 0, WN = null, GN = 0;+function KN() {+ clearTimeout(VN), VN = 0, HN = null;}-function rce(e) {- let t = SN?.video;+function ice(e) {+ let t = xN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- UN && UN.side === n && r - UN.at <= 280 ? (qN(), sM(t, kN().seekSeconds() * n)) : (HN && (clearTimeout(HN), HN = 0, oM(t)), UN = {+ HN && HN.side === n && r - HN.at <= 280 ? (KN(), aM(t, ON().seekSeconds() * n)) : (VN && (clearTimeout(VN), VN = 0, iM(t)), HN = {side: n,at: r- }, HN = window.setTimeout(() => {- HN = 0, UN = null, fN.open && oM(SN?.video);+ }, VN = window.setTimeout(() => {+ VN = 0, HN = null, dN.open && iM(xN?.video);}, 280));}-function ice() {- Date.now() < WN || oM(SN?.video);+function ace() {+ Date.now() < UN || iM(xN?.video);}-var JN = (e) => dN?.bar.toggleAttribute("data-scrubbing", e);-function YN(e) {- dN && (dN.progress.style.width = `${(e * 100).toFixed(2)}%`);+var qN = (e) => uN?.bar.toggleAttribute("data-scrubbing", e);+function JN(e) {+ uN && (uN.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function XN(e) {+function YN(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- GN = null;+ WN = null;return;}- let n = SN?.video;- GN = {+ let n = xN?.video;+ WN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function ZN(e) {- if (!GN || e.touches.length !== 1) return;- let t = e.touches[0].clientX - GN.x, n = e.touches[0].clientY - GN.y;- if (!GN.axis) {+function XN(e) {+ if (!WN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - WN.x, n = e.touches[0].clientY - WN.y;+ if (!WN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- GN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", GN.axis === "x" && JN(!0);+ WN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", WN.axis === "x" && qN(!0);}- if (GN.axis !== "x") return;- let r = SN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), GN.to = Math.min(i, Math.max(0, GN.from + t / window.innerWidth * i)), YN(GN.to / i));+ if (WN.axis !== "x") return;+ let r = xN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), WN.to = Math.min(i, Math.max(0, WN.from + t / window.innerWidth * i)), JN(WN.to / i));}-function QN(e) {- if (!GN) return;- let t = GN;- if (GN = null, WN = Date.now() + 700, JN(!1), t.axis === "x") {- let e = SN?.video;+function ZN(e) {+ if (!WN) return;+ let t = WN;+ if (WN = null, UN = Date.now() + 700, qN(!1), t.axis === "x") {+ let e = xN?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;- Math.abs(i) > 60 ? (qN(), zN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), rce(n.clientX));+ Math.abs(i) > 60 ? (KN(), RN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ice(n.clientX));}-function $N() {- GN = null, JN(!1);+function QN() {+ WN = null, qN(!1);}-function eP(e) {+function $N(e) {let t = Date.now();- t - KN < 260 || (KN = t, zN(e.deltaY > 0 ? 1 : -1));+ t - GN < 260 || (GN = t, RN(e.deltaY > 0 ? 1 : -1));}-function tP(e) {- let t = dN.bar.getBoundingClientRect();+function eP(e) {+ let t = uN.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function ace(e) {- DN?.duration() && (ON = !0, JN(!0), e.currentTarget.setPointerCapture(e.pointerId), YN(tP(e)), e.preventDefault());-}function oce(e) {- ON && YN(tP(e));+ EN?.duration() && (DN = !0, qN(!0), e.currentTarget.setPointerCapture(e.pointerId), JN(eP(e)), e.preventDefault());}function sce(e) {- if (!ON) return;- ON = !1, JN(!1);- let t = DN?.duration();- DN && t && (DN.video.currentTime = t * tP(e));+ DN && JN(eP(e));+}+function cce(e) {+ if (!DN) return;+ DN = !1, qN(!1);+ let t = EN?.duration();+ EN && t && (EN.video.currentTime = t * eP(e));}-function cce() {- ON = !1, JN(!1);+function lce() {+ DN = !1, qN(!1);}-async function nP(e, t) {- let n = await H(HM, {+async function tP(e, t) {+ let n = await H(VM, {id: e,kind: t- }), r = U.getQueryData(zM(e));- if (!r) return NM(e, {+ }), r = U.getQueryData(IM(e));+ if (!r) return AM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33309,7 +33309,7 @@ async function nP(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return U.setQueryData(zM(e), i), NM(e, {+ return U.setQueryData(IM(e), i), AM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33317,7 +33317,7 @@ async function nP(e, t) {o_count: i.o_count}), n;}-var lce = [+var uce = [{kind: "dislike",glyph: "thumbs-down",@@ -33334,31 +33334,31 @@ var lce = [label: "记一次高潮"}];-function rP(e) {+function nP(e) {return St({- queryKey: zM(e ?? 0),- queryFn: ({ signal: t }) => JM(e, t),+ queryKey: IM(e ?? 0),+ queryFn: ({ signal: t }) => qM(e, t),enabled: e != null,staleTime: Infinity}).data;}-function uce({ kind: e, glyph: t, label: n, id: r }) {- let i = rP(r), a = Ct({+function dce({ kind: e, glyph: t, label: n, id: r }) {+ let i = nP(r), a = Ct({mutationFn: async (t) => {- let n = U.getQueryData(zM(t))?.feedback || null;+ let n = U.getQueryData(IM(t))?.feedback || null;return {- result: await nP(t, e),+ result: await tP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- kN().toast(sN(e, t), { undo: async () => {- e === "o" ? await nP(r, "o-undo") : (t.feedback && await nP(r, t.feedback), n && await nP(r, n));+ ON().toast(oN(e, t), { undo: async () => {+ e === "o" ? await tP(r, "o-undo") : (t.feedback && await tP(r, t.feedback), n && await tP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- zN(1);+ RN(1);}, 260);},- onError: (e) => kN().failure("更新反馈", e)+ onError: (e) => ON().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-action": "",@@ -33389,11 +33389,11 @@ function uce({ kind: e, glyph: t, label: n, id: r }) {})]});}-function dce({ shown: e }) {- let t = e?.item ?? null, n = rP(t?.id ?? null), r = n ? Wse(n) : null, i = kN(), a = (e) => {- e.preventDefault(), n && (VN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function fce({ shown: e }) {+ let t = e?.item ?? null, n = nP(t?.id ?? null), r = n ? Gse(n) : null, i = ON(), a = (e) => {+ e.preventDefault(), n && (BN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (VN(), i.openItem(t.id));+ t && (BN(), i.openItem(t.id));}, s = r ? La(r.name, r.ref, va(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-ui": "",@@ -33422,18 +33422,18 @@ function dce({ shown: e }) {})]});}-var fce = { __html: ns("媒体加载中") };-function pce({ view: e }) {+var pce = { __html: ns("媒体加载中") };+function mce({ view: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current;- return dN = {+ return uN = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", XN, { passive: !0 }), e.addEventListener("touchmove", ZN, { passive: !1 }), e.addEventListener("touchend", QN, { passive: !1 }), e.addEventListener("touchcancel", $N, { passive: !0 }), e.addEventListener("wheel", eP, { passive: !0 }), () => {- e.removeEventListener("touchstart", XN), e.removeEventListener("touchmove", ZN), e.removeEventListener("touchend", QN), e.removeEventListener("touchcancel", $N), e.removeEventListener("wheel", eP), dN = null;+ }, e.addEventListener("touchstart", YN, { passive: !0 }), e.addEventListener("touchmove", XN, { passive: !1 }), e.addEventListener("touchend", ZN, { passive: !1 }), e.addEventListener("touchcancel", QN, { passive: !0 }), e.addEventListener("wheel", $N, { passive: !0 }), () => {+ e.removeEventListener("touchstart", YN), e.removeEventListener("touchmove", XN), e.removeEventListener("touchend", ZN), e.removeEventListener("touchcancel", QN), e.removeEventListener("wheel", $N), uN = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33450,10 +33450,10 @@ function pce({ view: e }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: ice+ onClick: ace}), /* @__PURE__ */ (0, O.jsx)("div", {"data-immerse-actions": "",- children: lce.map((e) => /* @__PURE__ */ (0, O.jsx)(uce, {+ children: uce.map((e) => /* @__PURE__ */ (0, O.jsx)(dce, {...e,id: a}, e.kind))@@ -33466,7 +33466,7 @@ function pce({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: fce+ dangerouslySetInnerHTML: pce}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -33474,7 +33474,7 @@ function pce({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: VN,+ onClick: BN,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })@@ -33483,90 +33483,90 @@ function pce({ view: e }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: ace,- onPointerMove: oce,- onPointerUp: sce,- onPointerCancel: cce,+ onPointerDown: oce,+ onPointerMove: sce,+ onPointerUp: cce,+ onPointerCancel: lce,children: /* @__PURE__ */ (0, O.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, O.jsx)(dce, { shown: e.shown })+ /* @__PURE__ */ (0, O.jsx)(fce, { shown: e.shown })]});}-var mce = {- open: nce,- close: VN,- isOpen: () => fN.open,- activeVideo: () => fN.open ? SN?.video ?? null : null+var hce = {+ open: rce,+ close: BN,+ isOpen: () => dN.open,+ activeVideo: () => dN.open ? xN?.video ?? null : null};-function hce(e) {- if (!fN.open) return;+function gce(e) {+ if (!dN.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && zN(1), e.key === "ArrowUp" && zN(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && RN(1), e.key === "ArrowUp" && RN(-1)));}-function gce(e) {- let t = !uN;- return uN = e, t && (document.addEventListener("keydown", hce), addEventListener("resize", () => {- fN.open && IN();+function _ce(e) {+ let t = !lN;+ return lN = e, t && (document.addEventListener("keydown", gce), addEventListener("resize", () => {+ dN.open && FN();}), addEventListener("pagehide", () => {- CN.forEach((e) => Wj(e.session));- })), mce;+ SN.forEach((e) => Hj(e.session));+ })), hce;}-function _ce() {- let e = (0, D.useSyncExternalStore)(Jse, () => fN);- return uN ? /* @__PURE__ */ (0, O.jsx)(pce, { view: e }) : null;+function vce() {+ let e = (0, D.useSyncExternalStore)(Yse, () => dN);+ return lN ? /* @__PURE__ */ (0, O.jsx)(mce, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var iP = {+var rP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, vce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function yce(e) {- let t = iP[e.path] ? "cleanup" : e.section;+}, yce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function bce(e) {+ let t = rP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var bce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function aP(e) {+var xce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function iP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = iP[e.path] ?? "";+ let n = rP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: yce(e),+ pressed: bce(e),crumb: n,- compact: vce.has(e.path) || e.section === "configuration",+ compact: yce.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: bce(e.trash),+ text: xce(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var oP = (e) => e.replace(/[&<>"']/g, (e) => ({+var aP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), sP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${oP(e)}"/></svg>`, cP = "<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 xce(e) {- let t = aP(e);+})[e]), oP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${aP(e)}"/></svg>`, sP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function Sce(e) {+ let t = iP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${oP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${sP(r)}<span>${oP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${sP("chevron-right")}</li><li aria-current="true"><span>${oP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? cP : `<span data-lede-text="">${oP(t.lede.text)}</span>${t.lede.total ? Sce : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${oP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${aP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${oP(r)}<span>${aP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${oP("chevron-right")}</li><li aria-current="true"><span>${aP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? sP : `<span data-lede-text="">${aP(t.lede.text)}</span>${t.lede.total ? Cce : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${aP(t.title)}</h2>` + i;}-var Sce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Cce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function lP({ name: e }) {+function cP({ name: e }) {let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -33575,7 +33575,7 @@ function lP({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function Cce({ name: e }) {+function wce({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33584,88 +33584,88 @@ function Cce({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var wce = (e, t) => {+var Tce = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, Tce = (e, t) => ({+}, Ece = (e, t) => ({classGroupId: e,validator: t-}), uP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), lP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), dP = "-", fP = [], Ece = "arbitrary..", Dce = (e) => {- let t = kce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), uP = "-", dP = [], Dce = "arbitrary..", Oce = (e) => {+ let t = Ace(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Oce(e);- let n = e.split(dP);- return pP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return kce(e);+ let n = e.split(uP);+ return fP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? wce(i, t) : t : i || fP;+ return t ? i ? Tce(i, t) : t : i || dP;}- return n[e] || fP;+ return n[e] || dP;}};-}, pP = (e, t, n) => {+}, fP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = pP(e, t + 1, i);+ let n = fP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(dP) : e.slice(t).join(dP), s = a.length;+ let o = t === 0 ? e.join(uP) : e.slice(t).join(uP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Oce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, kce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? Ece + r : void 0;-})(), kce = (e) => {+ return r ? Dce + r : void 0;+})(), Ace = (e) => {let { theme: t, classGroups: n } = e;- return Ace(n, t);-}, Ace = (e, t) => {- let n = uP();+ return jce(n, t);+}, jce = (e, t) => {+ let n = lP();for (let r in e) {let i = e[r];- mP(i, n, r, t);+ pP(i, n, r, t);}return n;-}, mP = (e, t, n, r) => {+}, pP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- jce(i, t, n, r);+ Mce(i, t, n, r);}-}, jce = (e, t, n, r) => {- typeof e == "string" ? Mce(e, t, n) : typeof e == "function" ? Nce(e, t, n, r) : Pce(e, t, n, r);-}, Mce = (e, t, n) => {- let r = e === "" ? t : hP(t, e);+}, Mce = (e, t, n, r) => {+ typeof e == "string" ? Nce(e, t, n) : typeof e == "function" ? Pce(e, t, n, r) : Fce(e, t, n, r);+}, Nce = (e, t, n) => {+ let r = e === "" ? t : mP(t, e);r.classGroupId = n;-}, Nce = (e, t, n, r) => {- Fce(e) ? mP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Tce(n, e)));}, Pce = (e, t, n, r) => {+ Ice(e) ? pP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ece(n, e)));+}, Fce = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- mP(o, hP(t, a), n, r);+ pP(o, mP(t, a), n, r);}-}, hP = (e, t) => {- let n = e, r = t.split(dP), i = r.length;+}, mP = (e, t) => {+ let n = e, r = t.split(uP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = uP(), n.nextPart.set(t, i)), n = i;+ i || (i = lP(), n.nextPart.set(t, i)), n = i;}return n;-}, Fce = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ice = (e) => {+}, Ice = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Lce = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33683,19 +33683,19 @@ var wce = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, gP = "!", _P = ":", Lce = [], vP = (e, t, n, r, i) => ({+}, hP = "!", gP = ":", Rce = [], _P = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Rce = (e) => {+}), zce = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === _P) {+ if (o === gP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33707,13 +33707,13 @@ var wce = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(gP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(gP) && (c = s.slice(1), l = !0);+ s.endsWith(hP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(hP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return vP(t, l, c, u);+ return _P(t, l, c, u);};if (t) {- let e = t + _P, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : vP(Lce, !1, t, void 0, !0);+ let e = t + gP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : _P(Rce, !1, t, void 0, !0);}if (n) {let e = r;@@ -33723,7 +33723,7 @@ var wce = (e, t) => {});}return r;-}, zce = (e) => {+}, Bce = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33735,18 +33735,18 @@ var wce = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, Bce = (e) => ({- cache: Ice(e.cacheSize),- parseClassName: Rce(e),- sortModifiers: zce(e),- postfixLookupClassGroupIds: Vce(e),- ...Dce(e)-}), Vce = (e) => {+}, Vce = (e) => ({+ cache: Lce(e.cacheSize),+ parseClassName: zce(e),+ sortModifiers: Bce(e),+ postfixLookupClassGroupIds: Hce(e),+ ...Oce(e)+}), Hce = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, Hce = /\s+/, Uce = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Hce), l = "";+}, Uce = /\s+/, Wce = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Uce), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -33766,7 +33766,7 @@ var wce = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + gP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + hP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33777,34 +33777,34 @@ var wce = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, Wce = (...e) => {+}, Gce = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = yP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = vP(n)) && (i && (i += " "), i += r);return i;-}, yP = (e) => {+}, vP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = yP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = vP(e[r])) && (n && (n += " "), n += t);return n;-}, bP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = Bce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, yP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Vce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = Uce(e, n);+ let a = Wce(e, n);return i(e, a), a;};- return a = o, (...e) => a(Wce(...e));-}, Gce = [], xP = (e) => {- let t = (t) => t[e] || Gce;+ return a = o, (...e) => a(Gce(...e));+}, Kce = [], bP = (e) => {+ let t = (t) => t[e] || Kce;return t.isThemeGetter = !0, t.themeKey = e, t;-}, SP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, CP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, qce = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Yce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Xce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Zce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wP = (e) => Kce.test(e), TP = (e) => !!e && !Number.isNaN(Number(e)), EP = (e) => !!e && Number.isInteger(Number(e)), DP = (e) => e.endsWith("%") && TP(e.slice(0, -1)), OP = (e) => qce.test(e), kP = () => !0, Qce = (e) => Jce.test(e) && !Yce.test(e), AP = () => !1, $ce = (e) => Xce.test(e), ele = (e) => Zce.test(e), tle = (e) => !jP(e) && !IP(e), nle = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), rle = (e) => BP(e, WP, AP), jP = (e) => SP.test(e), MP = (e) => BP(e, GP, Qce), NP = (e) => BP(e, dle, TP), ile = (e) => BP(e, qP, kP), ale = (e) => BP(e, KP, AP), PP = (e) => BP(e, HP, AP), ole = (e) => BP(e, UP, ele), FP = (e) => BP(e, JP, $ce), IP = (e) => CP.test(e), LP = (e) => VP(e, GP), sle = (e) => VP(e, KP), RP = (e) => VP(e, HP), cle = (e) => VP(e, WP), lle = (e) => VP(e, UP), zP = (e) => VP(e, JP, !0), ule = (e) => VP(e, qP, !0), BP = (e, t, n) => {- let r = SP.exec(e);+}, xP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, SP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Jce = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Xce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Zce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, CP = (e) => qce.test(e), wP = (e) => !!e && !Number.isNaN(Number(e)), TP = (e) => !!e && Number.isInteger(Number(e)), EP = (e) => e.endsWith("%") && wP(e.slice(0, -1)), DP = (e) => Jce.test(e), OP = () => !0, $ce = (e) => Yce.test(e) && !Xce.test(e), kP = () => !1, ele = (e) => Zce.test(e), tle = (e) => Qce.test(e), nle = (e) => !AP(e) && !FP(e), rle = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), ile = (e) => zP(e, UP, kP), AP = (e) => xP.test(e), jP = (e) => zP(e, WP, $ce), MP = (e) => zP(e, fle, wP), ale = (e) => zP(e, KP, OP), ole = (e) => zP(e, GP, kP), NP = (e) => zP(e, VP, kP), sle = (e) => zP(e, HP, tle), PP = (e) => zP(e, qP, ele), FP = (e) => SP.test(e), IP = (e) => BP(e, WP), cle = (e) => BP(e, GP), LP = (e) => BP(e, VP), lle = (e) => BP(e, UP), ule = (e) => BP(e, HP), RP = (e) => BP(e, qP, !0), dle = (e) => BP(e, KP, !0), zP = (e, t, n) => {+ let r = xP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, VP = (e, t, n = !1) => {- let r = CP.exec(e);+}, BP = (e, t, n = !1) => {+ let r = SP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, HP = (e) => e === "position" || e === "percentage", UP = (e) => e === "image" || e === "url", WP = (e) => e === "length" || e === "size" || e === "bg-size", GP = (e) => e === "length", dle = (e) => e === "number", KP = (e) => e === "family-name", qP = (e) => e === "number" || e === "weight", JP = (e) => e === "shadow", YP = () => {- let e = xP("color"), t = xP("font"), n = xP("text"), r = xP("font-weight"), i = xP("tracking"), a = xP("leading"), o = xP("breakpoint"), s = xP("container"), c = xP("spacing"), l = xP("radius"), u = xP("shadow"), d = xP("inset-shadow"), f = xP("text-shadow"), p = xP("drop-shadow"), m = xP("blur"), h = xP("perspective"), g = xP("aspect"), _ = xP("ease"), v = xP("animate"), y = () => [+}, VP = (e) => e === "position" || e === "percentage", HP = (e) => e === "image" || e === "url", UP = (e) => e === "length" || e === "size" || e === "bg-size", WP = (e) => e === "length", fle = (e) => e === "number", GP = (e) => e === "family-name", KP = (e) => e === "number" || e === "weight", qP = (e) => e === "shadow", JP = () => {+ let e = bP("color"), t = bP("font"), n = bP("text"), r = bP("font-weight"), i = bP("tracking"), a = bP("leading"), o = bP("breakpoint"), s = bP("container"), c = bP("spacing"), l = bP("radius"), u = bP("shadow"), d = bP("inset-shadow"), f = bP("text-shadow"), p = bP("drop-shadow"), m = bP("blur"), h = bP("perspective"), g = bP("aspect"), _ = bP("ease"), v = bP("animate"), y = () => ["auto","avoid","all",@@ -33829,8 +33829,8 @@ var wce = (e, t) => {"left-bottom"], x = () => [...b(),- IP,- jP+ FP,+ AP], S = () => ["auto","hidden",@@ -33842,43 +33842,43 @@ var wce = (e, t) => {"contain","none"], w = () => [- IP,- jP,+ FP,+ AP,c], T = () => [- wP,+ CP,"full","auto",...w()], E = () => [- EP,+ TP,"none","subgrid",- IP,- jP+ FP,+ AP], D = () => ["auto",{ span: ["full",- EP,- IP,- jP+ TP,+ FP,+ AP] },- EP,- IP,- jP+ TP,+ FP,+ AP], O = () => [- EP,+ TP,"auto",- IP,- jP+ FP,+ AP], k = () => ["auto","min","max","fr",- IP,- jP+ FP,+ AP], A = () => ["start","end",@@ -33898,7 +33898,7 @@ var wce = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- wP,+ CP,"auto","full","dvw",@@ -33913,7 +33913,7 @@ var wce = (e, t) => {...w()], P = () => [s,- wP,+ CP,"screen","full","dvw",@@ -33924,7 +33924,7 @@ var wce = (e, t) => {"fit",...w()], ee = () => [- wP,+ CP,"screen","full","lh",@@ -33937,13 +33937,13 @@ var wce = (e, t) => {...w()], F = () => [e,- IP,- jP+ FP,+ AP], te = () => [...b(),- RP,- PP,- { position: [IP, jP] }+ LP,+ NP,+ { position: [FP, AP] }], I = () => ["no-repeat", { repeat: ["","x",@@ -33954,25 +33954,25 @@ var wce = (e, t) => {"auto","cover","contain",- cle,- rle,- { size: [IP, jP] }+ lle,+ ile,+ { size: [FP, AP] }], re = () => [- DP,- LP,- MP+ EP,+ IP,+ jP], ie = () => ["","none","full",l,- IP,- jP+ FP,+ AP], ae = () => ["",- TP,- LP,- MP+ wP,+ IP,+ jP], oe = () => ["solid","dashed",@@ -33996,32 +33996,32 @@ var wce = (e, t) => {"color","luminosity"], ce = () => [- TP,- DP,- RP,- PP+ wP,+ EP,+ LP,+ NP], le = () => ["","none",m,- IP,- jP+ FP,+ AP], ue = () => ["none",- TP,- IP,- jP+ wP,+ FP,+ AP], de = () => ["none",- TP,- IP,- jP+ wP,+ FP,+ AP], fe = () => [- TP,- IP,- jP- ], pe = () => [wP,+ FP,+ AP+ ], pe = () => [+ CP,"full",...w()];@@ -34035,17 +34035,17 @@ var wce = (e, t) => {"bounce"],aspect: ["video"],- blur: [OP],- breakpoint: [OP],- color: [kP],- container: [OP],- "drop-shadow": [OP],+ blur: [DP],+ breakpoint: [DP],+ color: [OP],+ container: [DP],+ "drop-shadow": [DP],ease: ["in","out","in-out"],- font: [tle],+ font: [nle],"font-weight": ["thin","extralight",@@ -34057,7 +34057,7 @@ var wce = (e, t) => {"extrabold","black"],- "inset-shadow": [OP],+ "inset-shadow": [DP],leading: ["none","tight",@@ -34074,11 +34074,11 @@ var wce = (e, t) => {"distant","none"],- radius: [OP],- shadow: [OP],- spacing: ["px", TP],- text: [OP],- "text-shadow": [OP],+ radius: [DP],+ shadow: [DP],+ spacing: ["px", wP],+ text: [DP],+ "text-shadow": [DP],tracking: ["tighter","tight",@@ -34092,9 +34092,9 @@ var wce = (e, t) => {aspect: [{ aspect: ["auto","square",- wP,- jP,- IP,+ CP,+ AP,+ FP,g] }],container: ["container"],@@ -34102,15 +34102,15 @@ var wce = (e, t) => {"","normal","size",- IP,- jP+ FP,+ AP] }],- "container-named": [nle],+ "container-named": [rle],columns: [{ columns: [- TP,+ wP,"auto",- jP,- IP,+ AP,+ FP,s] }],"break-after": [{ "break-after": y() }],@@ -34207,13 +34207,13 @@ var wce = (e, t) => {"collapse"],z: [{ z: [- EP,+ TP,"auto",- IP,- jP+ FP,+ AP] }],basis: [{ basis: [- wP,+ CP,"full","auto",s,@@ -34231,32 +34231,32 @@ var wce = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- TP,wP,+ CP,"auto","initial","none",- jP+ AP] }],grow: [{ grow: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],shrink: [{ shrink: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],order: [{ order: [- EP,+ TP,"first","last","none",- IP,- jP+ FP,+ AP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34363,15 +34363,15 @@ var wce = (e, t) => {"font-size": [{ text: ["base",n,- LP,- MP+ IP,+ jP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- ule,- ile+ dle,+ ale] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34383,15 +34383,15 @@ var wce = (e, t) => {"expanded","extra-expanded","ultra-expanded",- DP,- jP+ EP,+ AP] }],"font-family": [{ font: [- sle,- ale,+ cle,+ ole,t] }],- "font-features": [{ "font-features": [jP] }],+ "font-features": [{ "font-features": [AP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34400,14 +34400,14 @@ var wce = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- IP,- jP+ FP,+ AP] }],"line-clamp": [{ "line-clamp": [- TP,+ wP,"none",- IP,- NP+ FP,+ MP] }],leading: [{ leading: ["none",@@ -34416,16 +34416,16 @@ var wce = (e, t) => {] }],"list-image": [{ "list-image": ["none",- IP,- jP+ FP,+ AP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- IP,- jP+ FP,+ AP] }],"text-alignment": [{ text: ["left",@@ -34445,18 +34445,18 @@ var wce = (e, t) => {],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- TP,+ wP,"from-font","auto",- IP,- MP+ FP,+ jP] }],"text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- TP,+ wP,"auto",- IP,- jP+ FP,+ AP] }],"text-transform": ["uppercase",@@ -34477,9 +34477,9 @@ var wce = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- EP,- IP,- jP+ TP,+ FP,+ AP] }],"vertical-align": [{ align: ["baseline",@@ -34490,8 +34490,8 @@ var wce = (e, t) => {"text-bottom","sub","super",- IP,- jP+ FP,+ AP] }],whitespace: [{ whitespace: ["normal",@@ -34519,8 +34519,8 @@ var wce = (e, t) => {] }],content: [{ content: ["none",- IP,- jP+ FP,+ AP] }],"bg-attachment": [{ bg: ["fixed",@@ -34555,24 +34555,24 @@ var wce = (e, t) => {"l","tl"] },- EP,- IP,- jP+ TP,+ FP,+ AP],radial: ["",- IP,- jP+ FP,+ AP],conic: ["",- EP,- IP,- jP+ TP,+ FP,+ AP]},- lle,- ole+ ule,+ sle] }],"bg-color": [{ bg: F() }],"gradient-from-pos": [{ from: re() }],@@ -34639,15 +34639,15 @@ var wce = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"outline-w": [{ outline: ["",- TP,- LP,- MP+ wP,+ IP,+ jP] }],"outline-color": [{ outline: F() }],shadow: [{ shadow: [@@ -34655,35 +34655,35 @@ var wce = (e, t) => {"inner","none",u,- zP,- FP+ RP,+ PP] }],"shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- zP,- FP+ RP,+ PP] }],"inset-shadow-color": [{ "inset-shadow": F() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: F() }],- "ring-offset-w": [{ "ring-offset": [TP, MP] }],+ "ring-offset-w": [{ "ring-offset": [wP, jP] }],"ring-offset-color": [{ "ring-offset": F() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- zP,- FP+ RP,+ PP] }],"text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"mix-blend": [{ "mix-blend": [...se(),@@ -34705,7 +34705,7 @@ var wce = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [TP] }],+ "mask-image-linear-pos": [{ "mask-linear": [wP] }],"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],"mask-image-linear-from-color": [{ "mask-linear-from": F() }],@@ -34734,7 +34734,7 @@ var wce = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": F() }],"mask-image-y-to-color": [{ "mask-y-to": F() }],- "mask-image-radial": [{ "mask-radial": [IP, jP] }],+ "mask-image-radial": [{ "mask-radial": [FP, AP] }],"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],"mask-image-radial-from-color": [{ "mask-radial-from": F() }],@@ -34745,7 +34745,7 @@ var wce = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [TP] }],+ "mask-image-conic-pos": [{ "mask-conic": [wP] }],"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],"mask-image-conic-from-color": [{ "mask-conic-from": F() }],@@ -34769,111 +34769,111 @@ var wce = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- IP,- jP+ FP,+ AP] }],filter: [{ filter: ["","none",- IP,- jP+ FP,+ AP] }],blur: [{ blur: le() }],brightness: [{ brightness: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],contrast: [{ contrast: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- zP,- FP+ RP,+ PP] }],"drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"hue-rotate": [{ "hue-rotate": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],invert: [{ invert: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],saturate: [{ saturate: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],sepia: [{ sepia: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- IP,- jP+ FP,+ AP] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-contrast": [{ "backdrop-contrast": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-invert": [{ "backdrop-invert": ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-opacity": [{ "backdrop-opacity": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-saturate": [{ "backdrop-saturate": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34889,39 +34889,39 @@ var wce = (e, t) => {"shadow","transform","none",- IP,- jP+ FP,+ AP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- TP,+ wP,"initial",- IP,- jP+ FP,+ AP] }],ease: [{ ease: ["linear","initial",_,- IP,- jP+ FP,+ AP] }],delay: [{ delay: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],animate: [{ animate: ["none",v,- IP,- jP+ FP,+ AP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- IP,- jP+ FP,+ AP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -34937,8 +34937,8 @@ var wce = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- IP,- jP,+ FP,+ AP,"","none","gpu",@@ -34952,9 +34952,9 @@ var wce = (e, t) => {"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- EP,- IP,- jP+ TP,+ FP,+ AP] }],accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35004,8 +35004,8 @@ var wce = (e, t) => {"nwse-resize","zoom-in","zoom-out",- IP,- jP+ FP,+ AP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35091,15 +35091,15 @@ var wce = (e, t) => {"scroll","contents","transform",- IP,- jP+ FP,+ AP] }],fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- TP,- LP,- MP,- NP+ wP,+ IP,+ jP,+ MP] }],stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35357,16 +35357,16 @@ var wce = (e, t) => {"selection"]};-}, fle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (XP(e, "cacheSize", t), XP(e, "prefix", n), XP(e, "experimentalParseClassName", r), ZP(e.theme, a.theme), ZP(e.classGroups, a.classGroups), ZP(e.conflictingClassGroups, a.conflictingClassGroups), ZP(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), XP(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), XP(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), QP(e.theme, i.theme), QP(e.classGroups, i.classGroups), QP(e.conflictingClassGroups, i.conflictingClassGroups), QP(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), $P(e, i, "postfixLookupClassGroups"), $P(e, i, "orderSensitiveModifiers"), e), XP = (e, t, n) => {+}, ple = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (YP(e, "cacheSize", t), YP(e, "prefix", n), YP(e, "experimentalParseClassName", r), XP(e.theme, a.theme), XP(e.classGroups, a.classGroups), XP(e.conflictingClassGroups, a.conflictingClassGroups), XP(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), YP(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), YP(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), ZP(e.theme, i.theme), ZP(e.classGroups, i.classGroups), ZP(e.conflictingClassGroups, i.conflictingClassGroups), ZP(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), QP(e, i, "postfixLookupClassGroups"), QP(e, i, "orderSensitiveModifiers"), e), YP = (e, t, n) => {n !== void 0 && (e[t] = n);+}, XP = (e, t) => {+ if (t) for (let n in t) YP(e, n, t[n]);}, ZP = (e, t) => {- if (t) for (let n in t) XP(e, n, t[n]);-}, QP = (e, t) => {- if (t) for (let n in t) $P(e, t, n);-}, $P = (e, t, n) => {+ if (t) for (let n in t) QP(e, t, n);+}, QP = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, ple = (e, ...t) => typeof e == "function" ? bP(YP, e, ...t) : bP(() => fle(YP(), e), ...t), mle = [+}, mle = (e, ...t) => typeof e == "function" ? yP(JP, e, ...t) : yP(() => ple(JP(), e), ...t), hle = ["large-title","display-1","display-2",@@ -35380,18 +35380,18 @@ var wce = (e, t) => {"body-2","caption-1","caption-2"-], hle = [+], gle = ["regular","medium","semibold","bold"-], eF = ple({ extend: { classGroups: { "font-size": [{ text: mle.flatMap((e) => hle.map((t) => `${e}-${t}`)) }] } } });-function tF(e) {+], $P = mle({ extend: { classGroups: { "font-size": [{ text: hle.flatMap((e) => gle.map((t) => `${e}-${t}`)) }] } } });+function eF(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var gle = typeof window < "u" ? D.useLayoutEffect : D.useEffect, nF = tF({+var _le = typeof window < "u" ? D.useLayoutEffect : D.useEffect, tF = eF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35413,9 +35413,9 @@ var gle = typeof window < "u" ? D.useLayoutEffect : D.useEffect, nF = tF({gray: "text-text-primary"}});-function rF({ children: e, className: t, ref: n, container: r, ...i }) {+function nF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, D.useRef)(null), [o, s] = (0, D.useState)(null);- gle(() => {+ _le(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35451,7 +35451,7 @@ function rF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: eF("pointer-events-none absolute left-0 top-0", nF.radius[o.variant], nF.thumb[o.variant]),+ className: $P("pointer-events-none absolute left-0 top-0", tF.radius[o.variant], tF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35462,44 +35462,44 @@ function rF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {ref: c,role: "group",- className: eF("relative inline-flex items-center gap-1", t),+ className: $P("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Tt.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var iF = null, aF = null, oF = /* @__PURE__ */ new Set();-function _le(e) {- return oF.add(e), () => {- oF.delete(e);+var rF = null, iF = null, aF = /* @__PURE__ */ new Set();+function vle(e) {+ return aF.add(e), () => {+ aF.delete(e);};}-function vle() {- for (let e of [...oF]) e();+function yle() {+ for (let e of [...aF]) e();}-var yle = { render(e) {- aF = e, (0, Tt.flushSync)(vle);+var ble = { render(e) {+ iF = e, (0, Tt.flushSync)(yle);} };-function ble(e) {- return iF = e, aF = null, yle;+function xle(e) {+ return rF = e, iF = null, ble;}-function xle() {- let e = (0, D.useSyncExternalStore)(_le, () => aF);- return iF && e ? /* @__PURE__ */ (0, O.jsx)(Sle, {- host: iF,+function Sle() {+ let e = (0, D.useSyncExternalStore)(vle, () => iF);+ return rF && e ? /* @__PURE__ */ (0, O.jsx)(Cle, {+ host: rF,props: e}) : null;}-function Sle({ host: e, props: t }) {- let n = aP(t);+function Cle({ host: e, props: t }) {+ let n = iP(t);return n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Cle, {+ /* @__PURE__ */ (0, O.jsx)(wle, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, O.jsx)(wle, {+ n.crumb ? /* @__PURE__ */ (0, O.jsx)(Tle, {host: e,label: n.crumb}) : null,@@ -35508,13 +35508,13 @@ function Sle({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Tle, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Ele, {host: e,lede: n.lede})] }) : null;}-function Cle({ host: e, pressed: t, menu: n }) {+function wle({ host: e, pressed: t, menu: n }) {let r = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35524,7 +35524,7 @@ function Cle({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, O.jsx)(rF, {+ children: /* @__PURE__ */ (0, O.jsx)(nF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35538,13 +35538,13 @@ function Cle({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]}, n);})})});}-function wle({ host: e, label: t }) {+function Tle({ host: e, label: t }) {return /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35554,20 +35554,20 @@ function wle({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {+ }), /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, O.jsx)("span", { children: t })})] })});}-function Tle({ host: e, lede: t }) {+function Ele({ host: e, lede: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: cP }- }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Ele, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {+ dangerouslySetInnerHTML: { __html: sP }+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Dle, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35577,7 +35577,7 @@ function Tle({ host: e, lede: t }) {}) : null] })});}-function Ele({ text: e }) {+function Dle({ text: e }) {let t = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {us(t.current, e);@@ -35588,20 +35588,20 @@ function Ele({ text: e }) {}//#endregion//#region src/core/jav-title.ts-var Dle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Ole = (e, t = e?.name) => {+var Ole = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, kle = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Dle, "") : n;-}, kle = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Ale = (e) => {+ return e?.is_jav ? n.replace(Ole, "") : n;+}, Ale = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), jle = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(kle) || t[0] || "";+ return t.find(Ale) || t[0] || "";};-function sF(e, t = e?.name) {- let n = Ole(e, t), r = String(e?.code || "").trim().toUpperCase();+function oF(e, t = e?.name) {+ let n = kle(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Ale(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = jle(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => ["中字","无码","无码破解"@@ -35612,27 +35612,27 @@ function sF(e, t = e?.name) {badges: f};}-var cF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = sF(e, t);+var sF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = oF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function lF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = sF(e, t);+function cF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = oF(e, t);if (!n) return B(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;}//#endregion//#region src/react/activity/tasks.ts-var uF = "/api/tasks", dF = ["tasks"], jle = (e, t) => V(`${uF}?${new URLSearchParams({+var lF = "/api/tasks", uF = ["tasks"], Mle = (e, t) => V(`${lF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Mle(...e) {+function Nle(...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) => {@@ -35640,26 +35640,26 @@ function Mle(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Nle = 2e3, Ple = 1e4, fF = (e) => e?.running?.length ? Nle : Ple, pF = (e) => V(uF, e);-async function Fle(e) {+var Ple = 2e3, Fle = 1e4, dF = (e) => e?.running?.length ? Ple : Fle, fF = (e) => V(lF, e);+async function Ile(e) {await U.fetchQuery({- queryKey: dF,- queryFn: () => pF(e)+ queryKey: uF,+ queryFn: () => fF(e)});}-var Ile = {+var Lle = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Lle = {+}, Rle = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Rle = (e) => Lle[e] || e, mF = {+}, zle = (e) => Rle[e] || e, pF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35736,7 +35736,7 @@ var Ile = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, zle = [+}, Ble = ["gone_count","unclear_count","source_failed",@@ -35758,14 +35758,14 @@ var Ile = {"paused_count","miss","incomplete"-], Ble = ["face_match_unavailable"], hF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Ble.some((t) => e.result_summary?.[t] === !0) || zle.some((t) => Number(e.result_summary?.[t]) > 0);-function Vle(e) {+], Vle = ["face_match_unavailable"], mF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Vle.some((t) => e.result_summary?.[t] === !0) || Ble.some((t) => Number(e.result_summary?.[t]) > 0);+function Hle(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var gF = /* @__PURE__ */ new Set(["library-processing"]);-function Hle(e, t = !0) {- if (!hF(e) && e.status !== "failed" || gF.has(e.task_key) && !t) return null;+var hF = /* @__PURE__ */ new Set(["library-processing"]);+function Ule(e, t = !0) {+ if (!mF(e) && e.status !== "failed" || hF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35783,12 +35783,12 @@ function Hle(e, t = !0) {label: n[1]} : null;}-function Ule(e) {+function Wle(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) gF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) hF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);return new Set(t.values());}-function Wle(e) {+function Gle(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35797,7 +35797,7 @@ function Wle(e) {}return t;}-function Gle(e, t) {+function Kle(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35819,12 +35819,12 @@ function Gle(e, t) {}return n;}-var Kle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !hF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), _F = (e) => e.status === "pending" || e.status === "running";-function qle(e) {+var qle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !mF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), gF = (e) => e.status === "pending" || e.status === "running";+function Jle(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, xF(e.error) || AF(o) || (_F(e) && i > 0 ? `${yF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, yF(e.error) || OF(o) || (gF(e) && i > 0 ? `${vF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function vF(e) {+function _F(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35833,19 +35833,19 @@ function vF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function yF(e, t) {+function vF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function bF(e) {+function Yle(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function xF(e) {- let t = bF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function yF(e) {+ let t = Yle(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? Ut(n[1]) : t;}-var SF = {+var bF = {没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -35859,11 +35859,11 @@ var SF = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, CF = {+}, xF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, wF = {+}, SF = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35874,8 +35874,8 @@ var SF = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, TF = (e) => SF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${CF[t.toLowerCase()]} 资料页` : `已保存来自 ${CF[t.toLowerCase()]} 的资料`);-function EF(e) {+}, CF = (e) => bF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${xF[t.toLowerCase()]} 资料页` : `已保存来自 ${xF[t.toLowerCase()]} 的资料`);+function wF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35885,7 +35885,7 @@ function EF(e) {minute: "2-digit"});}-var DF = /* @__PURE__ */ new Set([+var TF = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35894,14 +35894,14 @@ var DF = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function OF(e) {- let t = kF(e);+function EF(e) {+ let t = DF(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function kF(e) {- return Object.entries(e || {}).filter(([e, t]) => !DF.has(e) && (e in mF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? xF(String(t)) : e === "outcome" || e === "result" ? TF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${mF[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${wF[String(t)] || "批量操作"}` : `${mF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function DF(e) {+ return Object.entries(e || {}).filter(([e, t]) => !TF.has(e) && (e in pF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? yF(String(t)) : e === "outcome" || e === "result" ? CF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${pF[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${SF[String(t)] || "批量操作"}` : `${pF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var AF = (e) => OF(e).join(" · "), jF = tF({+var OF = (e) => EF(e).join(" · "), kF = eF({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -35922,21 +35922,21 @@ var AF = (e) => OF(e).join(" · "), jF = tF({small: "size-4 shrink-0"}});-function MF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function AF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, O.jsx)("button", {ref: i,type: r,- className: eF(jF.base, jF.size[t], n),+ className: $P(kF.base, kF.size[t], n),...a,children: /* @__PURE__ */ (0, O.jsx)(e, {- className: jF.icon[t],+ className: kF.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/glass-drift.tsx-function NF() {+function jF() {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35951,7 +35951,7 @@ function NF() {}//#endregion//#region src/react/components/use-stuck.ts-function PF(e) {+function MF(e) {(0, D.useEffect)(() => {let t = e.current;if (!t) return;@@ -35969,7 +35969,7 @@ function PF(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function FF(e, t = !0) {+function NF(e, t = !0) {let [n, r] = (0, D.useState)(null), i = (0, D.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -35984,17 +35984,17 @@ function FF(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var IF = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var PF = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: ns("正在处理") }});-function LF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(MF, {+function FF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(AF, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? IF : t,+ icon: n && r === "spinner" ? PF : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -36004,9 +36004,9 @@ function LF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function RF({ title: e, children: t }) {+function IF({ title: e, children: t }) {let n = (0, D.useRef)(null);- return PF(n), /* @__PURE__ */ (0, O.jsxs)("div", {+ return MF(n), /* @__PURE__ */ (0, O.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -36019,20 +36019,20 @@ function RF({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, O.jsx)(NF, {})+ /* @__PURE__ */ (0, O.jsx)(jF, {})]});}-function zF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, D.useRef)(null), f = FF(), p = FF(u);- return PF(d), /* @__PURE__ */ (0, O.jsxs)("div", {+function LF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, D.useRef)(null), f = NF(), p = NF(u);+ return MF(d), /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: eF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: $P("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, O.jsx)("div", {@@ -36040,37 +36040,37 @@ function zF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: eF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: $P("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: eF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: $P("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, O.jsx)(NF, {})+ /* @__PURE__ */ (0, O.jsx)(jF, {})]});}-var BF = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";-function VF({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var RF = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function zF({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: eF(BF, r),+ className: $P(RF, r),onClick: n,children: e});}-var HF = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";-function UF({ children: e, onPress: t, busy: n = !1 }) {+var BF = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function VF({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glass-pill": "",- className: HF,+ className: BF,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -36081,13 +36081,13 @@ function UF({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var WF = (e, t) => [+var HF = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function GF(e, t, n) {+function UF(e, t, n) {if (!t.contains(e)) return null;let r = 0, i = 0;for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;@@ -36111,17 +36111,17 @@ function GF(e, t, n) {h: e.offsetHeight};}-function KF(e, t, n, r, { axis: i = "x" } = {}) {+function WF(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, D.useRef)(null), o = (0, D.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? GF(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? UF(u, l, i) : null;if (!d || !d.w || !d.h) {ic(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && WF(f, d)) && nc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && HF(f, d)) && nc(s, o ? f : null, d, i);}, [e,t,@@ -36142,8 +36142,8 @@ function KF(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? GF(o, r, i) : null, l = a.current;- (!s || !l || !WF(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? UF(o, r, i) : null, l = a.current;+ (!s || !l || !HF(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -36175,7 +36175,7 @@ function KF(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var qF = tF({+var GF = eF({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -36234,40 +36234,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, O.jsxs)("button", {ref: c,type: s,- className: eF(qF.base, qF.size[t], qF.variant[e], n && qF.iconOnlySize[t], o),+ className: $P(GF.base, GF.size[t], GF.variant[e], n && GF.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: qF.label[t],+ className: GF.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null]});}-function JF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function KF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, O.jsxs)("a", {ref: s,- className: eF(qF.base, qF.size[t], qF.variant[e], n && qF.iconOnlySize[t], o),+ className: $P(GF.base, GF.size[t], GF.variant[e], n && GF.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: qF.label[t],+ className: GF.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null]@@ -36275,12 +36275,12 @@ function JF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var YF = Symbol("default");-function XF({ values: e, children: t }) {+var qF = Symbol("default");+function JF({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);return t;}-function ZF(e) {+function YF(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, D.useMemo)(() => {let e, l, u;@@ -36314,11 +36314,11 @@ function ZF(e) {c]);}-function QF(e, t) {+function XF(e, t) {let n = (0, D.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || YF;+ let e = t || qF;if (!n.slots[e]) {let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`);@@ -36327,8 +36327,8 @@ function QF(e, t) {}return n;}-function $F(e, t, n) {- let { ref: r, ...i } = QF(n, e.slot) || {}, a = Nx((0, D.useMemo)(() => wx(t, r), [t, r])), o = q(i, e);+function ZF(e, t, n) {+ let { ref: r, ...i } = XF(n, e.slot) || {}, a = kx((0, D.useMemo)(() => bx(t, r), [t, r])), o = q(i, e);return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {let n = typeof i.style == "function" ? i.style(t) : i.style, r = {...t.defaultStyle,@@ -36346,42 +36346,42 @@ function $F(e, t, n) {...e.style}), [o, a];}-function eI(e = !0) {+function QF(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return gb(() => {+ return fb(() => {r.current || n(!1);}, []), [i, t];}-function tI(e) {+function $F(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function nI(e, t, n) {- let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => wx(n, a), [n, a]);- gb(() => {}, [e, r]);+function eI(e, t, n) {+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => bx(n, a), [n, a]);+ fb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);}-var rI = {}, iI = new Proxy({}, { get(e, t) {+var tI = {}, nI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = rI[t];- return n || (n = /*#__PURE__*/ (0, D.forwardRef)(nI.bind(null, t)), rI[t] = n), n;-} }), aI = /*#__PURE__*/ (0, D.createContext)(null), oI = /*#__PURE__*/ (0, D.createContext)(null), sI = /*#__PURE__*/ (0, D.createContext)(null), cI = {+ let n = tI[t];+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(eI.bind(null, t)), tI[t] = n), n;+} }), rI = /*#__PURE__*/ (0, D.createContext)(null), iI = /*#__PURE__*/ (0, D.createContext)(null), aI = /*#__PURE__*/ (0, D.createContext)(null), oI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return lI(e, null, t);+ return sI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return lI(e, t, n);+ return sI(e, t, n);}};-function lI(e, t, n) {- return qy({+function sI(e, t, n) {+ return Wy({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36391,11 +36391,11 @@ function lI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, uI(e, t, n));+ }), r, cI(e, t, n));}});}-function uI(e, t, n) {+function cI(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -36414,25 +36414,25 @@ function uI(e, t, n) {}return s;}-var dI = /*#__PURE__*/ (0, D.createContext)(cI);-function fI(e) {+var lI = /*#__PURE__*/ (0, D.createContext)(oI);+function uI(e) {return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, pI);- let { elementType: n = "label", ...r } = e, i = iI[n];+var dI = /*#__PURE__*/ (0, D.createContext)({}), fI = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, dI);+ let { elementType: n = "label", ...r } = e, i = nI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), hI = /*#__PURE__*/ (0, D.createContext)(null), gI = /*#__PURE__*/ (0, D.createContext)({}), _I = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, gI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = lie(e, t);- i = yI(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = OT(e), { hoverProps: l, isHovered: u } = MT({+}), pI = /*#__PURE__*/ (0, D.createContext)(null), mI = /*#__PURE__*/ (0, D.createContext)({}), hI = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, mI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = pie(e, t);+ i = _I(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = wT(e), { hoverProps: l, isHovered: u } = OT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36442,24 +36442,24 @@ var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = ZF({+ }, f = YF({...e,values: d,defaultClassName: "react-aria-Button"- }), p = Sx(i.id), m = Sx(), h = i["aria-labelledby"];+ }), p = vx(i.id), m = vx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, D.useRef)(r);(0, D.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && _C(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && fC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = ES(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ D.createElement(iI.button, {+ let _ = SS(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ D.createElement(nI.button, {...q(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36473,62 +36473,62 @@ var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ D.createElement(hI.Provider, { value: { id: m } }, f.children));-}), vI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function yI(e, t) {+ }, /*#__PURE__*/ D.createElement(pI.Provider, { value: { id: m } }, f.children));+}), gI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function _I(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !vI.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !gI.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var bI = /*#__PURE__*/ (0, D.createContext)({}), xI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, bI);- let { children: n, level: r = 3, className: i, ...a } = e, o = iI[`h${r}`];+var vI = /*#__PURE__*/ (0, D.createContext)({}), yI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, vI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = nI[`h${r}`];return /*#__PURE__*/ D.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), SI = /*#__PURE__*/ (0, D.createContext)({}), CI = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, SI);- let { elementType: n = "span", ...r } = e, i = iI[n];+}), bI = /*#__PURE__*/ (0, D.createContext)({}), xI = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, bI);+ let { elementType: n = "span", ...r } = e, i = nI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = /*#__PURE__*/ (0, D.createContext)(null), DI = /*#__PURE__*/ (0, D.createContext)(null), OI = /*#__PURE__*/ (0, D.createContext)(null), kI = /*#__PURE__*/ (0, D.createContext)(null);-function AI(e, t) {- let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(OI), a = Nx((0, D.useMemo)(() => wx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...tI(e),+}), SI = /*#__PURE__*/ (0, D.createContext)(null), CI = /*#__PURE__*/ (0, D.createContext)(null), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = /*#__PURE__*/ (0, D.createContext)(null), DI = /*#__PURE__*/ (0, D.createContext)(null);+function OI(e, t) {+ let { validationBehavior: n } = XF(CI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(EI), a = kx((0, D.useMemo)(() => bx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...$F(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? gie(o, i, a) : JC(o, tw(e), a), a];+ return [i ? ZC(o, i, a) : UC(o, XC(e), a), a];}-var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var kI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = $F(r, t, EI);- let [i, a] = AI(e, n);- return /*#__PURE__*/ D.createElement(kI.Provider, { value: {+ [e, t] = ZF(r, t, wI);+ let [i, a] = OI(e, n);+ return /*#__PURE__*/ D.createElement(DI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ D.createElement(MI, {+ } }, /*#__PURE__*/ D.createElement(AI, {...e,ref: t}));-}), MI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(kI), { isFocused: p, isFocusVisible: m, focusProps: h } = OT(), g = a || o, { hoverProps: _, isHovered: v } = MT({+}), AI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(DI), { isFocused: p, isFocusVisible: m, focusProps: h } = wT(), g = a || o, { hoverProps: _, isHovered: v } = OT({...e,isDisabled: g- }), y = ZF({+ }), y = YF({...e,defaultClassName: u,values: {@@ -36543,8 +36543,8 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = ES(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ }), b = SS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(nI.label, {...q(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -36558,20 +36558,20 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(ow, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...q(r, h),ref: l})), y.children);-}), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, NI);+}), jI = /*#__PURE__*/ (0, D.createContext)({}), MI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, jI);let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";- let { hoverProps: l, isHovered: u } = MT({+ let { hoverProps: l, isHovered: u } = OT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = OT({ within: !0 }), m = ZF({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = wT({ within: !0 }), m = YF({...e,values: {isHovered: u,@@ -36582,7 +36582,7 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...q(c, p, l),...m,ref: t,@@ -36595,18 +36595,18 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), FI = /*#__PURE__*/ (0, D.createContext)({}), II = (e) => {+}), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, LI = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, FI);- let { hoverProps: n, isHovered: r } = MT({+}, FI = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, NI);+ let { hoverProps: n, isHovered: r } = OT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = OT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = wT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ZF({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = YF({...e,values: {isHovered: r,@@ -36617,8 +36617,8 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ D.createElement(iI.input, {- ...q(II(e), o, n),+ return /*#__PURE__*/ D.createElement(nI.input, {+ ...q(PI(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36627,24 +36627,24 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), RI = 0, zI = 100, BI = 1;-function VI(e) {- let { isDisabled: t = !1, minValue: n = RI, maxValue: r = zI, numberFormatter: i, step: a = BI, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {+}), II = 0, LI = 100, RI = 1;+function zI(e) {+ let { isDisabled: t = !1, minValue: n = II, maxValue: r = LI, numberFormatter: i, step: a = RI, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {let e = (r - n) / 10;- return e = iw(e, 0, e + a, a), Math.max(e, a);+ return e = ew(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, D.useCallback)((e) => e?.map((t, i) => iw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, D.useCallback)((e) => e?.map((t, i) => ew(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, D.useMemo)(() => c(UI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(UI(e.defaultValue) ?? [n]), [+ ]), l = (0, D.useMemo)(() => c(VI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(VI(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = WI(e.value, e.defaultValue, e.onChange), f = WI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = ew(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {+ ]), d = HI(e.value, e.defaultValue, e.onChange), f = HI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = YC(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36667,15 +36667,15 @@ function VI(e) {function j(e, n) {if (t || !k(e)) return;let r = E(e), i = O(e);- n = iw(n, r, i, a);- let o = HI(x.current, e, n);+ n = ew(n, r, i, a);+ let o = BI(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = HI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = BI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let N = (0, D.useRef)(null);function P(e = p) {@@ -36696,15 +36696,15 @@ function VI(e) {return Math.round((e - n) / a) * a + n;}function te(e) {- return nw(F(e * (r - n) + n), n, r);+ return QC(F(e * (r - n) + n), n, r);}function I(e, t = 1) {let i = Math.max(t, a);- j(e, iw(p[e] + i, n, r, a));+ j(e, ew(p[e] + i, n, r, a));}function ne(e, t = 1) {let i = Math.max(t, a);- j(e, iw(p[e] - i, n, r, a));+ j(e, ew(p[e] - i, n, r, a));}return {values: p,@@ -36733,32 +36733,32 @@ function VI(e) {isDisabled: t};}-function HI(e, t, n) {+function BI(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function UI(e) {+function VI(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function WI(e, t, n) {+function HI(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.createContext)(null), KI = /*#__PURE__*/ (0, D.createContext)(null), Yle = /*#__PURE__*/ (0, D.createContext)(null), Xle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, Jle);- let n = (0, D.useRef)(null), r = xie(e.formatOptions), i = VI({+var UI = /*#__PURE__*/ (0, D.createContext)(null), WI = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.createContext)(null), Xle = /*#__PURE__*/ (0, D.createContext)(null), Zle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, UI);+ let n = (0, D.useRef)(null), r = Tie(e.formatOptions), i = zI({...e,numberFormatter: r- }), [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Sie({+ }), [a, o] = QF(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Eie({...e,label: o- }, i, n), d = ZF({+ }, i, n), d = YF({...e,values: {orientation: i.orientation,@@ -36766,32 +36766,32 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.crestate: i},defaultClassName: "react-aria-Slider"- }), f = ES(e, { global: !0 });- return delete f.id, /*#__PURE__*/ D.createElement(XF, { values: [- [GI, i],- [KI, {+ }), f = SS(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ D.createElement(JF, { values: [+ [WI, i],+ [GI, {...c,ref: n}],- [Yle, u],- [pI, {+ [Xle, u],+ [dI, {...l,ref: a}]- ] }, /*#__PURE__*/ D.createElement(iI.div, {+ ] }, /*#__PURE__*/ D.createElement(nI.div, {...q(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Zle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, KI);- let n = (0, D.useContext)(GI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = MT({+}), Qle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, GI);+ let n = (0, D.useContext)(WI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = OT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = ZF({+ }), l = YF({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36801,7 +36801,7 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.crestate: n}});- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...q(o, s),...l,ref: t,@@ -36809,14 +36809,14 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Qle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, D.useContext)(GI), { ref: i } = QF(KI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = eI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Cie({+}), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, D.useContext)(WI), { ref: i } = XF(GI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = QF(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Die({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = OT(), { hoverProps: v, isHovered: y } = MT(e), b = ZF({+ }, r), { focusProps: g, isFocusVisible: _ } = wT(), { hoverProps: v, isHovered: y } = OT(e), b = YF({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36827,8 +36827,8 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.creisFocusVisible: _,isDisabled: h}- }), x = ES(e, { global: !0 });- return delete x.id, /*#__PURE__*/ D.createElement(iI.div, {+ }), x = SS(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ D.createElement(nI.div, {...q(x, u, v),...b,ref: t,@@ -36841,15 +36841,15 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ D.createElement(uw, null, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(ow, null, /*#__PURE__*/ D.createElement("input", {ref: s,...q(d, g)- })), /*#__PURE__*/ D.createElement(XF, { values: [[pI, {+ })), /*#__PURE__*/ D.createElement(JF, { values: [[dI, {...f,ref: c}]] }, b.children));-}), qI = {};-qI = {+}), KI = {};+KI = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -36857,8 +36857,8 @@ qI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var JI = {};-JI = {+var qI = {};+qI = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -36866,8 +36866,8 @@ JI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var YI = {};-YI = {+var JI = {};+JI = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -36875,8 +36875,8 @@ YI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var XI = {};-XI = {+var YI = {};+YI = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -36884,8 +36884,8 @@ XI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var ZI = {};-ZI = {+var XI = {};+XI = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -36893,8 +36893,8 @@ ZI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var QI = {};-QI = {+var ZI = {};+ZI = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -36902,8 +36902,8 @@ QI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var $I = {};-$I = {+var QI = {};+QI = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -36911,8 +36911,8 @@ $I = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var eL = {};-eL = {+var $I = {};+$I = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -36920,8 +36920,8 @@ eL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var tL = {};-tL = {+var eL = {};+eL = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -36929,8 +36929,8 @@ tL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var nL = {};-nL = {+var tL = {};+tL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -36938,8 +36938,8 @@ nL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var rL = {};-rL = {+var nL = {};+nL = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -36947,8 +36947,8 @@ rL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var iL = {};-iL = {+var rL = {};+rL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -36956,8 +36956,8 @@ iL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var aL = {};-aL = {+var iL = {};+iL = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -36965,8 +36965,8 @@ aL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var oL = {};-oL = {+var aL = {};+aL = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -36974,8 +36974,8 @@ oL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var sL = {};-sL = {+var oL = {};+oL = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -36983,8 +36983,8 @@ sL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var cL = {};-cL = {+var sL = {};+sL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -36992,8 +36992,8 @@ cL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var lL = {};-lL = {+var cL = {};+cL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -37001,8 +37001,8 @@ lL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var uL = {};-uL = {+var lL = {};+lL = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -37010,8 +37010,8 @@ uL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var dL = {};-dL = {+var uL = {};+uL = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -37019,8 +37019,8 @@ dL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var fL = {};-fL = {+var dL = {};+dL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -37028,8 +37028,8 @@ fL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var pL = {};-pL = {+var fL = {};+fL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -37037,8 +37037,8 @@ pL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var mL = {};-mL = {+var pL = {};+pL = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -37046,8 +37046,8 @@ mL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var hL = {};-hL = {+var mL = {};+mL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37055,8 +37055,8 @@ hL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var gL = {};-gL = {+var hL = {};+hL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37064,8 +37064,8 @@ gL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var _L = {};-_L = {+var gL = {};+gL = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -37073,8 +37073,8 @@ _L = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var vL = {};-vL = {+var _L = {};+_L = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -37082,8 +37082,8 @@ vL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var yL = {};-yL = {+var vL = {};+vL = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -37091,8 +37091,8 @@ yL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var bL = {};-bL = {+var yL = {};+yL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -37100,8 +37100,8 @@ bL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var xL = {};-xL = {+var bL = {};+bL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -37109,8 +37109,8 @@ xL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var SL = {};-SL = {+var xL = {};+xL = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -37118,8 +37118,8 @@ SL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var CL = {};-CL = {+var SL = {};+SL = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -37127,8 +37127,8 @@ CL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var wL = {};-wL = {+var CL = {};+CL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -37136,8 +37136,8 @@ wL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var TL = {};-TL = {+var wL = {};+wL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -37145,8 +37145,8 @@ TL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var EL = {};-EL = {+var TL = {};+TL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -37154,52 +37154,52 @@ EL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var DL = {};-DL = {- "ar-AE": qI,- "bg-BG": JI,- "cs-CZ": YI,- "da-DK": XI,- "de-DE": ZI,- "el-GR": QI,- "en-US": $I,- "es-ES": eL,- "et-EE": tL,- "fi-FI": nL,- "fr-FR": rL,- "he-IL": iL,- "hr-HR": aL,- "hu-HU": oL,- "it-IT": sL,- "ja-JP": cL,- "ko-KR": lL,- "lt-LT": uL,- "lv-LV": dL,- "nb-NO": fL,- "nl-NL": pL,- "pl-PL": mL,- "pt-BR": hL,- "pt-PT": gL,- "ro-RO": _L,- "ru-RU": vL,- "sk-SK": yL,- "sl-SI": bL,- "sr-SP": xL,- "sv-SE": SL,- "tr-TR": CL,- "uk-UA": wL,- "zh-CN": TL,- "zh-TW": EL+var EL = {};+EL = {+ "ar-AE": KI,+ "bg-BG": qI,+ "cs-CZ": JI,+ "da-DK": YI,+ "de-DE": XI,+ "el-GR": ZI,+ "en-US": QI,+ "es-ES": $I,+ "et-EE": eL,+ "fi-FI": tL,+ "fr-FR": nL,+ "he-IL": rL,+ "hr-HR": iL,+ "hu-HU": aL,+ "it-IT": oL,+ "ja-JP": sL,+ "ko-KR": cL,+ "lt-LT": lL,+ "lv-LV": uL,+ "nb-NO": dL,+ "nl-NL": fL,+ "pl-PL": pL,+ "pt-BR": mL,+ "pt-PT": hL,+ "ro-RO": gL,+ "ru-RU": _L,+ "sk-SK": vL,+ "sl-SI": yL,+ "sr-SP": bL,+ "sv-SE": xL,+ "tr-TR": SL,+ "uk-UA": CL,+ "zh-CN": wL,+ "zh-TW": TL};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var OL = /*#__PURE__*/ (0, D.createContext)({}), kL = /*#__PURE__*/ (0, D.createContext)(null), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { render: n } = (0, D.useContext)(kL);+var DL = /*#__PURE__*/ (0, D.createContext)({}), OL = /*#__PURE__*/ (0, D.createContext)(null), eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { render: n } = (0, D.useContext)(OL);return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));});-function AL(e, t) {+function kL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement($le, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(eue, { target: e });}, [t?.target,r,@@ -37207,7 +37207,7 @@ function AL(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function jL(e, t, n) {+function AL(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -37229,14 +37229,14 @@ function jL(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var ML = /*#__PURE__*/ (0, D.createContext)({}), eue = /*#__PURE__*/ (0, D.createContext)(null);-function NL(e) {+var jL = /*#__PURE__*/ (0, D.createContext)({}), tue = /*#__PURE__*/ (0, D.createContext)(null);+function ML(e) {let t = (0, D.useRef)({});- return /*#__PURE__*/ D.createElement(eue.Provider, { value: t }, e.children);+ return /*#__PURE__*/ D.createElement(tue.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE__*/ (0, D.createContext)({}), tue = /*#__PURE__*/ Kx(class extends zy {+var NL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), PL = /*#__PURE__*/ (0, D.createContext)({}), nue = /*#__PURE__*/ Hx(class extends Iy {static {this.type = "separator";}@@ -37249,14 +37249,14 @@ var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = $F(e, t, FL);+ [e, t] = ZF(e, t, PL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = iI[c], { separatorProps: u } = Aae({+ let l = nI[c], { separatorProps: u } = Pae({...s,elementType: n,orientation: r- }), d = ES(e, { global: !0 });+ }), d = SS(e, { global: !0 });return /*#__PURE__*/ D.createElement(l, {render: e.render,...q(d, u),@@ -37268,13 +37268,13 @@ var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function IL(e) {+function FL(e) {let t = D.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var LL = class {+var IL = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37318,20 +37318,20 @@ var LL = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, RL = class e extends Set {+}, LL = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function nue(e, t) {+function rue(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function zL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = ew((0, D.useMemo)(() => BL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => BL(e.defaultSelectedKeys, new RL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);+function RL(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = YC((0, D.useMemo)(() => zL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => zL(e.defaultSelectedKeys, new LL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, D.useRef)(i);return (0, D.useEffect)(() => {@@ -37358,18 +37358,18 @@ function zL(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !nue(e, d)) && f(e);+ (r || !rue(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function BL(e, t) {- return e ? e === "all" ? "all" : new RL(e) : t;+function zL(e, t) {+ return e ? e === "all" ? "all" : new LL(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var VL = class e {+var BL = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -37425,7 +37425,7 @@ var VL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && gT(this.collection, n, e) < 0) && (e = n);+ (!e || n && fT(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37433,7 +37433,7 @@ var VL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && gT(this.collection, n, e) > 0) && (e = n);+ (!e || n && fT(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37452,10 +37452,10 @@ var VL = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new RL([t], t, t);+ if (this.state.selectedKeys === "all") n = new LL([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new RL(e, r, t);+ n = new LL(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -37463,7 +37463,7 @@ var VL = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? gT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? fT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];}getKeyRangeInternal(e, t) {if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);@@ -37489,19 +37489,19 @@ var VL = class e {}let t = this.getKey(e);if (t == null) return;- let n = new RL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new LL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new RL([t], t, t) : new RL();+ let n = this.canSelectItem(t) ? new LL([t], t, t) : new LL();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new RL();+ let t = new LL();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37513,7 +37513,7 @@ var VL = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(pT(fT(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(lT(cT(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37524,7 +37524,7 @@ var VL = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new RL());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new LL());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37565,9 +37565,9 @@ var VL = class e {fullCollection: this.fullCollection ?? this.collection});}-}, rue = class {+}, iue = class {build(e, t) {- return this.context = t, HL(() => this.iterateCollection(e));+ return this.context = t, VL(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37649,10 +37649,10 @@ var VL = class e {...a,key: l,index: s,- wrapper: iue(e.wrapper, a.wrapper)+ wrapper: aue(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${UL(t.type)}> in <${UL(r?.type ?? "unknown parent type")}>. Only <${UL(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${HL(t.type)}> in <${HL(r?.type ?? "unknown parent type")}>. Only <${HL(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37674,7 +37674,7 @@ var VL = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: HL(function* () {+ childNodes: VL(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37693,7 +37693,7 @@ var VL = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function HL(e) {+function VL(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37701,18 +37701,18 @@ function HL(e) {for (let e of n) t.push(e), yield e;} };}-function iue(e, t) {+function aue(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function UL(e) {+function HL(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function WL(e, t, n) {- let r = (0, D.useMemo)(() => new rue(), []), { children: i, items: a, collection: o } = e;+function UL(e, t, n) {+ let r = (0, D.useMemo)(() => new iue(), []), { children: i, items: a, collection: o } = e;return (0, D.useMemo)(() => o || t(r.build({children: i,items: a@@ -37727,27 +37727,27 @@ function WL(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function GL(e) {- let { filter: t, layoutDelegate: n } = e, r = zL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = WL(e, (0, D.useCallback)((e) => t ? new LL(t(e)) : new LL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new VL(a, r, { layoutDelegate: n }), [+function WL(e) {+ let { filter: t, layoutDelegate: n } = e, r = RL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = UL(e, (0, D.useCallback)((e) => t ? new IL(t(e)) : new IL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new BL(a, r, { layoutDelegate: n }), [a,r,n]);- return KL(a, o), {+ return GL(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function aue(e, t) {+function oue(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return KL(n, r), {+ return GL(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function KL(e, t) {+function GL(e, t) {let n = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37775,15 +37775,15 @@ function KL(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function qL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = uS((e) => {+function KL(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = oS((e) => {for (let t of e) t.isIntersecting && r && r();});- gb(() => {+ fb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: xC(t?.current),+ root: gC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37799,42 +37799,42 @@ function qL(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var JL = /*#__PURE__*/ (0, D.createContext)(null), YL = /*#__PURE__*/ (0, D.createContext)(null), oue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, JL);- let n = (0, D.useContext)(YL);- return n ? /*#__PURE__*/ D.createElement(XL, {+var qL = /*#__PURE__*/ (0, D.createContext)(null), JL = /*#__PURE__*/ (0, D.createContext)(null), sue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, qL);+ let n = (0, D.useContext)(JL);+ return n ? /*#__PURE__*/ D.createElement(YL, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(sue, {+ }) : /*#__PURE__*/ D.createElement(zx, { content: /*#__PURE__*/ D.createElement(Kx, e) }, (n) => /*#__PURE__*/ D.createElement(cue, {props: e,listBoxRef: t,collection: n}));});-function sue({ props: e, listBoxRef: t, collection: n }) {+function cue({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, D.useContext)(dI), i = GL({+ let { layoutDelegate: r } = (0, D.useContext)(lI), i = WL({...e,layoutDelegate: r});- return /*#__PURE__*/ D.createElement(XL, {+ return /*#__PURE__*/ D.createElement(YL, {state: i,props: e,listBoxRef: t});}-function XL({ state: e, props: t, listBoxRef: n }) {- [t, n] = $F(t, n, aI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = aue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = vS(), { disabledBehavior: p, disabledKeys: m } = l, h = xT({+function YL({ state: e, props: t, listBoxRef: n }) {+ [t, n] = ZF(t, n, rI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = oue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = mS(), { disabledBehavior: p, disabledKeys: m } = l, h = _T({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(dI), b = (0, D.useMemo)(() => t.keyboardDelegate || new Cw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(lI), b = (0, D.useMemo)(() => t.keyboardDelegate || new yw({collection: c,collator: h,ref: n,@@ -37855,7 +37855,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Xie({+ ]), { listBoxProps: x } = eae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37887,7 +37887,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: j } = OT(), M = s.collection.size === 0, N = {+ let { focusProps: k, isFocused: A, isFocusVisible: j } = wT(), M = s.collection.size === 0, N = {isDropTarget: T,isEmpty: M,isFocused: A,@@ -37895,7 +37895,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = ZF({+ }, P = YF({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37905,8 +37905,8 @@ function XL({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(N)));- let F = ES(t, { global: !0 });- return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ let F = SS(t, { global: !0 });+ return /*#__PURE__*/ D.createElement(KS, null, /*#__PURE__*/ D.createElement(nI.div, {...q(F, P, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37917,60 +37917,60 @@ function XL({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ D.createElement(XF, { values: [- [JL, t],- [YL, s],- [OL, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [qL, t],+ [JL, s],+ [DL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [FL, { elementType: "div" }],- [kL, { render: uue }],- [sI, {+ [PL, { elementType: "div" }],+ [OL, { render: due }],+ [aI, {name: "ListBoxSection",- render: cue+ render: lue}]- ] }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(y, {+ ] }, /*#__PURE__*/ D.createElement(ML, null, /*#__PURE__*/ D.createElement(y, {collection: c,scrollRef: n,- persistedKeys: jL(l, r, C),- renderDropIndicator: AL(r, C)+ persistedKeys: AL(l, r, C),+ renderDropIndicator: kL(r, C)}))), ee, E));}-function cue(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, D.useContext)(YL), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(OL), { CollectionBranch: s } = (0, D.useContext)(dI), [c, l] = eI(), { headingProps: u, groupProps: d } = Zie({+function lue(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, D.useContext)(JL), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(DL), { CollectionBranch: s } = (0, D.useContext)(lI), [c, l] = QF(), { headingProps: u, groupProps: d } = tae({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = ZF({+ }), f = YF({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = ES(e, { global: !0 });- return delete p.id, /*#__PURE__*/ D.createElement(iI.section, {+ }), p = SS(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ D.createElement(nI.section, {...q(p, f, d),ref: t- }, /*#__PURE__*/ D.createElement(ML.Provider, { value: {+ }, /*#__PURE__*/ D.createElement(jL.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ D.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: AL(a, o)+ renderDropIndicator: kL(a, o)})));}-var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {- let r = Nx(t), i = (0, D.useContext)(YL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(OL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Qie({+var uue = /*#__PURE__*/ Hx(zy, function(e, t, n) {+ let r = kx(t), i = (0, D.useContext)(JL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(DL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nae({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = MT({+ }, i, r), { hoverProps: p, isHovered: m } = OT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Mx(e), { focusProps: g } = Ox(e), _ = null;+ }), { keyboardProps: h } = Ox(e), { focusProps: g } = wx(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37981,7 +37981,7 @@ var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = ZF({+ let y = o && o.isDragging(n.key), b = YF({...e,id: void 0,children: e.children,@@ -37999,7 +37999,7 @@ var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {(0, D.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? iI.a : iI.div, S = ES(e, { global: !0 });+ let x = e.href ? nI.a : nI.div, S = SS(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -38013,29 +38013,29 @@ var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ D.createElement(XF, { values: [[SI, { slots: {- [YF]: u,+ }, /*#__PURE__*/ D.createElement(JF, { values: [[bI, { slots: {+ [qF]: u,label: u,description: d- } }], [PL, { isSelected: f.isSelected }]] }, b.children));+ } }], [NL, { isSelected: f.isSelected }]] }, b.children));});-function uue(e, t) {- t = Nx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ D.createElement(fue, {+function due(e, t) {+ t = kx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(DL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ D.createElement(pue, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function due(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ZF({+function fue(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = YF({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(nI.div, {...n,...a,role: "option",@@ -38043,10 +38043,10 @@ function due(e, t) {"data-drop-target": r || void 0}));}-var fue = /*#__PURE__*/ (0, D.forwardRef)(due);-Kx(Vy, function(e, t, n) {- let r = (0, D.useContext)(YL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+var pue = /*#__PURE__*/ (0, D.forwardRef)(fue);+Hx(Ry, function(e, t, n) {+ let r = (0, D.useContext)(JL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ KL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38056,7 +38056,7 @@ Kx(Vy, function(e, t, n) {o,r?.collection]), c);- let l = ZF({+ let l = YF({...s,id: void 0,children: n.rendered,@@ -38069,7 +38069,7 @@ Kx(Vy, function(e, t, n) {width: 0,height: 0},- inert: IL(!0)+ inert: FL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38078,8 +38078,8 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(nI.div, {+ ...q(SS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -38087,11 +38087,11 @@ Kx(Vy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var pue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });+var mue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function ZL(e) {- let [t, n] = ew(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);+function XL(e) {+ let [t, n] = YC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);return {isOpen: t,setOpen: n,@@ -38110,15 +38110,15 @@ function ZL(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function QL(e, t = !0, n) {+function ZL(e, t = !0, n) {let [r, i] = (0, D.useState)(!0), a = r && t;- return gb(() => {- if (!t && e.current) return vx(eb(e.current, "opacity", "0"), eb(e.current, "clip", "rect(0 0 0 0)"), eb(e.current, "clip-path", "inset(50%)"), eb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), gb(() => {+ return fb(() => {+ if (!t && e.current) return mx(Zy(e.current, "opacity", "0"), Zy(e.current, "clip", "rect(0 0 0 0)"), Zy(e.current, "clip-path", "inset(50%)"), Zy(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), fb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), eR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;+ }, [e, a]), $L(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;}-function $L(e, t, n) {+function QL(e, t, n) {let [r, i] = (0, D.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -38128,13 +38128,13 @@ function $L(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return eR(e, a, n, (0, D.useCallback)(() => {+ return $L(e, a, n, (0, D.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function eR(e, t, n, r) {- let i = (0, D.useRef)(null), a = uS(n);- gb(() => {+function $L(e, t, n, r) {+ let i = (0, D.useRef)(null), a = oS(n);+ fb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -38160,9 +38160,9 @@ function eR(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.createContext)(null), rR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, tR);- let n = (0, D.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $L(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = zx(), { direction: c } = vS();+var eR = /*#__PURE__*/ (0, D.createContext)(null), tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, eR);+ let n = (0, D.useContext)(mR), r = XL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = QL(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Fx(), { direction: c } = mS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -38173,7 +38173,7 @@ var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.creadefaultChildren: null})), /*#__PURE__*/ D.createElement(D.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(mue, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(hue, {...e,triggerRef: e.triggerRef,state: i,@@ -38182,13 +38182,13 @@ var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.creadir: c});});-function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(nR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = wae({+function hue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(tR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Oae({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = QL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = ZF({+ }, e), g = i.popoverRef, _ = ZL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = YF({...i,defaultClassName: "react-aria-Popover",values: {@@ -38198,10 +38198,10 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, D.useState)(i.trigger === "PreviewTrigger");- gb(() => {+ fb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, D.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ox() !== "pointer") && g.current && !ab(g.current) && _x(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || nx() !== "pointer") && g.current && !nb(g.current) && px(g.current);}, [x,g,@@ -38209,12 +38209,12 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, D.useMemo)(() => {let e = y.children;- for (let t of [tR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);+ for (let t of [eR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, D.useState)(null), E = (0, D.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- gb(E, [E]), AE({+ fb(E, [E]), EE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38224,9 +38224,9 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- gb(() => yD(() => u(!0)), []);- let k = /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(i, { global: !0 }), d),+ fb(() => hD(() => u(!0)), []);+ let k = /*#__PURE__*/ D.createElement(nI.div, {+ ...q(SS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38241,17 +38241,17 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ D.createElement(fD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(pue.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(cD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(mue.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ D.createElement(fD, { onDismiss: e.close }));- return c ? /*#__PURE__*/ D.createElement(ET, {+ } }, C), /*#__PURE__*/ D.createElement(cD, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ D.createElement(ST, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, k) : /*#__PURE__*/ D.createElement(ET, {+ }, k) : /*#__PURE__*/ D.createElement(ST, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38266,15 +38266,15 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ D.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(nR.Provider, { value: o }, k)));+ }, /*#__PURE__*/ D.createElement(tR.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var hue = /*#__PURE__*/ (0, D.createContext)({});+var gue = /*#__PURE__*/ (0, D.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function iR(e) {- let t = ZL(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {+function rR(e) {+ let t = XL(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38300,7 +38300,7 @@ function iR(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var gue = class {+var _ue = class {constructor(e, { expandedKeys: t } = {}) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();let n = (e) => {@@ -38344,8 +38344,8 @@ var gue = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function aR(e) {- let { onExpandedChange: t } = e, [n, r] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = zL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = WL(e, (0, D.useCallback)((e) => new gue(e, { expandedKeys: n }), [n]), null);+function iR(e) {+ let { onExpandedChange: t } = e, [n, r] = YC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = RL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = UL(e, (0, D.useCallback)((e) => new _ue(e, { expandedKeys: n }), [n]), null);return (0, D.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38353,32 +38353,32 @@ function aR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(_ue(n, e));+ r(vue(n, e));},setExpandedKeys: r,- selectionManager: new VL(o, i)+ selectionManager: new BL(o, i)};}-function _ue(e, t) {+function vue(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var oR = /*#__PURE__*/ (0, D.createContext)(null), sR = /*#__PURE__*/ (0, D.createContext)(null), cR = /*#__PURE__*/ (0, D.createContext)(null), lR = /*#__PURE__*/ (0, D.createContext)(null);-function vue(e) {- let t = iR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = sT({+var aR = /*#__PURE__*/ (0, D.createContext)(null), oR = /*#__PURE__*/ (0, D.createContext)(null), sR = /*#__PURE__*/ (0, D.createContext)(null), cR = /*#__PURE__*/ (0, D.createContext)(null);+function yue(e) {+ let t = rR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = rT({...e,type: "menu"}, t, n), a = (0, D.useRef)(null);- return zx() ? null : /*#__PURE__*/ D.createElement(XF, { values: [- [oR, {+ return Fx() ? null : /*#__PURE__*/ D.createElement(JF, { values: [+ [aR, {...i,ref: a}],- [hR, t],- [cR, t],- [tR, {+ [mR, t],+ [sR, t],+ [eR, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38386,14 +38386,14 @@ function vue(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ D.createElement(Fie, {+ ] }, /*#__PURE__*/ D.createElement(zie, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var yue = /*#__PURE__*/ (0, D.createContext)(null);-(class extends zy {+var bue = /*#__PURE__*/ (0, D.createContext)(null);+(class extends Iy {static {this.type = "submenutrigger";}@@ -38406,24 +38406,24 @@ var yue = /*#__PURE__*/ (0, D.createContext)(null);return null;}});-var bue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = $F(e, t, oR), /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(xue, {+var xue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = ZF(e, t, aR), /*#__PURE__*/ D.createElement(zx, { content: /*#__PURE__*/ D.createElement(Kx, e) }, (n) => /*#__PURE__*/ D.createElement(Sue, {props: e,collection: n,menuRef: t}));});-function xue({ props: e, collection: t, menuRef: n }) {- [e, n] = $F(e, n, aI);- let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = aR({+function Sue({ props: e, collection: t, menuRef: n }) {+ [e, n] = ZF(e, n, rI);+ let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = iR({...e,collection: a,children: void 0- }), s = (0, D.useContext)(cR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(dI), { menuProps: u } = $ie({+ }), s = (0, D.useContext)(sR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(lI), { menuProps: u } = rae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = ZF({+ }, o, n), d = YF({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38433,36 +38433,36 @@ function xue({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ let p = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(KS, null, /*#__PURE__*/ D.createElement(nI.div, {...q(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(XF, { values: [- [sR, o],- [FL, { elementType: "div" }],- [sI, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [oR, o],+ [PL, { elementType: "div" }],+ [aI, {name: "MenuSection",- render: uR+ render: lR}],- [yue, {+ [bue, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [fR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [aI, null],- [oI, null],- [lR, o.selectionManager],- [cR, s ?? iR({})]- ] }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(l, {+ [dR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [rI, null],+ [iI, null],+ [cR, o.selectionManager],+ [sR, s ?? rR({})]+ ] }, /*#__PURE__*/ D.createElement(ML, null, /*#__PURE__*/ D.createElement(l, {collection: o.collection,- persistedKeys: fI(o.selectionManager.focusedKey),+ persistedKeys: uI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var Sue = class extends VL {+var Cue = class extends BL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38482,11 +38482,11 @@ var Sue = class extends VL {return this.parent.childFocusStrategy;}};-function uR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, D.useContext)(sR), { CollectionBranch: a } = (0, D.useContext)(dI), [o, s] = eI(), { headingProps: c, groupProps: l } = tae({+function lR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, D.useContext)(oR), { CollectionBranch: a } = (0, D.useContext)(lI), [o, s] = QF(), { headingProps: c, groupProps: l } = aae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = ZF({+ }), u = YF({...e,id: void 0,children: void 0,@@ -38494,31 +38494,31 @@ function uR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, D.useContext)(lR), f = zL(e), p = e.selectionMode == null ? d : new Sue(d, f), m = QF(fR)?.shouldCloseOnSelect, h = ES(e, { global: !0 });- return delete h.id, /*#__PURE__*/ D.createElement(iI.section, {+ }), d = (0, D.useContext)(cR), f = RL(e), p = e.selectionMode == null ? d : new Cue(d, f), m = XF(dR)?.shouldCloseOnSelect, h = SS(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ D.createElement(nI.section, {...q(h, u, l),ref: t- }, /*#__PURE__*/ D.createElement(XF, { values: [- [ML, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [jL, {...c,ref: o}],- [lR, p],- [fR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [cR, p],+ [dR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ D.createElement(a, {collection: i.collection,parent: n})));}-var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ Kx(Hy, function(e, t, n) {- [e, t] = $F(e, t, fR);- let r = QF(fR)?.id, i = (0, D.useContext)(sR), a = Nx(t), o = (0, D.useContext)(lR), { isVirtualized: s } = (0, D.useContext)(dI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = eae({+var uR = /*#__PURE__*/ Ux(Une, lR), dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ Hx(zy, function(e, t, n) {+ [e, t] = ZF(e, t, dR);+ let r = XF(dR)?.id, i = (0, D.useContext)(oR), a = kx(t), o = (0, D.useContext)(cR), { isVirtualized: s } = (0, D.useContext)(lI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = iae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = MT({ isDisabled: f.isDisabled }), h = ZF({+ }, i, a), { hoverProps: p, isHovered: m } = OT({ isDisabled: f.isDisabled }), h = YF({...e,id: void 0,children: n.rendered,@@ -38532,7 +38532,7 @@ var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? iI.a : iI.div, _ = ES(e, { global: !0 });+ }), g = e.href ? nI.a : nI.div, _ = SS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(g, {...q(_, h, c, p),ref: a,@@ -38545,19 +38545,19 @@ var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [SI, { slots: {- [YF]: l,+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [bI, { slots: {+ [qF]: l,label: l,description: u} }],- [hue, d],- [PL, { isSelected: f.isSelected }]+ [gue, d],+ [NL, { isSelected: f.isSelected }]] }, h.children));});-Kx(Vy, function(e, t, n) {- let r = (0, D.useContext)(sR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+Hx(Ry, function(e, t, n) {+ let r = (0, D.useContext)(oR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ KL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38567,7 +38567,7 @@ Kx(Vy, function(e, t, n) {o,r?.collection]), c);- let l = ZF({+ let l = YF({...s,id: void 0,children: n.rendered,@@ -38580,7 +38580,7 @@ Kx(Vy, function(e, t, n) {width: 0,height: 0},- inert: IL(!0)+ inert: FL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38589,8 +38589,8 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(nI.div, {+ ...q(SS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38598,82 +38598,82 @@ Kx(Vy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var mR = /*#__PURE__*/ (0, D.createContext)(null), hR = /*#__PURE__*/ (0, D.createContext)(null), gR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var pR = /*#__PURE__*/ (0, D.createContext)(null), mR = /*#__PURE__*/ (0, D.createContext)(null), hR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = $F(e, t, mR);- let { dialogProps: r, titleProps: i, contentProps: a } = Lie({+ [e, t] = ZF(e, t, pR);+ let { dialogProps: r, titleProps: i, contentProps: a } = Vie({...e,"aria-labelledby": n- }, t), o = (0, D.useContext)(hR);+ }, t), o = (0, D.useContext)(mR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = ZF({+ let s = YF({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.section, {+ }), c = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.section, {...q(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [bI, { slots: {- [YF]: {},+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [vI, { slots: {+ [qF]: {},title: {...i,level: 2}} }],- [SI, { slots: {- [YF]: {},+ [bI, { slots: {+ [qF]: {},description: a} }],- [gI, { slots: {- [YF]: {},+ [mI, { slots: {+ [qF]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), _R = typeof document < "u" && window.visualViewport;-function Cue() {- let e = Wb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {+}), gR = typeof document < "u" && window.visualViewport;+function wue() {+ let e = Bb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {width: 0,height: 0- } : vR());+ } : _R());return (0, D.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- _R && _R.scale > 1 || e(vR());+ gR && gR.scale > 1 || e(_R());}, i = (n) => {- _R && _R.scale > 1 || sS(K(n)) && (t.current = yD((t) => {+ gR && gR.scale > 1 || rS(K(n)) && (t.current = hD((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(vR()), Ob() && Ab() && window.addEventListener("blur", i, !0), _R ? _R.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Ob() && Ab() && window.removeEventListener("blur", i, !0), _R ? _R.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(_R()), wb() && Eb() && window.addEventListener("blur", i, !0), gR ? gR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), wb() && Eb() && window.removeEventListener("blur", i, !0), gR ? gR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function vR() {+function _R() {return {- width: _R ? Math.min(_R.width * _R.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: _R ? _R.height * _R.scale : document.documentElement.clientHeight+ width: gR ? Math.min(gR.width * gR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: gR ? gR.height * gR.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var wue = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null), Tue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- if ((0, D.useContext)(yR)) return /*#__PURE__*/ D.createElement(xR, {+var Tue = /*#__PURE__*/ (0, D.createContext)(null), vR = /*#__PURE__*/ (0, D.createContext)(null), Eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ if ((0, D.useContext)(vR)) return /*#__PURE__*/ D.createElement(bR, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ D.createElement(bR, {+ return /*#__PURE__*/ D.createElement(yR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38683,15 +38683,15 @@ var wue = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ D.createElement(xR, {+ }, /*#__PURE__*/ D.createElement(bR, {...f,modalRef: t}, s));});-function Eue(e, t) {- [e, t] = $F(e, t, wue);- let n = (0, D.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nx(t), o = (0, D.useRef)(null), s = $L(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = $L(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Wb();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(Due, {+function Due(e, t) {+ [e, t] = ZF(e, t, Tue);+ let n = (0, D.useContext)(mR), r = XL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = kx(t), o = (0, D.useRef)(null), s = QL(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = QL(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Bb();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(Oue, {...e,state: i,isExiting: u,@@ -38700,12 +38700,12 @@ function Eue(e, t) {onExitRef: c});}-var bR = /*#__PURE__*/ (0, D.forwardRef)(Eue);-function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = QL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = fae({+var yR = /*#__PURE__*/ (0, D.forwardRef)(Due);+function Oue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = ZL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = gae({...n,isEntering: c- }, i, r), d = (0, D.useContext)(mR), f = t ? Oue(d, { isEntering: c }) : d, p = ZF({+ }, i, r), d = (0, D.useContext)(pR), f = t ? kue(d, { isEntering: c }) : d, p = YF({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38713,9 +38713,9 @@ function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = Cue(), h, g;+ }), m = wue(), h, g;if (typeof document < "u") {- let e = bC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = hC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;h = e.scrollWidth - t, g = e.scrollHeight - n;}let _ = {@@ -38725,18 +38725,18 @@ function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n"--page-width": h === void 0 ? void 0 : h + "px","--page-height": g === void 0 ? void 0 : g + "px"};- return gb(() => yD(() => o(!0)), []), /*#__PURE__*/ D.createElement(ET, {+ return fb(() => hD(() => o(!0)), []), /*#__PURE__*/ D.createElement(ST, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(n, { global: !0 }), u),+ }, /*#__PURE__*/ D.createElement(nI.div, {+ ...q(SS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [yR, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [vR, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38744,11 +38744,11 @@ function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [hR, i],- [mR, f]+ [mR, i],+ [pR, f]] }, p.children)));}-function Oue(e, t) {+function kue(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38765,8 +38765,8 @@ function Oue(e, t) {...t};}-function xR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(yR), s = (0, D.useContext)(hR), c = Nx((0, D.useMemo)(() => wx(e.modalRef, n), [e.modalRef, n])), l = QL(c, o, e.onEnter), u = ZF({+function bR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(vR), s = (0, D.useContext)(mR), c = kx((0, D.useMemo)(() => bx(e.modalRef, n), [e.modalRef, n])), l = ZL(c, o, e.onEnter), u = YF({...e,defaultClassName: "react-aria-Modal",values: {@@ -38775,21 +38775,21 @@ function xR(e) {state: s}});- return gb(() => {+ return fb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(e, { global: !0 }), t),+ }), /*#__PURE__*/ D.createElement(nI.div, {+ ...q(SS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ D.createElement(fD, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ D.createElement(cD, { onDismiss: s.close }), u.children);}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var kue = Math.round(Math.random() * 1e10), Aue = 0;-function jue(e) {- let t = (0, D.useMemo)(() => e.name || `radio-group-${kue}-${++Aue}`, [e.name]), [n, r] = ew(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = VC({+var Aue = Math.round(Math.random() * 1e10), jue = 0;+function Mue(e) {+ let t = (0, D.useMemo)(() => e.name || `radio-group-${Aue}-${++jue}`, [e.name]), [n, r] = YC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = IC({...e,value: n}), c = (t) => {@@ -38812,16 +38812,16 @@ function jue(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.createContext)(null), SR = /*#__PURE__*/ (0, D.createContext)(null), CR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, Mue);- let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = jue({+var Nue = /*#__PURE__*/ (0, D.createContext)(null), Pue = /*#__PURE__*/ (0, D.createContext)(null), xR = /*#__PURE__*/ (0, D.createContext)(null), SR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, Nue);+ let { validationBehavior: n } = XF(CI) || {}, r = e.validationBehavior ?? n ?? "native", i = Mue({...e,validationBehavior: r- }), [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Eae({+ }), [a, o] = QF(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Aae({...e,label: o,validationBehavior: r- }, i), f = ZF({+ }, i), f = YF({...e,values: {orientation: e.orientation || "vertical",@@ -38832,8 +38832,8 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.div, {+ }), p = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.div, {...q(p, f, s),ref: t,slot: e.slot || void 0,@@ -38842,39 +38842,39 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [SR, i],- [pI, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [xR, i],+ [dI, {...c,ref: a,elementType: "span"}],- [SI, { slots: {+ [bI, { slots: {description: l,errorMessage: u} }],- [wI, d]- ] }, /*#__PURE__*/ D.createElement(NL, null, f.children)));-}), wR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [SI, d]+ ] }, /*#__PURE__*/ D.createElement(ML, null, f.children)));+}), CR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = $F(r, t, Nue);- let i = D.useContext(SR), a = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Tae({- ...tI(e),+ [e, t] = ZF(r, t, Pue);+ let i = D.useContext(xR), a = kx((0, D.useMemo)(() => bx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = kae({+ ...$F(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ D.createElement(TR.Provider, { value: {+ return /*#__PURE__*/ D.createElement(wR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ D.createElement(Pue, {+ } }, /*#__PURE__*/ D.createElement(Fue, {...e,ref: t}));-}), TR = /*#__PURE__*/ (0, D.createContext)(null), Pue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(TR), l = D.useContext(SR), { isFocused: u, isFocusVisible: d, focusProps: f } = OT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = MT({+}), wR = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(wR), l = D.useContext(xR), { isFocused: u, isFocusVisible: d, focusProps: f } = wT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = OT({...e,isDisabled: p- }), g = ZF({+ }), g = YF({...e,defaultClassName: s,values: {@@ -38888,8 +38888,8 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = ES(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ }), _ = SS(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(nI.label, {...q(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38901,19 +38901,19 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(ow, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...q(r, f),ref: c})), g.children);});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function Fue(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ZL(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Iue(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = XL(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = ew((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = YC((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38925,12 +38925,12 @@ function Fue(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = GL({+ }, d = WL({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, D.useMemo)(() => Iue(l), [l]),+ selectedKeys: (0, D.useMemo)(() => Lue(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38940,7 +38940,7 @@ function Fue(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = VC({+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = IC({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);@@ -38967,16 +38967,16 @@ function Fue(e) {setFocused: g};}-function Iue(e) {+function Lue(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function Lue(e) {+function Rue(e) {return e && e.__esModule ? e.default : e;}-var ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.createContext)(null), Rue = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, ER);+var TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.createContext)(null), zue = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, TR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38991,24 +38991,24 @@ var ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.creai,a]);- return /*#__PURE__*/ D.createElement(Ux, { content: o }, (n) => /*#__PURE__*/ D.createElement(Bue, {+ return /*#__PURE__*/ D.createElement(zx, { content: o }, (n) => /*#__PURE__*/ D.createElement(Vue, {props: e,collection: n,selectRef: t}));-}), zue = [- pI,- gI,- SI+}), Bue = [+ dI,+ mI,+ bI];-function Bue({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = QF(TI) || {}, i = e.validationBehavior ?? r ?? "native", a = Fue({+function Vue({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = XF(CI) || {}, i = e.validationBehavior ?? r ?? "native", a = Iue({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = OT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = eI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Dae({- ...tI(e),+ }), { isFocusVisible: o, focusProps: s } = wT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = QF(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = jae({+ ...$F(e),label: u,validationBehavior: i}, a, c), y = (0, D.useMemo)(() => ({@@ -39025,48 +39025,48 @@ function Bue({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = ZF({+ ]), b = YF({...e,values: y,defaultClassName: "react-aria-Select"- }), x = ES(e, { global: !0 });+ }), x = SS(e, { global: !0 });delete x.id;let S = (0, D.useRef)(null);- return /*#__PURE__*/ D.createElement(XF, { values: [- [ER, e],- [DR, a],- [OR, p],- [pI, {+ return /*#__PURE__*/ D.createElement(JF, { values: [+ [TR, e],+ [ER, a],+ [DR, p],+ [dI, {...d,ref: l,elementType: "span"}],- [gI, {+ [mI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [hR, a],- [tR, {+ [mR, a],+ [eR, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: zue+ clearContexts: Bue}],- [JL, {+ [qL, {...m,ref: S}],- [YL, a],- [SI, { slots: {+ [JL, a],+ [bI, { slots: {description: h,errorMessage: g} }],- [wI, v]- ] }, /*#__PURE__*/ D.createElement(iI.div, {+ [SI, v]+ ] }, /*#__PURE__*/ D.createElement(nI.div, {...q(x, b, s),ref: t,slot: e.slot || void 0,@@ -39076,14 +39076,14 @@ function Bue({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ D.createElement(kae, {+ }, b.children, /*#__PURE__*/ D.createElement(Nae, {..._,autoComplete: e.autoComplete})));}-for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, OR);- let n = (0, D.useContext)(DR), { placeholder: r } = QF(ER), i = n.selectedItems.map((e) => {+for (var DR = /*#__PURE__*/ (0, D.createContext)(null), Hue = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, DR);+ let n = (0, D.useContext)(ER), { placeholder: r } = XF(TR), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -39095,7 +39095,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = Rie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Hie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -39110,7 +39110,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fa,o,i- ]), u = wS(Lue(DL), "react-aria-components"), d = ZF({+ ]), u = bS(Rue(EL), "react-aria-components"), d = YF({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -39121,33 +39121,33 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.span, {+ }), f = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ D.createElement(SI.Provider, { value: void 0 }, d.children));-}), Hue = /*#__PURE__*/ (0, D.createContext)(null), kR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ D.createElement(bI.Provider, { value: void 0 }, d.children));+}), Uue = /*#__PURE__*/ (0, D.createContext)(null), OR = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = $F(r, t, Hue);- let i = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = tw(e), o = jae({- ...tI(e),+ [e, t] = ZF(r, t, Uue);+ let i = kx((0, D.useMemo)(() => bx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = XC(e), o = Fae({+ ...$F(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ D.createElement(XF, { values: [[kR, a], [AR, {+ return /*#__PURE__*/ D.createElement(JF, { values: [[OR, a], [kR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ D.createElement(Wue, {+ }]] }, /*#__PURE__*/ D.createElement(Gue, {...e,ref: t}));-}), AR = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(AR), { isFocused: f, isFocusVisible: p, focusProps: m } = OT(), h = a || o, g = (0, D.useContext)(kR), { hoverProps: _, isHovered: v } = MT({+}), kR = /*#__PURE__*/ (0, D.createContext)(null), Gue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(kR), { isFocused: f, isFocusVisible: p, focusProps: m } = wT(), h = a || o, g = (0, D.useContext)(OR), { hoverProps: _, isHovered: v } = OT({...e,isDisabled: h- }), y = ZF({+ }), y = YF({...e,defaultClassName: u,values: {@@ -39162,8 +39162,8 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fisRequired: d || !1,state: g}- }), b = ES(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ }), b = SS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(nI.label, {...q(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -39176,11 +39176,11 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(ow, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...q(r, m),ref: l})), y.children);-}), jR = 10, MR = 5, NR = class {+}), AR = 10, jR = 5, MR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -39190,7 +39190,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(f}resolveDropTarget(e, t, n, r) {let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > MR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > jR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > jR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > AR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {let t = this.state.collection.getKeyBefore(e.key);for (; t != null;) {let e = this.state.collection.getItem(t);@@ -39269,11 +39269,11 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > MR && i) {+ if (Math.abs(r - c.lastSwitchY) > jR && i) {let t = c.preferredTargetIndex || 0;i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- if (l > jR && a) {+ if (l > AR && a) {let t = c.preferredTargetIndex || 0;a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;}@@ -39288,7 +39288,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fboundaryContext: null};}-}, Gue = class {+}, Kue = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39358,8 +39358,8 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, PR = "row-header-column-" + Math.random().toString(36).slice(2), FR = "row-header-column-" + Math.random().toString(36).slice(2); PR === FR;) FR = "row-header-column-" + Math.random().toString(36).slice(2);-function IR(e, t) {+}, NR = "row-header-column-" + Math.random().toString(36).slice(2), PR = "row-header-column-" + Math.random().toString(36).slice(2); NR === PR;) PR = "row-header-column-" + Math.random().toString(36).slice(2);+function FR(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39443,13 +39443,13 @@ function IR(e, t) {textValue: ""}));}-var Kue = class extends Gue {+var que = class extends Kue {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: PR,+ key: NR,value: null,textValue: "",level: 0,@@ -39464,7 +39464,7 @@ var Kue = class extends Gue {if (n?.showDragButtons) {let e = {type: "column",- key: FR,+ key: PR,value: null,textValue: "",level: 0,@@ -39491,7 +39491,7 @@ var Kue = class extends Gue {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = IR(s, a);+ let l = FR(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39517,10 +39517,10 @@ var Kue = class extends Gue {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return pT(this.body.childNodes)?.key ?? null;+ return lT(this.body.childNodes)?.key ?? null;}getLastKey() {- return hT(this.body.childNodes)?.key ?? null;+ return dT(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39552,15 +39552,15 @@ var Kue = class extends Gue {};//#endregion//#region node_modules/react-stately/dist/private/table/TableUtils.mjs-function que(e) {+function Jue(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Jue(e) {+function Yue(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function LR(e, t) {+function IR(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -39568,19 +39568,19 @@ function LR(e, t) {}return e;}-function RR(e, t) {- return e == null ? 2 ** 53 - 1 : LR(e, t);+function LR(e, t) {+ return e == null ? 2 ** 53 - 1 : IR(e, t);}-function zR(e, t) {- return e == null ? 0 : LR(e, t);+function RR(e, t) {+ return e == null ? 0 : IR(e, t);}-function Yue(e, t, n, r, i) {+function Xue(e, t, n, r, i) {let a = e, o = Math.floor(e), s = e - o > 0;e = o;let c = !1, l = t.map((t, a) => {let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;- que(o) ? (l = LR(o, e), s = !0) : (u = Jue(o), u <= 0 && (s = !0));- let f = zR(t.minWidth ?? i?.(a) ?? 0, e), p = RR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Jue(o) ? (l = IR(o, e), s = !0) : (u = Yue(o), u <= 0 && (s = !0));+ let f = RR(t.minWidth ?? i?.(a) ?? 0, e), p = LR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,baseSize: l,@@ -39614,14 +39614,14 @@ function Yue(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Xue(l);+ let u = Zue(l);if (s && u.length > 0) {let e = a.toString().split(".")[1], t = u[u.length - 1].toString();u[u.length - 1] = Number(t + "." + e);}return u;}-function Xue(e) {+function Zue(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39630,7 +39630,7 @@ function Xue(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Zue = class {+var Que = class {constructor(e) {this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);}@@ -39659,19 +39659,19 @@ var Zue = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Yue(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Xue(e, t.columns.map((e) => ({...e.props,key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, zR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, RR(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, RR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, LR(a.props.maxWidth, e));}), this.columnWidths;}};//#endregion//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Que(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Zue({+function $ue(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Que({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, D.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, D.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, D.useState)(t.collection.columns);@@ -39723,19 +39723,19 @@ function Que(e, t) {}//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function $ue(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || zL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function ede(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || RL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = fT(n, t);- e = r === "last" ? hT(i)?.key ?? null : pT(i)?.key ?? null;+ let i = cT(n, t);+ e = r === "last" ? dT(i)?.key ?? null : lT(i)?.key ?? null;}}a(e, r);};- let o = (0, D.useMemo)(() => new VL(t, r), [t, r]), s = (0, D.useRef)(null);+ let o = (0, D.useMemo)(() => new BL(t, r), [t, r]), s = (0, D.useRef)(null);return (0, D.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -39755,7 +39755,7 @@ function $ue(e) {}}if (u) {- let i = u.hasChildNodes ? [...fT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...cT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;r.setFocusedKey(a);} else r.setFocusedKey(null);}@@ -39774,11 +39774,11 @@ function $ue(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var ede = {+var tde = {ascending: "descending",descending: "ascending"};-function tde(e) {+function nde(e) {let [t, n] = (0, D.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, D.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39789,11 +39789,11 @@ function tde(e) {i,r,a- ]), c = WL(e, (0, D.useCallback)((e) => new Kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = $ue({+ ]), c = UL(e, (0, D.useCallback)((e) => new que(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = ede({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = YC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39805,7 +39805,7 @@ function tde(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? ede[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? tde[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39818,7 +39818,7 @@ function tde(e) {treeColumn: o};}-function nde(e, t) {+function rde(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39828,10 +39828,10 @@ function nde(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-function rde(e) {+function ide(e) {return e && e.__esModule ? e.default : e;}-var ide = class extends Uy {+var ade = class extends By {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39846,7 +39846,7 @@ var ide = class extends Uy {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new JR(-2);+ return new qR(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39872,7 +39872,7 @@ var ide = class extends Uy {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = IR(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ if (this.headerRows = FR(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}get columnCount() {return this.columns.length;@@ -39953,28 +39953,28 @@ var ide = class extends Uy {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new WR(-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 UR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, BR = /*#__PURE__*/ (0, D.createContext)(null), ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = Nx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);- gb(() => {+}, zR = /*#__PURE__*/ (0, D.createContext)(null), ode = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = kx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);+ fb(() => {let e = r.current;- for (; e && e !== n.current && !bC(e);) e = e.parentElement;+ for (; e && e !== n.current && !hC(e);) e = e.parentElement;i.current = e;- }, [n]), AE({+ }, [n]), EE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), gb(() => {+ }), fb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, D.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Que,+ useTableColumnResizeState: $ue,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39985,17 +39985,17 @@ var ide = class extends Uy {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {render: e.render,- ...ES(e, { global: !0 }),+ ...SS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(BR.Provider, { value: s }, e.children));-}), ode = /*#__PURE__*/ (0, D.createContext)(null), VR = /*#__PURE__*/ (0, D.createContext)(null), HR = /*#__PURE__*/ (0, D.createContext)(null), sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, ode);- let n = zL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({+ }, /*#__PURE__*/ D.createElement(zR.Provider, { value: s }, e.children));+}), sde = /*#__PURE__*/ (0, D.createContext)(null), BR = /*#__PURE__*/ (0, D.createContext)(null), VR = /*#__PURE__*/ (0, D.createContext)(null), cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, sde);+ let n = RL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -40005,26 +40005,26 @@ var ide = class extends Uy {i,a,o- ]), c = /*#__PURE__*/ D.createElement(ude.Provider, { value: s }, /*#__PURE__*/ D.createElement(Xx, e));- return /*#__PURE__*/ D.createElement(Ux, {+ ]), c = /*#__PURE__*/ D.createElement(dde.Provider, { value: s }, /*#__PURE__*/ D.createElement(Kx, e));+ return /*#__PURE__*/ D.createElement(zx, {content: c,- createCollection: () => new ide()- }, (r) => /*#__PURE__*/ D.createElement(lde, {+ createCollection: () => new ade()+ }, (r) => /*#__PURE__*/ D.createElement(ude, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}), lde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.table, {+ }) : /*#__PURE__*/ D.createElement(nI.table, {...e,ref: t});-}), UR = {+}), HR = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40034,26 +40034,26 @@ var ide = class extends Uy {rtl: "ArrowRight"}};-function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = $F(e, t, aI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(BR);- t = Nx((0, D.useMemo)(() => wx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function ude({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = ZF(e, t, rI);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(zR);+ t = kx((0, D.useMemo)(() => bx(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = YC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = tde({+ let d = nde({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = nde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(dI), { dragAndDropHooks: _ } = e, { gridProps: v } = Iae({+ }), f = rde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(lI), { dragAndDropHooks: _ } = e, { gridProps: v } = Bae({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = vS(), [A] = (0, D.useState)(() => new NR());+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = mS(), [A] = (0, D.useState)(() => new MR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -40068,7 +40068,7 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new Cw({+ let e = new yw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -40088,12 +40088,12 @@ function lde({ 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 === UR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === UR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === HR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === HR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = OT(), P = ZF({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = wT(), P = YF({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -40109,19 +40109,19 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let I = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(XF, { values: [- [VR, f],- [HR, te],- [OL, {+ let I = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(JF, { values: [+ [BR, f],+ [VR, te],+ [DL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [kL, { render: bde }],- [aI, null],- [oI, null]- ] }, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(cde, {+ [OL, { render: xde }],+ [rI, null],+ [iI, null]+ ] }, /*#__PURE__*/ D.createElement(KS, null, /*#__PURE__*/ D.createElement(lde, {...q(I, P, v, j, w?.collectionProps),style: F,ref: t,@@ -40131,55 +40131,55 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(g, {+ }, /*#__PURE__*/ D.createElement(ML, null, /*#__PURE__*/ D.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: jL(y, _, C)+ persistedKeys: AL(y, _, C)})))), E);}-var ude = /*#__PURE__*/ (0, D.createContext)(null), WR = class extends zy {+var dde = /*#__PURE__*/ (0, D.createContext)(null), UR = class extends Iy {static {this.type = "tableheader";}-}, dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.thead, {+ }) : /*#__PURE__*/ D.createElement(nI.thead, {...e,ref: t});-}), GR = /*#__PURE__*/ qx(WR, (e, t) => {- let n = (0, D.useContext)(VR).collection, r = qy({+}), WR = /*#__PURE__*/ Ux(UR, (e, t) => {+ let n = (0, D.useContext)(BR).collection, r = Wy({items: n.headerRows,children: (0, D.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ D.createElement(pde, { item: e });+ case "headerrow": return /*#__PURE__*/ D.createElement(mde, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = FO(), { hoverProps: a, isHovered: o } = MT({+ }), { rowGroupProps: i } = jO(), { hoverProps: a, isHovered: o } = OT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = ZF({+ }), s = YF({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ D.createElement(dde, {- ...q(ES(e, { global: !0 }), i, a),+ return /*#__PURE__*/ D.createElement(fde, {+ ...q(SS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ D.createElement(Xx, {+}, (e) => /*#__PURE__*/ D.createElement(Kx, {dependencies: e.dependencies,items: e.columns-}, e.children)), fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);+}, e.children)), pde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);return n ? /*#__PURE__*/ D.createElement("div", {...e,ref: t@@ -40188,41 +40188,41 @@ var ude = /*#__PURE__*/ (0, D.createContext)(null), WR = class extends zy {ref: t});});-function pde({ item: e }) {- let t = (0, D.useRef)(null), n = (0, D.useContext)(VR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(dI), { rowProps: a } = Hae({+function mde({ item: e }) {+ let t = (0, D.useRef)(null), n = (0, D.useContext)(BR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(lI), { rowProps: a } = Kae({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Yae(n);- return /*#__PURE__*/ D.createElement(fde, {+ }, n, t), { checkboxProps: o } = $ae(n);+ return /*#__PURE__*/ D.createElement(pde, {...a,ref: t- }, /*#__PURE__*/ D.createElement(XF, { values: [[EI, { slots: { selection: o } }], [DI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [[wI, { slots: { selection: o } }], [TI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {collection: n.collection,parent: e})));}-var mde = class extends zy {+var hde = class extends Iy {static {this.type = "column";}-}, hde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, gde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.th, {+ }) : /*#__PURE__*/ D.createElement(nI.th, {...e,ref: t});-}), KR = /*#__PURE__*/ Kx(mde, (e, t, n) => {- let r = Nx(t), i = (0, D.useContext)(VR), { isVirtualized: a } = (0, D.useContext)(dI), { columnHeaderProps: o, isPressed: s } = zae({+}), GR = /*#__PURE__*/ Hx(hde, (e, t, n) => {+ let r = kx(t), i = (0, D.useContext)(BR), { isVirtualized: a } = (0, D.useContext)(lI), { columnHeaderProps: o, isPressed: s } = Uae({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = OT(), d = (0, D.useContext)(HR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wT(), d = (0, D.useContext)(VR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = MT({ isDisabled: !e.allowsSorting }), h = ZF({+ let { hoverProps: p, isHovered: m } = OT({ isDisabled: !e.allowsSorting }), h = YF({...e,id: void 0,children: n.rendered,@@ -40248,8 +40248,8 @@ var mde = class extends zy {...g,width: d.getColumnWidth(n.key)});- let _ = ES(e, { global: !0 });- return delete _.id, /*#__PURE__*/ D.createElement(hde, {+ let _ = SS(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ D.createElement(gde, {...q(_, o, u, p),...h,style: g,@@ -40261,29 +40261,29 @@ var mde = class extends zy {"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__*/ D.createElement(XF, { values: [[qR, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [[KR, {column: n,triggerRef: r- }], [dI, cI]] }, h.children));-}), qR = /*#__PURE__*/ (0, D.createContext)(null), gde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = (0, D.useContext)(HR);+ }], [lI, oI]] }, h.children));+}), KR = /*#__PURE__*/ (0, D.createContext)(null), _de = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = (0, D.useContext)(VR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = wS(rde(DL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(BR), { column: s, triggerRef: c } = (0, D.useContext)(qR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Vae({+ let r = bS(ide(EL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(zR), { column: s, triggerRef: c } = (0, D.useContext)(KR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Gae({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = OT(), { hoverProps: _, isHovered: v } = MT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = vS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = wT(), { hoverProps: _, isHovered: v } = OT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = mS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = Nx(t), [w, T] = (0, D.useState)("");+ let C = kx(t), [w, T] = (0, D.useState)("");(0, D.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = ZF({+ let E = YF({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40293,8 +40293,8 @@ var mde = class extends zy {isHovered: v,resizableDirection: S}- }), O = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.div, {+ }), O = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.div, {ref: C,role: "presentation",...q(O, E, u, _),@@ -40317,24 +40317,24 @@ var mde = class extends zy {},"data-testid": "cursor-overlay"}), document.body));-}), JR = class extends By {+}), qR = class extends Ly {static {this.type = "tablebody";}-}, _de = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.tbody, {+ }) : /*#__PURE__*/ D.createElement(nI.tbody, {...e,ref: t});-}), YR = /*#__PURE__*/ qx(JR, (e, t, n) => {- let r = (0, D.useContext)(VR), { isVirtualized: i } = (0, D.useContext)(dI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(dI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(OL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), JR = /*#__PURE__*/ Ux(qR, (e, t, n) => {+ let r = (0, D.useContext)(BR), { isVirtualized: i } = (0, D.useContext)(lI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(lI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(DL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = ZF({+ }, p = YF({...e,id: void 0,children: void 0,@@ -40343,33 +40343,33 @@ var mde = class extends zy {}), 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__*/ D.createElement(ZR, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(XR, {role: "row",...t,style: r- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(QR, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = FO(), _ = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(_de, {+ let { rowGroupProps: g } = jO(), _ = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(vde, {...q(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ D.createElement(Tde, null), /*#__PURE__*/ D.createElement(o, {+ }, l && /*#__PURE__*/ D.createElement(Ede, null), /*#__PURE__*/ D.createElement(o, {collection: a,parent: n,- renderDropIndicator: AL(s, c)+ renderDropIndicator: kL(s, c)}), m);});-(class extends By {+(class extends Ly {static {this.type = "tablefooter";}});-var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vde = class extends zy {+var YR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), yde = class extends Iy {static {this.type = "item";}@@ -40381,31 +40381,31 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd}return null;}-}, ZR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, XR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.tr, {+ }) : /*#__PURE__*/ D.createElement(nI.tr, {...e,ref: t});-}), QR = /*#__PURE__*/ qx(vde, (e, t, n) => {- let r = Nx(t), i = (0, D.useContext)(VR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(OL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(dI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Gae({+}), ZR = /*#__PURE__*/ Ux(yde, (e, t, n) => {+ let r = kx(t), i = (0, D.useContext)(BR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(DL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(lI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Yae({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = OT(), { isFocusVisible: _, focusProps: v } = OT({ within: !0 }), { hoverProps: y, isHovered: b } = MT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = wT(), { isFocusVisible: _, focusProps: v } = wT({ within: !0 }), { hoverProps: y, isHovered: b } = OT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Jae({ key: n.key }, i), S;+ }), { checkboxProps: x } = Qae({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = lw();+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = aw();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40415,7 +40415,7 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd(0, D.useEffect)(() => {o && E.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = ZF({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = YF({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -40436,11 +40436,11 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vdisExpanded: M,level: n.level + 1}- }), P = ES(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(ZR, {+ }), P = SS(e, { global: !0 });+ return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(XR, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(QR, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40449,7 +40449,7 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ D.createElement(ZR, {+ }))), /*#__PURE__*/ D.createElement(XR, {...q(P, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -40465,17 +40465,17 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(XF, { values: [- [EI, { slots: {- [YF]: {},+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [wI, { slots: {+ [qF]: {},selection: x} }],- [DI, { slots: {- [YF]: {},+ [TI, { slots: {+ [qF]: {},selection: x} }],- [gI, { slots: {- [YF]: {},+ [mI, { slots: {+ [qF]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40483,8 +40483,8 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vdstyle: { pointerEvents: "none" }}} }],- [PL, { isSelected: p.isSelected }],- [XR, { isFocusVisibleWithinRow: _ }]+ [NL, { isSelected: p.isSelected }],+ [YR, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ D.createElement(l, {collection: i.collection,parent: n@@ -40492,34 +40492,34 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ D.createElement(Xx, {+ return /*#__PURE__*/ D.createElement(Kx, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), yde = class extends zy {+}), bde = class extends Iy {static {this.type = "cell";}-}, $R = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, QR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.td, {+ }) : /*#__PURE__*/ D.createElement(nI.td, {...e,ref: t});-}), ez = /*#__PURE__*/ Kx(yde, (e, t, n) => {- let r = Nx(t), i = (0, D.useContext)(VR), { dragState: a } = (0, D.useContext)(OL), { isVirtualized: o } = (0, D.useContext)(dI);+}), $R = /*#__PURE__*/ Hx(bde, (e, t, n) => {+ let r = kx(t), i = (0, D.useContext)(BR), { dragState: a } = (0, D.useContext)(DL), { isVirtualized: o } = (0, D.useContext)(lI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Lae({+ let { gridCellProps: s, isPressed: c } = Vae({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = OT(), { hoverProps: f, isHovered: p } = MT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(XR), 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 = ZF({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wT(), { hoverProps: f, isHovered: p } = OT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(YR), 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 = YF({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40538,8 +40538,8 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vdlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = ES(e, { global: !0 });- return delete S.id, /*#__PURE__*/ D.createElement($R, {+ }), S = SS(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ D.createElement(QR, {...q(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -40553,14 +40553,14 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, x.children));+ }, /*#__PURE__*/ D.createElement(lI.Provider, { value: oI }, x.children));});-function bde(e, t) {- t = Nx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function xde(e, t) {+ t = kx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(DL), i = (0, D.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__*/ D.createElement(wde, {+ return /*#__PURE__*/ D.createElement(Tde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40569,40 +40569,40 @@ function bde(e, t) {ref: t});}-var xde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+var Sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.tr, {+ }) : /*#__PURE__*/ D.createElement(nI.tr, {...e,ref: t});-}), Sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}), Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.td, {+ }) : /*#__PURE__*/ D.createElement(nI.td, {...e,ref: t});});-function Cde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(VR), { visuallyHiddenProps: c } = lw(), l = ZF({+function wde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(BR), { visuallyHiddenProps: c } = aw(), l = YF({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(xde, {- ...ES(e, { global: !0 }),+ return /*#__PURE__*/ D.createElement(Sde, {+ ...SS(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ D.createElement(Sde, {+ }, /*#__PURE__*/ D.createElement(Cde, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40613,14 +40613,14 @@ function Cde(e, t) {ref: i}), l.children));}-var wde = /*#__PURE__*/ (0, D.forwardRef)(Cde);-function Tde() {- let e = (0, D.useContext)(VR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(OL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = lw();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(ZR, {+var Tde = /*#__PURE__*/ (0, D.forwardRef)(wde);+function Ede() {+ let e = (0, D.useContext)(BR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(DL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = aw();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(XR, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(QR, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40631,9 +40631,9 @@ function Tde() {ref: r})));}-Kx(Vy, function(e, t, n) {- let r = (0, D.useContext)(VR), { isVirtualized: i } = (0, D.useContext)(dI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+Hx(Ry, function(e, t, n) {+ let r = (0, D.useContext)(BR), { isVirtualized: i } = (0, D.useContext)(lI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);+ KL((0, D.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40643,7 +40643,7 @@ Kx(Vy, function(e, t, n) {s,r?.collection]), u);- let d = ZF({+ let d = YF({...c,id: void 0,children: n.rendered,@@ -40651,10 +40651,10 @@ Kx(Vy, 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__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(ZR, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(XR, {style: { height: 0 },- inert: IL(!0)- }, /*#__PURE__*/ D.createElement($R, { style: {+ inert: FL(!0)+ }, /*#__PURE__*/ D.createElement(QR, { style: {padding: 0,border: 0} }, /*#__PURE__*/ D.createElement("div", {@@ -40665,14 +40665,14 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ D.createElement(ZR, {- ...q(ES(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ D.createElement(XR, {+ ...q(SS(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(QR, {role: "rowheader",...p,style: m@@ -40680,8 +40680,8 @@ Kx(Vy, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Ede(e) {- let [t, n] = ew(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = GL({+function Dde(e) {+ let [t, n] = YC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = WL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40704,24 +40704,24 @@ function Ede(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function Dde(e) {- let t = Ede({+function Ode(e) {+ let t = Dde({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? tz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? ez(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);return (0, D.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = tz(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 = ez(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 tz(e, t) {+function ez(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);@@ -40731,24 +40731,24 @@ function tz(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var nz = /*#__PURE__*/ (0, D.createContext)(null), rz = /*#__PURE__*/ (0, D.createContext)(null), Ode = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, nz);+var tz = /*#__PURE__*/ (0, D.createContext)(null), nz = /*#__PURE__*/ (0, D.createContext)(null), kde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, tz);let { children: n, orientation: r = "horizontal" } = e;return n = (0, D.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ D.createElement(Ux, { content: n }, (n) => /*#__PURE__*/ D.createElement(kde, {+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(zx, { content: n }, (n) => /*#__PURE__*/ D.createElement(Ade, {props: e,collection: n,tabsRef: t}));});-function kde({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = Dde({+function Ade({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Ode({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = OT({ within: !0 }), c = (0, D.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = wT({ within: !0 }), c = (0, D.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40756,12 +40756,12 @@ function kde({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = ZF({+ ]), l = YF({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.div, {+ }), u = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.div, {...q(u, l, a),ref: t,slot: e.slot || void 0,@@ -40769,20 +40769,20 @@ function kde({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [[nz, e], [rz, i]] }, l.children));+ }, /*#__PURE__*/ D.createElement(JF, { values: [[tz, e], [nz, i]] }, l.children));}-var iz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return (0, D.useContext)(rz) ? /*#__PURE__*/ D.createElement(Ade, {+var rz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return (0, D.useContext)(nz) ? /*#__PURE__*/ D.createElement(jde, {props: e,forwardedRef: t- }) : /*#__PURE__*/ D.createElement(Xx, e);+ }) : /*#__PURE__*/ D.createElement(Kx, e);});-function Ade({ props: e, forwardedRef: t }) {- let n = (0, D.useContext)(rz), { CollectionRoot: r } = (0, D.useContext)(dI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = QF(nz), o = Nx(t), { tabListProps: s } = Qae({+function jde({ props: e, forwardedRef: t }) {+ let n = (0, D.useContext)(nz), { CollectionRoot: r } = (0, D.useContext)(lI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = XF(tz), o = kx(t), { tabListProps: s } = noe({...e,orientation: i,keyboardActivation: a- }, n, o), c = ZF({+ }, n, o), c = YF({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40790,30 +40790,30 @@ function Ade({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = ES(e, { global: !0 });- return delete l.id, /*#__PURE__*/ D.createElement(iI.div, {+ }), l = SS(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ D.createElement(nI.div, {...q(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(r, {+ }, /*#__PURE__*/ D.createElement(ML, null, /*#__PURE__*/ D.createElement(r, {collection: n.collection,- persistedKeys: fI(n.selectionManager.focusedKey)+ persistedKeys: uI(n.selectionManager.focusedKey)})));}-var jde = /*#__PURE__*/ Kx(class extends zy {+var Mde = /*#__PURE__*/ Hx(class extends Iy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(rz), i = Nx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Xae({+ let r = (0, D.useContext)(nz), i = kx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = eoe({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = OT(), { hoverProps: f, isHovered: p } = MT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wT(), { hoverProps: f, isHovered: p } = OT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = ZF({+ }), m = YF({...e,id: void 0,children: n.rendered,@@ -40826,7 +40826,7 @@ var jde = /*#__PURE__*/ Kx(class extends zy {isPressed: c,isHovered: p}- }), h = n.props.href ? iI.a : iI.div, g = ES(e, { global: !0 });+ }), h = n.props.href ? nI.a : nI.div, g = SS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {...q(g, m, a, l, f),ref: i,@@ -40836,55 +40836,55 @@ var jde = /*#__PURE__*/ Kx(class extends zy {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ D.createElement(PL.Provider, { value: { isSelected: o } }, m.children));-}), Mde = /*#__PURE__*/ Rx(function(e, t) {- let n = (0, D.useContext)(rz), r = Nx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ D.createElement(NL.Provider, { value: { isSelected: o } }, m.children));+}), Nde = /*#__PURE__*/ Px(function(e, t) {+ let n = (0, D.useContext)(nz), r = kx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = $L(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Nde, {+ let s = QL(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Pde, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function Nde(e) {- let t = (0, D.useContext)(rz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = $ae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = OT(), d = t.selectedKey === e.id, f = QL(r) && !i, p = ZF({+function Pde(e) {+ let t = (0, D.useContext)(nz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = roe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wT(), d = t.selectedKey === e.id, f = ZL(r) && !i, p = YF({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: IL(!d),+ isInert: FL(!d),isEntering: f,isExiting: a,state: t}- }), m = ES(o, { global: !0 });+ }), m = SS(o, { global: !0 });delete m.id;let h = d ? q(m, s, c, p) : q(m, p);- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: IL(!d || e.inert),+ inert: FL(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [[nz, null], [rz, null]] }, /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, p.children)));+ }, /*#__PURE__*/ D.createElement(JF, { values: [[tz, null], [nz, null]] }, /*#__PURE__*/ D.createElement(lI.Provider, { value: oI }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {+var iz = /*#__PURE__*/ (0, D.createContext)({}), Fde = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, az);- let { hoverProps: n, isHovered: r } = MT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = OT({+}, Ide = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, iz);+ let { hoverProps: n, isHovered: r } = OT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = wT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ZF({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = YF({...e,values: {isHovered: r,@@ -40895,8 +40895,8 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ D.createElement(iI.textarea, {- ...q(Pde(e), o, n),+ return /*#__PURE__*/ D.createElement(nI.textarea, {+ ...q(Fde(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40905,18 +40905,18 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Ide = /*#__PURE__*/ (0, D.createContext)(null), Lde = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, Ide);- let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);- [e, i] = $F(e, i, oI);- let [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = bie({- ...tI(e),+}), Lde = /*#__PURE__*/ (0, D.createContext)(null), Rde = /*#__PURE__*/ Px(function(e, t) {+ [e, t] = ZF(e, t, Lde);+ let { validationBehavior: n } = XF(CI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);+ [e, i] = ZF(e, i, iI);+ let [a, o] = QF(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = wie({+ ...$F(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, D.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = ZF({+ }, [i]), h = YF({...e,values: {isDisabled: e.isDisabled || !1,@@ -40925,8 +40925,8 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = ES(e, { global: !0 });- return delete g.id, /*#__PURE__*/ D.createElement(iI.div, {+ }), g = SS(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ D.createElement(nI.div, {...g,...h,ref: t,@@ -40935,31 +40935,31 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [pI, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [dI, {...l,ref: a}],- [FI, {+ [NI, {...u,ref: m}],- [az, {+ [iz, {...u,ref: m}],- [NI, {+ [jI, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [SI, { slots: {+ [bI, { slots: {description: d,errorMessage: f} }],- [wI, p]+ [SI, p]] }, h.children));-}), Rde = class e extends Uy {+}), zde = class e extends By {withExpandedKeys(t, n) {let r = this.clone();return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;@@ -41031,16 +41031,16 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, zde = /*#__PURE__*/ (0, D.createContext)(null), oz = /*#__PURE__*/ (0, D.createContext)(null), Bde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = $F(e, t, zde), /*#__PURE__*/ D.createElement(Ux, {- content: /*#__PURE__*/ D.createElement(Xx, e),- createCollection: () => new Rde()- }, (n) => /*#__PURE__*/ D.createElement(Vde, {+}, Bde = /*#__PURE__*/ (0, D.createContext)(null), az = /*#__PURE__*/ (0, D.createContext)(null), Vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = ZF(e, t, Bde), /*#__PURE__*/ D.createElement(zx, {+ content: /*#__PURE__*/ D.createElement(Kx, e),+ createCollection: () => new zde()+ }, (n) => /*#__PURE__*/ D.createElement(Hde, {props: e,collection: n,treeRef: t}));-}), sz = {+}), oz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41050,17 +41050,17 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {rtl: "ArrowRight"}};-function Vde({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = vS(), a = xT({+function Hde({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = mS(), a = _T({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, D.useRef)(o), l = (0, D.useRef)(s);(0, D.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(dI), [y, b] = ew(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));- (!Jde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));- let O = aR({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(lI), [y, b] = YC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));+ (!Yde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let O = iR({...e,selectionMode: u,expandedKeys: y,@@ -41068,7 +41068,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = eoe({+ }), { gridProps: k } = ioe({...e,isVirtualized: g,layoutDelegate: _@@ -41082,7 +41082,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;P = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: ee }, r.renderDragPreview) : null;}- let [F] = (0, D.useState)(() => new NR());+ let [F] = (0, D.useState)(() => new MR());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,@@ -41090,7 +41090,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });F.setup(e, O, i);- let t = new Cw({+ let t = new yw({collection: O.collection,collator: a,ref: n,@@ -41112,12 +41112,12 @@ function Vde({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === sz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === sz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === oz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === oz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}}, j, n), N = j.isDropTarget({ type: "root" });}- let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = OT(), ie = {+ let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = wT(), ie = {isEmpty: O.collection.size === 0,isFocused: ne,isFocusVisible: re,@@ -41125,7 +41125,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {selectionMode: O.selectionManager.selectionMode,allowsDragging: !!te,state: O- }, ae = ZF({+ }, ae = YF({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -41142,8 +41142,8 @@ function Vde({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ let se = SS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(KS, null, /*#__PURE__*/ D.createElement(nI.div, {...q(se, ae, k, I, M?.collectionProps),ref: n,slot: e.slot || void 0,@@ -41153,54 +41153,54 @@ function Vde({ props: e, collection: t, treeRef: n }) {"data-focus-visible": re || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,"data-allows-dragging": !!te || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [oz, O],- [OL, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [az, O],+ [DL, {dragAndDropHooks: r,dragState: A,dropState: j}],- [kL, { render: Wde }]- ] }, s && /*#__PURE__*/ D.createElement(qde, null), /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(h, {+ [OL, { render: Gde }]+ ] }, s && /*#__PURE__*/ D.createElement(Jde, null), /*#__PURE__*/ D.createElement(ML, null, /*#__PURE__*/ D.createElement(h, {collection: O.collection,- persistedKeys: jL(O.selectionManager, r, j),+ persistedKeys: AL(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: AL(r, j)+ renderDropIndicator: kL(r, j)}))), oe)), P);}-var Hde = /*#__PURE__*/ Kx(class extends zy {+var Ude = /*#__PURE__*/ Hx(class extends Iy {static {this.type = "content";}}, function(e) {- let t = (0, D.useContext)(cz), n = ZF({+ let t = (0, D.useContext)(sz), n = YF({children: e.children,values: t});- return /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, n.children);-}), cz = /*#__PURE__*/ (0, D.createContext)(null), Ude = /*#__PURE__*/ qx(class extends zy {+ return /*#__PURE__*/ D.createElement(lI.Provider, { value: oI }, n.children);+}), sz = /*#__PURE__*/ (0, D.createContext)(null), Wde = /*#__PURE__*/ Ux(class extends Iy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(oz);- t = Nx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(OL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = yk({+ let r = (0, D.useContext)(az);+ t = kx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(DL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = hk({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = MT({+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = OT({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = OT(), { isFocusVisible: b, focusProps: x } = OT({ within: !0 }), { checkboxProps: S } = Yie({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = wT(), { isFocusVisible: b, focusProps: x } = wT({ within: !0 }), { checkboxProps: S } = $ie({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = lw();+ let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = aw();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -41239,7 +41239,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {j,N,M- ]), ee = ZF({+ ]), ee = YF({...e,id: void 0,children: n.rendered,@@ -41256,7 +41256,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {(0, D.useEffect)(() => {a && F.current;}, []);- let te = qy({+ let te = Wy({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41266,7 +41266,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), I = Sx(), ne = ES(e, { global: !0 });+ }), I = vx(), ne = SS(e, { global: !0 });return delete ne.id, delete ne.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41289,7 +41289,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {"aria-labelledby": `${I} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ D.createElement(iI.div, {+ }))), /*#__PURE__*/ D.createElement(nI.div, {...q(ne, c, y, g, x, C?.dragProps),...ee,ref: t,@@ -41309,17 +41309,17 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {}, /*#__PURE__*/ D.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(XF, { values: [- [EI, { slots: {- [YF]: {},+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [wI, { slots: {+ [qF]: {},selection: S} }],- [DI, { slots: {- [YF]: {},+ [TI, { slots: {+ [qF]: {},selection: S} }],- [gI, { slots: {- [YF]: {},+ [mI, { slots: {+ [qF]: {},chevron: {...u,ref: T@@ -41330,13 +41330,13 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {style: { pointerEvents: "none" }}} }],- [cz, { ...P }],- [PL, { isSelected: f.isSelected }]+ [sz, { ...P }],+ [NL, { isSelected: f.isSelected }]] }, te))));});-Kx(Vy, function(e, t, n) {- let { isVirtualized: r } = (0, D.useContext)(dI), i = (0, D.useContext)(oz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+Hx(Ry, function(e, t, n) {+ let { isVirtualized: r } = (0, D.useContext)(lI), i = (0, D.useContext)(az), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);+ KL((0, D.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41345,11 +41345,11 @@ Kx(Vy, function(e, t, n) {o,s,i?.collection- ]), l), t = Nx(t);- let { rowProps: u, gridCellProps: d } = yk({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = kx(t);+ let { rowProps: u, gridCellProps: d } = hk({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = ZF({+ }, m = YF({...c,id: void 0,children: n.rendered,@@ -41362,7 +41362,7 @@ Kx(Vy, function(e, t, n) {width: 0,height: 0},- inert: IL(!0)+ inert: FL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41371,9 +41371,9 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ D.createElement(iI.div, {+ })), a && m.children && /*#__PURE__*/ D.createElement(nI.div, {ref: t,- ...q(ES(e), p),+ ...q(SS(e), p),...m,"data-level": f}, /*#__PURE__*/ D.createElement("div", {@@ -41381,12 +41381,12 @@ Kx(Vy, function(e, t, n) {style: h}, m.children)));});-function Wde(e, t) {- t = Nx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Gde(e, t) {+ t = kx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(DL), i = (0, D.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__*/ D.createElement(Kde, {+ return /*#__PURE__*/ D.createElement(qde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41395,8 +41395,8 @@ function Wde(e, t) {level: c});}-function Gde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = lw(), c = ZF({+function Kde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = aw(), c = YF({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41405,7 +41405,7 @@ function Gde(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...c,role: "row","aria-level": a,@@ -41418,9 +41418,9 @@ function Gde(e, t) {ref: i}), c.children));}-var Kde = /*#__PURE__*/ (0, D.forwardRef)(Gde);-function qde() {- let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(OL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = lw();+var qde = /*#__PURE__*/ (0, D.forwardRef)(Kde);+function Jde() {+ let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(DL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = aw();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ D.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41432,14 +41432,14 @@ function qde() {ref: n})));}-function Jde(e, t) {+function Yde(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+var Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41447,7 +41447,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41455,7 +41455,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41463,7 +41463,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41471,7 +41471,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41479,7 +41479,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41487,7 +41487,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41495,7 +41495,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41503,7 +41503,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41511,7 +41511,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41519,7 +41519,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41527,7 +41527,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41535,7 +41535,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41543,7 +41543,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41551,7 +41551,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41559,7 +41559,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41567,7 +41567,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41575,7 +41575,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41583,7 +41583,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41591,7 +41591,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41599,7 +41599,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41607,7 +41607,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41615,7 +41615,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41623,7 +41623,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41631,7 +41631,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41639,7 +41639,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41647,7 +41647,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41655,7 +41655,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41663,7 +41663,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41671,7 +41671,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41679,7 +41679,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41687,7 +41687,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41695,7 +41695,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41703,7 +41703,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41711,7 +41711,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41719,7 +41719,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41727,7 +41727,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41735,7 +41735,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41743,7 +41743,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41751,7 +41751,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41759,7 +41759,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41767,7 +41767,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41775,7 +41775,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41783,7 +41783,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41791,7 +41791,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41799,7 +41799,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41807,7 +41807,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41815,7 +41815,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41823,7 +41823,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41831,7 +41831,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41839,7 +41839,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41847,7 +41847,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41855,7 +41855,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41863,7 +41863,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41871,7 +41871,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41879,7 +41879,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41887,7 +41887,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41898,11 +41898,11 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D}, D.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsxs)(mI, {+function Tz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsxs)(fI, {"data-label": "true",...a,- className: eF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: $P("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, O.jsx)("span", {@@ -41910,7 +41910,7 @@ function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, O.jsx)(xfe, {+ n && /* @__PURE__ */ (0, O.jsx)(Sfe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41919,33 +41919,33 @@ function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function Dz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, O.jsx)(CI, {+function Ez({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, O.jsx)(xI, {slot: e ? "errorMessage" : "description",...n,- className: eF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: $P("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var Oz = (0, D.createContext)({});-function kz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Oz.Provider, {+var Dz = (0, D.createContext)({});+function Oz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Dz.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, O.jsx)(Lde, {+ children: /* @__PURE__ */ (0, O.jsx)(Rde, {...a,"data-input-size": e,- className: eF("group flex h-max w-full flex-col items-start gap-1", r),+ className: $P("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-kz.displayName = "TextField";-var Az = tF({+Oz.displayName = "TextField";+var kz = eF({field: ["relative flex w-full items-center","rounded-2lg",@@ -41974,44 +41974,44 @@ var Az = tF({].join(" "),icon: "size-5 shrink-0"});-function jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, D.useContext)(Oz), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, O.jsx)(PI, {+function Az({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, D.useContext)(Dz), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, O.jsx)(MI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => eF(Az.field, d ? Az.fieldWithAddonSize[u] : Az.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 }) => $P(kz.field, d ? kz.fieldWithAddonSize[u] : kz.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, O.jsxs)("div", {- className: Az.content,+ className: kz.content,children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: Az.leftSection,+ className: kz.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {- className: Az.icon,+ className: kz.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, O.jsx)(LI, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(FI, {ref: o,...c,- className: eF(Az.input, l.inputClassName, a)+ className: $P(kz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: Az.icon,+ className: kz.icon,"aria-hidden": !0}) : null]})});}-jz.displayName = "InputBase";-function Mz({ 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, O.jsx)(kz, {+Az.displayName = "InputBase";+function jz({ 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, O.jsx)(Oz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- e && /* @__PURE__ */ (0, O.jsx)(Ez, {+ e && /* @__PURE__ */ (0, O.jsx)(Tz, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, O.jsx)(jz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {ref: c,groupRef: l,placeholder: r,@@ -42020,25 +42020,25 @@ function Mz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, O.jsx)(Dz, {+ t && /* @__PURE__ */ (0, O.jsx)(Ez, {isInvalid: d,children: t})] })});}-Mz.displayName = "Input";+jz.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsx-var Ffe = {+var Ife = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = lx();- return /* @__PURE__ */ (0, O.jsx)(bR, {+function Mz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = ax();+ return /* @__PURE__ */ (0, O.jsx)(yR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -42046,11 +42046,11 @@ function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, O.jsx)(Tue, {+ children: /* @__PURE__ */ (0, O.jsx)(Eue, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${Ffe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, O.jsx)(gR, {+ className: `flex max-h-full w-full ${Ife[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, O.jsx)(hR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -42058,7 +42058,7 @@ function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Pz({ children: e }) {+function Nz({ children: e }) {return /* @__PURE__ */ (0, O.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",@@ -42067,12 +42067,12 @@ function Pz({ children: e }) {}//#endregion//#region src/react/components/note.tsx-function Fz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function Pz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-note-layout": "",- className: eF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: $P("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: eF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: $P("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -42089,38 +42089,38 @@ function Fz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, O.jsx)("div", {role: "alert",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}//#endregion//#region src/react/components/empty-state.tsx-var Ife = {+var Lfe = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Lfe({ target: e, children: t }) {+function Rfe({ target: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",@@ -42128,11 +42128,11 @@ function Lfe({ target: e, children: t }) {children: t});}-function Iz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function Fz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Ife[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Lfe[i]}`,children: [/* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,@@ -42159,9 +42159,9 @@ function Iz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/sprite-glyph.tsx-var Lz = /* @__PURE__ */ new Map();-function Rz(e) {- let t = Lz.get(e);+var Iz = /* @__PURE__ */ new Map();+function Lz(e) {+ let t = Iz.get(e);if (t) return t;let { wide: n, viewBox: r } = Gt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,@@ -42177,11 +42177,11 @@ function Rz(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, Lz.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, Iz.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function zz({ label: e, id: t, onPress: n }) {+function Rz({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",id: t,@@ -42197,7 +42197,7 @@ function zz({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/settings/busy-props.ts-function Bz(e) {+function zz(e) {return e ? {"aria-busy": !0,"aria-disabled": !0@@ -42205,54 +42205,54 @@ function Bz(e) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var Vz = ["library-shortcuts"], Hz = "/api/library-shortcuts";-function Uz(e = !0) {+var Bz = ["library-shortcuts"], Vz = "/api/library-shortcuts";+function Hz(e = !0) {return St({- queryKey: Vz,- queryFn: ({ signal: e }) => V(Hz, e),+ queryKey: Bz,+ queryFn: ({ signal: e }) => V(Vz, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function Wz() {+function Uz() {return Ct({- mutationKey: Vz,- mutationFn: (e) => H(Hz, e),+ mutationKey: Bz,+ mutationFn: (e) => H(Vz, e),onSuccess: (e, t) => {- U.setQueryData(Vz, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));+ U.setQueryData(Bz, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function Gz(e, t) {+function Wz(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function Rfe(e) {+function zfe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : en(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var Kz = Rz("star"), zfe = Rz("bookmark-plus"), qz = Rz("chevron-right"), Jz = {+var Gz = Lz("star"), Bfe = Lz("bookmark-plus"), Kz = Lz("chevron-right"), qz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, Yz = {- all: Rz("star"),- performer: Rz("user-round"),- creator: Rz("user-round"),- studio: Rz("clapperboard"),- series: Rz("film"),- agency: Rz("briefcase"),- tag: Rz("tags"),- filters: Rz("list-filter")-}, Xz = [+}, Jz = {+ all: Lz("star"),+ performer: Lz("user-round"),+ creator: Lz("user-round"),+ studio: Lz("clapperboard"),+ series: Lz("film"),+ agency: Lz("briefcase"),+ tag: Lz("tags"),+ filters: Lz("list-filter")+}, Yz = [["all", "全部"],- ...Object.entries(Jz),+ ...Object.entries(qz),["filters", "保存的筛选"]];-function Zz({ label: e, children: t, ...n }) {+function Xz({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...n,@@ -42262,19 +42262,19 @@ function Zz({ label: e, children: t, ...n }) {children: t});}-function Qz({ item: e }) {- return /* @__PURE__ */ (0, O.jsx)(Bfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function Zz({ item: e }) {+ return /* @__PURE__ */ (0, O.jsx)(Vfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Bfe({ item: e }) {- let t = Uz(!1), n = (0, D.useRef)(t.data), r = Wz(), i = t.data && t.data !== n.current ? Gz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Gz(t.data.favorites || [], e) : !1);+function Vfe({ item: e }) {+ let t = Hz(!1), n = (0, D.useRef)(t.data), r = Uz(), i = t.data && t.data !== n.current ? Wz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Wz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(Zz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...Bz(r.isPending),+ ...zz(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42285,9 +42285,9 @@ function Bfe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }- }) : /* @__PURE__ */ (0, O.jsx)(Kz, {})+ }) : /* @__PURE__ */ (0, O.jsx)(Gz, {})}),- r.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: An(r.error)}) : null,@@ -42301,37 +42301,37 @@ function Bfe({ item: e }) {]});}-function $z({ currentHref: e, kind: t }) {+function Qz({ currentHref: e, kind: t }) {let [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, O.jsx)(LF, {+ children: /* @__PURE__ */ (0, O.jsx)(FF, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: Kz,+ icon: Gz,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, O.jsx)(Nz, {+ }), /* @__PURE__ */ (0, O.jsx)(Mz, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, O.jsx)(Vfe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Hfe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function Vfe({ currentHref: e, kind: t, close: n }) {- let r = Uz(), i = Wz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);+function Hfe({ currentHref: e, kind: t, close: n }) {+ let r = Hz(), i = Uz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);(0, D.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = KF(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = WF(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, D.useLayoutEffect)(() => {b.current && (x.current = $a(b.current) || null);}, []), (0, D.useLayoutEffect)(() => {@@ -42344,7 +42344,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, D.useLayoutEffect)(() => {x.current?.();});- let C = Xz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = Yz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -42367,7 +42367,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Rz, {label: "关闭我的收藏",onPress: n})]@@ -42397,8 +42397,8 @@ function Vfe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- Xz.map(([e, t]) => {- let n = Yz[e] || Kz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ Yz.map(([e, t]) => {+ let n = Jz[e] || Gz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -42430,17 +42430,17 @@ function Vfe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(Kz, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Gz, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, O.jsx)(qz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(Kz, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, O.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(zfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Bfe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, O.jsx)(qz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(Kz, { "aria-hidden": !0 })]})]})]@@ -42459,7 +42459,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -42468,16 +42468,16 @@ function Vfe({ currentHref: e, kind: t, close: n }) {}),children: An(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ i.isError ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: An(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {+ E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {size: "compact",- icon: Rz("list-filter"),+ icon: Lz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/",onClick: n,@@ -42496,7 +42496,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...Bz(i.isPending),+ ...zz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42511,7 +42511,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {label: "筛选名称",value: a,onChange: o,@@ -42520,7 +42520,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, O.jsx)(J, {type: "submit",disabled: !a.trim(),- ...Bz(i.isPending),+ ...zz(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -42531,16 +42531,16 @@ function Vfe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: Rz("search"),+ leadingIcon: Lz("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {+ k.length ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {size: "compact",- icon: Kz,+ icon: Gz,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -42550,7 +42550,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/",onClick: n,@@ -42564,25 +42564,25 @@ function Vfe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("a", {- href: Rfe(e),+ href: zfe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, O.jsx)(Hfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(Ufe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : Jz[e.kind]+ children: e.scope === "online" ? "在线标签" : qz[e.kind]})]})]}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...Bz(i.isPending),+ ...zz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42600,8 +42600,8 @@ function Vfe({ currentHref: e, kind: t, close: n }) {]});}-function Hfe({ item: e }) {- let t = Yz[e.kind] || Kz;+function Ufe({ item: e }) {+ let t = Jz[e.kind] || Gz;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42620,20 +42620,20 @@ function Hfe({ item: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var Ufe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, eB = /^[\\/]{2}/;-function Wfe(e, t) {+var Wfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, $z = /^[\\/]{2}/;+function Gfe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var tB = "popstate";-function nB(e) {+var eB = "popstate";+function tB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Gfe(e = {}) {+function Kfe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return oB("", {+ return aB("", {pathname: r,search: i,hash: a@@ -42644,14 +42644,14 @@ function Gfe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : sB(t);+ return typeof t == "string" ? t : oB(t);}- return qfe(t, n, null, e);+ return Jfe(t, n, null, e);}-function rB(e, t) {+function nB(e, t) {if (e === !1 || e == null) throw Error(t);}-function iB(e, t) {+function rB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42659,10 +42659,10 @@ function iB(e, t) {} catch {}}}-function Kfe() {+function qfe() {return Math.random().toString(36).substring(2, 10);}-function aB(e, t) {+function iB(e, t) {return {usr: e.state,key: e.key,@@ -42674,21 +42674,21 @@ function aB(e, t) {} : void 0};}-function oB(e, t, n = null, r, i) {+function aB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? cB(t) : t,+ ...typeof t == "string" ? sB(t) : t,state: n,- key: t && t.key || r || Kfe(),+ key: t && t.key || r || qfe(),mask: i};}-function sB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function oB({ 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 cB(e) {+function sB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42698,7 +42698,7 @@ function cB(e) {}return t;}-function qfe(e, t, n, r = {}) {+function Jfe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42718,9 +42718,9 @@ function qfe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = nB(e) ? e : oB(h.location, e, t);+ let r = tB(e) ? e : aB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = aB(r, l), f = h.createHref(r.mask || r);+ let d = iB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42735,9 +42735,9 @@ function qfe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = nB(e) ? e : oB(h.location, e, t);+ let r = tB(e) ? e : aB(h.location, e, t);n && n(r, e), l = u();- let i = aB(r, l), d = h.createHref(r.mask || r);+ let i = iB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42745,7 +42745,7 @@ function qfe(e, t, n, r = {}) {});}function m(e) {- return Jfe(i, e);+ return Yfe(i, e);}let h = {get action() {@@ -42756,8 +42756,8 @@ function qfe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(tB, d), c = e, () => {- i.removeEventListener(tB, d), c = null;+ return i.addEventListener(eB, d), c = e, () => {+ i.removeEventListener(eB, d), c = null;};},createHref(e) {@@ -42780,29 +42780,29 @@ function qfe(e, t, n, r = {}) {};return h;}-function Jfe(e, t, n = !1) {+function Yfe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), rB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : sB(t);- return i = i.replace(/ $/, "%20"), !n && eB.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), nB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : oB(t);+ return i = i.replace(/ $/, "%20"), !n && $z.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function Yfe(e, t, n = "/") {- return Xfe(e, t, n, !1);+function Xfe(e, t, n = "/") {+ return Zfe(e, t, n, !1);}-function Xfe(e, t, n, r, i) {- let a = hB((typeof t == "string" ? cB(t) : t).pathname || "/", n);+function Zfe(e, t, n, r, i) {+ let a = mB((typeof t == "string" ? sB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Zfe(e), s = null, c = upe(a);- for (let e = 0; s == null && e < o.length; ++e) s = lpe(o[e], c, r);+ let o = i ?? Qfe(e), s = null, c = dpe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = upe(o[e], c, r);return s;}-function Zfe(e) {- let t = lB(e);- return Qfe(t), t;+function Qfe(e) {+ let t = cB(e);+ return $fe(t), t;}-function lB(e, t = [], n = [], r = "", i = !1) {+function cB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42812,14 +42812,14 @@ function lB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- rB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ nB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = yB([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (rB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), lB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = vB([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (nB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), cB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: spe(l, e.index),+ score: cpe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = mB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = pB(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42830,68 +42830,68 @@ function lB(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of uB(e.path)) a(e, t, !0, n);+ else for (let n of lB(e.path)) a(e, t, !0, n);}), t;}-function uB(e) {+function lB(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = uB(r.join("/")), s = [];+ let o = lB(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 Qfe(e) {- e.sort((e, t) => e.score === t.score ? cpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function $fe(e) {+ e.sort((e, t) => e.score === t.score ? lpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var $fe = /^:[\w-]+$/, epe = /^:[\w-]+/, tpe = 3.5, npe = 3, rpe = 2, ipe = 1, ape = 10, ope = -2, dB = (e) => e === "*";-function spe(e, t) {+var epe = /^:[\w-]+$/, tpe = /^:[\w-]+/, npe = 3.5, rpe = 3, ipe = 2, ape = 1, ope = 10, spe = -2, uB = (e) => e === "*";+function cpe(e, t) {let n = e.split("/"), r = n.length;- return n.some(dB) && (r += ope), t && (r += rpe), n.filter((e) => !dB(e)).reduce((e, t) => e + ($fe.test(t) ? npe : epe.test(t) ? tpe : t === "" ? ipe : ape), r);+ return n.some(uB) && (r += spe), t && (r += ipe), n.filter((e) => !uB(e)).reduce((e, t) => e + (epe.test(t) ? rpe : tpe.test(t) ? npe : t === "" ? ape : ope), r);}-function cpe(e, t) {+function lpe(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 lpe(e, t, n = !1) {+function upe(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 = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? pB(u, l, s.matcher, s.compiledParams) : fB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = fB({+ }, d = s.matcher && s.compiledParams ? fB(u, l, s.matcher, s.compiledParams) : dB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = dB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: yB([a, d.pathname]),- pathnameBase: hpe(yB([a, d.pathnameBase])),+ pathname: vB([a, d.pathname]),+ pathnameBase: gpe(vB([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = yB([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = vB([a, d.pathnameBase]));}return o;}-function fB(e, t) {+function dB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = mB(e.path, e.caseSensitive, e.end);- return pB(e, t, n, r);+ let [n, r] = pB(e.path, e.caseSensitive, e.end);+ return fB(e, t, n, r);}-function pB(e, t, n, r) {+function fB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = bB(a, 1), s = i.slice(1);+ let a = i[0], o = yB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = bB(a.slice(0, a.length - e.length), 1);+ o = yB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42901,8 +42901,8 @@ function pB(e, t, n, r) {pattern: e};}-function mB(e, t = !1, n = !0) {- iB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function pB(e, t = !1, n = !0) {+ rB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -42915,46 +42915,46 @@ function mB(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 upe(e) {+function dpe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return iB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return rB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function hB(e, t) {+function mB(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function dpe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? cB(e) : e, a;- return n ? (n = vB(n), a = n.startsWith("/") || n.startsWith("\\") ? gB(n.substring(1), "/") : gB(n, t)) : a = t, {+function fpe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? sB(e) : e, a;+ return n ? (n = _B(n), a = n.startsWith("/") || n.startsWith("\\") ? hB(n.substring(1), "/") : hB(n, t)) : a = t, {pathname: a,- search: gpe(r),- hash: _pe(i)+ search: _pe(r),+ hash: vpe(i)};}-function gB(e, t) {- let n = bB(t).split("/");+function hB(e, t) {+ let n = yB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function _B(e, t, n, r) {+function gB(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 fpe(e) {+function ppe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function ppe(e) {- let t = fpe(e);+function mpe(e) {+ let t = ppe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function mpe(e, t, n, r = !1) {+function hpe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = cB(e) : (i = { ...e }, rB(!i.pathname || !i.pathname.includes("?"), _B("?", "pathname", "search", i)), rB(!i.pathname || !i.pathname.includes("#"), _B("#", "pathname", "hash", i)), rB(!i.search || !i.search.includes("#"), _B("#", "search", "hash", i)));+ typeof e == "string" ? i = sB(e) : (i = { ...e }, nB(!i.pathname || !i.pathname.includes("?"), gB("?", "pathname", "search", i)), nB(!i.pathname || !i.pathname.includes("#"), gB("#", "pathname", "hash", i)), nB(!i.search || !i.search.includes("#"), gB("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42966,16 +42966,16 @@ function mpe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = dpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = fpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var vB = (e) => e.replace(/[\\/]{2,}/g, "/"), yB = (e) => vB(e.join("/"));-function bB(e, t = 0) {+var _B = (e) => e.replace(/[\\/]{2,}/g, "/"), vB = (e) => _B(e.join("/"));+function yB(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var hpe = (e) => bB(e).replace(/^\/*/, "/"), gpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, _pe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, vpe = class {+var gpe = (e) => yB(e).replace(/^\/*/, "/"), _pe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, vpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, ype = class {status;statusText;data;@@ -42985,26 +42985,26 @@ var hpe = (e) => bB(e).replace(/^\/*/, "/"), gpe = (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 ype(e) {+function bpe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function bpe(e) {- return yB(e.map((e) => e.route.path).filter(Boolean)) || "/";+function xpe(e) {+ return vB(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var xB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function xpe(e, t) {+var bB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function Spe(e, t) {let n = e;- if (typeof n != "string" || !Ufe.test(n)) return {+ if (typeof n != "string" || !Wfe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (xB) try {- let e = new URL(window.location.href), r = eB.test(n) ? new URL(Wfe(n, e.protocol)) : new URL(n), a = hB(r.pathname, t);+ if (bB) try {+ let e = new URL(window.location.href), r = $z.test(n) ? new URL(Gfe(n, e.protocol)) : new URL(n), a = mB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- iB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ rB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -43014,45 +43014,45 @@ function xpe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var SB = new URL("http://localhost");-function CB(e) {+var xB = new URL("http://localhost");+function SB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), SB);+ return new URL(e.createHref("/"), xB);} catch {- return SB;+ return xB;}}-function wB(e, t) {+function CB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function Spe(e, t) {+function Cpe(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;}-function TB(e, t, n, r) {+function wB(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !wB(i, n), s = !wB(a, n);+ let a = new URL(t, n), o = i != null && !CB(i, n), s = !CB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !Spe(e, i) || !wB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !Cpe(e, i) || !CB(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var EB = [+var TB = ["POST","PUT","PATCH","DELETE"];-new Set(EB);-var Cpe = ["GET", ...EB];-new Set(Cpe);-var wpe = [+new Set(TB);+var wpe = ["GET", ...TB];+new Set(wpe);+var Tpe = ["about:","blob:","chrome:",@@ -43064,85 +43064,85 @@ var wpe = ["filesystem:","javascript:"];-function Tpe(e) {+function Epe(e) {try {- return wpe.includes(new URL(e).protocol);+ return Tpe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var DB = D.createContext(null);-DB.displayName = "DataRouter";-var Epe = D.createContext(null);-Epe.displayName = "DataRouterState";-var OB = D.createContext(null);-OB.displayName = "DataRouterData";+var EB = D.createContext(null);+EB.displayName = "DataRouter";var Dpe = D.createContext(null);-Dpe.displayName = "DataRouterNavigation";-var Ope = D.createContext(!1), kpe = D.createContext({ isTransitioning: !1 });-kpe.displayName = "ViewTransition";-var Ape = D.createContext(null);-Ape.displayName = "Fetchers";+Dpe.displayName = "DataRouterState";+var DB = D.createContext(null);+DB.displayName = "DataRouterData";+var Ope = D.createContext(null);+Ope.displayName = "DataRouterNavigation";+var kpe = D.createContext(!1), Ape = D.createContext({ isTransitioning: !1 });+Ape.displayName = "ViewTransition";var jpe = D.createContext(null);-jpe.displayName = "Await";+jpe.displayName = "Fetchers";+var Mpe = D.createContext(null);+Mpe.displayName = "Await";+var OB = D.createContext(null);+OB.displayName = "Navigation";var kB = D.createContext(null);-kB.displayName = "Navigation";-var AB = D.createContext(null);-AB.displayName = "Location";-var jB = D.createContext({+kB.displayName = "Location";+var AB = D.createContext({outlet: null,matches: [],isDataRoute: !1});-jB.displayName = "Route";-var MB = D.createContext(!1);-MB.displayName = "IsDataRoute";-var NB = D.createContext(void 0);-NB.displayName = "RouteId";-var PB = D.createContext(null);-PB.displayName = "RouteError";+AB.displayName = "Route";+var jB = D.createContext(!1);+jB.displayName = "IsDataRoute";+var MB = D.createContext(void 0);+MB.displayName = "RouteId";+var NB = D.createContext(null);+NB.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var FB = "REACT_ROUTER_ERROR", Mpe = "REDIRECT", Npe = "ROUTE_ERROR_RESPONSE";-function Ppe(e) {- if (e.startsWith(`${FB}:${Mpe}:{`)) try {+var PB = "REACT_ROUTER_ERROR", Npe = "REDIRECT", Ppe = "ROUTE_ERROR_RESPONSE";+function Fpe(e) {+ if (e.startsWith(`${PB}:${Npe}:{`)) 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 Fpe(e) {- if (e.startsWith(`${FB}:${Npe}:{`)) try {+function Ipe(e) {+ if (e.startsWith(`${PB}:${Ppe}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new vpe(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new ype(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function IB() {- return D.useContext(AB) != null;-}-function LB() {- return rB(IB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(AB).location;+function FB() {+ return D.useContext(kB) != null;}-var RB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function Ipe() {- return D.useContext(MB) ? Jpe() : Lpe();+function IB() {+ return nB(FB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(kB).location;}+var LB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Lpe() {- rB(IB(), "useNavigate() may be used only in the context of a <Router> component.");- let e = D.useContext(DB), { basename: t, navigator: n } = D.useContext(kB), { matches: r } = D.useContext(jB), { pathname: i } = LB(), a = JSON.stringify(ppe(r)), o = D.useRef(!1);+ return D.useContext(jB) ? Ype() : Rpe();+}+function Rpe() {+ nB(FB(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = D.useContext(EB), { basename: t, navigator: n } = D.useContext(OB), { matches: r } = D.useContext(AB), { pathname: i } = IB(), a = JSON.stringify(mpe(r)), o = D.useRef(!1);return D.useLayoutEffect(() => {o.current = !0;}), D.useCallback((r, s = {}) => {- if (iB(o.current, RB), !o.current) return;+ if (rB(o.current, LB), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = mpe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : yB([t, c.pathname])), TB(typeof r == "string" ? r : sB(r), n.createHref(c), CB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = hpe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : vB([t, c.pathname])), wB(typeof r == "string" ? r : oB(r), n.createHref(c), SB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -43152,19 +43152,19 @@ function Lpe() {]);}D.createContext(null);-function Rpe(e, t) {- return zB(e, t);+function zpe(e, t) {+ return RB(e, t);}-function zB(e, t, n) {- rB(IB(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = D.useContext(kB), { matches: i } = D.useContext(jB), a = i[i.length - 1], o = a ? a.params : {};+function RB(e, t, n) {+ nB(FB(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = D.useContext(OB), { matches: i } = D.useContext(AB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = LB(), l;+ let c = IB(), l;if (t) {- let e = typeof t == "string" ? cB(t) : t;- rB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? sB(t) : t;+ nB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -43172,13 +43172,13 @@ function zB(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) : Yfe(e, { pathname: d });- let p = Wpe(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) : Xfe(e, { pathname: d });+ let p = Gpe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: yB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : yB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: vB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : vB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ D.createElement(AB.Provider, { value: {+ return t && p ? /* @__PURE__ */ D.createElement(kB.Provider, { value: {location: {pathname: "/",search: "",@@ -43191,14 +43191,14 @@ function zB(e, t, n) {navigationType: "POP"} }, p) : p;}-function zpe() {- let e = qpe(), t = ype(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function Bpe() {+ let e = Jpe(), t = bpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ D.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Component {+var Vpe = /* @__PURE__ */ D.createElement(Bpe, null), Hpe = class extends D.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -43206,7 +43206,7 @@ var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Comperror: e.error};}- static contextType = Ope;+ static contextType = kpe;static getDerivedStateFromError(e) {return { error: e };}@@ -43227,30 +43227,30 @@ var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = Fpe(e.digest);+ let t = Ipe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(jB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(MB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(NB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(PB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(AB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(jB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(MB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(NB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ D.createElement(Hpe, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ D.createElement(Upe, { error: e }, t) : t;}-}, BB = /* @__PURE__ */ new WeakMap();-function Hpe({ children: e, error: t }) {- let { basename: n, navigator: r } = D.useContext(kB);+}, zB = /* @__PURE__ */ new WeakMap();+function Upe({ children: e, error: t }) {+ let { basename: n, navigator: r } = D.useContext(OB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = Ppe(t.digest);+ let e = Fpe(t.digest);if (e) {- let i = BB.get(t);+ let i = zB.get(t);if (i) throw i;- let a = xpe(e.location, n), o = a.absoluteURL || a.to;- if (TB(e.location, o, CB(r), "allow-explicit"), Tpe(o)) throw Error("Invalid redirect location");- if (xB && !BB.get(t)) {+ let a = Spe(e.location, n), o = a.absoluteURL || a.to;+ if (wB(e.location, o, SB(r), "allow-explicit"), Epe(o)) throw Error("Invalid redirect location");+ if (bB && !zB.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw BB.set(t, n), n;+ throw zB.set(t, n), n;}}return /* @__PURE__ */ D.createElement("meta", {@@ -43261,11 +43261,11 @@ function Hpe({ children: e, error: t }) {}return e;}-function Upe({ routeContext: e, match: t, children: n }) {- let r = D.useContext(DB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(jB.Provider, { value: e }, /* @__PURE__ */ D.createElement(MB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(NB.Provider, { value: t.route.id }, n)));+function Wpe({ routeContext: e, match: t, children: n }) {+ let r = D.useContext(EB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(AB.Provider, { value: e }, /* @__PURE__ */ D.createElement(jB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(MB.Provider, { value: t.route.id }, n)));}-function Wpe(e, t = [], n) {+function Gpe(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -43276,7 +43276,7 @@ function Wpe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- rB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ nB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -43296,16 +43296,16 @@ function Wpe(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: bpe(r.matches),+ pattern: xpe(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 || Bpe, o && (s < 0 && c === 0 ? (Ype("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 || Vpe, o && (s < 0 && c === 0 ? (Xpe("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__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Upe, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Wpe, {match: n,routeContext: {outlet: e,@@ -43315,7 +43315,7 @@ function Wpe(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Vpe, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Hpe, {location: r.location,revalidation: r.revalidation,component: f,@@ -43330,44 +43330,44 @@ function Wpe(e, t = [], n) {}) : h();}, null);}-function VB(e) {+function BB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function Gpe(e) {- let t = D.useContext(DB);- return rB(t, VB(e)), t;-}function Kpe(e) {- let t = D.useContext(OB);- return rB(t, VB(e)), t;+ let t = D.useContext(EB);+ return nB(t, BB(e)), t;}-function HB(e) {- let t = D.useContext(NB);- return rB(t, `${e} can only be used on routes that contain a unique "id"`), t;+function qpe(e) {+ let t = D.useContext(DB);+ return nB(t, BB(e)), t;}-function qpe() {- let e = D.useContext(PB), t = Kpe("useRouteError"), n = HB("useRouteError");- return e === void 0 ? t.errors?.[n] : e;+function VB(e) {+ let t = D.useContext(MB);+ return nB(t, `${e} can only be used on routes that contain a unique "id"`), t;}function Jpe() {- let { router: e } = Gpe("useNavigate"), t = HB("useNavigate"), n = D.useRef(!1);+ let e = D.useContext(NB), t = qpe("useRouteError"), n = VB("useRouteError");+ return e === void 0 ? t.errors?.[n] : e;+}+function Ype() {+ let { router: e } = Kpe("useNavigate"), t = VB("useNavigate"), n = D.useRef(!1);return D.useLayoutEffect(() => {n.current = !0;}), D.useCallback(async (r, i = {}) => {- iB(n.current, RB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ rB(n.current, LB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var UB = {};-function Ype(e, t, n) {- !t && !UB[e] && (UB[e] = !0, iB(!1, n));+var HB = {};+function Xpe(e, t, n) {+ !t && !HB[e] && (HB[e] = !0, rB(!1, n));}-D.memo(Xpe);-function Xpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = D.useContext(DB);- return rB(a, "You must render this element inside a <DataRouterContext.Provider> element"), zB(e, void 0, {+D.memo(Zpe);+function Zpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = D.useContext(EB);+ return nB(a, "You must render this element inside a <DataRouterContext.Provider> element"), RB(e, void 0, {router: a.router,manifest: t,state: n,@@ -43375,11 +43375,11 @@ function Xpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function WB(e) {- rB(!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 UB(e) {+ nB(!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 Zpe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- rB(!IB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function Qpe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ nB(!FB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = D.useMemo(() => ({basename: s,navigator: i,@@ -43392,9 +43392,9 @@ function Zpe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = cB(n));+ typeof n == "string" && (n = sB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = D.useMemo(() => {- let e = hB(l, s);+ let e = mB(l, s);return e == null ? null : {location: {pathname: e,@@ -43416,27 +43416,27 @@ function Zpe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return iB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(kB.Provider, { value: c }, /* @__PURE__ */ D.createElement(AB.Provider, {+ return rB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(OB.Provider, { value: c }, /* @__PURE__ */ D.createElement(kB.Provider, {children: t,value: h}));}-function GB({ children: e, location: t }) {- return Rpe(KB(e), t);+function WB({ children: e, location: t }) {+ return zpe(GB(e), t);}D.Component;-function KB(e, t = []) {+function GB(e, t = []) {let n = [];return D.Children.forEach(e, (e, r) => {if (!D.isValidElement(e)) return;let i = [...t, r];if (e.type === D.Fragment) {- n.push.apply(n, KB(e.props.children, i));+ n.push.apply(n, GB(e.props.children, i));return;}- rB(e.type === WB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ nB(e.type === UB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- rB(!a.index || !a.children, "An index route cannot have child routes.");+ nB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43455,17 +43455,17 @@ function KB(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = KB(a.children, i)), n.push(o);+ a.children && (o.children = GB(a.children, i)), n.push(o);}), n;}//#endregion//#region src/react/components/board-navigation-link.tsx-function Qpe(e) {+function $pe(e) {return /* @__PURE__ */ (0, O.jsx)("a", { ...e });}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function $pe(e) {+function eme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43479,7 +43479,7 @@ function $pe(e) {})});}-function eme(e) {+function tme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43493,7 +43493,7 @@ function eme(e) {})});}-function qB(e) {+function KB(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43507,54 +43507,54 @@ function qB(e) {}//#endregion//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function tme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function nme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = D.Children.toArray(e).filter(D.isValidElement);return /* @__PURE__ */ (0, O.jsx)("nav", {ref: r,"aria-label": t,- className: eF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: $P("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, O.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(eme, {+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(tme, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function JB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function qB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t && /* @__PURE__ */ (0, O.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "page",- className: eF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: $P("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = eF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = $P("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, O.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, O.jsx)(Qpe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)($pe, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: r,- className: eF("cursor-pointer", s),+ className: $P("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function YB() {- return vS().direction;+function JB() {+ return mS().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var XB = [+var YB = ["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",@@ -43562,11 +43562,11 @@ var XB = ["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(" "), nme = "w-[266px]", rme = "flex w-full flex-col gap-1 outline-none", ZB = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), QB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), rme = "w-[266px]", ime = "flex w-full flex-col gap-1 outline-none", XB = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), ZB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsx-function ime({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = YB(), l = (0, D.useContext)(dI), u = l === cI && !s.dragAndDropHooks ? eV : l;+function ame({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = JB(), l = (0, D.useContext)(lI), u = l === oI && !s.dragAndDropHooks ? $B : l;return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43583,23 +43583,23 @@ function ime({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, O.jsx)(dI.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(lI.Provider, {value: u,- children: /* @__PURE__ */ (0, O.jsx)(Bde, {+ children: /* @__PURE__ */ (0, O.jsx)(Vde, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => eF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === eV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => $P("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === $B ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = YB();- return /* @__PURE__ */ (0, O.jsxs)(Ude, {+function QB({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = JB();+ return /* @__PURE__ */ (0, O.jsxs)(Wde, {...u,ref: l,textValue: t,@@ -43607,11 +43607,11 @@ function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => eF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, O.jsx)(Hde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? hz : mz : mfe);+ className: (e) => $P("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ children: [/* @__PURE__ */ (0, O.jsx)(Ude, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? mz : pz : hfe);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(ome, {+ /* @__PURE__ */ (0, O.jsx)(sme, {state: l,id: u,level: c,@@ -43621,20 +43621,20 @@ function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, O.jsx)(_I, {+ children: [t ? /* @__PURE__ */ (0, O.jsx)(hI, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(dz, {+ children: /* @__PURE__ */ (0, O.jsx)(uz, {"aria-hidden": !0,- className: eF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: $P("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: eF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: $P("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, O.jsx)(f, {"aria-hidden": !0,- className: eF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: $P("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -43649,24 +43649,24 @@ function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var eV = {- ...cI,- CollectionRoot: ame+var $B = {+ ...oI,+ CollectionRoot: ome};-function ame({ collection: e, ...t }) {- let n = (0, D.useContext)(oz);+function ome({ collection: e, ...t }) {+ let n = (0, D.useContext)(az);return n ? /* @__PURE__ */ (0, O.jsx)(Mv, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(sme, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(cme, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, O.jsx)(cI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, O.jsx)(oI.CollectionRoot, {collection: e,...t});}-function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function sme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -43699,7 +43699,7 @@ function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: eF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: $P("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, O.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43725,9 +43725,9 @@ function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function sme({ state: e, children: t }) {- let n = kv(), r = Ay(), [i, a] = (0, D.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Ry.div, {+function cme({ state: e, children: t }) {+ let n = kv(), r = Dy(), [i, a] = (0, D.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Fy.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43766,7 +43766,7 @@ function sme({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, O.jsx)(oz.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(az.Provider, {value: n ? e : i,children: t})@@ -43774,7 +43774,7 @@ function sme({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var tV = {+var eV = {md: {box: "size-4",glyph: "size-4",@@ -43788,11 +43788,11 @@ var tV = {gap: "gap-1.5"}};-function nV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tV[t], c = n || r, l = o && !a;+function tV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = eV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: eF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? eF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : eF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: $P("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? $P("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : $P("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43816,24 +43816,24 @@ function nV({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function rV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = tV[n];- return /* @__PURE__ */ (0, O.jsx)(jI, {+function nV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = eV[n];+ return /* @__PURE__ */ (0, O.jsx)(kI, {ref: r,...i,- className: (t) => eF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nV, {+ className: (t) => $P("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(tV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: eF(a.label, "text-text-primary"),+ className: $P(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function iV() {+function rV() {let e = (0, D.useRef)(null);return (0, D.useEffect)(() => {$a(e.current);@@ -43841,13 +43841,13 @@ function iV() {}//#endregion//#region src/history/settings-route.ts-var aV = {+var iV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, oV = {+}, aV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43855,37 +43855,37 @@ var aV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function sV(e) {- return oV[e.split("/")[2]] || oV.library;+function oV(e) {+ return aV[e.split("/")[2]] || aV.library;}-var cV = ["/settings", ...Object.keys(aV).map((e) => `/settings/${e}`)], lV = (e) => cV.includes(e);-function uV(e) {- return aV[e.split("/")[2]] || aV.appearance;+var sV = ["/settings", ...Object.keys(iV).map((e) => `/settings/${e}`)], cV = (e) => sV.includes(e);+function lV(e) {+ return iV[e.split("/")[2]] || iV.appearance;}-function dV(e) {+function uV(e) {return `/settings/${Object.entries({- ...aV,- ...oV+ ...iV,+ ...aV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var fV = (e) => {+var dV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, pV = [+}, fV = ["/assets/:id","/posts/:id","/works/:code"-], cme = [+], lme = ["mix","parts","editions","playlist"];-function mV(e, t = "") {+function pV(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of pV) {- let r = fB(n, e);+ for (let n of fV) {+ let r = dB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43902,7 +43902,7 @@ function mV(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = cme.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = lme.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43926,8 +43926,8 @@ function mV(e, t = "") {}return null;}-var hV = (e, t = "") => mV(e, t)?.target ?? null, gV = (e) => lV(e.split(/[?#]/)[0]) || pV.some((t) => fB(t, e.split(/[?#]/)[0]) !== null);-function _V(e) {+var mV = (e, t = "") => pV(e, t)?.target ?? null, hV = (e) => cV(e.split(/[?#]/)[0]) || fV.some((t) => dB(t, e.split(/[?#]/)[0]) !== null);+function gV(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43935,35 +43935,35 @@ function _V(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var vV = null, yV = null;-function bV() {+var _V = null, vV = null;+function yV() {let { pathname: e, search: t, hash: n } = window.location;- gV(e) || (vV = {+ hV(e) || (_V = {pathname: e,search: t,...n ? { hash: n } : {}});}-function xV() {- vV = null, yV = null;+function bV() {+ _V = null, vV = null;}-function lme(e) {- let t = _V(e);- t && (vV = t, yV = t.pathname + t.search + (t.hash || ""));+function ume(e) {+ let t = gV(e);+ t && (_V = t, vV = t.pathname + t.search + (t.hash || ""));}-function SV() {- let e = yV;- return yV = null, e;+function xV() {+ let e = vV;+ return vV = null, e;}-function CV(e) {- return vV ? {- backgroundLocation: { ...vV },+function SV(e) {+ return _V ? {+ backgroundLocation: { ..._V },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function wV(e) {+function CV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43987,16 +43987,16 @@ function wV(e) {}//#endregion//#region src/history/route-meta.ts-var TV = {+var wV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(aV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(iV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(oV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(aV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -44127,13 +44127,13 @@ var TV = {title: "播放墙"}};-function EV(e) {- if (Object.hasOwn(TV, e)) return TV[e];- let t = mV(e);- if (t) return TV[t.path];+function TV(e) {+ if (Object.hasOwn(wV, e)) return wV[e];+ let t = pV(e);+ if (t) return wV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(TV, `/${n}`) ? TV[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(wV, `/${n}`) ? wV[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Mt({performers: "performer",studios: "studio",@@ -44142,126 +44142,126 @@ function EV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(TV, i) ? {- ...TV[i],+ return Object.hasOwn(wV, i) ? {+ ...wV[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var DV = () => {}, OV = new Promise((e) => {- DV = e;+var EV = () => {}, DV = new Promise((e) => {+ EV = e;});-OV.catch(() => {});-var kV = null, AV = /* @__PURE__ */ new Map(), jV = /* @__PURE__ */ new Map(), MV = 0, NV = /* @__PURE__ */ new Set();-function ume(e) {- DV(e);+DV.catch(() => {});+var OV = null, kV = /* @__PURE__ */ new Map(), AV = /* @__PURE__ */ new Map(), jV = 0, MV = /* @__PURE__ */ new Set();+function dme(e) {+ EV(e);}-function PV(e) {- return AV.get(e) ?? null;+function NV(e) {+ return kV.get(e) ?? null;}-function FV(e) {- return !!e && (AV.has(e) || jV.has(e));+function PV(e) {+ return !!e && (kV.has(e) || AV.has(e));}-var IV = () => [...AV.values()];-function dme(e) {- return NV.add(e), () => {- NV.delete(e);+var FV = () => [...kV.values()];+function fme(e) {+ return MV.add(e), () => {+ MV.delete(e);};}-function LV(e) {- let t = IV();- for (let n of [...NV]) n(t, e);+function IV(e) {+ let t = FV();+ for (let n of [...MV]) n(t, e);}-async function RV(e, t, n) {+async function LV(e, t, n) {let { container: r } = n;- if (BV(r), !n.isCurrent()) return !1;- MV += 1;+ if (zV(r), !n.isCurrent()) return !1;+ jV += 1;let i = {- revision: MV,+ revision: jV,controller: new AbortController()};- jV.set(r, i);- let a = kV;- kV = null, a?.();- let o = await OV;- if (jV.get(r) !== i) return !1;+ AV.set(r, i);+ let a = OV;+ OV = null, a?.();+ let o = await DV;+ if (AV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (jV.get(r) !== i || (jV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : fme(r);- return AV.set(r, {+ if (AV.get(r) !== i || (AV.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : pme(r);+ return kV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), LV(!0), !0;+ }), IV(!0), !0;}-function fme(e) {+function pme(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function zV(e, t) {- let n = e ? AV.get(e) : void 0;- n && (AV.set(n.container, {+function RV(e, t) {+ let n = e ? kV.get(e) : void 0;+ n && (kV.set(n.container, {...n,props: {...n.props,...t}- }), LV(!1));+ }), IV(!1));}-function BV(e, ...t) {+function zV(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = jV.get(r);- e && (e.controller.abort(), jV.delete(r));- let t = AV.get(r);- t && (AV.delete(r), n.push(t));+ let e = AV.get(r);+ e && (e.controller.abort(), AV.delete(r));+ let t = kV.get(r);+ t && (kV.delete(r), n.push(t));}if (n.length) {- LV(!0);+ IV(!0);for (let e of n) e.resident || e.host.remove();}}-function pme() {- let [e, ...t] = /* @__PURE__ */ new Set([...AV.keys(), ...jV.keys()]);- e && BV(e, ...t);+function mme() {+ let [e, ...t] = /* @__PURE__ */ new Set([...kV.keys(), ...AV.keys()]);+ e && zV(e, ...t);}-function mme(e, t) {- let n = AV.get(e);- n?.revision === t && (AV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- LV(!1);+function hme(e, t) {+ let n = kV.get(e);+ n?.revision === t && (kV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ IV(!1);}));}//#endregion//#region src/history/index.ts-var VV = Gfe({ v5Compat: !0 }), HV = 0, UV = 0, WV = {- action: VV.action,- location: VV.location,- seq: HV,- openEpoch: UV,+var BV = Kfe({ v5Compat: !0 }), VV = 0, HV = 0, UV = {+ action: BV.action,+ location: BV.location,+ seq: VV,+ openEpoch: HV,claimed: !0-}, GV = /* @__PURE__ */ new Set(), KV = !1, qV = !0;-VV.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = wV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = VV.location), HV += 1, KV || (UV += 1), e !== "REPLACE" && (qV = !1), WV = {+}, WV = /* @__PURE__ */ new Set(), GV = !1, KV = !0;+BV.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = CV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = BV.location), VV += 1, GV || (HV += 1), e !== "REPLACE" && (KV = !1), UV = {action: e,location: t,- seq: HV,- openEpoch: UV,- claimed: KV+ seq: VV,+ openEpoch: HV,+ claimed: GV};- for (let e of [...GV]) e(WV);+ for (let e of [...WV]) e(UV);});-function JV(e) {- if (typeof e == "string") return wV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = wV(t.href);+function qV(e) {+ if (typeof e == "string") return CV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = CV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -44271,52 +44271,52 @@ function JV(e) {hash: r.hash};}-var YV = {+var JV = {get navigation() {- return WV;+ return UV;},listen(e) {- return GV.add(e), () => {- GV.delete(e);+ return WV.add(e), () => {+ WV.delete(e);};},- createHref: (e) => VV.createHref(e),- createURL: (e) => VV.createURL(e),- encodeLocation: (e) => VV.encodeLocation(e),- go: (e) => VV.go(e),- push: (e, t) => VV.push(JV(e), t),- replace: (e, t) => VV.replace(JV(e), t)+ createHref: (e) => BV.createHref(e),+ createURL: (e) => BV.createURL(e),+ encodeLocation: (e) => BV.encodeLocation(e),+ go: (e) => BV.go(e),+ push: (e, t) => BV.push(qV(e), t),+ replace: (e, t) => BV.replace(qV(e), t)};-function XV(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = wV(`${r.pathname}${r.search}${r.hash}`);- KV = !0;+function YV(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = CV(`${r.pathname}${r.search}${r.hash}`);+ GV = !0;try {- t ? VV.replace(i, n) : VV.push(i, n);+ t ? BV.replace(i, n) : BV.push(i, n);} finally {- KV = !1;+ GV = !1;}}-var ZV = () => qV;-function QV() {- if (lV(WV.location.pathname)) {- let e = qV ? null : fV(WV.location.state);- return e ? _V(e.state) || e : null;+var XV = () => KV;+function ZV() {+ if (cV(UV.location.pathname)) {+ let e = KV ? null : dV(UV.location.state);+ return e ? gV(e.state) || e : null;}- return qV ? null : _V(WV.location.state);+ return KV ? null : gV(UV.location.state);}//#endregion//#region src/react/providers.tsx-var $V = null;-function hme() {- return $V?.isConnected || ($V = document.createElement("div"), $V.className = "peach-react", $V.dataset.reactOverlays = "", document.body.append($V)), $V;+var QV = null;+function gme() {+ return QV?.isConnected || (QV = document.createElement("div"), QV.className = "peach-react", QV.dataset.reactOverlays = "", document.body.append(QV)), QV;}-function eH({ children: e }) {+function $V({ children: e }) {return /* @__PURE__ */ (0, O.jsx)(j, {client: U,children: /* @__PURE__ */ (0, O.jsx)(Ote, {reducedMotion: "user",- children: /* @__PURE__ */ (0, O.jsx)(CT, {- getContainer: hme,+ children: /* @__PURE__ */ (0, O.jsx)(yT, {+ getContainer: gme,children: e})})@@ -44324,26 +44324,26 @@ function eH({ children: e }) {}//#endregion//#region node_modules/sonner/dist/index.mjs-function gme(e) {+function _me(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 _me = (e) => {+var vme = (e) => {switch (e) {- case "success": return bme;- case "info": return Sme;- case "warning": return xme;- case "error": return Cme;+ case "success": return xme;+ case "info": return Cme;+ case "warning": return Sme;+ case "error": return wme;default: return null;}-}, vme = Array(12).fill(0), yme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {+}, yme = Array(12).fill(0), bme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, vme.map((e, t) => /*#__PURE__*/ D.createElement("div", {+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, yme.map((e, t) => /*#__PURE__*/ D.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), bme = /*#__PURE__*/ D.createElement("svg", {+})))), xme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44354,7 +44354,7 @@ var _me = (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"-})), xme = /*#__PURE__*/ D.createElement("svg", {+})), Sme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44365,7 +44365,7 @@ var _me = (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"-})), Sme = /*#__PURE__*/ D.createElement("svg", {+})), Cme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44376,7 +44376,7 @@ var _me = (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"-})), Cme = /*#__PURE__*/ D.createElement("svg", {+})), wme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44387,7 +44387,7 @@ var _me = (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"-})), wme = /*#__PURE__*/ D.createElement("svg", {+})), Tme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44408,7 +44408,7 @@ var _me = (e) => {y1: "6",x2: "18",y2: "18"-})), Tme = () => {+})), Eme = () => {let [e, t] = D.useState(document.hidden);return D.useEffect(() => {let e = () => {@@ -44416,7 +44416,7 @@ var _me = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, Eme = 1, Dme = 100, tH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Eme++, nH = new class {+}, Dme = 1, Ome = 100, eH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Dme++, tH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44426,10 +44426,10 @@ var _me = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - Dme;+ let e = this.toasts.length - Ome;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 = tH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = eH(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -44504,7 +44504,7 @@ var _me = (e) => {type: "default",message: e});- else if (kme(e) && !e.ok) {+ else if (Ame(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" && !D.isValidElement(r) ? r : { message: r };this.create({@@ -44548,7 +44548,7 @@ var _me = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = tH(t);+ let n = eH(t);return this.create({...t,jsx: e(n),@@ -44557,34 +44557,34 @@ var _me = (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();}-}(), Ome = (e, t) => nH.message(e, t), kme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", rH = Object.assign(Ome, {- success: nH.success,- info: nH.info,- warning: nH.warning,- error: nH.error,- custom: nH.custom,- message: nH.message,- promise: nH.promise,- dismiss: nH.dismiss,- loading: nH.loading+}(), kme = (e, t) => tH.message(e, t), Ame = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", nH = Object.assign(kme, {+ success: tH.success,+ info: tH.info,+ warning: tH.warning,+ error: tH.error,+ custom: tH.custom,+ message: tH.message,+ promise: tH.promise,+ dismiss: tH.dismiss,+ loading: tH.loading}, {- getHistory: () => nH.toasts,- getToasts: () => nH.getActiveToasts()+ getHistory: () => tH.toasts,+ getToasts: () => tH.getActiveToasts()});-gme("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");-function iH(e) {+_me("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+function rH(e) {return e.label !== void 0;}-var Ame = 3, jme = "24px", Mme = "16px", aH = 4e3, Nme = 356, Pme = 14, Fme = 45, Ime = 200;-function oH(...e) {+var jme = 3, Mme = "24px", Nme = "16px", iH = 4e3, Pme = 356, Fme = 14, Ime = 45, Lme = 200;+function aH(...e) {return e.filter(Boolean).join(" ");}-function Lme(e) {+function Rme(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var Rme = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || aH), le = D.useRef(null), ue = D.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || aH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Tme(), ke = D.useMemo(() => e.swipeDirections ?? Lme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+var zme = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || iH), le = D.useRef(null), ue = D.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || iH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Eme(), ke = D.useMemo(() => e.swipeDirections ?? Rme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";Se.current = D.useMemo(() => ve * x + De, [ve, De]), D.useEffect(() => {ce.current = be;}, [be]), D.useEffect(() => {@@ -44625,7 +44625,7 @@ var Rme = (e) => {let Me = D.useCallback(() => {P(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, Ime);+ }, Lme);}, [n,d,@@ -44656,18 +44656,18 @@ var Rme = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ D.createElement("div", {- className: oH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: aH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ D.createElement(yme, {- className: oH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ D.createElement(bme, {+ className: aH(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || _me(pe);+ let Pe = n.icon || w?.[pe] || vme(pe);return /*#__PURE__*/ D.createElement("li", {tabIndex: 0,ref: ue,- className: oH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: aH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -44710,7 +44710,7 @@ var Rme = (e) => {if (te || !he) return;we.current = null;let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Fme || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Ime || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);else {var o, s;(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), F(!1), O(null);@@ -44749,46 +44749,46 @@ var Rme = (e) => {onClick: je || !he ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: oH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? wme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {+ className: aH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? Tme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {"data-icon": "",- className: oH(C?.icon, n?.classNames?.icon)+ className: aH(C?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ D.createElement("div", {"data-content": "",- className: oH(C?.content, n?.classNames?.content)+ className: aH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ D.createElement("div", {"data-title": "",- className: oH(C?.title, n?.classNames?.title)+ className: aH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ D.createElement("div", {"data-description": "",- className: oH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && iH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {+ className: aH(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && rH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- iH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ rH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: oH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && iH(n.action) ? /*#__PURE__*/ D.createElement("button", {+ className: aH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && rH(n.action) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- iH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ rH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: oH(C?.actionButton, n?.classNames?.actionButton)+ className: aH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function sH() {+function oH() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function zme(e, t) {+function Bme(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Mme : jme;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Nme : Mme;function o(e) {["top",@@ -44809,11 +44809,11 @@ function zme(e, t) {}) : o(a);}), n;}-var cH = /*#__PURE__*/ D.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 = Ame, toastOptions: g, dir: _ = sH(), gap: v = Pme, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || nH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var sH = /*#__PURE__*/ D.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 = jme, toastOptions: g, dir: _ = oH(), gap: v = Fme, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || tH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return D.useEffect(() => nH.subscribe((e) => {+ return D.useEffect(() => tH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -44882,7 +44882,7 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ D.createElement("ol", {key: t,- dir: _ === "auto" ? sH() : _,+ dir: _ === "auto" ? oH() : _,tabIndex: -1,ref: ee,className: c,@@ -44892,10 +44892,10 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${Nme}px`,+ "--width": `${Pme}px`,"--gap": `${v}px`,...m,- ...zme(l, u)+ ...Bme(l, u)},onBlur: (e) => {I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));@@ -44913,7 +44913,7 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Rme, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(zme, {key: n.id,icons: y,index: i,@@ -44943,19 +44943,19 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), lH = "/api/library-processing", uH = ["library-processing"], Bme = (e, t, n) => {+}), cH = "/api/library-processing", lH = ["library-processing"], Vme = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), V(`${lH}?${r}`, t);-}, dH = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), V(`${cH}?${r}`, t);+}, uH = (e) => !!e && ["running","pausing","paused"].includes(e.status);-function fH(e) {- if (!dH(e)) return "";+function dH(e) {+ if (!uH(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -44965,18 +44965,18 @@ function fH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var pH = (e) => V(lH, e);-async function mH(e) {+var fH = (e) => V(cH, e);+async function pH(e) {await U.fetchQuery({- queryKey: uH,- queryFn: () => pH(e)+ queryKey: lH,+ queryFn: () => fH(e)});}-var Vme = 2e3, Hme = 1e4, hH = "连接中断,正在重新读取处理进度";-function gH(e, t) {- return dH(e) ? Vme : t ? Hme : !1;+var Hme = 2e3, Ume = 1e4, mH = "连接中断,正在重新读取处理进度";+function hH(e, t) {+ return uH(e) ? Hme : t ? Ume : !1;}-var Ume = {+var Wme = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44984,25 +44984,25 @@ var Ume = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, _H = {+}, gH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Wme(e) {- let t = Object.entries(e).filter(([e, t]) => _H[e] && t > 0).map(([e, t]) => `${_H[e]} ${t.toLocaleString()} 部`);+function Gme(e) {+ let t = Object.entries(e).filter(([e, t]) => gH[e] && t > 0).map(([e, t]) => `${gH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function Gme(e) {+function Kme(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Ume[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${vF(e.waited_seconds)}` : "";+ let t = Wme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${_F(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Kme(e) {- let t = e.total ? `${yF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return Gme(e) + (t ? ` · ${t}` : "");-}function qme(e) {+ let t = e.total ? `${vF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return Kme(e) + (t ? ` · ${t}` : "");+}+function Jme(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45016,23 +45016,23 @@ function qme(e) {log: e.issues_log || ""} : null;}-var vH = "peach.library-processing.announced", Jme = 120;-function yH(e) {+var _H = "peach.library-processing.announced", Yme = 120;+function vH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < Jme;+ return !!e.job_id && t >= 0 && t < Yme;}-function Yme(e, t, n) {- if (e.status === "complete" && (n || yH(e))) {+function Xme(e, t, n) {+ if (e.status === "complete" && (n || vH(e))) {try {- if (e.job_id && localStorage.getItem(vH) === e.job_id) return;- e.job_id && localStorage.setItem(vH, e.job_id);+ if (e.job_id && localStorage.getItem(_H) === e.job_id) return;+ e.job_id && localStorage.setItem(_H, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var bH = tF({+var yH = eF({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -45056,15 +45056,15 @@ var bH = tF({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function xH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = eF(bH.base, bH.size[t], bH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+function bH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = $P(yH.base, yH.size[t], yH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: bH.icon[t],+ className: yH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: bH.icon[t],+ className: yH.icon[t],"aria-hidden": !0}) : null] });@@ -45091,7 +45091,7 @@ function xH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/components/use-moving-surface.ts-var Xme = {+var Zme = {selection: {type: Df,duration: .16,@@ -45103,7 +45103,7 @@ var Xme = {bounce: 0}};-function SH(e) {+function xH(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!t) return;@@ -45124,7 +45124,7 @@ function SH(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 = zne(n, { transform: [r, E] }, Xme[e]);+ l = Hne(n, { transform: [r, E] }, Zme[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45161,25 +45161,25 @@ function SH(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function CH(e) {- let t = SH("hover");- return /* @__PURE__ */ (0, O.jsx)(gR, {+function SH(e) {+ let t = xH("hover");+ return /* @__PURE__ */ (0, O.jsx)(hR, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var wH = [+var CH = ["low","standard","high"-], TH = [+], wH = ["低占用","标准","全速"-], EH = Rz("snail"), DH = Rz("zap");-function OH({ className: e }) {+], TH = Lz("snail"), EH = Lz("zap");+function DH({ className: e }) {return /* @__PURE__ */ (0, O.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45210,12 +45210,12 @@ function OH({ className: e }) {]});}-var Zme = [+var Qme = [+ TH,EH,- DH,- OH+ DH];-function Qme({ animate: e }) {+function $me({ animate: e }) {let [t, n] = (0, D.useState)(document.hidden);return (0, D.useEffect)(() => {let e = () => n(document.hidden);@@ -45247,8 +45247,8 @@ function Qme({ animate: e }) {} }, t))]});}-function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, wH.indexOf(e)), [a, o] = (0, D.useState)(i);+function OH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, CH.indexOf(e)), [a, o] = (0, D.useState)(i);return (0, D.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45259,7 +45259,7 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), TH[a]]+ }), wH[a]]}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45267,19 +45267,19 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(EH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, O.jsx)(TH, {}), "最慢"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(DH, {}), "标准"]+ children: [/* @__PURE__ */ (0, O.jsx)(EH, {}), "标准"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(OH, {}), "最快"]+ children: [/* @__PURE__ */ (0, O.jsx)(DH, {}), "最快"]})]}),- /* @__PURE__ */ (0, O.jsxs)(Xle, {+ /* @__PURE__ */ (0, O.jsxs)(Zle, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45288,10 +45288,10 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(wH[e]);+ e !== i && n(CH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, O.jsx)(mI, {+ children: [/* @__PURE__ */ (0, O.jsx)(fI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45311,11 +45311,11 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, O.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, O.jsx)(Qme, { animate: r }) : null,- /* @__PURE__ */ (0, O.jsx)(Zle, {+ a === 2 ? /* @__PURE__ */ (0, O.jsx)($me, { animate: r }) : null,+ /* @__PURE__ */ (0, O.jsx)(Qle, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, O.jsx)(Qle, {- "aria-label": TH[a],+ children: /* @__PURE__ */ (0, O.jsx)($le, {+ "aria-label": wH[a],className: "processing-effort-thumb"})})@@ -45329,8 +45329,8 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, wH.indexOf(e));+function ehe({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, CH.indexOf(e));return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45338,28 +45338,28 @@ function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${TH[s]}`,+ "aria-label": `处理速度:${wH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: Zme[s],- trailingIcon: lz,+ leadingIcon: Qme[s],+ trailingIcon: cz,onClick: () => {t || o(!a);},- children: TH[s]+ children: wH[s]})- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(nR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: XB,- children: /* @__PURE__ */ (0, O.jsx)(CH, {+ className: YB,+ children: /* @__PURE__ */ (0, O.jsx)(SH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, O.jsx)(kH, {+ children: /* @__PURE__ */ (0, O.jsx)(OH, {value: e,busy: t,onChange: n,@@ -45370,7 +45370,7 @@ function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/settings/use-action.ts-function AH(e = "") {+function kH(e = "") {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);(0, D.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45396,10 +45396,10 @@ function AH(e = "") {}//#endregion//#region src/react/library-processing/processing-controls.tsx-function ehe({ state: e, disabled: t = !1 }) {- let n = AH(), r = dH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => H(lH, e, "POST", t), (e) => {- U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });+function the({ state: e, disabled: t = !1 }) {+ let n = kH(), r = uH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => H(cH, e, "POST", t), (e) => {+ U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });});};return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45407,7 +45407,7 @@ function ehe({ state: e, disabled: t = !1 }) {"data-processing-controls": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)($me, {+ children: [/* @__PURE__ */ (0, O.jsx)(ehe, {value: e.speed_mode || "standard",busy: t || !!n.busy,animate: e.status !== "paused" && e.status !== "pausing",@@ -45420,11 +45420,11 @@ function ehe({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? bz : yz,+ leadingIcon: e.status === "paused" ? yz : vz,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",- ...Bz(n.busy === "pause" || n.busy === "resume"),+ ...zz(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && a({action: e.status === "paused" ? "resume" : "pause",@@ -45441,11 +45441,11 @@ function ehe({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function jH({ toast: e, mode: t, monitor: n }) {+function AH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = St({- queryKey: uH,- queryFn: ({ signal: e }) => pH(e),- refetchInterval: (e) => gH(e.state.data, r)+ queryKey: lH,+ queryFn: ({ signal: e }) => fH(e),+ refetchInterval: (e) => hH(e.state.data, r)}), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;return (0, D.useEffect)(() => {if (!c) return;@@ -45455,8 +45455,8 @@ function jH({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !dH(c);- r && o(c), (r || t === "notice") && Yme(c, e, r);+ ].includes(n) && !uH(c);+ r && o(c), (r || t === "notice") && Xme(c, e, r);}, [c,t,@@ -45469,38 +45469,38 @@ function jH({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/components/card.tsx-var the = "min-w-0", nhe = {+var nhe = "min-w-0", rhe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, rhe = {+}, ihe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, ihe = {+}, ahe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, ahe = {+}, ohe = {none: "",default: "p-5"-}, ohe = "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", she = "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 MH(e = {}) {+}, she = "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", che = "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 jH(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 [- the,- nhe[t],- rhe[s],- ahe[n],- a ? ihe[a] : "",- r ? ohe : "",- i ? she : "",+ nhe,+ rhe[t],+ ihe[s],+ ohe[n],+ a ? ahe[a] : "",+ r ? she : "",+ i ? che : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/loading-dots.tsx-function NH({ label: e }) {+function MH({ label: e }) {return /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45520,21 +45520,21 @@ function NH({ label: e }) {}//#endregion//#region src/react/components/progress.tsx-var PH = 100, che = .4;-function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * PH;+var NH = 100, lhe = .4;+function PH({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * NH;return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${PH} 1`,+ viewBox: `0 0 ${NH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, O.jsx)("rect", {- width: PH,+ width: NH,height: 1,className: "fill-background-tertiary-default"}),@@ -45545,7 +45545,7 @@ function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, O.jsx)("rect", {x: o(e),- width: che,+ width: lhe,height: 1,className: "fill-background-secondary-default"}, e))@@ -45554,27 +45554,27 @@ function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/components/task-progress.tsx-function IH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function FH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : MH({+ className: r ? "flex flex-col gap-1.5" : jH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(FH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(PH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, O.jsx)(NH, { label: e })+ })] }) : /* @__PURE__ */ (0, O.jsx)(MH, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function LH(e) {+function IH(e) {let [t, n] = (0, D.useState)({snapshot: e,seconds: 0@@ -45590,17 +45590,17 @@ function LH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return Kme(a ? {+ return qme(a ? {...e,waited_seconds: r + a} : e);}-function lhe({ state: e }) {- return LH(e);-}function uhe({ state: e }) {- let t = LH(e);- return /* @__PURE__ */ (0, O.jsx)(IH, {+ return IH(e);+}+function dhe({ state: e }) {+ let t = IH(e);+ return /* @__PURE__ */ (0, O.jsx)(FH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45609,7 +45609,7 @@ function uhe({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function RH({ open: e, children: t, ...n }) {+function LH({ open: e, children: t, ...n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(!1);return (0, D.useLayoutEffect)(() => {let t = r.current;@@ -45620,7 +45620,7 @@ function RH({ open: e, children: t, ...n }) {children: t});}-function zH(e) {+function RH(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {...e,"aria-hidden": !0,@@ -45636,21 +45636,21 @@ function zH(e) {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function BH({ className: e, children: t }) {+function zH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: eF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: $P("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function VH({ className: e, children: t }) {+function BH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {- className: eF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: $P("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function dhe({ label: e, description: t, children: n }) {+function fhe({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {- className: eF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: $P("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, O.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, O.jsx)("p", {@@ -45665,7 +45665,7 @@ function dhe({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function phe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45673,12 +45673,12 @@ function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(VH, { children: o })+ children: /* @__PURE__ */ (0, O.jsx)(BH, { children: o })}), /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, O.jsx)(VH, { children: o }), /* @__PURE__ */ (0, O.jsx)(BH, { children: a })] });+ }) : /* @__PURE__ */ (0, O.jsx)(BH, { children: o }), /* @__PURE__ */ (0, O.jsx)(zH, { children: a })] });return i ? /* @__PURE__ */ (0, O.jsx)("form", {id: n,"aria-label": e,@@ -45693,13 +45693,13 @@ function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function phe({ children: e }) {+function mhe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function HH({ divided: e = !1, children: t }) {+function VH({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45708,7 +45708,7 @@ function HH({ divided: e = !1, children: t }) {children: t});}-function mhe({ label: e, html: t }) {+function hhe({ label: e, html: t }) {let [n] = (0, D.useState)(t);return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",@@ -45718,7 +45718,7 @@ function mhe({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function hhe({ status: e, children: t }) {+function ghe({ status: e, children: t }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -45727,34 +45727,34 @@ function hhe({ status: e, children: t }) {}) : null, t]});}-function UH({ role: e, children: t }) {+function HH({ role: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function WH({ children: e }) {+function UH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function GH({ children: e }) {+function WH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function ghe({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, O.jsx)(xH, {+function _he({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, O.jsx)(bH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: pz,+ trailingIcon: fz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45762,13 +45762,13 @@ function ghe({ href: e, children: t, leadingIcon: n }) {})});}-function _he({ children: e }) {+function vhe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function vhe({ term: e, children: t }) {+function yhe({ term: e, children: t }) {return /* @__PURE__ */ (0, O.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, O.jsx)("dt", {@@ -45780,7 +45780,7 @@ function vhe({ term: e, children: t }) {})]});}-function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function GH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, D.useId)(), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(!1), [d, f] = (0, D.useState)(n ?? t);return (0, D.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (to(c.current, l.current, n), f(n));@@ -45796,12 +45796,12 @@ function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, O.jsx)(dz, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(uz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, O.jsx)(dz, {+ i ? /* @__PURE__ */ (0, O.jsx)(uz, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -45811,13 +45811,13 @@ function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, O.jsx)("div", {- className: eF("flex flex-col gap-2 pt-3", o),+ className: $P("flex flex-col gap-2 pt-3", o),children: r})})]});}-function yhe({ name: e }) {+function bhe({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45827,35 +45827,35 @@ function yhe({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function qH({ mark: e }) {+function KH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(yhe, { name: e });+ }) : /* @__PURE__ */ (0, O.jsx)(bhe, { name: e });}//#endregion//#region src/react/components/source-label.tsx-var JH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, bhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {+var qH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, xhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(qH, { mark: t })+ children: /* @__PURE__ */ (0, O.jsx)(KH, { mark: t })});}]));-function xhe({ className: e }) {+function She({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(qH, { mark: "database" })+ children: /* @__PURE__ */ (0, O.jsx)(KH, { mark: "database" })});}-var YH = (e) => bhe[JH(e)] ?? xhe;-function She({ site: e, label: t }) {+var JH = (e) => xhe[qH(e)] ?? She;+function Che({ site: e, label: t }) {let [n, r] = (0, D.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(qH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(KH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -45863,11 +45863,11 @@ function She({ site: e, label: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]});}-function XH({ source: e, label: t }) {- let n = JH(e);+function YH({ source: e, label: t }) {+ let n = qH(e);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(KH, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -45875,13 +45875,13 @@ function XH({ source: e, label: t }) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var ZH = (e) => _n(e).replace(/\s/g, ""), QH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : ZH(e), Che = (e, t) => {- if (e === t) return ZH(t);+var XH = (e) => _n(e).replace(/\s/g, ""), ZH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : XH(e), whe = (e, t) => {+ if (e === t) return XH(t);let [n, r] = _n(e).split(" "), [i, a] = _n(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${ZH(e)}-${ZH(t)}`;-}, $H = (e, t, n) => e === void 0 ? Che(t, n) : `${e > 0 ? "约 " : ""}${ZH(e)}`;-function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = iV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${XH(e)}-${XH(t)}`;+}, QH = (e, t, n) => e === void 0 ? whe(t, n) : `${e > 0 ? "约 " : ""}${XH(e)}`;+function $H({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = rV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45918,25 +45918,25 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(gz, {+ children: [/* @__PURE__ */ (0, O.jsx)(hz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: $H(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: QH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- $H(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ QH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, O.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", ZH(e.used_bytes)] }),+ /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", XH(e.used_bytes)] })," · 代理 ",- ZH(e.metered_used_bytes)+ XH(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, O.jsxs)("section", {@@ -45945,25 +45945,25 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(Pfe, {+ children: [/* @__PURE__ */ (0, O.jsx)(Ffe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, O.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", ZH(e.disk.estimated_bytes)]+ children: ["约 ", XH(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", QH(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", ZH(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : ZH(e.free_bytes)+ e.free_bytes == null ? "未取得" : XH(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", ZH(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", XH(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, O.jsx)("p", {@@ -45979,7 +45979,7 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Qde : lz,+ trailingIcon: c ? $de : cz,onClick: () => {o(!c), r?.(!c);},@@ -45998,12 +45998,12 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, O.jsx)(XH, {+ children: [e.root ? /* @__PURE__ */ (0, O.jsx)(YH, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, O.jsx)(KH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, O.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46025,7 +46025,7 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- QH(e.workload.metadata_average_bytes || 0),+ ZH(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46035,8 +46035,8 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- ZH(e.used_bytes)- ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", $H(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ XH(e.used_bytes)+ ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", QH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46048,15 +46048,15 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var tU = "peach.library-processing.collapsed";-function nU(e) {+var eU = "peach.library-processing.collapsed";+function tU(e) {try {- return !e || sessionStorage.getItem(tU) !== e;+ return !e || sessionStorage.getItem(eU) !== e;} catch {return !0;}}-function whe({ value: e, max: t }) {+function The({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar",@@ -46086,20 +46086,20 @@ function whe({ value: e, max: t }) {})]});}-function rU({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, D.useState)(() => nU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = dH(e);+function nU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, D.useState)(() => tU(e?.job_id)), o = (0, D.useId)(), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(null), u = e?.status === "failed", d = uH(e);(0, D.useEffect)(() => {- i(nU(e?.job_id)), s(!1);+ a(tU(e?.job_id)), c(!1);}, [e?.job_id]);- let d = () => {+ let f = () => {try {- r && e?.job_id ? sessionStorage.setItem(tU, e.job_id) : sessionStorage.removeItem(tU);+ i && e?.job_id ? sessionStorage.setItem(eU, e.job_id) : sessionStorage.removeItem(eU);} catch {}- r && s(!1), i(!r);+ i && c(!1), a(!i);};if ((0, D.useEffect)(() => {- if (!n || !c.current) return;- let e = c.current, t = !1, r = () => {+ if (!n || !l.current) return;+ let e = l.current, t = !1, r = () => {!t && e.isConnected && document.documentElement.style.setProperty("--processing-toast-space", `${e.getBoundingClientRect().height + 12}px`);};r();@@ -46107,28 +46107,28 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {return i.observe(e), () => {t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");};- }, [n]), !t && !u && !l) return null;- let f = !!t || !!e?.stalled, p = l ? "扫描与资料采集未完成" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ }, [n]), !t && !d && !u) return null;+ let p = !!t || !!e?.stalled, m = u ? "扫描与资料采集未完成" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, O.jsxs)("aside", {- ref: c,+ ref: l,"data-processing-dock": "",- "data-processing-tone": l ? "error" : f ? "warning" : "neutral",+ "data-processing-tone": u ? "error" : p ? "warning" : "neutral","aria-label": "扫描任务",- role: l ? "alert" : "status",- className: eF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ role: u ? "alert" : "status",+ className: $P("flex min-w-0 flex-col border bg-background-primary-default p-4", u ? "border-current/35 text-text-error-primary" : p ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- u && e?.total ? /* @__PURE__ */ (0, O.jsx)(whe, {+ d && e?.total ? /* @__PURE__ */ (0, O.jsx)(The, {value: e.checked || 0,max: e.total- }) : l || f ? /* @__PURE__ */ (0, O.jsx)(dfe, {+ }) : u || p ? /* @__PURE__ */ (0, O.jsx)(ffe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(Sfe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Cfe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46136,40 +46136,48 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {className: "min-w-0 flex-1",children: [/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium",- children: p- }), u ? /* @__PURE__ */ (0, O.jsx)("p", {+ children: m+ }), d ? /* @__PURE__ */ (0, O.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: fH(e)+ children: dH(e)}) : null]}),/* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: zH,+ leadingIcon: RH,"data-processing-toggle": "","data-collapse-upward": "",- "aria-label": r ? "收起任务详情" : "展开任务详情",- "aria-expanded": r,- "aria-controls": a,- onClick: d- })+ "aria-label": i ? "收起任务详情" : "展开任务详情",+ "aria-expanded": i,+ "aria-controls": o,+ onClick: f+ }),+ r ? /* @__PURE__ */ (0, O.jsx)(J, {+ size: "small",+ variant: "secondary",+ iconOnly: !0,+ leadingIcon: dz,+ "aria-label": "隐藏任务提示",+ onClick: r+ }) : null]- }), /* @__PURE__ */ (0, O.jsx)(eU, {+ }), /* @__PURE__ */ (0, O.jsx)($H, {traffic: e?.traffic,- detailsOpen: o,- onDetailsChange: s+ detailsOpen: s,+ onDetailsChange: c})]}),- /* @__PURE__ */ (0, O.jsx)(RH, {- id: a,- open: r,+ /* @__PURE__ */ (0, O.jsx)(LH, {+ id: o,+ open: i,"data-processing-body": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: eF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: $P("flex min-w-0 flex-col gap-2 border-t pt-3", u ? "border-border-error-default/20" : p ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, O.jsx)("ol", {"aria-label": "处理步骤",@@ -46177,16 +46185,16 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: eF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: $P("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(ife, {+ e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(afe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(afe, {+ }) : /* @__PURE__ */ (0, O.jsx)(ofe, {"aria-hidden": !0,- className: eF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: $P("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, O.jsx)(uw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, O.jsx)(ow, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46199,9 +46207,9 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {}) : null,/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(lhe, { state: e }))+ children: t || (u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(uhe, { state: e }))}),- u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {+ d && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",children: ["当前阶段 · ", e.stage]}) : null,@@ -46215,13 +46223,13 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [/* @__PURE__ */ (0, O.jsx)(xH, {+ children: [/* @__PURE__ */ (0, O.jsx)(bH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: uz,- children: t || l ? "打开扫描与采集" : "任务详情"- }), u ? /* @__PURE__ */ (0, O.jsx)(ehe, {+ trailingIcon: lz,+ children: t || u ? "打开扫描与采集" : "任务详情"+ }), d ? /* @__PURE__ */ (0, O.jsx)(the, {state: e,disabled: !!t}) : null]@@ -46229,60 +46237,93 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {]});}-function The(e) {- let { job: t } = jH(e);- return /* @__PURE__ */ (0, O.jsx)(rU, {+function Ehe(e) {+ let { job: t } = AH(e);+ return /* @__PURE__ */ (0, O.jsx)(nU, {state: t.data,- problem: t.isError ? t.data ? hH : An(t.error) : ""+ problem: t.isError ? t.data ? mH : An(t.error) : ""});}//#endregion+//#region src/react/library-processing/processing-notice-visibility.ts+var rU = "peach.library-processing.visibility", iU = /* @__PURE__ */ new Set(), aU = "";+function Dhe() {+ try {+ return sessionStorage.getItem(rU) || "";+ } catch {+ return aU;+ }+}+function Ohe(e) {+ return iU.add(e), () => {+ iU.delete(e);+ };+}+function oU(e, t) {+ aU = `${t ? "shown" : "hidden"}:${e}`;+ try {+ sessionStorage.setItem(rU, aU);+ } catch {}+ iU.forEach((e) => e());+}+function sU(e) {+ let t = (0, D.useSyncExternalStore)(Ohe, Dhe, () => "");+ return {+ hidden: t === `hidden:${e}`,+ requested: t === `shown:${e}`+ };+}+//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var iU = "peach-library-processing";-function Ehe({ toast: e }) {- let { job: t, settled: n } = jH({+var cU = "peach-library-processing";+function khe({ toast: e }) {+ let { job: t, settled: n } = AH({toast: e,mode: "notice"- }), r = (0, D.useRef)(""), i = (0, D.useRef)(!1), a = t.data, o = t.isError ? a ? hH : An(t.error) : "";+ }), r = (0, D.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = sU(a), c = t.isError ? i ? mH : An(t.error) : "";return (0, D.useEffect)(() => {- let e = dH(a), t = a?.job_id || "unavailable", s = a?.status === "failed" && (n?.job_id === a.job_id || yH(a));- !e && (!o && !s || r.current === t) ? (i.current && rH.dismiss(iU), i.current = !1) : (rH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {+ let e = uH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || vH(i));+ o || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && nH.dismiss(cU), r.current = !1) : (nH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(rU, {- state: a,- problem: o,- measure: !0+ children: /* @__PURE__ */ (0, O.jsx)(nU, {+ state: i,+ problem: c,+ measure: !0,+ onHide: () => oU(a, !1)})}), {- id: iU,+ id: cU,toasterId: "processing",duration: Infinity,- dismissible: !e,- closeButton: !e,+ dismissible: !0,+ closeButton: !1,className: "processing-task-toast",onDismiss: () => {- r.current = t, i.current = !1;+ oU(a, !1), r.current = !1;}- }), i.current = !0);+ }), r.current = !0);}, [+ i,+ c,+ n,a,o,- n+ s]), (0, D.useEffect)(() => () => {- i.current && rH.dismiss(iU), i.current = !1;+ r.current && nH.dismiss(cU), r.current = !1;}, []), null;}//#endregion//#region src/react/network-banner.tsx-var Dhe = ["network-status"], Ohe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function khe(e) {+var Ahe = ["network-status"], jhe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function Mhe(e) {return e?.state === "online" ? 12e4 : 3e4;}-function Ahe() {+function Nhe() {let e = St({- queryKey: Dhe,+ queryKey: Ahe,queryFn: ({ signal: e }) => V("/api/network-status", e),- refetchInterval: (e) => khe(e.state.data),+ refetchInterval: (e) => Mhe(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {@@ -46293,7 +46334,7 @@ function Ahe() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, O.jsx)("p", { children: Ohe })] }), /* @__PURE__ */ (0, O.jsx)("a", {+ }), /* @__PURE__ */ (0, O.jsx)("p", { children: jhe })] }), /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]@@ -46301,21 +46342,21 @@ function Ahe() {}//#endregion//#region src/react/router/pages/settings.tsx-function jhe() {- let e = (0, D.useContext)(lU), { pathname: t } = LB();+function Phe() {+ let e = (0, D.useContext)(pU), { pathname: t } = IB();return (0, D.useEffect)(() => {- e?.openSettings?.(uV(t));+ e?.openSettings?.(lV(t));}, [e, t]), (0, D.useEffect)(() => () => {queueMicrotask(() => {- lV(YV.navigation.location.pathname) || e?.closeSettings?.();+ cV(JV.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var aU = () => Hl, Mhe = () => Ul;-function Nhe() {- let e = (0, D.useContext)(lU), t = (0, D.useSyncExternalStore)($l, Mhe), n = (0, D.useSyncExternalStore)($l, aU);+var lU = () => Hl, Fhe = () => Ul;+function Ihe() {+ let e = (0, D.useContext)(pU), t = (0, D.useSyncExternalStore)($l, Fhe), n = (0, D.useSyncExternalStore)($l, lU);return (0, D.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46330,11 +46371,11 @@ function Nhe() {e]), null;}-function oU(e, t = !1) {- let n = (0, D.useSyncExternalStore)($l, aU), r = (0, D.useRef)(void 0);+function uU(e, t = !1) {+ let n = (0, D.useSyncExternalStore)($l, lU), r = (0, D.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = YV.navigation;- r.current = Hl === 0 || ZV() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = JV.navigation;+ r.current = Hl === 0 || XV() ? "boot" : e && !t ? null : "history";}let i = (0, D.useRef)(e);(0, D.useEffect)(() => {@@ -46350,22 +46391,22 @@ function oU(e, t = !1) {}));}, [n]);}-function Phe() {- let e = (0, D.useContext)(lU), t = (0, D.useRef)(e);+function Lhe() {+ let e = (0, D.useContext)(pU), t = (0, D.useRef)(e);return (0, D.useLayoutEffect)(() => {t.current = e;- }, [e]), oU((t) => {- let n = YV.navigation.location, { pathname: r, search: i } = lV(n.pathname) && fV(n.state) || n, a = hV(r, i);- e && a && (xV(), t || lme(YV.navigation.location.state), e.openOverlay(a));+ }, [e]), uU((t) => {+ let n = JV.navigation.location, { pathname: r, search: i } = cV(n.pathname) && dV(n.state) || n, a = mV(r, i);+ e && a && (bV(), t || ume(JV.navigation.location.state), e.openOverlay(a));}, !0), (0, D.useEffect)(() => () => {queueMicrotask(() => {- gV(YV.navigation.location.pathname) || t.current?.closeStage();+ hV(JV.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function Fhe({ path: e }) {- cU();- let { location: t, seq: n, action: r } = YV.navigation, i = lV(t.pathname) ? fV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({+function Rhe({ path: e }) {+ fU();+ let { location: t, seq: n, action: r } = JV.navigation, i = cV(t.pathname) ? dV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46376,162 +46417,162 @@ function Fhe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, O.jsx)(Phe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, O.jsx)(Lhe, {}, `${e} ${o.current.seq}`);}-function Ihe() {- let e = (0, D.useContext)(lU);- return oU(() => {+function zhe() {+ let e = (0, D.useContext)(pU);+ return uU(() => {e?.follow?.ground();}), null;}-function Lhe() {- return /* @__PURE__ */ (0, O.jsx)(Ihe, {}, cU());+function Bhe() {+ return /* @__PURE__ */ (0, O.jsx)(zhe, {}, fU());}//#endregion//#region src/react/router/router.tsx-var sU = (0, D.createContext)(0), cU = () => (0, D.useContext)(sU), lU = (0, D.createContext)(null);-function Rhe({ children: e }) {- let [t, n] = (0, D.useState)(() => YV.navigation);- return (0, D.useLayoutEffect)(() => (n(YV.navigation), YV.listen((e) => {+var dU = (0, D.createContext)(0), fU = () => (0, D.useContext)(dU), pU = (0, D.createContext)(null);+function Vhe({ children: e }) {+ let [t, n] = (0, D.useState)(() => JV.navigation);+ return (0, D.useLayoutEffect)(() => (n(JV.navigation), JV.listen((e) => {(0, Tt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, O.jsx)(sU.Provider, {+ })), []), /* @__PURE__ */ (0, O.jsx)(dU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, O.jsx)(Zpe, {+ children: /* @__PURE__ */ (0, O.jsx)(Qpe, {location: t.location,navigationType: t.action,- navigator: YV,+ navigator: JV,children: e})});}-function zhe({ target: e }) {- let t = Ipe();+function Hhe({ target: e }) {+ let t = Lpe();return (0, D.useLayoutEffect)(() => {e.current = t;}), null;}-function Bhe(e, t, n) {+function Uhe(e, t, n) {let r = new URL(e, window.location.href);- M6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Vhe() {- let e = (0, D.useContext)(lU), [t, n] = (0, D.useState)(IV), r = (0, D.useRef)(null);- (0, D.useLayoutEffect)(() => (n(IV()), dme((e, t) => {+function Whe() {+ let e = (0, D.useContext)(pU), [t, n] = (0, D.useState)(FV), r = (0, D.useRef)(null);+ (0, D.useLayoutEffect)(() => (n(FV()), fme((e, t) => {t ? (0, Tt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, D.useMemo)(() => (t) => {- e && r.current && Bhe(t, e, r.current);+ e && r.current && Uhe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(zhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Hhe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Hhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Ghe, {entry: t,- children: /* @__PURE__ */ (0, O.jsx)(Uhe, {+ children: /* @__PURE__ */ (0, O.jsx)(Khe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Hhe = class extends D.Component {+var Ghe = class extends D.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- mme(this.props.entry.container, this.props.entry.revision);+ hme(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Uhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {- return K6(e.path) ? (0, Tt.createPortal)(CAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, Khe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {+ return q6(e.path) ? (0, Tt.createPortal)(kAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Whe({ children: e }) {- let t = LB();- cU();- let n = QV(), r = lV(t.pathname) && !ZV() ? fV(t.state) : null;+function qhe({ children: e }) {+ let t = IB();+ fU();+ let n = ZV(), r = cV(t.pathname) && !XV() ? dV(t.state) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsxs)(GB, {+ /* @__PURE__ */ (0, O.jsxs)(WB, {location: n ?? t,children: [- Object.entries(j6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: t.element}, e)),- Object.entries(yAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(TAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: t.element}, e)),- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: t.element}, e)),- Object.entries(I6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: t.element}, e)),- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: t.element}, e)),- G6.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ K6.map((e) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,- element: z6["/"].element+ element: B6["/"].element}, e)),- Object.entries(bAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(EAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: t.element}, e)),- pV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ fV.map((e) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(Lhe, {}) : z6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(Bhe, {}) : B6["/"].element}, e)),- cV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ sV.map((e) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,element: null}, e)),- /* @__PURE__ */ (0, O.jsx)(WB, {+ /* @__PURE__ */ (0, O.jsx)(UB, {path: "*",element: e})]}),- /* @__PURE__ */ (0, O.jsxs)(GB, {+ /* @__PURE__ */ (0, O.jsxs)(WB, {location: r ?? t,- children: [pV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ children: [fV.map((e) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(Fhe, { path: e })- }, e)), /* @__PURE__ */ (0, O.jsx)(WB, {+ element: /* @__PURE__ */ (0, O.jsx)(Rhe, { path: e })+ }, e)), /* @__PURE__ */ (0, O.jsx)(UB, {path: "*",element: null})]}),- /* @__PURE__ */ (0, O.jsxs)(GB, { children: [cV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ /* @__PURE__ */ (0, O.jsxs)(WB, { children: [sV.map((e) => /* @__PURE__ */ (0, O.jsx)(UB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(jhe, {})- }, e)), /* @__PURE__ */ (0, O.jsx)(WB, {+ element: /* @__PURE__ */ (0, O.jsx)(Phe, {})+ }, e)), /* @__PURE__ */ (0, O.jsx)(UB, {path: "*",element: null})] })] });}-function Ghe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, O.jsxs)(eH, { children: [n, /* @__PURE__ */ (0, O.jsx)(lU.Provider, {+function Jhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, O.jsxs)($V, { children: [n, /* @__PURE__ */ (0, O.jsx)(pU.Provider, {value: t,- children: /* @__PURE__ */ (0, O.jsxs)(Rhe, { children: [- /* @__PURE__ */ (0, O.jsx)(Vhe, {}),- /* @__PURE__ */ (0, O.jsx)(Nhe, {}),- r && t ? /* @__PURE__ */ (0, O.jsx)(Ehe, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, O.jsx)(Ahe, {}) : null,- /* @__PURE__ */ (0, O.jsx)(Whe, { children: e })+ children: /* @__PURE__ */ (0, O.jsxs)(Vhe, { children: [+ /* @__PURE__ */ (0, O.jsx)(Whe, {}),+ /* @__PURE__ */ (0, O.jsx)(Ihe, {}),+ r && t ? /* @__PURE__ */ (0, O.jsx)(khe, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, O.jsx)(Nhe, {}) : null,+ /* @__PURE__ */ (0, O.jsx)(qhe, { children: e })] })})] });}-var Khe = { onCaughtError: (e) => {+var Yhe = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function qhe(e, t, n) {+function Xhe(e, t, n) {(0, D.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46545,7 +46586,7 @@ function qhe(e, t, n) {n]);}-function Jhe(e, t) {+function Zhe(e, t) {let n = (0, D.useRef)(!1);return (0, D.useEffect)(() => {if (!e) return;@@ -46559,33 +46600,33 @@ function Jhe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var uU = (0, D.createContext)("md");-function dU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var mU = (0, D.createContext)("md");+function hU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);- qhe(d, () => f(!1), [l, u]);- let p = Jhe(d, l);- return /* @__PURE__ */ (0, O.jsx)(Rue, {+ Xhe(d, () => f(!1), [l, u]);+ let p = Zhe(d, l);+ return /* @__PURE__ */ (0, O.jsx)(zue, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: eF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(_I, {+ className: $P("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(hI, {ref: l,- className: eF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, O.jsx)(Vue, {- className: eF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: $P("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, O.jsx)(Hue, {+ className: $P("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, O.jsx)($pe, { className: eF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(eme, { className: $P("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, O.jsx)(nR, {ref: u,isNonModal: !0,offset: 4,- className: eF(nme, XB, "p-2", n),- children: /* @__PURE__ */ (0, O.jsx)(oue, {+ className: $P(rme, YB, "p-2", n),+ children: /* @__PURE__ */ (0, O.jsx)(sue, {items: a,- className: eF(rme, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, O.jsx)(uU.Provider, {+ className: $P(ime, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, O.jsx)(mU.Provider, {value: r,children: i})@@ -46593,24 +46634,24 @@ function dU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function fU({ className: e, children: t, ...n }) {- let r = (0, D.useContext)(uU);- return /* @__PURE__ */ (0, O.jsx)(lue, {+function gU({ className: e, children: t, ...n }) {+ let r = (0, D.useContext)(mU);+ return /* @__PURE__ */ (0, O.jsx)(uue, {...n,- className: (t) => eF(ZB, 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) => $P(XB, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var pU = {+var _U = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function mU(e, t = "", n = "") {+function vU(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46622,15 +46663,15 @@ function mU(e, t = "", n = "") {queryFn: ({ signal: e }) => V(`/api/folders?${r}`, e)};}-function hU(e, t) {+function yU(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsx-function Yhe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, D.useContext)(lU), a = AH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {+function Qhe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, D.useContext)(pU), a = kH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46659,7 +46700,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, O.jsx)(Nz, {+ return g ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46673,7 +46714,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, O.jsx)(xI, {+ children: [/* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46681,7 +46722,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Rz, {label: "关闭目录用途",onPress: () => {w || r();@@ -46693,20 +46734,20 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(Ez, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(dU, {+ children: [/* @__PURE__ */ (0, O.jsx)(Tz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(hU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(pU).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(fU, {+ children: Object.entries(_U).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(gU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {+ o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(jz, {label: "关联名称",value: c,onChange: (e) => {@@ -46717,7 +46758,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, O.jsx)(rV, {+ /* @__PURE__ */ (0, O.jsx)(nV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46725,7 +46766,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, O.jsx)(rV, {+ /* @__PURE__ */ (0, O.jsx)(nV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46762,9 +46803,9 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "warning",- extra: /* @__PURE__ */ (0, O.jsx)(KH, {+ extra: /* @__PURE__ */ (0, O.jsx)(GH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46782,7 +46823,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ a.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: a.error}) : null@@ -46797,7 +46838,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...Bz(a.busy === "remove"),+ ...zz(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, O.jsx)(J, {@@ -46809,13 +46850,13 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",- ...Bz(a.busy === "save"),+ ...zz(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...Bz(a.busy === "preview"),+ ...zz(a.busy === "preview"),onClick: () => {x();},@@ -46829,7 +46870,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {}//#endregion//#region src/react/catalog-folders/use-folder-sticky-offset.ts-function Xhe(e, t) {+function $he(e, t) {(0, D.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -46853,35 +46894,35 @@ function Xhe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function gU() {- return IB() ? /* @__PURE__ */ (0, O.jsx)(Zhe, {}) : null;+function bU() {+ return FB() ? /* @__PURE__ */ (0, O.jsx)(ege, {}) : null;}-function Zhe() {- let e = LB(), t = (0, D.useContext)(lU);+function ege() {+ let e = IB(), t = (0, D.useContext)(pU);if (!Zt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, O.jsx)(MF, {+ return /* @__PURE__ */ (0, O.jsx)(AF, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: mz,- onClick: () => t?.navigate(hU(e, r ? {+ icon: pz,+ onClick: () => t?.navigate(yU(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Qhe({ children: e, enabled: t }) {- return IB() ? /* @__PURE__ */ (0, O.jsx)($he, {+function tge({ children: e, enabled: t }) {+ return FB() ? /* @__PURE__ */ (0, O.jsx)(nge, {enabled: t,children: e}) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e });}-function $he({ children: e, enabled: t }) {- let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = LB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function nge({ children: e, enabled: t }) {+ let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = IB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, O.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -46900,7 +46941,7 @@ function $he({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, O.jsx)(_U, {+ n && i ? /* @__PURE__ */ (0, O.jsx)(xU, {treeTarget: n,headerTarget: i,enabled: t@@ -46908,14 +46949,14 @@ function $he({ children: e, enabled: t }) {]});}-function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = LB(), i = (0, D.useContext)(lU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = IB(), i = (0, D.useContext)(pU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Xhe(o, e);+ $he(o, e);let c = a.get("folder") || "", l = St({- ...mU(s, c),+ ...vU(s, c),enabled: o}), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, D.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -46929,11 +46970,11 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(hU(r, {+ d(!1), i.navigate(yU(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(tge, {+ }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(ige, {scope: s,selected: c,current: _,@@ -46950,21 +46991,21 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, O.jsx)(MF, {+ children: /* @__PURE__ */ (0, O.jsx)(AF, {"aria-label": "打开文件夹目录",- icon: Dfe,+ icon: Ofe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, O.jsxs)(tme, {+ /* @__PURE__ */ (0, O.jsxs)(nme, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, O.jsx)(JB, {+ children: [/* @__PURE__ */ (0, O.jsx)(qB, {current: !c,onClick: () => g(""),- icon: mz,+ icon: pz,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(JB, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(qB, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -46974,15 +47015,15 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, O.jsx)(MF, {+ _?.selected ? /* @__PURE__ */ (0, O.jsx)(AF, {"aria-label": "设置目录用途",- icon: vfe,+ icon: yfe,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -46994,7 +47035,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: An(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Fz, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Pz, {tone: "warning",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -47006,14 +47047,14 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, O.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, O.jsx)(rV, {+ children: [/* @__PURE__ */ (0, O.jsx)(nV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(hU(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(yU(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${pU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${_U[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -47023,13 +47064,13 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, O.jsx)(ege, {+ _?.children.length ? /* @__PURE__ */ (0, O.jsx)(rge, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, O.jsxs)(Nz, {+ /* @__PURE__ */ (0, O.jsxs)(Mz, {isOpen: u,onOpenChange: d,width: "form",@@ -47039,7 +47080,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Rz, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47048,7 +47089,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Yhe, {+ f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Qhe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47056,7 +47097,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function ege({ nodes: e, go: t }) {+function rge({ nodes: e, go: t }) {let [n, r] = (0, D.useState)(!1), i = (0, D.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47067,7 +47108,7 @@ function ege({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: mz,+ leadingIcon: pz,onClick: () => t(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",@@ -47084,28 +47125,28 @@ function ege({ nodes: e, go: t }) {}) : null]});}-function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = St(mU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({- ...mU(e, "", u),+function ige({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = St(vU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({+ ...vU(e, "", u),enabled: !!u.trim()- }), f = iV();+ }), f = rV();(0, D.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = bt({ queries: p.map((t) => mU(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = bt({ queries: p.map((t) => vU(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, O.jsx)($B, {+ return /* @__PURE__ */ (0, O.jsx)(QB, {id: e.id,label: e.name,- icon: mz,- expandedIcon: hz,+ icon: pz,+ expandedIcon: mz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)($B, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(QB, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47121,15 +47162,15 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Cz,+ leadingIcon: Sz,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ v ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -47164,20 +47205,20 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: An(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: mz,+ leadingIcon: pz,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Iz, {+ }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Fz, {size: "compact",- icon: Cz,+ icon: Sz,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -47186,7 +47227,7 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(ime, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(ame, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47194,11 +47235,11 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, O.jsx)(Iz, {+ }) : /* @__PURE__ */ (0, O.jsx)(Fz, {size: "compact",- icon: mz,+ icon: pz,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47212,54 +47253,54 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function nge(e) {- let t = FF(SH("selection"));- return /* @__PURE__ */ (0, O.jsx)(iz, {+function age(e) {+ let t = NF(xH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(rz, {...e,ref: t});}-function vU(e) {- let t = FF(SH("selection"));- return /* @__PURE__ */ (0, O.jsx)(CR, {+function SU(e) {+ let t = NF(xH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(SR, {...e,ref: t});}-var yU = "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", bU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", rge = "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", xU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", SU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var CU = "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", wU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", oge = "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", TU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", EU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function CU() {- let e = hM();- return /* @__PURE__ */ (0, O.jsxs)(CR, {+function DU() {+ let e = fM();+ return /* @__PURE__ */ (0, O.jsxs)(SR, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: pM,+ onChange: uM,"data-entity-layout": "",- className: xU,- children: [/* @__PURE__ */ (0, O.jsx)(wR, {+ className: TU,+ children: [/* @__PURE__ */ (0, O.jsx)(CR, {value: "cards","aria-label": "卡片",- className: SU,+ className: EU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(vz, {+ children: /* @__PURE__ */ (0, O.jsx)(_z, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(wR, {+ }), /* @__PURE__ */ (0, O.jsx)(CR, {value: "list","aria-label": "列表",- className: SU,+ className: EU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(Tfe, {+ children: /* @__PURE__ */ (0, O.jsx)(Efe, {"aria-hidden": "true",className: "size-4"})@@ -47269,8 +47310,8 @@ function CU() {}//#endregion//#region src/react/components/icon-swap.tsx-function wU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = lx();+function OU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = ax();return /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47286,115 +47327,115 @@ function wU({ a: e, b: t, state: n, className: r }) {})]});}-function TU({ className: e }) {- return /* @__PURE__ */ (0, O.jsx)(wU, {- a: Zde,- b: Xde,+function kU({ className: e }) {+ return /* @__PURE__ */ (0, O.jsx)(OU, {+ a: Qde,+ b: Zde,className: e});}//#endregion//#region src/react/follow-feed/follow-marks.ts-var EU = (e) => typeof e == "string" ? e : "", DU = (e) => e.aliases;-function OU(e, t = "") {+var AU = (e) => typeof e == "string" ? e : "", jU = (e) => e.aliases;+function MU(e, t = "") {let n = hi(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function kU(e, t = "") {+function NU(e, t = "") {let n = B(Or(t || e)), r = hi(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var AU = (e) => EU(e.title).trim() || "未命名内容", jU = (e, t) => Dr(e, DU(t));-function MU(e) {+var PU = (e) => AU(e.title).trim() || "未命名内容", FU = (e, t) => Dr(e, jU(t));+function IU(e) {let t = e.filter((e) => e.entity_id && e.entity_name);if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";- let n = t[0], r = EU(n.entity_name);+ let n = t[0], r = AU(n.entity_name);return jt("creator", r, n.entity_id), r;}-function NU(e, t) {+function LU(e, t) {let { src: n, fallback: r } = kr(e), i = Or(t);if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;let a = r ? ` data-fallbacks="${B(r)}"` : "";return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;}-function PU(e, t, n) {- let r = DU(n), i = e.credit, a = i?.poster;+function RU(e, t, n) {+ let r = jU(n), i = e.credit, a = i?.poster;if (!a) {let n = Dr(t, r);return {- author: n || EU(e.author) || EU(e.source_label) || "创作者未取得",- avatar: NU(t, n),+ author: n || AU(e.author) || AU(e.source_label) || "创作者未取得",+ avatar: LU(t, n),credited: "",- entityName: MU(t)+ entityName: IU(t)};}let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Dr(c, r) || a;return {author: l,- avatar: NU(c, l),+ avatar: LU(c, l),credited: i.credited || "",- entityName: MU(c)+ entityName: IU(c)};}-function FU(e, t = e.primary) {+function zU(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 = EU(e.primary.version);+ let i = AU(e.primary.version);i && n.push(r("version", B(i)));- let a = EU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = AU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function IU(e, t = e.primary) {+function BU(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]) => OU(e, t) || `<span>${B(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => MU(e, t) || `<span>${B(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function LU(e, t) {- let n = EU(e.media_error);+function VU(e, t) {+ let n = AU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var ige = 864e5, age = (e, t) => {+var sge = 864e5, cge = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > ige;+ return Number.isFinite(n) && n - t > sge;};-function RU(e, t) {- let n = EU(e.published_at);+function HU(e, t) {+ let n = AU(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Wn(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: age(n, t) ? " · 晚于现在" : ""+ suffix: cge(n, t) ? " · 晚于现在" : ""};}-function zU(e, t = Date.now()) {- let n = RU(e, t);+function UU(e, t = Date.now()) {+ let n = HU(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function oge(e, t = Date.now()) {- let n = RU(e, t);+function lge(e, t = Date.now()) {+ let n = HU(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);return `${n.prefix}${r}${n.suffix}`;}-var BU = /* @__PURE__ */ new Set(), VU = [], HU = null;-function UU() {- if (HU = null, !VU.length) return;- let e = VU.splice(0, 200);+var WU = /* @__PURE__ */ new Set(), GU = [], KU = null;+function qU() {+ if (KU = null, !GU.length) return;+ let e = GU.splice(0, 200);z("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), VU.length && (HU = setTimeout(UU, 800));+ }).catch(() => {}), GU.length && (KU = setTimeout(qU, 800));}-function sge(e, t, n, r) {+function uge(e, t, n, r) {let i = `${e}:${t ?? ""}`;- BU.has(i) || (BU.add(i), VU.push(t === null ? {+ WU.has(i) || (WU.add(i), GU.push(t === null ? {item: e,width: n,height: r@@ -47403,26 +47444,26 @@ function sge(e, t, n, r) {width: n,height: r,media: t- }), HU ||= setTimeout(UU, 800));+ }), KU ||= setTimeout(qU, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var cge = (e) => e === "videos", WU = () => /* @__PURE__ */ (0, O.jsx)("span", {+var dge = (e) => e === "videos", JU = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), lge = Rz("shuffle"), uge = Rz("arrow-up"), dge = Rz("arrow-down");-function fge(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = cge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), fge = Lz("shuffle"), pge = Lz("arrow-up"), mge = Lz("arrow-down");+function hge(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = dge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = KF(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = KF(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = KF(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = WF(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = WF(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = WF(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, D.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(GU, {+ }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YU, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, O.jsx)(zF, {+ }), /* @__PURE__ */ (0, O.jsx)(LF, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47451,19 +47492,19 @@ function fge(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gge, {+ n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(yge, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(mge, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(JU, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(_ge, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, O.jsx)(WU, {})] }) : null,+ }), /* @__PURE__ */ (0, O.jsx)(JU, {})] }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47484,11 +47525,11 @@ function fge(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(JU, {}) : null]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47497,17 +47538,17 @@ function fge(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(hge, {+ }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(vge, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, O.jsx)(_ge, { ...e })+ bottom: /* @__PURE__ */ (0, O.jsx)(bge, { ...e })})] });}-var pge = [[+var gge = [["videos","视频","play",@@ -47518,7 +47559,7 @@ var pge = [["pics","image"]];-function mge({ head: e, row: t, glide: n, onMedia: r }) {+function _ge({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {ref: t,role: "group",@@ -47526,7 +47567,7 @@ function mge({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: pge.map(([t, i, a, o]) => {+ children: gge.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47544,7 +47585,7 @@ function mge({ head: e, row: t, glide: n, onMedia: r }) {})});}-function hge({ head: e, actions: t }) {+function vge({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47554,10 +47595,10 @@ function hge({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: OU(n) }+ dangerouslySetInnerHTML: { __html: MU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(JU, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47570,7 +47611,7 @@ function hge({ head: e, actions: t }) {}, e.k))] });}-function gge({ keys: e, view: t, row: n, glide: r, onView: i }) {+function yge({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47618,7 +47659,7 @@ function gge({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function GU({ items: e, hidden: t, actions: n }) {+function YU({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47638,7 +47679,7 @@ function GU({ items: e, hidden: t, actions: n }) {})] }) : null});}-function _ge(e) {+function bge(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, O.jsxs)("button", {@@ -47650,27 +47691,27 @@ function _ge(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, O.jsx)(vge, {+ /* @__PURE__ */ (0, O.jsx)(xge, {text: n,busy: r}),- /* @__PURE__ */ (0, O.jsx)($z, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(yge, {+ /* @__PURE__ */ (0, O.jsx)(Qz, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(QU, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(XU, {+ t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(tW, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(YU, {+ t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(eW, {head: e.online,actions: o}) : null] });}-function vge({ text: e, busy: t }) {+function xge({ text: e, busy: t }) {return /* @__PURE__ */ (0, O.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -47680,22 +47721,22 @@ function vge({ text: e, busy: t }) {}) : e});}-function KU({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, O.jsx)(CR, {+function XU({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, O.jsx)(SR, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: xU,+ className: TU,children: r.map(([e, t, n]) => {- let r = Rz(n);- return /* @__PURE__ */ (0, O.jsx)(wR, {+ let r = Lz(n);+ return /* @__PURE__ */ (0, O.jsx)(CR, {value: e,"aria-label": t,"data-glass-segment": "",- className: SU,+ className: EU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -47705,38 +47746,38 @@ function KU({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function qU({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, O.jsx)(LF, {+function ZU({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, O.jsx)(FF, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: lge,+ icon: fge,onPress: e});}-function yge({ head: e, actions: t }) {- let n = hM();+function QU({ head: e, actions: t }) {+ let n = fM();return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(ZU, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(XU, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, O.jsx)(CU, {}),- /* @__PURE__ */ (0, O.jsx)(gU, {}),- /* @__PURE__ */ (0, O.jsx)(JU, {+ /* @__PURE__ */ (0, O.jsx)(DU, {}),+ /* @__PURE__ */ (0, O.jsx)(bU, {}),+ /* @__PURE__ */ (0, O.jsx)($U, {sorts: e.sorts,onSort: t.setSort})]});}-function JU({ sorts: e, onSort: t }) {+function $U({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47744,20 +47785,20 @@ function JU({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(wU, {- a: uge,- b: dge,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(OU, {+ a: pge,+ b: mge,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function YU({ head: e, actions: t }) {+function eW({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(ZU, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XU, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47777,27 +47818,27 @@ function YU({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, O.jsx)(JU, {+ /* @__PURE__ */ (0, O.jsx)($U, {sorts: e.sorts,onSort: t.onlineSort})]});}-function XU({ head: e, actions: t, helpers: n }) {+function tW({ head: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!1), a = (0, D.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, D.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, O.jsx)(qU, {+ e.shuffle ? /* @__PURE__ */ (0, O.jsx)(ZU, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(XU, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47813,31 +47854,31 @@ function XU({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var ZU = "";-function QU(e) {- let t = !e.tiers, n = oW(e.comboHost);+var nW = "";+function rW(e) {+ let t = !e.tiers, n = dW(e.comboHost);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(GU, {+ n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(YU, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, O.jsx)(tW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)($U, { ...e })+ /* @__PURE__ */ (0, O.jsx)(oW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(iW, { ...e })]});}-function $U(e) {- let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = KF(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function iW(e) {+ let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = WF(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, D.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = sW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = fW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, D.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -47854,7 +47895,7 @@ function $U(e) {e.sorts]), (0, D.useLayoutEffect)(() => {ms(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, O.jsx)(zF, {+ }, [f]), /* @__PURE__ */ (0, O.jsx)(LF, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -47898,17 +47939,17 @@ function $U(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(eW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(cW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(aW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(iW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(lW, { ...e })});}-function eW({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, O.jsxs)(VF, {+function aW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, O.jsxs)(zF, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47919,12 +47960,12 @@ function eW({ tag: e, onPress: t }) {})]});}-function tW(e) {+function oW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = sW(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = sW(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, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = fW(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = fW(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, D.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -47937,7 +47978,7 @@ function tW(e) {children: [u ? /* @__PURE__ */ (0, O.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(cW, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -47954,18 +47995,18 @@ function tW(e) {}) : null, d ? /* @__PURE__ */ (0, O.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(cW, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.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, O.jsx)(nW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, O.jsx)(sW, { studio: e }), e.name]}, e.name))}) : null]});}-function nW({ studio: e }) {+function sW({ studio: e }) {let [t, n] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("span", {"data-tier-mark": "",@@ -47983,7 +48024,7 @@ function nW({ studio: e }) {}) : e.fallback});}-function rW({ kind: e }) {+function cW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-catalog-placeholder": "tag",@@ -47999,37 +48040,37 @@ function rW({ kind: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "\xA0" })]}, t)) });}-function iW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = hM(), [o, s] = (0, D.useState)(!1);+function lW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = fM(), [o, s] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, O.jsx)(aW, { count: e }), /* @__PURE__ */ (0, O.jsx)($z, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, O.jsx)(uW, { count: e }), /* @__PURE__ */ (0, O.jsx)(Qz, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, {+ /* @__PURE__ */ (0, O.jsx)(ZU, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(KU, {+ n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(XU, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, O.jsx)(CU, {}),- /* @__PURE__ */ (0, O.jsx)(gU, {}),- /* @__PURE__ */ (0, O.jsx)(JU, {+ /* @__PURE__ */ (0, O.jsx)(DU, {}),+ /* @__PURE__ */ (0, O.jsx)(bU, {}),+ /* @__PURE__ */ (0, O.jsx)($U, {sorts: r,onSort: i.setSort})]})] });}-function aW({ count: e }) {+function uW({ count: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, D.useLayoutEffect)(() => {if (e === !1) return;@@ -48038,7 +48079,7 @@ function aW({ count: e }) {return;}let i = t.current;- i && (ZU && i.dataset.popCount === void 0 && (i.dataset.popCount = ZU), ZU = r, ds(i, r));+ i && (nW && i.dataset.popCount === void 0 && (i.dataset.popCount = nW), nW = r, ds(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, O.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, O.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48054,7 +48095,7 @@ function aW({ count: e }) {})}, "skeleton");}-function oW(e) {+function dW(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -48064,7 +48105,7 @@ function oW(e) {};}, [e]), t;}-function sW(e, t, n, r, i) {+function fW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48108,8 +48149,8 @@ function sW(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-var cW = "100% 0px";-function lW(e, t) {+var pW = "100% 0px";+function mW(e, t) {let [n, r] = (0, D.useState)(e ? "skeleton" : "none"), [i] = (0, D.useState)(() => e ? t() : ""), a = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {a.current && Ts(a.current);@@ -48135,7 +48176,7 @@ function lW(e, t) {fading: n === "fade"};}-function uW({ message: e, onRetry: t }) {+function hW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48149,7 +48190,7 @@ function uW({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function dW({ artwork: e, identity: t = e.html, relayout: n }) {+function gW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, D.useState)({identity: t,artwork: e@@ -48169,64 +48210,64 @@ function dW({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/library-catalog.ts-var fW = "peach.library-colors.v1", pW = null, mW = /* @__PURE__ */ new Set();-function hW() {+var _W = "peach.library-colors.v1", vW = null, yW = /* @__PURE__ */ new Set();+function bW() {try {- let e = JSON.parse(localStorage.getItem(fW) || "{}");+ let e = JSON.parse(localStorage.getItem(_W) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function gW(e) {- pW = e;+function xW(e) {+ vW = e;try {- localStorage.setItem(fW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(_W, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- mW.forEach((t) => t(e));+ yW.forEach((t) => t(e));}-function _W() {- return pW;+function SW() {+ return vW;}-function vW(e) {- return mW.add(e), () => {- mW.delete(e);+function CW(e) {+ return yW.add(e), () => {+ yW.delete(e);};}//#endregion//#region src/react/components/library-tint.ts-var yW = /* @__PURE__ */ new Map(), bW = !1, xW = /* @__PURE__ */ new Set();-function SW(e) {+var wW = /* @__PURE__ */ new Map(), TW = !1, EW = /* @__PURE__ */ new Set();+function DW(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function CW(e) {- yW = e;+function OW(e) {+ wW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...yW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${SW(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...wW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${DW(e.color)}}`).join("\n");}-function wW(e) {- CW(e), xW.forEach((e) => e());+function kW(e) {+ OW(e), EW.forEach((e) => e());}-var TW = (e) => new Map(e.map((e) => [e.id, {+var AW = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: No[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), EW = !1;-function DW() {- if (EW) return;- EW = !0, vW((e) => wW(TW(e)));- let e = _W();+}])), jW = !1;+function MW() {+ if (jW) return;+ jW = !0, CW((e) => kW(AW(e)));+ let e = SW();if (e) {- CW(TW(e));+ OW(AW(e));return;}- let t = Object.entries(hW()).filter(([, e]) => e);- t.length && CW(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(bW()).filter(([, e]) => e);+ t.length && OW(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48234,35 +48275,35 @@ function DW() {color: t}])));}-function OW() {- bW || _W() || (bW = !0, V("/api/libraries").then((e) => gW(e.libraries || [])).catch(() => {- bW = !1;+function NW() {+ TW || SW() || (TW = !0, V("/api/libraries").then((e) => xW(e.libraries || [])).catch(() => {+ TW = !1;}));}-function kW(e, t) {- let n = yW.get(e) ?? {+function PW(e, t) {+ let n = wW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- wW(new Map([...yW, [e, {+ kW(new Map([...wW, [e, {...n,color: t}]]));}-function AW(e) {- return xW.add(e), () => {- xW.delete(e);+function FW(e) {+ return EW.add(e), () => {+ EW.delete(e);};}-function jW({ names: e = !1 } = {}) {- return DW(), e && OW(), (0, D.useSyncExternalStore)(AW, () => yW, () => yW);+function IW({ names: e = !1 } = {}) {+ return MW(), e && NW(), (0, D.useSyncExternalStore)(FW, () => wW, () => wW);}//#endregion//#region src/react/components/row-click.ts-var MW = [+var LW = ["a","button","input",@@ -48275,46 +48316,46 @@ var MW = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function NW(e, t) {+function RW(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(MW);+ let r = n.closest(LW);return !r || !t.contains(r) || r === t;}-function PW(e) {+function zW(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var FW = 9 / 16, IW = "未命名视频";-function LW({ name: e }) {+var BW = 9 / 16, VW = "未命名视频";+function HW({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var RW = {+var UW = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, zW = {+}, WW = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function BW({ item: e }) {+function GW({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && zW[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && WW[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, O.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function VW({ item: e, actions: t }) {+function KW({ item: e, actions: t }) {let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48333,10 +48374,10 @@ function VW({ item: e, actions: t }) {children: i}) : null] });}-function HW(e, t, n) {- return t === "short" ? FW : wA(n);+function qW(e, t, n) {+ return t === "short" ? BW : xA(n);}-function UW(e) {+function JW(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Xa(e), s = i[0] || "", c = Fa(e);return {avatar: r ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -48368,7 +48409,7 @@ function UW(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48378,16 +48419,16 @@ function UW(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]})};}-function WW() {+function YW() {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-preview": "",@@ -48406,7 +48447,7 @@ function WW() {})]});}-function GW({ item: e, actions: t, on: n, onChange: r }) {+function XW({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-later": "",@@ -48421,11 +48462,11 @@ function GW({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: n ? "check" : "bookmark-plus" })})});}-function KW({ reason: e }) {+function ZW({ reason: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {ref: t,@@ -48439,15 +48480,15 @@ function KW({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(nR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: XB,- children: /* @__PURE__ */ (0, O.jsx)(gR, {+ className: YB,+ children: /* @__PURE__ */ (0, O.jsx)(hR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48455,17 +48496,17 @@ function KW({ reason: e }) {})})] });}-function qW(e, t) {+function QW(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 JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = jW(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);+function $W({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = IW(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);_.current = e;let v = (0, D.useCallback)((e) => {let t = _.current;u.current && u.current !== e && ll(u.current), u.current = e, e && (!t.medium || t.medium === "video") && dl(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = HW(e, t, n), w = S ? n.size : "small", T = C === FW && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || IW, M = o.titleHtml(e, A).trim() || B(IW), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = UW(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (t) => {+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = qW(e, t, n), w = S ? n.size : "small", T = C === BW && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || VW, M = o.titleHtml(e, A).trim() || B(VW), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = JW(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -48492,10 +48533,10 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, re = /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === FW ? "" : void 0,+ "data-pic-portrait": C === BW ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, O.jsx)(dW, {+ E.html ? /* @__PURE__ */ (0, O.jsx)(gW, {artwork: E,identity: k,relayout: (e) => tl(e, w)@@ -48509,11 +48550,11 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-group": "",@@ -48528,7 +48569,7 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-duration": "",children: hn(P)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(VW, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(KW, {item: e,actions: s}) : null,@@ -48544,22 +48585,22 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, O.jsx)(WW, {}),+ /* @__PURE__ */ (0, O.jsx)(YW, {}),p || g.length ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "bookmark" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "heart" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, O.jsx)(GW, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(XW, {item: e,actions: s,on: p,@@ -48574,27 +48615,27 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), qW(u.current, -a);+ e.stopPropagation(), QW(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), qW(u.current, a);+ e.stopPropagation(), QW(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "expand" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "expand" })})]})@@ -48613,7 +48654,7 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: ne,- onMouseDown: PW,+ onMouseDown: zW,children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48653,15 +48694,15 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(KW, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(ZW, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-tags": "",children: I.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48671,15 +48712,15 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, O.jsx)(BW, { item: e })+ /* @__PURE__ */ (0, O.jsx)(GW, { item: e })]})]})]});}-function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : RW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function eG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : UW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, O.jsxs)("article", {ref: o,"data-media-card": "",@@ -48691,14 +48732,14 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: PW,+ onMouseDown: zW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -48710,13 +48751,13 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(HW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, O.jsx)(VW, {+ n ? null : /* @__PURE__ */ (0, O.jsx)(KW, {item: e,actions: i})@@ -48727,7 +48768,7 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: u })+ children: /* @__PURE__ */ (0, O.jsx)(HW, { name: u })}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-text": "",children: [@@ -48755,29 +48796,29 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe]}),e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, O.jsx)(BW, { item: e })+ /* @__PURE__ */ (0, O.jsx)(GW, { item: e })]})]})]});}-function XW(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(YW, { ...e }) : /* @__PURE__ */ (0, O.jsx)(JW, { ...e });+function tG(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(eG, { ...e }) : /* @__PURE__ */ (0, O.jsx)($W, { ...e });}-var ZW = (0, D.memo)(XW), QW = 1100, $W = 340, eG = 5e3;-function tG(e, t, n) {+var nG = (0, D.memo)(tG), rG = 1100, iG = 340, aG = 5e3;+function oG(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, eG);+ }, s = () => o(!1), c = setTimeout(s, aG);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function nG({ load: e, canFlip: t, referrerPolicy: n }) {+function sG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, D.useState)([]), [a, o] = (0, D.useState)(0), [s, c] = (0, D.useState)(null), l = (0, D.useRef)({live: !1,generation: 0,@@ -48819,11 +48860,11 @@ function nG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => tG(t, e, n)));+ let s = await Promise.all(a.map((t) => oG(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, QW);+ p(), e.cycle = setInterval(p, rG);}));};return (0, D.useEffect)(() => d, [d]), {@@ -48832,7 +48873,7 @@ function nG({ 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($W, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(iG, () => {e.armed = null, m();});},@@ -48843,8 +48884,8 @@ function nG({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var rG = Rz("play");-function iG({ src: e }) {+var cG = Lz("play");+function lG({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {"data-mix-poster": "",@@ -48857,8 +48898,8 @@ function iG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var aG = "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 oG({ faces: e, fallback: t, onOpenEntity: n }) {+var uG = "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 dG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {@@ -48866,18 +48907,18 @@ function oG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${aG} cursor-pointer outline-none`,+ className: `${uG} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: La(e.name, e, va(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${aG} mt-0.5`,+ className: `${uG} mt-0.5`,children: t});}-function sG({ 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 = nG({+function fG({ 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 = sG({load: i,canFlip: a}), x = (0, D.useRef)(b.onPointerLeave);@@ -48904,11 +48945,11 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, O.jsx)(dW, {+ f?.html ? /* @__PURE__ */ (0, O.jsx)(gW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, O.jsx)(iG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, O.jsx)(lG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -48938,7 +48979,7 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, O.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, O.jsx)(rG, {+ children: [/* @__PURE__ */ (0, O.jsx)(cG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -48951,8 +48992,8 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, O.jsx)(rG, {})- }) : /* @__PURE__ */ (0, O.jsx)(oG, {+ children: /* @__PURE__ */ (0, O.jsx)(cG, {})+ }) : /* @__PURE__ */ (0, O.jsx)(dG, {faces: o,fallback: xn(e),onOpenEntity: s@@ -48976,7 +49017,7 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var cG = [+var pG = [[[{@@ -52537,7 +52578,7 @@ var cG = [}]]-], lG = [+], mG = [[{x: 0,@@ -52834,89 +52875,89 @@ var cG = [rows: 2}]-], uG = (e) => e.map((e) => ({+], hG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), dG = (e) => e.map((e) => ({+})), gG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), fG = [+})), _G = [(e) => e,- uG,- dG,- (e) => uG(dG(e))-], pG = lG.flatMap((e) => fG.map((t) => t(e))), mG = cG.flatMap((e) => fG.map((t) => e.map(t)));-pG.length;-var hG = (e, t) => {+ hG,+ gG,+ (e) => hG(gG(e))+], vG = mG.flatMap((e) => _G.map((t) => t(e))), yG = pG.flatMap((e) => _G.map((t) => e.map(t)));+vG.length;+var bG = (e, t) => {let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;-}, gG = (e, t) => {- let n = lG.length;- return ((e + t * 2) % n + n) % n * fG.length + hG(e, t) % fG.length;-}, _G = (e, t) => pG[gG(e, t)], vG = (e, t, n) => n < 0 || n >= 12 ? null : mG[gG(e, t)][n], yG = 103.36, bG = 6.08, xG = 12 * yG, SG = 8 * yG, CG = 12, wG = (e, t) => (e % t + t) % t, TG = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;-function EG(e, t) {- let n = Math.max(1, Math.ceil(e / CG)), r = t ? 3 : Math.min(3, n);+}, xG = (e, t) => {+ let n = mG.length;+ return ((e + t * 2) % n + n) % n * _G.length + bG(e, t) % _G.length;+}, SG = (e, t) => vG[xG(e, t)], CG = (e, t, n) => n < 0 || n >= 12 ? null : yG[xG(e, t)][n], wG = 103.36, TG = 6.08, EG = 12 * wG, DG = 8 * wG, OG = 12, kG = (e, t) => (e % t + t) % t, AG = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;+function jG(e, t) {+ let n = Math.max(1, Math.ceil(e / OG)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * xG,- height: Math.ceil(n / r) * SG+ width: r * EG,+ height: Math.ceil(n / r) * DG};}-function DG(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = _G(e, t)[n];+function MG(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = SG(e, t)[n];return {- x: e * xG + r * yG,- y: t * SG + i * yG,- width: a * yG - bG,- height: o * yG - bG+ x: e * EG + r * wG,+ y: t * DG + i * wG,+ width: a * wG - TG,+ height: o * wG - TG};}-function OG(e) {+function NG(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function kG(e, t, n) {+function PG(e, t, n) {if (!e) return null;let [r, i, a] = n.split(":").map(Number);if (![r,i,a- ].every(Number.isInteger) || a < 0 || a >= CG) return null;- let o = EG(e, t), s = o.height / SG;+ ].every(Number.isInteger) || a < 0 || a >= OG) return null;+ let o = jG(e, t), s = o.height / DG;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : wG(r, o.columns), l = ((t ? i : wG(i, s)) * o.columns + c) * CG + a;+ let c = t ? r : kG(r, o.columns), l = ((t ? i : kG(i, s)) * o.columns + c) * OG + a;return t && l >= e ? null : {- ...DG(r, i, a),+ ...MG(r, i, a),index: l % e,key: n};}-function AG(e, t) {+function FG(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / CG);- return kG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % CG}`);+ let n = Math.floor(t / OG);+ return PG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % OG}`);}-function jG(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = vG(r, i, a);+function IG(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = CG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * xG + e.x * yG,- y: i * SG + e.y * yG,- width: e.cols * yG - bG,- height: e.rows * yG - bG+ x: r * EG + e.x * wG,+ y: i * DG + e.y * wG,+ width: e.cols * wG - TG,+ height: e.rows * wG - TG}]));}-function MG(e) {+function LG(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / CG), i = DG(e % 3, Math.floor(e / 3), r % CG);+ let e = Math.floor(r / OG), i = MG(e % 3, Math.floor(e / 3), r % OG);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * xG - bG : t,+ width: e >= 36 ? 3 * EG - TG : t,height: n};}-function NG(e, t, n, r) {+function RG(e, t, n, r) {if (!r) return e;let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));return {@@ -52925,22 +52966,22 @@ function NG(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function PG(e, t, n, r) {+function zG(e, t, n, r) {if (!e || !r.width || !r.height) return [];let i = 180 / n.scale, a = {x: -n.x / n.scale - i,y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = EG(e, t), s = o.height / SG, c = [];- for (let n = Math.floor(a.y / SG); n <= Math.floor((a.y + a.height) / SG); n += 1) for (let r = Math.floor(a.x / xG); r <= Math.floor((a.x + a.width) / xG); r += 1) {+ }, o = jG(e, t), s = o.height / DG, c = [];+ for (let n = Math.floor(a.y / DG); n <= Math.floor((a.y + a.height) / DG); n += 1) for (let r = Math.floor(a.x / EG); r <= Math.floor((a.x + a.width) / EG); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : wG(r, o.columns), l = t ? n : wG(n, s);- for (let s = 0; s < CG; s += 1) {- let u = (l * o.columns + i) * CG + s;+ let i = t ? r : kG(r, o.columns), l = t ? n : kG(n, s);+ for (let s = 0; s < OG; s += 1) {+ let u = (l * o.columns + i) * OG + s;if (t && u >= e) continue;- let d = DG(r, n, s);- TG(d, a) && c.push({+ let d = MG(r, n, s);+ AG(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -52949,7 +52990,7 @@ function PG(e, t, n, r) {}return c;}-var FG = class {+var BG = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -52961,7 +53002,7 @@ var FG = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : kG(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : PG(t, !1, e);return r ? {...r,index: n@@ -52991,7 +53032,7 @@ var FG = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * xG,+ x: (e + 2) * EG,y: 0};}@@ -53004,10 +53045,10 @@ var FG = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / xG)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / EG)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, IG = [+}, VG = ["q","performer","series",@@ -53022,17 +53063,17 @@ var FG = class {"dur_max","region"];-function LG(e = {}) {- return IG.some((t) => !!e[t]);+function HG(e = {}) {+ return VG.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var RG = {+var UG = {x: 16,y: 16,scale: 1};-function zG(e, t, n = RG, r = !1) {+function WG(e, t, n = UG, r = !1) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)({width: 0,height: 0@@ -53052,7 +53093,7 @@ function zG(e, t, n = RG, r = !1) {let f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, D.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = NG(e, o.current, MG(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = RG(e, o.current, LG(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53123,7 +53164,7 @@ function zG(e, t, n = RG, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = Lne(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = Bne(0, 1, {duration: .42,ease: [.22,@@ -53152,7 +53193,7 @@ function zG(e, t, n = RG, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...RG }, !0);+ g(), _({ ...UG }, !0);},pan: (e, t) => {g(), _({@@ -53214,17 +53255,17 @@ function zG(e, t, n = RG, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var BG = {+var GG = {type: "spring",stiffness: 300,damping: 34-}, VG = {+}, KG = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function HG(e, t, n) {+function qG(e, t, n) {let [r, i] = (0, D.useState)({paused: !0,time: 0,@@ -53266,15 +53307,15 @@ function HG(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {- let b = Ay(), x = HG(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function JG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = Dy(), x = qG(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {y(Ut(e));}};- return /* @__PURE__ */ (0, O.jsxs)(Ry.div, {+ return /* @__PURE__ */ (0, O.jsxs)(Fy.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53284,7 +53325,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : VG,+ transition: b ? { duration: 0 } : KG,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53292,7 +53333,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...Bz(C),+ ...zz(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -53342,7 +53383,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",- ...Bz(d),+ ...zz(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -53389,7 +53430,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}//#endregion//#region src/react/components/mix-queue.tsx-function WG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function YG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, D.useRef)(null), l = (0, D.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53425,7 +53466,7 @@ function WG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function GG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function XG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-item-text": "",children: a@@ -53448,7 +53489,7 @@ function GG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var KG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {+var ZG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53458,28 +53499,28 @@ var KG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function qG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function QG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, O.jsx)(WG, {+ children: /* @__PURE__ */ (0, O.jsx)(YG, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(GG, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(XG, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? oN(e.part_label) : "",+ e.part_label ? aN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, O.jsx)(dW, { artwork: Ga(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, O.jsx)(gW, { artwork: Ga(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, O.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, O.jsx)("span", { children: [e.edition_label,- e.part_label ? oN(e.part_label) : "",+ e.part_label ? aN(e.part_label) : "",hn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53488,7 +53529,7 @@ function qG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {}//#endregion//#region src/react/video-wall/wall-route.ts-function JG(e = `${location.pathname}${location.search}`, t = {}) {+function $G(e = `${location.pathname}${location.search}`, t = {}) {let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {performers: "performer",creators: "creator",@@ -53503,18 +53544,18 @@ function JG(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function YG(e = `${location.pathname}${location.search}`) {+function eK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of IG) t.delete(e);+ for (let e of VG) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function XG() {- let e = new URLSearchParams(YV.navigation.location.search).get("returnTo") || "/";- YV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function tK() {+ let e = new URLSearchParams(JV.navigation.location.search).get("returnTo") || "/";+ JV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var nK = /* @__PURE__ */ new Map(), rK = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Ga(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -53527,7 +53568,7 @@ var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, O.jsx)(dW, {+ children: /* @__PURE__ */ (0, O.jsx)(gW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && Vc(e, r);@@ -53535,31 +53576,31 @@ var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image:})});});-function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function iK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, D.useState)(() => {- let e = ZG.get(f);+ let e = nK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, D.useState)(() => m?.exploration || new FG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {+ }), [h] = (0, D.useState)(() => m?.exploration || new BG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = St({- queryKey: BM(P || {+ queryKey: LM(P || {kind: "parts",seedId: 0}),enabled: !!P,- queryFn: ({ signal: e }) => YM(P, {+ queryFn: ({ signal: e }) => JM(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === QM(F, A || w?.id || null)) || w, I = zG(e.length, t && !!e.length, m?.camera || {+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === ZM(F, A || w?.id || null)) || w, I = WG(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = Ay(), [re, ie] = (0, D.useState)(!!m);+ }, !!w), ne = Dy(), [re, ie] = (0, D.useState)(!!m);(0, D.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -53576,7 +53617,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, D.useLayoutEffect)(() => {document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });}, [Se]), (0, D.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, D.useState)(() => gV(YV.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);+ let [Ce, we] = (0, D.useState)(() => hV(JV.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);ke.current = !!e.length;let Ae = (0, D.useRef)({selectedId: w?.id || null,@@ -53593,17 +53634,17 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (ZG.delete(f), ZG.set(f, {+ ke.current && (nK.delete(f), nK.set(f, {...Ae.current,camera: I.snapshot(),exploration: h- }), ZG.size > 8 && ZG.delete(ZG.keys().next().value));+ }), nK.size > 8 && nK.delete(nK.keys().next().value));};(0, D.useLayoutEffect)(je);- let Me = PG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({+ let Me = zG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? kG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? jG(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? PG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? IG(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);@@ -53620,8 +53661,8 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, D.useEffect)(() => YV.listen((e) => {- let t = gV(e.location.pathname);+ ]), (0, D.useEffect)(() => JV.listen((e) => {+ let t = hV(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), we(t);}), []), (0, D.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), je();@@ -53642,7 +53683,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(jG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, pe(""), le(null), T(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(IG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, ze = () => {te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));}, Be = async (e = te) => {@@ -53664,7 +53705,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && de(!1);}}, Ve = () => {- let e = $M(F || null, oe || 0);+ let e = QM(F || null, oe || 0);e && (j(e.id), Be(e));};(0, D.useEffect)(() => {@@ -53686,7 +53727,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (I.view.size.width / 2 - r.x) / r.scale,y: (I.view.size.height / 2 - r.y) / r.scale- }, o = t ? AG(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? FG(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), le(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -53778,7 +53819,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(QG, {+ children: /* @__PURE__ */ (0, O.jsx)(rK, {item: w,image: Te,big: !0@@ -53786,7 +53827,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, O.jsx)(QG, {+ children: /* @__PURE__ */ (0, O.jsx)(rK, {item: w,image: Te,big: !0@@ -53815,7 +53856,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Xe.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,/* @__PURE__ */ (0, O.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? oN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? aN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -53832,7 +53873,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || P && ee.error && !F ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Fz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: fe || Ut(ee.error)}), ee.error && !F ? /* @__PURE__ */ (0, O.jsx)(J, {@@ -53842,7 +53883,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, O.jsx)(UG, {+ /* @__PURE__ */ (0, O.jsx)(JG, {item: Xe,playing: oe,frame: b,@@ -53864,7 +53905,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: pe}),- M ? /* @__PURE__ */ (0, O.jsx)(qG, {+ M ? /* @__PURE__ */ (0, O.jsx)(QG, {items: He,activeId: Xe.id,kind: F?.kind || "wall",@@ -53880,7 +53921,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : XG());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : tK());},children: [/* @__PURE__ */ (0, O.jsx)("button", {@@ -53888,7 +53929,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: XG,+ onClick: tK,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53906,7 +53947,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",- onClick: () => YV.push(YG()),+ onClick: () => JV.push(eK()),children: "清除筛选"})]}) : null,@@ -53918,7 +53959,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), je(), YV.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), je(), JV.push(`/wall?${t}`), xe(!1);},children: [/* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",@@ -53932,18 +53973,18 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, O.jsxs)(vU, {+ /* @__PURE__ */ (0, O.jsxs)(SU, {"aria-label": "播放墙图片",value: Te,onChange: Ee,- className: yU,- children: [/* @__PURE__ */ (0, O.jsx)(wR, {+ className: CU,+ children: [/* @__PURE__ */ (0, O.jsx)(CR, {value: "cover",- className: bU,+ className: wU,children: "封面"- }), /* @__PURE__ */ (0, O.jsx)(wR, {+ }), /* @__PURE__ */ (0, O.jsx)(CR, {value: "thumbnail",- className: bU,+ className: wU,children: "缩略图"})]}),@@ -54015,7 +54056,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + I.view.camera.x / I.view.camera.scale) + Math.max(0, t.y + I.view.camera.y / I.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, O.jsx)(Ry.article, {+ return /* @__PURE__ */ (0, O.jsx)(Fy.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -54036,7 +54077,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: BG,+ layout: GG,transform: a ? {type: "spring",stiffness: 360,@@ -54069,7 +54110,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},children: r ? Ze : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(QG, {+ /* @__PURE__ */ (0, O.jsx)(rK, {item: n,image: Te,ratio: i.width / i.height@@ -54095,7 +54136,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, O.jsx)(Ry.span, {+ /* @__PURE__ */ (0, O.jsx)(Fy.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -54107,7 +54148,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Fz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: a}), /* @__PURE__ */ (0, O.jsx)(J, {@@ -54134,7 +54175,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, O.jsx)(qU, {+ children: /* @__PURE__ */ (0, O.jsx)(ZU, {busy: r,onPress: () => void qe()})@@ -54144,20 +54185,20 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, O.jsxs)(J, {size: "small",variant: "secondary",- ...Bz(r),+ ...zz(r),onClick: () => void Ge(),children: [r ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Fz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: me}), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",- ...Bz(r),+ ...zz(r),onClick: () => void Ge(),children: "立即重试"})]@@ -54181,7 +54222,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/catalog-onboarding.ts-var eK = [+var aK = ["loc","creator","performer",@@ -54199,19 +54240,19 @@ var eK = ["jav","thumb"];-function tK(e = typeof location > "u" ? "/" : location.href) {+function oK(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...eK,+ ...aK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function nK(e, t) {+async function sK(e, t) {let n = new URLSearchParams();- for (let t of eK) e[t] && n.set(t, e[t]);+ for (let t of aK) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -54222,9 +54263,9 @@ async function nK(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function rK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function cK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(tK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(oK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54243,17 +54284,17 @@ function rK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function iK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || rK() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${YG()}">清除筛选</a>` });+function lK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || cK() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${eK()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function uK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, D.useState)(t), [s, c] = (0, D.useState)(), [l, u] = (0, D.useState)("");return (0, D.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await Bme(e, t.signal, a);+ let o = await Vme(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -54271,7 +54312,7 @@ function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, O.jsx)(kH, {+ children: /* @__PURE__ */ (0, O.jsx)(OH, {value: a,busy: i,onChange: (e) => {@@ -54279,7 +54320,7 @@ function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, O.jsx)(eU, {+ s ? /* @__PURE__ */ (0, O.jsx)($H, {traffic: s,initial: !0}) : null,@@ -54291,7 +54332,7 @@ function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function dK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(r);(0, D.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, D.useState)(!1), f = {@@ -54349,7 +54390,7 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(aK, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(uK, {command: s.command,dialog: s.dialog,speed: r,@@ -54358,11 +54399,11 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xH, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(bH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: uz,+ trailingIcon: lz,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -54374,30 +54415,30 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, O.jsx)(J, {- ...Bz(e),+ ...zz(e),onClick: () => m(f.command),children: f.label}), /* @__PURE__ */ (0, O.jsx)(J, {ref: a,iconOnly: !0,- leadingIcon: lz,+ leadingIcon: cz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,- ...Bz(e),+ ...zz(e),onClick: () => {e || d(!u);}})]}),- /* @__PURE__ */ (0, O.jsx)(rR, {+ /* @__PURE__ */ (0, O.jsx)(nR, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: XB,- children: /* @__PURE__ */ (0, O.jsx)(CH, {+ className: YB,+ children: /* @__PURE__ */ (0, O.jsx)(SH, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -54406,7 +54447,7 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: eF(ZB, QB, "text-body-2-medium"),+ className: $P(XB, ZB, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54423,48 +54464,48 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function sK(e, t) {+function fK(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Ga(e, "small", !1, t).html).map((e) => e.id))];}-function cK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, O.jsx)(lK, {+function pK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, O.jsx)(mK, {assetIds: e,onComplete: t,className: n}) : null;}-function lK({ assetIds: e, onComplete: t, className: n }) {+function mK({ assetIds: e, onComplete: t, className: n }) {let r = St({- queryKey: uH,- queryFn: ({ signal: e }) => pH(e),- refetchInterval: (e) => gH(e.state.data, !0)+ queryKey: lH,+ queryFn: ({ signal: e }) => fH(e),+ refetchInterval: (e) => hH(e.state.data, !0)}), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = Ct({- mutationFn: (t) => H(lH, {+ mutationFn: (t) => H(cH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });+ a(e.job_id || null), U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });}}), u = r.data;if ((0, D.useEffect)(() => {- u && i && u.job_id === i && !dH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !uH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t- ]), dH(u)) return null;- let d = l.isPending || dH(u), f = l.error ? An(l.error) : r.error ? hH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), uH(u)) return null;+ let d = l.isPending || uH(u), f = l.error ? An(l.error) : r.error ? mH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, O.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: eF("@container", n),- children: /* @__PURE__ */ (0, O.jsxs)(Fz, {+ className: $P("@container", n),+ children: /* @__PURE__ */ (0, O.jsxs)(Pz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, O.jsx)(oK, {+ children: /* @__PURE__ */ (0, O.jsx)(dK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54475,10 +54516,10 @@ function lK({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, O.jsx)(xH, {+ /* @__PURE__ */ (0, O.jsx)(bH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: uz,+ trailingIcon: lz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54487,32 +54528,32 @@ function lK({ assetIds: e, onComplete: t, className: n }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function uK(e) {- return dK(e) || typeof e == "function" || fK(e);+function hK(e) {+ return gK(e) || typeof e == "function" || _K(e);}-function dK(e) {+function gK(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function fK(e) {+function _K(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function pK(e, t) {- return e == null ? null : uK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;+function vK(e, t) {+ return e == null ? null : hK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;}-function mK(e) {+function yK(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? pK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : pK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? vK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : vK(n.cell, t.getContext());}- return "header" in e && e.header ? pK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? pK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? vK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? vK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function hK({ update: e, notify: t, unwatched: n }) {+function bK({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54630,7 +54671,7 @@ function hK({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function gK(e, t, n) {+function xK(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54638,38 +54679,38 @@ function gK(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var _K = [], vK = 0, { link: yK, unlink: bK, propagate: xK, checkDirty: SK, shallowPropagate: CK } = /* @__PURE__ */ hK({+var SK = [], CK = 0, { link: wK, unlink: TK, propagate: EK, checkDirty: DK, shallowPropagate: OK } = /* @__PURE__ */ bK({update(e) {return e._update();},notify(e) {- _K[TK++] = e, e.flags &= -3;+ SK[AK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, kK(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, PK(e));}-}), wK = 0, TK = 0, EK, DK = 0;-function OK(e) {+}), kK = 0, AK = 0, jK, MK = 0;+function NK(e) {try {- ++DK, e();+ ++MK, e();} finally {- --DK || AK();+ --MK || FK();}}-function kK(e) {+function PK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = bK(n, e);+ for (; n !== void 0;) n = TK(n, e);}-function AK() {- if (!(DK > 0)) {- for (; wK < TK;) {- let e = _K[wK];- _K[wK++] = void 0, e.notify();+function FK() {+ if (!(MK > 0)) {+ for (; kK < AK;) {+ let e = SK[kK];+ SK[kK++] = void 0, e.notify();}- wK = 0, TK = 0;+ kK = 0, AK = 0;}}-function jK(e, t) {+function IK(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54678,53 +54719,53 @@ function jK(e, t) {depsTail: void 0,flags: +!n,get() {- return EK !== void 0 && yK(i, EK, vK), i._snapshot;+ return jK !== void 0 && wK(i, jK, CK), i._snapshot;},subscribe(e) {- let t = gK(e), n = { current: !1 }, r = MK(() => {- i.get(), n.current ? (EK = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = xK(e), n = { current: !1 }, r = LK(() => {+ i.get(), n.current ? (jK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = EK, o = t?.compare ?? Object.is;- if (n) EK = i, ++vK, i.depsTail = void 0;+ let a = jK, o = t?.compare ?? Object.is;+ if (n) jK = i, ++CK, i.depsTail = void 0;else if (e === void 0) return !1;n && (i.flags = 5);try {let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;} finally {- EK = a, n && (i.flags &= -5), kK(i);+ jK = a, n && (i.flags &= -5), PK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && SK(i.deps, i)) {+ if (e & 16 || e & 32 && DK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && CK(e);+ e !== void 0 && OK(e);}} else e & 32 && (i.flags = e & -33);- return EK !== void 0 && yK(i, EK, vK), i._snapshot;+ return jK !== void 0 && wK(i, jK, CK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (xK(e), CK(e), AK());+ e !== void 0 && (EK(e), OK(e), FK());}}, i;}-function MK(e) {+function LK(e) {let t = () => {- let t = EK;- EK = n, ++vK, n.depsTail = void 0, n.flags = 6;+ let t = jK;+ jK = n, ++CK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- EK = t, n.flags &= -5, kK(n);+ jK = t, n.flags &= -5, PK(n);}}, n = {deps: void 0,@@ -54734,17 +54775,17 @@ function MK(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && SK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && DK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, kK(this);+ this.flags = 0, this.depsTail = void 0, PK(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function NK(e, t) {+function RK(e, t) {if (Object.is(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;if (e instanceof Map && t instanceof Map) {@@ -54758,18 +54799,18 @@ function NK(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = PK(e);- if (n.length !== PK(t).length) return !1;+ let n = zK(e);+ if (n.length !== zK(t).length) return !1;for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;return !0;}-function PK(e) {+function zK(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var FK = /* @__PURE__ */ o(((e) => {- var t = v(), n = Bx();+var BK = /* @__PURE__ */ o(((e) => {+ var t = v(), n = Ix();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54813,28 +54854,28 @@ var FK = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), IK = /* @__PURE__ */ o(((e, t) => {- t.exports = FK();-})), LK = IK();-function RK(e, t) {+})), VK = /* @__PURE__ */ o(((e, t) => {+ t.exports = BK();+})), HK = VK();+function UK(e, t) {return e === t;}-function zK(e, t = (e) => e, n) {- let r = n?.compare ?? RK, i = (0, D.useCallback)((t) => {+function WK(e, t = (e) => e, n) {+ let r = n?.compare ?? UK, i = (0, D.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, D.useCallback)(() => e.get(), [e]);- return (0, LK.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, HK.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function BK(e) {- let t = zK(e.source, e.selector, { compare: NK });+function GK(e) {+ let t = WK(e.source, e.selector, { compare: RK });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function VK(e) {+function KK(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -54842,7 +54883,7 @@ function VK(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function HK(e) {+function qK(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -54872,7 +54913,7 @@ function HK(e) {}};}-function UK(e, t = Object.is) {+function JK(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -54886,29 +54927,29 @@ function UK(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function WK() {- return HK({- createAtom: jK,- batch: OK+function YK() {+ return qK({+ createAtom: IK,+ batch: NK});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function GK(e, t) {+function XK(e, t) {return typeof e == "function" ? e(t) : e;}-function KK(e) {- if (Array.isArray(e)) return e.map(KK);+function ZK(e) {+ if (Array.isArray(e)) return e.map(ZK);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? JK() : {}, r = Object.keys(e);+ let n = t === null ? $K() : {}, r = Object.keys(e);for (let t = 0; t < r.length; t++) {let i = r[t];Object.defineProperty(n, i, {configurable: !0,enumerable: !0,- value: KK(e[i]),+ value: ZK(e[i]),writable: !0});}@@ -54916,7 +54957,7 @@ function KK(e) {}return e;}-function qK(e, t) {+function QK(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -54924,53 +54965,53 @@ function qK(e, t) {}return e;}-function JK() {+function $K() {return Object.create(null);}-function YK(e, t) {+function eq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function XK(e, t) {+function tq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => GK(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => XK(n, e));};}-function ZK(e) {+function nq(e) {if (typeof e != "object" || !e) return !1;if (Array.isArray(e)) return !0;let t = Object.getPrototypeOf(e);return t === Object.prototype || t === null;}-function QK(e) {+function rq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var $K = 3;-function eq(e, t) {- return tq(e, t, $K);+var iq = 3;+function aq(e, t) {+ return oq(e, t, iq);}-function tq(e, t, n) {+function oq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !ZK(e) || !ZK(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = QK(e), i = QK(t);+ if (n <= 0 || !nq(e) || !nq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = rq(e), i = rq(t);if (r.length !== i.length) return !1;let a = e, o = t;for (let e = 0; e < r.length; e++) {let i = r[e];- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !tq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !oq(a[i], o[i], n - 1)) return !1;}return !0;}-function nq(e, t, n, r = eq) {+function sq(e, t, n, r = aq) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = GK(n, e);+ let t = XK(n, e);return r(e, t) ? e : t;});}-function rq(e) {+function cq(e) {return e instanceof Function;}-function iq(e, t) {+function lq(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -54980,7 +55021,7 @@ function iq(e, t) {};return r(e), n;}-var aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var uq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -54994,23 +55035,23 @@ var aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeComreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function oq(e) {+function dq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function sq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function fq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {let o = { onAfterUpdate: r ? () => {let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return aq({+ return uq({...a,...o});}-function cq(e, t = "_") {+function pq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55018,10 +55059,10 @@ function cq(e, t = "_") {parentName: n};}-function lq(e, t, n) {+function mq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = cq(r);- t[n] = a ? sq({+ let { fnKey: n, fnName: o } = pq(r);+ t[n] = a ? fq({memoDeps: a,fn: i,fnName: o,@@ -55030,15 +55071,15 @@ function lq(e, t, n) {}) : i;}}-function uq(e, t, n, r) {+function hq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = cq(i);+ let { fnKey: r, fnName: s } = pq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = sq({+ this[i] = fq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55054,18 +55095,18 @@ function uq(e, t, n, r) {};}}-function dq(e, t, n, ...r) {+function gq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function fq(e) {+function _q(e) {return e.row.getValue(e.column.id);}-function pq(e) {+function vq(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function mq(e) {+function yq(e) {return {table: e.table,column: e.column,@@ -55077,19 +55118,19 @@ function mq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var hq = { assignCellPrototype: (e, t) => {- uq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => fq(e) },- cell_renderValue: { fn: (e) => pq(e) },+var bq = { assignCellPrototype: (e, t) => {+ hq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => _q(e) },+ cell_renderValue: { fn: (e) => vq(e) },cell_getContext: {- fn: (e) => mq(e),+ fn: (e) => yq(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function gq(e) {+function xq(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55097,7 +55138,7 @@ function gq(e) {}return e._columnPrototype;}-function _q(e, t, n, r) {+function Sq(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55117,7 +55158,7 @@ function _q(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = gq(e), u = Object.create(l);+ let l = xq(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);@@ -55125,47 +55166,47 @@ function _q(e, t, n, r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js-function vq(e) {+function Cq(e) {return e.getIsVisible?.() ?? !0;}-function yq(e) {+function wq(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function bq(e, t) {+function Tq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function xq(e, t, n, r) {+function Eq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Sq(e, t) {+function Dq(e, t) {return e._expandRows?.(t) ?? t;}-function Cq(e) {+function Oq(e) {e.autoResetExpanded?.();}-function wq(e) {+function kq(e) {e.autoResetPageIndex?.();}-function Tq(e) {+function Aq(e) {e.autoResetSorting?.();}-function Eq(e) {+function jq(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function Dq(e) {+function Mq(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function Oq(e) {+function Nq(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return bq(e.table, t);+ return Tq(e.table, t);}return [e];}-function kq(e) {+function Pq(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55176,54 +55217,54 @@ function kq(e) {...e.options.defaultColumn};}-function Aq(e, t, n, r = 0) {+function Fq(e, t, n, r = 0) {let i = Array(t.length);for (let a = 0; a < t.length; a++) {if (!(a in t)) continue;- let o = t[a], s = _q(e, o, r, n), c = o;- s.columns = c.columns ? Aq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = Sq(e, o, r, n), c = o;+ s.columns = c.columns ? Fq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function jq(e) {- return Aq(e, e.options.columns);+function Iq(e) {+ return Fq(e, e.options.columns);}-function Mq(e) {+function Lq(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function Nq(e) {- let t = JK(), n = e.getAllFlatColumns();+function Rq(e) {+ let t = $K(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Pq(e) {- return bq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+function Sge(e) {+ return Tq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function Fq(e) {- let t = JK(), n = e.getAllLeafColumns();+function Cge(e) {+ let t = $K(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Iq(e, t) {+function wge(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var Lq = {+var Tge = {assignColumnPrototype: (e, t) => {- uq("coreColumnsFeature", e, t, {+ hq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => Dq(e),+ fn: (e) => Mq(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => Oq(e),+ fn: (e) => Nq(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55234,25 +55275,25 @@ var Lq = {});},constructTableAPIs: (e) => {- lq("coreColumnsFeature", e, {+ mq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => kq(e),+ fn: () => Pq(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => jq(e),+ fn: () => Iq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => Mq(e),+ fn: () => Lq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => Nq(e),+ fn: () => Rq(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => Pq(e),+ fn: () => Sge(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55261,16 +55302,16 @@ var Lq = {]},table_getAllLeafColumnsById: {- fn: () => Fq(e),+ fn: () => Cge(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => Iq(e, t) }+ table_getColumn: { fn: (t) => wge(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Rq(e) {+function Ege(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55279,7 +55320,7 @@ function Rq(e) {return e._headerPrototype;}function zq(e, t, n) {- let r = Rq(e), i = Object.create(r);+ let r = Ege(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55291,18 +55332,18 @@ function Bq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- vq(i) && i.columns.length && (n = Math.max(n, Bq(i.columns, t + 1)));+ Cq(i) && i.columns.length && (n = Math.max(n, Bq(i.columns, t + 1)));}return n;}-function bge(e, t) {+function Dge(e, t) {return e ? `${e}_${t}` : String(t);}-function xge(e, t, n, r) {+function Oge(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function Sge(e, t) {+function kge(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;@@ -55310,7 +55351,7 @@ function Sge(e, t) {function Vq(e, t, n, r, i, a) {let o = {depth: t,- id: bge(r, t),+ id: Dge(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55319,9 +55360,9 @@ function Vq(e, t, n, r, i, a) {if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {let e = zq(n, u, {- id: xge(r, t, u.id, a.id),+ id: Oge(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(Sge(s, u)) : void 0,+ placeholderId: d ? String(kge(s, u)) : void 0,depth: t,index: s.length});@@ -55335,13 +55376,13 @@ function Vq(e, t, n, r, i, a) {function Hq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!vq(n.column)) continue;+ if (!Cq(n.column)) continue;let r = 0;if (n.subHeaders.length) {Hq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- vq(t.column) && (r += t.colSpan);+ Cq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55351,7 +55392,7 @@ function Hq(e) {} else n.rowSpan = 1;}}-function Cge(e, t, n, r) {+function Age(e, t, n, r) {let i = Bq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);for (let e = 0; e < t.length; e++) e in t && (s[e] = zq(n, t[e], {depth: i,@@ -55365,24 +55406,24 @@ function Uq(e, t) {for (let n = 0; n < e.subHeaders.length; n++) Uq(e.subHeaders[n], t);t.push(e);}-function wge(e) {+function jge(e) {let t = [];return Uq(e, t), t;}-function Tge(e) {+function Mge(e) {return {column: e.column,header: e,table: e.column.table};}-function Ege(e) {- return Cge(e.getAllColumns(), xq(e, yq(e), (e) => e.id), e);+function Nge(e) {+ return Age(e.getAllColumns(), Eq(e, wq(e), (e) => e.id), e);}-function Dge(e) {+function Pge(e) {return [...e.getHeaderGroups()].reverse();}-function Oge(e) {+function Fge(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55390,7 +55431,7 @@ function Oge(e) {}return n;}-function kge(e) {+function Ige(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55400,23 +55441,23 @@ function kge(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Age = {+var Lge = {assignHeaderPrototype: (e, t) => {- uq("coreHeadersFeature", e, t, {+ hq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => wge(e),+ fn: (e) => jge(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Tge(e),+ fn: (e) => Mge(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- lq("coreHeadersFeature", e, {+ mq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Ege(e),+ fn: () => Nge(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55427,15 +55468,15 @@ var Age = {]},table_getFooterGroups: {- fn: () => Dge(e),+ fn: () => Pge(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Oge(e),+ fn: () => Fge(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => kge(e),+ fn: () => Ige(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -55443,7 +55484,7 @@ var Age = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function jge(e) {+function Rge(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55451,102 +55492,102 @@ function jge(e) {}return e._rowPrototype;}-var Mge = (e, t, n, r, i, a, o) => {- let s = jge(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = JK(), c._valuesCache = JK(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var zge = (e, t, n, r, i, a, o) => {+ let s = Rge(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = $K(), c._valuesCache = $K(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function Nge() {- return (e) => sq({+function Bge() {+ return (e) => fq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => Pge(e, e.options.data),- onAfterUpdate: oq(() => {- Cq(e), wq(e), Tq(e), Eq(e);+ fn: () => Vge(e, e.options.data),+ onAfterUpdate: dq(() => {+ Oq(e), kq(e), Aq(e), jq(e);})});}function Wq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = Mge(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ let s = n[o], c = zge(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Wq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function Pge(e, t) {+function Vge(e, t) {let n = {rows: [],flatRows: [],- rowsById: JK()+ rowsById: $K()};return n.rows = Wq(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Fge(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Nge()(e)), e._rowModels.coreRowModel();+function Hge(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Bge()(e)), e._rowModels.coreRowModel();}-function Ige(e) {+function Uge(e) {return e.getCoreRowModel();}-function Lge(e) {+function Wge(e) {return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}-function Rge(e) {+function Gge(e) {return e.getFilteredRowModel();}-function zge(e) {+function Kge(e) {return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}-function Bge(e) {+function qge(e) {return e.getGroupedRowModel();}-function Vge(e) {+function Jge(e) {return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}-function Hge(e) {+function Yge(e) {return e.getSortedRowModel();}-function Uge(e) {+function Xge(e) {return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}-function Wge(e) {+function Zge(e) {return e.getExpandedRowModel();}-function Gge(e) {+function Qge(e) {return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();}-function Kge(e) {+function $ge(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var qge = { constructTableAPIs: (e) => {- lq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Fge(e) },- table_getPreFilteredRowModel: { fn: () => Ige(e) },- table_getFilteredRowModel: { fn: () => Lge(e) },- table_getPreGroupedRowModel: { fn: () => Rge(e) },- table_getGroupedRowModel: { fn: () => zge(e) },- table_getPreSortedRowModel: { fn: () => Bge(e) },- table_getSortedRowModel: { fn: () => Vge(e) },- table_getPreExpandedRowModel: { fn: () => Hge(e) },- table_getExpandedRowModel: { fn: () => Uge(e) },- table_getPrePaginatedRowModel: { fn: () => Wge(e) },- table_getPaginatedRowModel: { fn: () => Gge(e) },- table_getRowModel: { fn: () => Kge(e) }+var e_e = { constructTableAPIs: (e) => {+ mq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => Hge(e) },+ table_getPreFilteredRowModel: { fn: () => Uge(e) },+ table_getFilteredRowModel: { fn: () => Wge(e) },+ table_getPreGroupedRowModel: { fn: () => Gge(e) },+ table_getGroupedRowModel: { fn: () => Kge(e) },+ table_getPreSortedRowModel: { fn: () => qge(e) },+ table_getSortedRowModel: { fn: () => Jge(e) },+ table_getPreExpandedRowModel: { fn: () => Yge(e) },+ table_getExpandedRowModel: { fn: () => Xge(e) },+ table_getPrePaginatedRowModel: { fn: () => Zge(e) },+ table_getPaginatedRowModel: { fn: () => Qge(e) },+ table_getRowModel: { fn: () => $ge(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function Jge(e) {+function t_e(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55554,8 +55595,8 @@ function Jge(e) {}return e._cellPrototype;}-function Yge(e, t, n) {- let r = Jge(n), i = Object.create(r);+function n_e(e, t, n) {+ let r = t_e(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55563,40 +55604,40 @@ function Yge(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function Xge(e) {+function r_e(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function Zge(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Sq(e, t).rows : t.rows;+function i_e(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Dq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function Qge(e, t) {- if (YK(e._valuesCache, t)) return e._valuesCache[t];+function a_e(e, t) {+ if (eq(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function $ge(e, t) {- if (YK(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function o_e(e, t) {+ if (eq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function e_e(e, t) {+function s_e(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function t_e(e) {- return iq(e.subRows, (e) => e.subRows);+function c_e(e) {+ return lq(e.subRows, (e) => e.subRows);}-function n_e(e) {+function l_e(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function r_e(e) {+function u_e(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function i_e(e) {+function d_e(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55605,71 +55646,71 @@ function i_e(e) {}return t.reverse();}-function a_e(e) {+function f_e(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = Yge(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = n_e(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function o_e(e) {- let t = JK(), n = e.getAllCells();+function p_e(e) {+ let t = $K(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function s_e(e, t, n, r) {+function m_e(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function c_e(e, t, n) {+function h_e(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var l_e = {+var g_e = {assignRowPrototype: (e, t) => {- uq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => Xge(e) },+ hq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => r_e(e) },row_getAllCellsByColumnId: {- fn: (e) => o_e(e),+ fn: (e) => p_e(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => a_e(e),+ fn: (e) => f_e(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => t_e(e),+ fn: (e) => c_e(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => r_e(e) },- row_getParentRows: { fn: (e) => i_e(e) },- row_getUniqueValues: { fn: (e, t) => $ge(e, t) },- row_getValue: { fn: (e, t) => Qge(e, t) },- row_renderValue: { fn: (e, t) => e_e(e, t) }+ row_getParentRow: { fn: (e) => u_e(e) },+ row_getParentRows: { fn: (e) => d_e(e) },+ row_getUniqueValues: { fn: (e, t) => o_e(e, t) },+ row_getValue: { fn: (e, t) => a_e(e, t) },+ row_renderValue: { fn: (e, t) => s_e(e, t) }});},constructTableAPIs: (e) => {- lq("coreRowsFeature", e, {+ mq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => Zge(e),+ fn: () => i_e(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => s_e(t, e, n, r) },- table_getRow: { fn: (t, n) => c_e(e, t, n) },+ table_getRowId: { fn: (t, n, r) => m_e(t, e, n, r) },+ table_getRow: { fn: (t, n) => h_e(e, t, n) },table_getMaxSubRowDepth: {- fn: () => n_e(e),+ fn: () => l_e(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -55693,8 +55734,8 @@ function Kq(e, t, n = (e, t) => e === t) {Gq(e, t, n), e._reactivity.commit?.();});}-function u_e(e) {- let t = KK(e.initialState);+function __e(e) {+ let t = ZK(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55705,7 +55746,7 @@ function u_e(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function d_e(e, t) {+function v_e(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55738,20 +55779,20 @@ function d_e(e, t) {});}function qq(e, t, n) {- let r = d_e(e, GK(t, e.options));+ let r = v_e(e, XK(t, e.options));e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Kq(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var f_e = {- coreCellsFeature: hq,- coreColumnsFeature: Lq,- coreHeadersFeature: Age,- coreRowModelsFeature: qge,- coreRowsFeature: l_e,+var y_e = {+ coreCellsFeature: bq,+ coreColumnsFeature: Tge,+ coreHeadersFeature: Lge,+ coreRowModelsFeature: e_e,+ coreRowsFeature: g_e,coreTablesFeature: { constructTableAPIs: (e) => {- lq("coreTablesFeature", e, {- table_reset: { fn: () => u_e(e) },+ mq("coreTablesFeature", e, {+ table_reset: { fn: () => __e(e) },table_setOptions: { fn: (t) => qq(e, t) }});} }@@ -55779,17 +55820,17 @@ function Yq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function p_e(e, t = {}) {+function b_e(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), KK(t);+ }), ZK(t);}-function m_e(e) {+function x_e(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...f_e,+ ...y_e,..._},_headerGroupInstanceInitFns: [],@@ -55827,7 +55868,7 @@ function m_e(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = p_e(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = b_e(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55835,14 +55876,14 @@ function m_e(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && YK(i, n)) {+ if (i && eq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Gq(v), v.store = VK(t.createReadonlyAtom(() => {+ Gq(v), v.store = KK(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -55850,7 +55891,7 @@ function m_e(e) {}return e;}, {- compare: NK,+ compare: RK,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -55861,12 +55902,12 @@ function m_e(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function h_e() {- return JK();+function S_e() {+ return $K();}function Xq(e, t) {Qq(e) && eJ(e.table, (n) => {- let r = Object.assign(JK(), n), i = t ?? !dq(e, "getIsVisible", Zq), a = e.getLeafColumns();+ let r = Object.assign($K(), n), i = t ?? !gq(e, "getIsVisible", Zq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];Qq(t) && (r[t.id] = i);@@ -55878,47 +55919,47 @@ function Zq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => dq(e, "getIsVisible", Zq)) : (YK(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => gq(e, "getIsVisible", Zq)) : (eq(t, e.id) ? t[e.id] : void 0) ?? !0;}function Qq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function g_e(e) {+function C_e(e) {return (t) => {Xq(e, t.target.checked);};}-function __e(e) {+function w_e(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- dq(r.column, "getIsVisible", Zq) && n.push(r);+ gq(r.column, "getIsVisible", Zq) && n.push(r);}- return xq(e.table, n, (e) => e.column.id, () => dq(e, "getVisibleCellsByColumnId", $q));+ return Eq(e.table, n, (e) => e.column.id, () => gq(e, "getVisibleCellsByColumnId", $q));}function $q(e) {- let t = JK(), n = e.getAllCells();+ let t = $K(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- dq(r.column, "getIsVisible", Zq) && (t[r.column.id] = r);+ gq(r.column, "getIsVisible", Zq) && (t[r.column.id] = r);}return t;}-function v_e(e) {- return e.getAllFlatColumns().filter((e) => dq(e, "getIsVisible", Zq));+function T_e(e) {+ return e.getAllFlatColumns().filter((e) => gq(e, "getIsVisible", Zq));}-function y_e(e) {- return e.getAllLeafColumns().filter((e) => dq(e, "getIsVisible", Zq));+function E_e(e) {+ return e.getAllLeafColumns().filter((e) => gq(e, "getIsVisible", Zq));}function eJ(e, t) {- nq(e, "columnVisibility", t);+ sq(e, "columnVisibility", t);}-function b_e(e, t) {- eJ(e, t ? JK() : Object.assign(JK(), KK(e.initialState.columnVisibility ?? {})));+function D_e(e, t) {+ eJ(e, t ? $K() : Object.assign($K(), ZK(e.initialState.columnVisibility ?? {})));}function tJ(e, t) {t ??= !nJ(e);- let n = JK(), r = e.getAllLeafColumns();+ let n = $K(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];n[i.id] = t || !Qq(i);@@ -55926,12 +55967,12 @@ function tJ(e, t) {eJ(e, n);}function nJ(e) {- return !e.getAllLeafColumns().some((e) => !dq(e, "getIsVisible", Zq));+ return !e.getAllLeafColumns().some((e) => !gq(e, "getIsVisible", Zq));}-function x_e(e) {- return e.getAllLeafColumns().some((e) => dq(e, "getIsVisible", Zq));+function O_e(e) {+ return e.getAllLeafColumns().some((e) => gq(e, "getIsVisible", Zq));}-function S_e(e) {+function k_e(e) {return (t) => {tJ(e, t.target.checked);};@@ -55940,12 +55981,12 @@ function S_e(e) {//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.jsvar rJ = {getInitialState: (e) => ({- columnVisibility: h_e(),+ columnVisibility: S_e(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: XK("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: tq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- uq("columnVisibilityFeature", e, t, {+ hq("columnVisibilityFeature", e, t, {column_getIsVisible: {fn: (e) => Zq(e),memoDeps: (e) => [@@ -55955,14 +55996,14 @@ var rJ = {]},column_getCanHide: { fn: (e) => Qq(e) },- column_getToggleVisibilityHandler: { fn: (e) => g_e(e) },+ column_getToggleVisibilityHandler: { fn: (e) => C_e(e) },column_toggleVisibility: { fn: (e, t) => Xq(e, t) }});},assignRowPrototype: (e, t) => {- uq("columnVisibilityFeature", e, t, {+ hq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => __e(e),+ fn: (e) => w_e(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -55976,9 +56017,9 @@ var rJ = {});},constructTableAPIs: (e) => {- lq("columnVisibilityFeature", e, {+ mq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => v_e(e),+ fn: () => T_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55988,7 +56029,7 @@ var rJ = {]},table_getVisibleLeafColumns: {- fn: () => y_e(e),+ fn: () => E_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55998,11 +56039,11 @@ var rJ = {]},table_setColumnVisibility: { fn: (t) => eJ(e, t) },- table_resetColumnVisibility: { fn: (t) => b_e(e, t) },+ table_resetColumnVisibility: { fn: (t) => D_e(e, t) },table_toggleAllColumnsVisible: { fn: (t) => tJ(e, t) },table_getIsAllColumnsVisible: { fn: () => nJ(e) },- table_getIsSomeColumnsVisible: { fn: () => x_e(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => S_e(e) }+ table_getIsSomeColumnsVisible: { fn: () => O_e(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => k_e(e) }});}}, iJ = 0, aJ = 10;@@ -56012,21 +56053,21 @@ function oJ() {pageSize: aJ};}-function C_e(e) {+function A_e(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {if ((e.atoms.pagination?.get()?.pageIndex ?? iJ) === iJ) return;lJ(e, !0);}}function sJ(e, t) {- nq(e, "pagination", t);+ sq(e, "pagination", t);}-function w_e(e, t) {- sJ(e, t ? oJ() : KK(e.initialState.pagination ?? oJ()));+function j_e(e, t) {+ sJ(e, t ? oJ() : ZK(e.initialState.pagination ?? oJ()));}function cJ(e, t) {sJ(e, (n) => {- let r = GK(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = XK(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@@ -56036,12 +56077,12 @@ function cJ(e, t) {function lJ(e, t) {cJ(e, t ? iJ : e.initialState.pagination?.pageIndex ?? iJ);}-function T_e(e, t) {+function M_e(e, t) {uJ(e, t ? aJ : e.initialState.pagination?.pageSize ?? aJ);}function uJ(e, t) {sJ(e, (e) => {- let n = Math.max(1, GK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+ let n = Math.max(1, XK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56049,31 +56090,31 @@ function uJ(e, t) {};});}-function E_e(e) {+function N_e(e) {let t = dJ(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function D_e(e) {+function P_e(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function O_e(e) {+function F_e(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);return n === -1 || n !== 0 && t < n - 1;}-function k_e(e) {+function I_e(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function A_e(e) {+function L_e(e) {return cJ(e, (e) => e - 1);}-function j_e(e) {+function R_e(e) {return cJ(e, (e) => e + 1);}-function M_e(e) {+function z_e(e) {return cJ(e, 0);}-function N_e(e) {+function B_e(e) {let t = dJ(e);if (!(!Number.isFinite(t) || t <= 0)) return cJ(e, t - 1);}@@ -56096,44 +56137,44 @@ var pJ = {...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: XK("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: tq("pagination", e) }),constructTableAPIs: (e) => {- lq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => C_e(e) },+ mq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => A_e(e) },table_setPagination: { fn: (t) => sJ(e, t) },- table_resetPagination: { fn: (t) => w_e(e, t) },+ table_resetPagination: { fn: (t) => j_e(e, t) },table_setPageIndex: { fn: (t) => cJ(e, t) },table_resetPageIndex: { fn: (t) => lJ(e, t) },table_setPageSize: { fn: (t) => uJ(e, t) },table_getPageCount: { fn: () => dJ(e) },- table_resetPageSize: { fn: (t) => T_e(e, t) },- table_getPageOptions: { fn: () => E_e(e) },- table_getCanPreviousPage: { fn: () => D_e(e) },- table_getCanNextPage: { fn: () => O_e(e) },- table_getCanLastPage: { fn: () => k_e(e) },- table_previousPage: { fn: () => A_e(e) },- table_nextPage: { fn: () => j_e(e) },- table_firstPage: { fn: () => M_e(e) },- table_lastPage: { fn: () => N_e(e) },+ table_resetPageSize: { fn: (t) => M_e(e, t) },+ table_getPageOptions: { fn: () => N_e(e) },+ table_getCanPreviousPage: { fn: () => P_e(e) },+ table_getCanNextPage: { fn: () => F_e(e) },+ table_getCanLastPage: { fn: () => I_e(e) },+ table_previousPage: { fn: () => L_e(e) },+ table_nextPage: { fn: () => R_e(e) },+ table_firstPage: { fn: () => z_e(e) },+ table_lastPage: { fn: () => B_e(e) },table_getRowCount: { fn: () => fJ(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function P_e() {- return JK();+function V_e() {+ return $K();}function mJ(e, t) {e.options.onRowSelectionChange?.(t);}-function F_e(e, t) {- e._lastSelectedRowId = null, mJ(e, t ? JK() : Object.assign(JK(), KK(e.initialState.rowSelection ?? {})));+function H_e(e, t) {+ e._lastSelectedRowId = null, mJ(e, t ? $K() : Object.assign($K(), ZK(e.initialState.rowSelection ?? {})));}function hJ(e, t, n) {e._lastSelectedRowId = null, mJ(e, (r) => {- if (t = t === void 0 ? !dq(e, "getIsAllRowsSelected", vJ) : t, n?.deselectAll && !t) return JK();- let i = Object.assign(JK(), r), a = e.getPreGroupedRowModel().flatRows;+ if (t = t === void 0 ? !gq(e, "getIsAllRowsSelected", vJ) : t, n?.deselectAll && !t) return $K();+ let i = Object.assign($K(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {@@ -56147,39 +56188,39 @@ function hJ(e, t, n) {}function gJ(e, t, n) {e._lastSelectedRowId = null, mJ(e, (r) => {- let i = t === void 0 ? !dq(e, "getIsAllPageRowsSelected", yJ) : t;- if (n?.deselectAll && !i) return JK();- let a = Object.assign(JK(), r);+ let i = t === void 0 ? !gq(e, "getIsAllPageRowsSelected", yJ) : t;+ if (n?.deselectAll && !i) return $K();+ let a = Object.assign($K(), r);return e.getRowModel().rows.forEach((t) => {DJ(a, t.id, i, !0, e, !0);}), a;});}-function I_e(e) {+function U_e(e) {return e.getCoreRowModel();}-function L_e(e) {+function W_e(e) {let t = e.getCoreRowModel();- return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {+ return gq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: JK()+ rowsById: $K()};}-function R_e(e) {+function G_e(e) {let t = e.getFilteredRowModel();- return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {+ return gq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: JK()+ rowsById: $K()};}-function z_e(e) {+function K_e(e) {let t = e.getSortedRowModel();- return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {+ return gq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: JK()+ rowsById: $K()};}function _J(e) {@@ -56203,17 +56244,17 @@ function yJ(e) {return i;}function bJ(e) {- return dq(e, "getSelectedRowIds", _J).length > 0;+ return gq(e, "getSelectedRowIds", _J).length > 0;}-function B_e(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => wJ(e)).some((e) => SJ(e) || dq(e, "getIsSomeSelected", CJ));+function q_e(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => wJ(e)).some((e) => SJ(e) || gq(e, "getIsSomeSelected", CJ));}-function V_e(e) {+function J_e(e) {return (t) => {hJ(e, t.target.checked);};}-function H_e(e) {+function Y_e(e) {return (t) => {gJ(e, t.target.checked);};@@ -56222,7 +56263,7 @@ function xJ(e, t, n) {let r = SJ(e);mJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(JK(), i);+ let a = Object.assign($K(), i);return DJ(a, e.id, t, (n?.selectChildren ?? !0) && EJ(e), e.table), !t && n?.deselectParents && kJ(a, e), a;});}@@ -56232,7 +56273,7 @@ function SJ(e) {function CJ(e) {return NJ(e) === "some";}-function U_e(e) {+function X_e(e) {return NJ(e) === "all";}function wJ(e) {@@ -56247,22 +56288,22 @@ function EJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function W_e(e, t) {+function Z_e(e, t) {let n = wJ(e);return (r) => {if (!n) return;let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;- (!(a.options.enableRowRangeSelection !== !1 && s !== null && EJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !G_e(e, s, o, t)) && xJ(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && EJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !Q_e(e, s, o, t)) && xJ(e, o, t), a._lastSelectedRowId = e.id;};}-function G_e(e, t, n, r) {+function Q_e(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !EJ(s) || !EJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);return mJ(a, (e) => {- let t = Object.assign(JK(), e);+ let t = Object.assign($K(), e);for (let e = f; e <= p; e++) {let s = o[e];wJ(s) && EJ(s) && (DJ(t, s.id, n, i, a), !n && r?.deselectParents && kJ(t, s));@@ -56311,14 +56352,14 @@ function AJ(e, t, n, r) {let e = AJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- qK(t, o), t.subRows = e, i.push(t);+ QK(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}function jJ(e, t) {- let n = [], r = JK(), i = t.atoms.rowSelection?.get() ?? {};+ let n = [], r = $K(), i = t.atoms.rowSelection?.get() ?? {};return {rows: AJ(e.rows, i, n, r),flatRows: n,@@ -56326,7 +56367,7 @@ function jJ(e, t) {};}function MJ(e, t) {- return !!(YK(t, e.id) && t[e.id]);+ return !!(eq(t, e.id) && t[e.id]);}function NJ(e) {if (!e.subRows.length) return !1;@@ -56351,11 +56392,11 @@ var PJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: P_e(),+ rowSelection: V_e(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: XK("rowSelection", e),+ onRowSelectionChange: tq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56366,7 +56407,7 @@ var PJ = {}}),assignRowPrototype: (e, t) => {- uq("rowSelectionFeature", e, t, {+ hq("rowSelectionFeature", e, t, {row_toggleSelected: { fn: (e, t, n) => xJ(e, t, n) },row_getIsSelected: { fn: (e) => SJ(e) },row_getIsSomeSelected: {@@ -56378,7 +56419,7 @@ var PJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => U_e(e),+ fn: (e) => X_e(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56388,26 +56429,26 @@ var PJ = {row_getCanSelect: { fn: (e) => wJ(e) },row_getCanSelectSubRows: { fn: (e) => TJ(e) },row_getCanMultiSelect: { fn: (e) => EJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => W_e(e, t) }+ row_getToggleSelectedHandler: { fn: (e, t) => Z_e(e, t) }});},constructTableAPIs: (e) => {- lq("rowSelectionFeature", e, {+ mq("rowSelectionFeature", e, {table_setRowSelection: { fn: (t) => mJ(e, t) },- table_resetRowSelection: { fn: (t) => F_e(e, t) },+ table_resetRowSelection: { fn: (t) => H_e(e, t) },table_toggleAllRowsSelected: { fn: (t, n) => hJ(e, t, n) },table_toggleAllPageRowsSelected: { fn: (t, n) => gJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => I_e(e) },+ table_getPreSelectedRowModel: { fn: () => U_e(e) },table_getSelectedRowModel: {- fn: () => L_e(e),+ fn: () => W_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => R_e(e),+ fn: () => G_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => z_e(e),+ fn: () => K_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {@@ -56437,42 +56478,42 @@ var PJ = {memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => B_e(e),+ fn: () => q_e(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => V_e(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => H_e(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => J_e(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => Y_e(e) }});}-}, K_e = /([0-9]+)/gm;+}, $_e = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function q_e(e) {+function eve(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var FJ = /* @__PURE__ */ q_e({ sort: (e, t) => J_e(e, t) });-function J_e(e, t) {+var FJ = /* @__PURE__ */ eve({ sort: (e, t) => tve(e, t) });+function tve(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function Y_e() {+function nve() {return [];}function IJ(e, t) {- nq(e, "sorting", t);+ sq(e, "sorting", t);}function LJ(e, t) {- IJ(e, t ? [] : KK(e.initialState.sorting ?? []));+ IJ(e, t ? [] : ZK(e.initialState.sorting ?? []));}-function X_e(e) {+function rve(e) {e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && LJ(e);}function RJ(e) {@@ -56483,7 +56524,7 @@ function RJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(K_e).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split($_e).length > 1)) {r = "alphanumeric";break;}@@ -56504,7 +56545,7 @@ function zJ(e) {}function BJ(e) {let t = e.table._rowModelFns.sortFns;- return rq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? RJ(e) : t?.[e.columnDef.sortFn] ?? FJ;+ return cq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? RJ(e) : t?.[e.columnDef.sortFn] ?? FJ;}function VJ(e, t, n) {let r = UJ(e, n && GJ(e)), i = t !== void 0;@@ -56542,13 +56583,13 @@ function KJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function Z_e(e) {+function ive(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function Q_e(e) {+function ave(e) {IJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function $_e(e) {+function ove(e) {let t = WJ(e);return (n) => {t && VJ(e, void 0, GJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);@@ -56559,7 +56600,7 @@ function $_e(e) {var qJ = {getInitialState(e) {return {- sorting: Y_e(),+ sorting: nve(),...e};},@@ -56572,12 +56613,12 @@ var qJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: XK("sorting", e),+ onSortingChange: tq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- uq("rowSortingFeature", e, t, {+ hq("rowSortingFeature", e, t, {column_getAutoSortFn: { fn: (e) => RJ(e) },column_getAutoSortDir: { fn: (e) => zJ(e) },column_getSortFn: { fn: (e) => BJ(e) },@@ -56587,43 +56628,43 @@ var qJ = {column_getCanSort: { fn: (e) => WJ(e) },column_getCanMultiSort: { fn: (e) => GJ(e) },column_getIsSorted: { fn: (e) => KJ(e) },- column_getSortIndex: { fn: (e) => Z_e(e) },- column_clearSorting: { fn: (e) => Q_e(e) },- column_getToggleSortingHandler: { fn: (e) => $_e(e) }+ column_getSortIndex: { fn: (e) => ive(e) },+ column_clearSorting: { fn: (e) => ave(e) },+ column_getToggleSortingHandler: { fn: (e) => ove(e) }});},constructTableAPIs(e) {- lq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => X_e(e) },+ mq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => rve(e) },table_setSorting: { fn: (t) => IJ(e, t) },table_resetSorting: { fn: (t) => LJ(e, t) }});}-}, eve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;+}, sve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;function JJ(e, t) {let [{ table: n, rootSource: r }] = (0, D.useState)(() => {- let t = m_e({+ let t = x_e({...e,features: {- coreReactivityFeature: WK(),+ coreReactivityFeature: YK(),...e.features}});- return t.Subscribe = ((e) => BK({+ return t.Subscribe = ((e) => GK({...e,source: e.source ?? t.store- })), t.FlexRender = mK, {+ })), t.FlexRender = yK, {table: t,- rootSource: UK(t.store, NK)+ rootSource: JK(t.store, RK)};}), i = n;qq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = zK(r, t, { compare: NK });- return eve(() => {- r.markCommitted(o), Kq(i, a ?? null, NK);+ let a = i.options.state, o = r.get(), s = WK(r, t, { compare: RK });+ return sve(() => {+ r.markCommitted(o), Kq(i, a ?? null, RK);}), (0, D.useMemo)(() => ({...n,options: e,@@ -56638,17 +56679,17 @@ function JJ(e, t) {//#region src/react/boardui/components/base/table/table.tsxfunction YJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: eF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, O.jsx)(sde, {+ className: $P("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, O.jsx)(cde, {ref: r,...i,- className: eF("bui-table", e === "sm" && "bui-table-sm", t)+ className: $P("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/catalog-grid/catalog-table-columns.ts-var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility.v1", tve = {+var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility.v1", cve = {select: {width: 48,min: 48,@@ -56714,13 +56755,13 @@ var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, nve = {+}, lve = {code: !1,o: !1,new: !1,played: !1,release: !1-}, rve = {+}, uve = {select: "选择",name: "作品",dur: "时长",@@ -56750,11 +56791,11 @@ var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: rve[e],- ...tve[e],+ label: uve[e],+ ...cve[e],flex: e === "name",required: e === "select" || e === "name",- visible: nve[e] !== !1+ visible: lve[e] !== !1}));function $J(e) {try {@@ -56764,7 +56805,7 @@ function $J(e) {return {};}}-function ive() {+function dve() {let e = $J(XJ), t = $J(ZJ);return QJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);@@ -56786,23 +56827,23 @@ function tY() {return !1;}}-function ave(e) {+function fve(e) {try {e ? localStorage.setItem(eY, "1") : localStorage.removeItem(eY);} catch {}}-var ove = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var pve = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";//#endregion//#region src/catalog-content-skeleton.tsfunction nY(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function sve(e) {- let t = ive(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${nY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (tY() ? ove : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function mve(e) {+ let t = dve(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${nY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (tY() ? pve : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}function rY(e, t) {- return fM() === "list" ? sve(e) : _s(e, {+ return lM() === "list" ? mve(e) : _s(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -56824,9 +56865,9 @@ function iY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && NW(e, r) && n(r.dataset.key);+ r && RW(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, O.jsx)(ade, {+ children: r ? /* @__PURE__ */ (0, O.jsx)(ode, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56837,7 +56878,7 @@ function iY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {//#endregion//#region src/react/components/select.tsxfunction aY({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, O.jsx)(dU, {+ if (e == null) return /* @__PURE__ */ (0, O.jsx)(hU, {...r,size: n,renderValue: t@@ -56847,7 +56888,7 @@ function aY({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, O.jsx)(dU, {+ return /* @__PURE__ */ (0, O.jsx)(hU, {...r,size: n,renderValue: a@@ -56909,10 +56950,10 @@ function sY({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, O.jsx)(fU, {+ children: [/* @__PURE__ */ (0, O.jsx)(gU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {id: e.id,children: e.label}, e.id))]@@ -56920,7 +56961,7 @@ function sY({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: TU,+ leadingIcon: kU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -56957,7 +56998,7 @@ function cY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ ].map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {id: String(e),children: `每页 ${e} ${a}`}, e))@@ -56988,7 +57029,7 @@ function uY(e, t) {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function cve(e, t) {+function hve(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];@@ -57020,7 +57061,7 @@ function cve(e, t) {}};}-function lve(e, t, n, r = {}) {+function gve(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))@@ -57039,7 +57080,7 @@ function dY(e, t, n) {min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = cve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = lve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = hve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = gve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -57059,7 +57100,7 @@ function dY(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-function uve() {+function _ve() {return dY("catalog", QJ, {widths: XJ,visibility: ZJ@@ -57067,7 +57108,7 @@ function uve() {}//#endregion//#region src/react/components/rating-stars.tsx-var fY = Rz("star");+var fY = Lz("star");function pY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, O.jsx)("span", {@@ -57108,9 +57149,9 @@ function pY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function dve({ item: e, actions: t }) {- let { rating: n } = e, r = AH(), i = (0, D.useRef)(0), a = IM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- NM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {+function vve({ item: e, actions: t }) {+ let { rating: n } = e, r = kH(), i = (0, D.useRef)(0), a = NM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ AM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57126,7 +57167,7 @@ function dve({ item: e, actions: t }) {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }), r.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -57171,18 +57212,18 @@ function hY({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, O.jsx)(rR, {+ /* @__PURE__ */ (0, O.jsx)(nR, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${XB} overscroll-contain`,- children: /* @__PURE__ */ (0, O.jsxs)(CH, {+ className: `${YB} overscroll-contain`,+ children: /* @__PURE__ */ (0, O.jsxs)(SH, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, O.jsx)(rV, {+ a.map((t) => /* @__PURE__ */ (0, O.jsx)(nV, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -57216,7 +57257,7 @@ function hY({ preferences: e, label: t = "表格" }) {}function gY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(gde, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(_de, { "aria-label": `调整${n.label}列宽` }) : null;}//#endregion//#region src/react/components/table-selection-header.tsx@@ -57229,7 +57270,7 @@ function _Y(e, t) {}function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {let { all: i, some: a } = _Y(e, n);- return /* @__PURE__ */ (0, O.jsx)(rV, {+ return /* @__PURE__ */ (0, O.jsx)(nV, {slot: null,"aria-label": t,isDisabled: r,@@ -57243,12 +57284,12 @@ function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var fve = Yq({+var yve = Yq({rowSortingFeature: qJ,rowSelectionFeature: PJ,rowPaginationFeature: pJ,columnVisibilityFeature: rJ-}), pve = [+}), bve = [{id: "name",label: "名称"@@ -57286,8 +57327,8 @@ var fve = Yq({label: "观看时间"}], yY = /* @__PURE__ */ new Map();-function mve(e) {- let t = uve(), n = jW(), r = gM(e.filters || {}, !1), [i] = (0, D.useState)(() => {+function xve(e) {+ let t = _ve(), n = IW(), r = pM(e.filters || {}, !1), [i] = (0, D.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;}), [a, o] = (0, D.useState)(() => yY.get(i) || {@@ -57324,9 +57365,9 @@ function mve(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), V(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : sK(f, e.layout.javImage), [h] = (0, D.useState)(tY);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : fK(f, e.layout.javImage), [h] = (0, D.useState)(tY);(0, D.useEffect)(() => {- d.data && !d.isPlaceholderData && ave(m.length > 0);+ d.data && !d.isPlaceholderData && fve(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57359,7 +57400,7 @@ function mve(e) {c.pageIndex]);let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = JJ({- features: fve,+ features: yve,columns: (0, D.useMemo)(() => {let t = Jq();return t.columns([@@ -57370,7 +57411,7 @@ function mve(e) {label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(rV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(nV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57382,7 +57423,7 @@ function mve(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(hve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(Sve, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57439,7 +57480,7 @@ function mve(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(dve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(vve, {item: t.original,actions: e.actions})@@ -57528,7 +57569,7 @@ function mve(e) {"data-toolbar-actions": "",children: [/* @__PURE__ */ (0, O.jsx)(hY, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(sY, {label: "作品列表",- options: pve,+ options: bve,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57538,11 +57579,11 @@ function mve(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, O.jsx)(cK, {+ }) : null : /* @__PURE__ */ (0, O.jsx)(pK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+ d.isError ? /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(d.error),onRetry: () => void d.refetch()}) : null,@@ -57563,42 +57604,42 @@ function mve(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, O.jsxs)(GR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(KR, {+ children: [/* @__PURE__ */ (0, O.jsxs)(WR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(GR, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex items-center gap-0.5",- children: [pK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {+ children: [vK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, O.jsx)(qB, {})+ children: /* @__PURE__ */ (0, O.jsx)(KB, {})}) : null]}), /* @__PURE__ */ (0, O.jsx)(gY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, O.jsx)(KR, {+ }, e.id)), /* @__PURE__ */ (0, O.jsx)(GR, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, O.jsx)(YR, {+ })] }), /* @__PURE__ */ (0, O.jsx)(JR, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(QR, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(ZR, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(ez, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: nY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(ez, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(QR, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)($R, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: nY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)($R, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(ZR, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(ez, { children: pK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(ez, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)($R, { children: vK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)($R, { "data-table-space": "" })]}, e.id))})]})@@ -57614,8 +57655,8 @@ function mve(e) {]});}-function hve({ item: e, props: t, disabled: n }) {- let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = UW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = jW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {+function Sve({ item: e, props: t, disabled: n }) {+ let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = JW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = IW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })@@ -57640,7 +57681,7 @@ function hve({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, O.jsx)(dW, {+ r.html ? /* @__PURE__ */ (0, O.jsx)(gW, {artwork: r,relayout: (e) => tl(e, "small")}) : /* @__PURE__ */ (0, O.jsx)("span", { children: "无预览" }),@@ -57695,7 +57736,7 @@ function hve({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, O.jsx)(KH, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57705,12 +57746,12 @@ function hve({ item: e, props: t, disabled: n }) {//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsxfunction bY(e) {- let t = hM();- if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(_ve, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(mve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(vve, { ...e }, n);+ let t = fM();+ if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(wve, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${pM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(xve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(Tve, { ...e }, n);}-function gve({ name: e }) {+function Cve({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57733,8 +57774,8 @@ function xY({ children: e, selectMode: t }) {children: e});}-function _ve(e) {- let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(ZW, {+function wve(e) {+ let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(nG, {item: i,variant: r,layout: e.layout,@@ -57753,8 +57794,8 @@ function _ve(e) {children: i});}-function vve(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? CM(e) : SM(e), [s] = (0, D.useState)(() => e.wall ? TM(o.queryKey) : void 0), c = s || (i && e.initial ? {+function Tve(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? bM(e) : yM(e), [s] = (0, D.useState)(() => e.wall ? SM(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57775,7 +57816,7 @@ function vve(e) {(0, D.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => kM(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => EM(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57785,7 +57826,7 @@ function vve(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || LG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && OG(e.item) ? [e.item] : []), v = a ? [] : sK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = lW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = yve(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || HG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && NG(e.item) ? [e.item] : []), v = a ? [] : fK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = mW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = Eve(e, l.data, d, f, b);(0, D.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57812,12 +57853,12 @@ function vve(e) {let C = (0, D.useCallback)((e, t) => n.open(e, t), [n]), w = (0, D.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, D.useCallback)((e) => n.openShort(e), [n]), E = (0, D.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(xve, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(Ove, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(ZW, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(nG, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57835,10 +57876,10 @@ function vve(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, O.jsx)(cK, { assetIds: v }),+ /* @__PURE__ */ (0, O.jsx)(pK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)($G, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${gM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(iK, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${pM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -57846,7 +57887,7 @@ function vve(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? Ut(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? iK({+ emptyHtml: l.data && !_.length ? lK({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -57861,7 +57902,7 @@ function vve(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, O.jsx)(uW, {+ if (!l.data) return /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(l.error),onRetry: () => void l.refetch()});@@ -57878,7 +57919,7 @@ function vve(e) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: MM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(bve, {+ children: kM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(Dve, {cut: t.strip,props: e,onOpen: T@@ -57934,7 +57975,7 @@ function SY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: cW });+ }, { rootMargin: pW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -57957,12 +57998,12 @@ function SY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: is(rs) }- }), c.error ? /* @__PURE__ */ (0, O.jsx)(uW, {+ }), c.error ? /* @__PURE__ */ (0, O.jsx)(hW, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function yve(e, t, n, r, i) {+function Eve(e, t, n, r, i) {let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -57974,7 +58015,7 @@ function yve(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- V(`/api/items?${jM(e.filters || {}, l.current)}`, r.signal).then((e) => {+ V(`/api/items?${OM(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -57986,9 +58027,9 @@ function yve(e, t, n, r, i) {}, [t]), (0, D.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = AM(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = DM(n.length - t, m, p);if (!h.length) return;- let g = EM(s.items, d.current, e.groupCollapse !== !1);+ let g = CM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -57998,7 +58039,7 @@ function yve(e, t, n, r, i) {}]);}, [s]), a;}-function bve({ cut: e, props: t, onOpen: n }) {+function Dve({ cut: e, props: t, onOpen: n }) {let r = (0, D.useRef)(null), { wireDrag: i } = t;return (0, D.useEffect)(() => {r.current && i(r.current);@@ -58014,12 +58055,12 @@ function bve({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, O.jsx)(gve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, O.jsx)(Cve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(ZW, {+ children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(nG, {item: e,variant: "short",layout: t.layout,@@ -58037,14 +58078,14 @@ function bve({ cut: e, props: t, onOpen: n }) {function CY(e, t, n) {return Ka(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function xve({ seed: e, layout: t, helpers: n, actions: r }) {+function Ove({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, D.useRef)(/* @__PURE__ */ new Map()), a = (0, D.useRef)(t);a.current = t;let o = Qa(e, n.tagLabel), s = (0, D.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => DM(e, t.javImage)).slice(0, 9);+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => wM(e, t.javImage)).slice(0, 9);return i.current = new Map(n.map((e) => [String(e.id), CY(e, t, !0).html])), n.map((e) => String(e.id));}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CY(e, t, !1);- return /* @__PURE__ */ (0, O.jsx)(sG, {+ return /* @__PURE__ */ (0, O.jsx)(fG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58059,7 +58100,7 @@ function xve({ seed: e, layout: t, helpers: n, actions: r }) {size: "small"}, !1).html,relayoutArt: (e) => tl(e, c),- ratio: HW(e, "grid", t),+ ratio: qW(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58077,31 +58118,31 @@ async function wY(e) {queryFn: () => Vn(e)});}-var Sve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Cve = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => V(Cve, e), wve = /[\s\-_.()[\]【】/\\]/;-function Tve(e) {+var kve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Ave = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => V(Ave, e), jve = /[\s\-_.()[\]【】/\\]/;+function Mve(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !wve.test(n[r - 1]);) --r;+ for (; r > 0 && !jve.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Eve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Dve(e) {+var Nve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Pve(e) {await Promise.all([U.fetchQuery({queryKey: TY,queryFn: () => DY(e)}), wY(e)]);}-var Ove = {+var Fve = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, kve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => kve(e, t).filter((t) => e.some((e) => e.location !== t)), Ave = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));-function jve(e, t) {+}, Ive = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => Ive(e, t).filter((t) => e.some((e) => e.location !== t)), Lve = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));+function Rve(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58120,11 +58161,11 @@ function jve(e, t) {}return n;}-function Mve(e, t) {+function zve(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 Nve(e, t) {+async function Bve(e, t) {for (let n = 0; n < e.length; n += 200) await H(EY, {ids: e.slice(n, n + 200),operation: t,@@ -58133,7 +58174,7 @@ async function Nve(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], Pve = {+var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], Vve = {status: "idle",library: "",stage: "",@@ -58146,7 +58187,7 @@ var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "librskipped: 0,message: ""}, MY = (e) => V(kY, e), NY = async (e) => (await V("/api/libraries", e)).libraries || [];-async function Fve(e) {+async function Hve(e) {await Promise.all([U.fetchQuery({queryKey: AY,queryFn: () => MY(e)@@ -58156,21 +58197,21 @@ async function Fve(e) {})]);}var PY = (e) => Number(e).toLocaleString();-function Ive(e) {+function Uve(e) {if (e.status === "running") {let t = e.total ? `${PY(Math.min(e.checked || 0, e.total))} / ${PY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${PY(e.repaired)} 部,${PY(e.failed)} 部修不了` : `修好 ${PY(e.repaired)} 部` : "";}-var Lve = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Rve = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => V(Rve, e);-async function zve(e) {+var Wve = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Gve = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => V(Gve, e);+async function Kve(e) {await U.fetchQuery({queryKey: FY,queryFn: () => IY(e)});}-var Bve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;+var qve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.tsfunction LY(e, t, n, r, i, a = i || !e.has(r)) {@@ -58179,7 +58220,7 @@ function LY(e, t, n, r, i, a = i || !e.has(r)) {}//#endregion//#region src/react/review/review.ts-var Vve = "/api/review", Hve = "/api/review/decision", Uve = "/api/review/genre", RY = ["review"], zY = {+var Jve = "/api/review", Yve = "/api/review/decision", Xve = "/api/review/genre", RY = ["review"], zY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58189,11 +58230,11 @@ var Vve = "/api/review", Hve = "/api/review/decision", Uve = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Wve = Object.keys(zY), Gve = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), Kve = {+}, Zve = Object.keys(zY), Qve = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), $ve = {creator_tags: "creator",western_identity: "creator"};-function qve(e, t) {+function eye(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;}@@ -58214,10 +58255,10 @@ function VY(e, t) {}return [...n.values()];}-function Jve(e, t, n) {+function tye(e, t, n) {return n && VY(e, t).find((e) => e.key === n)?.rows || e;}-function Yve(e, t) {+function nye(e, t) {let n = Ln(e.length, 20), r = Rn(t, n);return {page: r,@@ -58225,32 +58266,32 @@ function Yve(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function Xve(e) {+function rye(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 Zve(e, t, n, r, i, a) {+function iye(e, t, n, r, i, a) {return LY(e, t, n, r, i, a);}-function Qve(e, t) {+function aye(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}function HY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}var UY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function $ve(e, t) {+function oye(e, t) {let n = HY(e, t), r = UY(e, t);return r ? `${n} · ${r}` : n;}-var eye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", tye = (e) => String(e.tags || "").split("|").filter(Boolean), nye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function rye(e) {+var sye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", cye = (e) => String(e.tags || "").split("|").filter(Boolean), lye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function uye(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function iye(e, t, n, r) {+function dye(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58266,9 +58307,9 @@ function iye(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var aye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", WY = (e) => V(Vve, e);-async function oye(e) {- let t = await H(Hve, e);+var fye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", WY = (e) => V(Jve, e);+async function pye(e) {+ let t = await H(Yve, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;U.setQueryData(RY, (t) => t && {@@ -58287,20 +58328,20 @@ async function oye(e) {}return t;}-function sye(e, t) {+function mye(e, t) {return U.getQueryData(RY)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var cye = (e, t) => H(Uve, {+var hye = (e, t) => H(Xve, {genre: e,tag: t});-async function lye(e) {+async function gye(e) {await U.fetchQuery({queryKey: RY,queryFn: () => WY(e)});}-function uye(e, t) {+function _ye(e, t) {let n = new Set(t);n.size && U.setQueryData(RY, (t) => {if (!t) return t;@@ -58318,16 +58359,16 @@ function uye(e, t) {};});}-var dye = () => U.invalidateQueries({+var vye = () => U.invalidateQueries({queryKey: RY,exact: !0});-function fye(e, t) {+function yye(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Wn(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var pye = "/api/links", GY = "/api/links/check", KY = "/api/links/prune", qY = ["links"], JY = ["links", "check"], YY = ["links", "prune"], mye = {+var bye = "/api/links", GY = "/api/links/check", KY = "/api/links/prune", qY = ["links"], JY = ["links", "check"], YY = ["links", "prune"], xye = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",@@ -58338,23 +58379,23 @@ async function XY(e) {if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var ZY = (e) => V(pye, e), QY = (e) => H(GY, { status_only: !0 }, "POST", e), hye = ({ retry: e, checkId: t }) => XY(H(GY, e ? {+var ZY = (e) => V(bye, e), QY = (e) => H(GY, { status_only: !0 }, "POST", e), Sye = ({ retry: e, checkId: t }) => XY(H(GY, e ? {retry: e,check_id: t-} : { restart: !0 })), $Y = (e) => V(KY, e), gye = ({ checkId: e, ids: t }) => XY(H(KY, {+} : { restart: !0 })), $Y = (e) => V(KY, e), Cye = ({ checkId: e, ids: t }) => XY(H(KY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), eX = (e) => Number(e || 0).toLocaleString(), _ye = (e) => `已删除 ${eX(e.removed)} 条;${e.marked ? `已隐退女优的 ${eX(e.marked)} 条留作不可点的记录;` : ""}保留 ${eX(e.recovered)} 条未确认失效的链接。`;-function vye(e) {+})), eX = (e) => Number(e || 0).toLocaleString(), wye = (e) => `已删除 ${eX(e.removed)} 条;${e.marked ? `已隐退女优的 ${eX(e.marked)} 条留作不可点的记录;` : ""}保留 ${eX(e.recovered)} 条未确认失效的链接。`;+function Tye(e) {let t = e.scope === "retry";return e.total ? `${t ? "已重验" : "已检查"} ${eX(e.checked)} / ${eX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var tX = "/api/configuration", nX = "/api/pick-folder", rX = "/api/settings", iX = "/api/follow/schedule", aX = "/api/feeds/schedule", oX = "/api/thumbnail-jobs", sX = ["settings"], cX = ["follow-schedule"], lX = ["feed-schedule"], uX = ["thumbnail-jobs"], dX = "/api/media-processing", yye = ["media-processing"], bye = (e) => V(dX, e), fX = (e) => V(rX, e), xye = (e) => V(iX, e), Sye = (e) => V(aX, e), Cye = (e) => V(oX, e);-function wye(e = U) {+var tX = "/api/configuration", nX = "/api/pick-folder", rX = "/api/settings", iX = "/api/follow/schedule", aX = "/api/feeds/schedule", oX = "/api/thumbnail-jobs", sX = ["settings"], cX = ["follow-schedule"], lX = ["feed-schedule"], uX = ["thumbnail-jobs"], dX = "/api/media-processing", Eye = ["media-processing"], Dye = (e) => V(dX, e), fX = (e) => V(rX, e), Oye = (e) => V(iX, e), kye = (e) => V(aX, e), Aye = (e) => V(oX, e);+function jye(e = U) {return e.fetchQuery({queryKey: sX,queryFn: ({ signal: e }) => fX(e),@@ -58367,7 +58408,7 @@ function pX() {onSuccess: (e) => U.setQueryData(sX, e)});}-function Tye() {+function Mye() {return Ct({mutationFn: (e) => H(iX, {enabled: e > 0,@@ -58376,7 +58417,7 @@ function Tye() {onSuccess: (e) => U.setQueryData(cX, e)});}-var Eye = {+var Nye = {follow: {url: `${iX}/run`,key: cX@@ -58386,15 +58427,15 @@ var Eye = {key: lX}};-function Dye(e) {- let { url: t, key: n } = Eye[e];+function Pye(e) {+ let { url: t, key: n } = Nye[e];return Ct({mutationFn: () => H(t, {}),onSuccess: (e) => U.setQueryData(n, e)});}-var Oye = (e) => e?.running ? 3e3 : !1;-function kye() {+var Fye = (e) => e?.running ? 3e3 : !1;+function Iye() {return Ct({mutationFn: (e) => H(oX, { mode: e }),onSuccess: (e) => U.setQueryData(uX, e)@@ -58402,21 +58443,21 @@ function kye() {}//#endregion//#region src/react/data-cleanup/organize.ts-var Aye = "/api/organize", jye = "/api/organize/preview", Mye = "/api/organize/apply", Nye = "/api/organize/rollback", mX = ["organize"], Pye = "/api/organize/example", Fye = (e, t, n) => V(`${Pye}?${new URLSearchParams({+var Lye = "/api/organize", Rye = "/api/organize/preview", zye = "/api/organize/apply", Bye = "/api/organize/rollback", mX = ["organize"], Vye = "/api/organize/example", Hye = (e, t, n) => V(`${Vye}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), hX = (e) => V(Aye, e);-async function Iye(e) {+})}`, n), hX = (e) => V(Lye, e);+async function Uye(e) {await U.fetchQuery({queryKey: mX,queryFn: () => hX(e)});}-var Lye = (e) => H(jye, e), Rye = (e) => H(nX, { initial: e }), zye = (e) => e.kind === "apply" ? H(Mye, {+var Wye = (e) => H(Rye, e), Gye = (e) => H(nX, { initial: e }), Kye = (e) => e.kind === "apply" ? H(zye, {...e.request,confirm: !0-}) : H(Nye, { confirm: !0 });-async function Bye(e) {+}) : H(Bye, { confirm: !0 });+async function qye(e) {U.setQueryData(mX, (t) => t && {...t,templates: e@@ -58425,20 +58466,20 @@ async function Bye(e) {await H(rX, { organizeTemplates: e });} catch {}}-var Vye = (e, t) => e && {+var Jye = (e, t) => e && {...e,...t-}, Hye = /目录模板|分隔符|盘符|`\.`/;-function Uye(e) {+}, Yye = /目录模板|分隔符|盘符|`\.`/;+function Xye(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}var gX = (e) => Number(e || 0).toLocaleString();-function Wye(e) {+function Zye(e) {let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${gX(t)}`).join(" · ");return Number(e.counts?.change || 0) ? `${gX(e.counts.change)} 个文件会改名或移动,${gX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function Gye(e) {+function Qye(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {text: t ? `已退回 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能退回` : ""}。` : `已整理 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能处理` : ""}。`,@@ -58448,36 +58489,36 @@ function Gye(e) {}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Kye = "/api/orphan-records", qye = "/api/orphan-records/attach", _X = ["orphan-records"], Jye = [+var $ye = "/api/orphan-records", ebe = "/api/orphan-records/attach", _X = ["orphan-records"], tbe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], vX = (e) => V(Kye, e), Yye = (e, t) => H(qye, {+], vX = (e) => V($ye, e), nbe = (e, t) => H(ebe, {id: e,target: t-}), Xye = (e) => H(EY, {+}), rbe = (e) => H(EY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), Zye = (e) => [+}), ibe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], Qye = (e) => [...Jye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Zye(e)].filter(Boolean).join(" · "), $ye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", ebe = (e) => [e.name, $ye(e.duration)].filter(Boolean).join(" · "), yX = "/api/resource-sync/scan", bX = "/api/resource-sync/apply", xX = ["resource-sync", "scan"], SX = ["resource-sync", "apply"], CX = (e) => H(yX, {+], abe = (e) => [...tbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...ibe(e)].filter(Boolean).join(" · "), obe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", sbe = (e) => [e.name, obe(e.duration)].filter(Boolean).join(" · "), yX = "/api/resource-sync/scan", bX = "/api/resource-sync/apply", xX = ["resource-sync", "scan"], SX = ["resource-sync", "apply"], CX = (e) => H(yX, {background: !0,status_only: !0-}, "POST", e), tbe = () => H(yX, {+}, "POST", e), cbe = () => H(yX, {background: !0,restart: !0-}), wX = (e) => V(bX, e), nbe = (e) => H(bX, {+}), wX = (e) => V(bX, e), lbe = (e) => H(bX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0}), TX = (e) => (e?.sources ?? []).some((e) => zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function rbe(e) {+async function ube(e) {TX(U.getQueryData(Bn)) && await Promise.all([U.fetchQuery({queryKey: xX,queryFn: () => CX(e)@@ -58486,7 +58527,7 @@ async function rbe(e) {queryFn: () => wX(e)})]);}-var ibe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), EX = (e) => Number(e || 0).toLocaleString(), abe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", DX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), OX = (e) => e.vanish ? `${EX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", kX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", obe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录和 ${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。${kX(e)}${OX(e)}`, sbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录(含回收站里的)、${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。来源根目录保留。${kX(e)}${OX(e)}`, cbe = (e) => e.online ? [+var dbe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), EX = (e) => Number(e || 0).toLocaleString(), fbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", DX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), OX = (e) => e.vanish ? `${EX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", kX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", pbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录和 ${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。${kX(e)}${OX(e)}`, mbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录(含回收站里的)、${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。来源根目录保留。${kX(e)}${OX(e)}`, hbe = (e) => e.online ? [`找不到文件 · 共 ${EX(e.total)} 项`,e.vanish ? `${EX(e.vanish)} 项带个人记录` : "",e.empty ? `空文件夹 ${EX(e.empty)} 个` : ""@@ -58503,33 +58544,33 @@ function AX(e) {].filter(Boolean).join(",")};}-var lbe = (e, t) => {+var gbe = (e, t) => {let { rest: n } = AX(e), r = `已永久删除 ${EX(e.purged)} 条失效记录和 ${EX(e.dirs_removed)} 个空文件夹,清理 ${EX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${EX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${EX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, ube = "/api/review?counts=1", jX = ["review", "counts"], dbe = "/api/ads?limit=1", MX = ["junk-summary"], NX = "/api/items?state=trash&limit=1", PX = ["trash-summary"], fbe = [+}, _be = "/api/review?counts=1", jX = ["review", "counts"], vbe = "/api/ads?limit=1", MX = ["junk-summary"], NX = "/api/items?state=trash&limit=1", PX = ["trash-summary"], ybe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], FX = (e) => V(ube, e), IX = (e) => V(dbe, e), LX = (e) => {+], FX = (e) => V(_be, e), IX = (e) => V(vbe, e), LX = (e) => {let t = sessionStorage.getItem("peach.library");return V(t ? `${NX}&library=${encodeURIComponent(t)}` : NX, e);}, RX = (e) => Number(e || 0).toLocaleString();-function pbe(e) {+function bbe(e) {let t = zY, 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 mbe(e) {+function xbe(e) {if (!e) return "";- let t = fbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${RX(e.counts[t])}`);+ let t = ybe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${RX(e.counts[t])}`);return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${RX(e.dismissed_total)}`), t.join(" · ");}-var hbe = [+var Sbe = [[jX, ({ signal: e }) => FX(e)],[FY, ({ signal: e }) => IY(e)],[PX, ({ signal: e }) => LX(e)],@@ -58538,8 +58579,8 @@ var hbe = [[YY, ({ signal: e }) => $Y(e)],[_X, ({ signal: e }) => vX(e)]];-async function gbe(e) {- let t = !!location.hash, n = hbe.map(([n, r]) => {+async function Cbe(e) {+ let t = !!location.hash, n = Sbe.map(([n, r]) => {if (t) return U.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -58559,16 +58600,16 @@ async function gbe(e) {queryKey: TY,queryFn: () => DY(e)}),- wY(e).then(() => rbe(e)),- mH(e),- Fve(e),- Iye(e)+ wY(e).then(() => ube(e)),+ pH(e),+ Hve(e),+ Uye(e)]);}//#endregion//#region src/react/feed-new/feed-new.ts-var zX = (e) => ["feed-new", e ?? "home"], _be = 8, vbe = 1500;-function ybe(e, t, n) {+var zX = (e) => ["feed-new", e ?? "home"], wbe = 8, Tbe = 1500;+function Ebe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58579,11 +58620,11 @@ function ybe(e, t, n) {setTimeout(e, n);})]);}-async function bbe(e, t, n) {- let r = new URLSearchParams({ limit: String(iA().value.feedLimit) });+async function Dbe(e, t, n) {+ let r = new URLSearchParams({ limit: String(nA().value.feedLimit) });e && r.set("entity", String(e));let i = await z(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await ybe(s, _be, vbe), {+ return n && o.length && await Ebe(s, wbe, Tbe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)@@ -58591,7 +58632,7 @@ async function bbe(e, t, n) {}var BX = (e, t, n = !1) => ({queryKey: zX(e),- queryFn: () => bbe(e, t, n),+ queryFn: () => Dbe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1}), VX = (e, t) => z("/api/feeds/discovery", {@@ -58601,7 +58642,7 @@ var BX = (e, t, n = !1) => ({ids: [e]})}).then(() => void 0, () => void 0);-async function xbe(e) {+async function Obe(e) {U.removeQueries({ queryKey: zX(null) }), await U.fetchQuery(BX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion@@ -58626,7 +58667,7 @@ var HX = ["entity",e,t-], Sbe = (e, t, n, r) => [+], kbe = (e, t, n, r) => ["entity-items",e,t,@@ -58638,7 +58679,7 @@ var HX = [t,n,r-], KX = (e) => String(e || "").split(",").filter(Boolean), Cbe = (e, t) => KX(e).includes(t);+], KX = (e) => String(e || "").split(",").filter(Boolean), Abe = (e, t) => KX(e).includes(t);function qX(e, t, n, r, i = 0) {let a = new URLSearchParams();a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...KX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");@@ -58655,7 +58696,7 @@ var YX = (e) => {seed: e.seed}, n = qX(e.kind, e.name, e.filters, t).toString();return {- queryKey: Sbe(e.kind, e.name, n, e.revision),+ queryKey: kbe(e.kind, e.name, n, e.revision),queryFn: ({ signal: n }) => JX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};@@ -58664,7 +58705,7 @@ var YX = (e) => {queryFn: ({ signal: n }) => z(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function wbe(e, t, n, r, i, a) {+function jbe(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)}` : ""}`;@@ -58676,7 +58717,7 @@ function wbe(e, t, n, r, i, a) {var ZX = (e, t, n, r) => ({queryKey: GX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await z(wbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await z(jbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58690,7 +58731,7 @@ var ZX = (e, t, n, r) => ({} : void 0,staleTime: Infinity}), QX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Tbe(e) {+async function Mbe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -58718,7 +58759,7 @@ var $X = [["blogger", "网黄博主"],["animation", "动画作者"]], eZ = "mb-4 flex flex-wrap gap-2";-function Ebe(e) {+function Nbe(e) {let t = $X.some(([t]) => t === e) ? e : "all";return `<div class="peach-react"><div aria-label="身份分类" class="${eZ}">${$X.map(([e, n]) => Wo({variant: e === t ? "primary" : "secondary",@@ -58729,38 +58770,38 @@ function Ebe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var Dbe = "/api/follow/authors", Obe = "/api/follow/tags", kbe = (e) => [+var Pbe = "/api/follow/authors", Fbe = "/api/follow/tags", Ibe = (e) => ["follow","authors",e-], Abe = (e, t) => [+], Lbe = (e, t) => ["follow","tags",e,t];-function jbe(e, t, n) {+function Rbe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Dbe}?${r}`;+ return e && r.set("q", e), `${Pbe}?${r}`;}-function Mbe(e, t, n, r) {+function zbe(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), `${Obe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Fbe}?${i}`;}-var Nbe = (e, t, n, r) => V(jbe(e, t, n), r), Pbe = (e, t, n, r, i) => V(Mbe(e, t, n, r), i), Fbe = "/api/index", tZ = {+var Bbe = (e, t, n, r) => V(Rbe(e, t, n), r), Vbe = (e, t, n, r, i) => V(zbe(e, t, n, r), i), Hbe = "/api/index", tZ = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Ibe = {+}, Ube = {performers: "performer",creators: "creator",studios: "studio",@@ -58831,7 +58872,7 @@ function uZ(e, t, n, r, i) {limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Fbe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Hbe}?${a}`;}function dZ(e) {let t = e.what === "people" || e.what === "online-authors" ? iZ.people : iZ.tags, n = {@@ -58851,17 +58892,17 @@ function dZ(e) {};case "online-authors": return {...n,- queryKey: kbe(e.q),- queryFn: ({ pageParam: n, signal: r }) => Nbe(e.q, t, n, r)+ queryKey: Ibe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Bbe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Abe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Pbe(e.q, e.category, t, n, r)+ queryKey: Lbe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Vbe(e.q, e.category, t, n, r)};}}-async function Lbe(e, t) {+async function Wbe(e, t) {let n = dZ(cZ(sZ(e)));U.removeQueries({queryKey: n.queryKey,@@ -58876,13 +58917,13 @@ async function Lbe(e, t) {getNextPageParam: n.getNextPageParam});}-var Rbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, fZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Bbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Vbe = {+var Gbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Kbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, fZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Jbe = {numeric: !0,sensitivity: "base"};function pZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Vbe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Jbe))) {let e = xn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}@@ -58890,7 +58931,7 @@ function pZ(e, t) {}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var mZ = tF({+var mZ = eF({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",@@ -58912,7 +58953,7 @@ var mZ = tF({function hZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("span", {ref: r,- className: eF(mZ.base, mZ.variant[e], mZ.color[t], n),+ className: $P(mZ.base, mZ.variant[e], mZ.color[t], n),...i});}@@ -58930,18 +58971,18 @@ function gZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Hbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Ube = Rz("rss");+var Ybe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Xbe = Lz("rss");function _Z({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: MH({+ className: jH({radius: "plain",padding: "none",interactive: !0,- className: `${Hbe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Ybe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -58953,7 +58994,7 @@ function _Z({ name: e, readout: t, big: n, children: r, following: i, onPress: achildren: /* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, O.jsx)(Ube, {})+ children: /* @__PURE__ */ (0, O.jsx)(Xbe, {})})}) : null,/* @__PURE__ */ (0, O.jsx)("span", {@@ -58977,12 +59018,12 @@ function vZ({ kind: e, items: t, layout: n, props: r }) {"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Ibe[e], o = r.personAvatar(t, n, a);+ let n = t.entity_kind || Ube[e], o = r.personAvatar(t, n, a);return /* @__PURE__ */ (0, O.jsx)(_Z, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Bbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${qbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),@@ -58996,7 +59037,7 @@ function vZ({ kind: e, items: t, layout: n, props: r }) {})});}-function Wbe({ items: e, layout: t, props: n }) {+function Zbe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "",@@ -59060,7 +59101,7 @@ function SZ(e) {}return !1;}-function Gbe() {+function Qbe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {@@ -59092,11 +59133,11 @@ function CZ(e) {e.style.setProperty("--board-range-value", `${i}%`);}var wZ = /* @__PURE__ */ new WeakSet();-function Kbe() {+function $be() {if (wZ.has(document)) return;wZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(CZ), Jbe(e), qbe(e);+ e.querySelectorAll("input[type=range]").forEach(CZ), txe(e), exe(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]") && CZ(t), e(t));@@ -59105,9 +59146,9 @@ function Kbe() {childList: !0}), document.addEventListener("input", (e) => {e.target instanceof HTMLInputElement && e.target.type === "range" && CZ(e.target);- }), Gbe();+ }), Qbe();}-function qbe(e) {+function exe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -59132,7 +59173,7 @@ function qbe(e) {});}var TZ = /* @__PURE__ */ new Map();-function Jbe(e) {+function txe(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;@@ -59165,7 +59206,7 @@ function Jbe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var EZ = "/vendor/swiper/14.3.0/", DZ = null, Ybe = () => DZ ??= Promise.all([new Promise((e, t) => {+var EZ = "/vendor/swiper/14.3.0/", DZ = null, nxe = () => DZ ??= Promise.all([new Promise((e, t) => {let n = `${EZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();@@ -59184,7 +59225,7 @@ var EZ = "/vendor/swiper/14.3.0/", DZ = null, Ybe = () => DZ ??= Promise.all([ne})]).then(([, e]) => e).catch((e) => {throw DZ = null, e;});-function Xbe(e, t, n) {+function rxe(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);@@ -59208,8 +59249,8 @@ function Xbe(e, t, n) {var OZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : _n(t)).replace(" ", "\xA0") : "大小未知";-}, Zbe = (e) => e.asset?.name || e.name || "未命名图片";-function Qbe(e, t) {+}, ixe = (e) => e.asset?.name || e.name || "未命名图片";+function axe(e, t) {let n = e.asset;if (n) return [Cn[n.location ?? ""] || n.location || "来源未知", OZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";@@ -59221,31 +59262,31 @@ function Qbe(e, t) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var kZ = null, AZ = null, $be = 0;-function exe() {+var kZ = null, AZ = null, oxe = 0;+function sxe() {return (!AZ || !kZ?.isConnected) && (AZ?.unmount(), kZ = document.createElement("div"), kZ.className = "peach-react", kZ.dataset.photoLightboxHost = "", document.body.append(kZ), AZ = (0, Et.createRoot)(kZ)), AZ;}async function jZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Ybe();+ r = await nxe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = exe();- (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(txe, {+ let i = sxe();+ (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(cxe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++$be)));+ }, ++oxe)));}function MZ() {AZ && (0, Tt.flushSync)(() => AZ.render(null));}-function txe({ slides: e, index: t, Swiper: n, host: r }) {+function cxe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, D.useId)(), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), [_, v] = (0, D.useState)(t), [y, b] = (0, D.useState)(100), [x, S] = (0, D.useState)({}), [C, w] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, D.useState)(!1), [j, M] = (0, D.useState)({at: t,text: ""@@ -59288,7 +59329,7 @@ function txe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Xbe(e, a, b);+ i(t, 0), h.current = rxe(e, a, b);let m = gc(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();};@@ -59489,10 +59530,10 @@ function txe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: Zbe(N)+ children: ixe(N)}, _), /* @__PURE__ */ (0, O.jsx)("span", {"data-photo-detail-meta": "",- children: Qbe(N, x[_])+ children: axe(N, x[_])})]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -59531,17 +59572,17 @@ function txe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function nxe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(rxe, {+function lxe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(uxe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(ixe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(sxe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(dxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(mxe, {photos: e.photos,props: e}, e.photos.revision) : null;}var NZ = iZ.people;-function rxe({ roster: e, props: t }) {+function uxe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, D.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity@@ -59559,8 +59600,8 @@ function rxe({ roster: e, props: t }) {enabled: () => !0}, a) : null] });}-function ixe(e) {- let t = lW(!e.items, e.skeletonHtml);+function dxe(e) {+ let t = mW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,@@ -59584,14 +59625,14 @@ function ixe(e) {}) : null]});}-var axe = (e) => Array.from({ length: e.n }, (t, n) => ({+var fxe = (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 || "官方样张"-})), PZ = (e) => e.sample === !0, FZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IZ = (e) => PZ(e) ? `/sample-thumb?${FZ(e)}` : `/photo-thumb?id=${e.id}`, oxe = (e) => PZ(e) ? {+})), PZ = (e) => e.sample === !0, FZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IZ = (e) => PZ(e) ? `/sample-thumb?${FZ(e)}` : `/photo-thumb?id=${e.id}`, pxe = (e) => PZ(e) ? {src: `/sample-image?${FZ(e)}`,thumb: IZ(e),name: e.name,@@ -59603,14 +59644,14 @@ var axe = (e) => Array.from({ length: e.n }, (t, n) => ({name: e.name || "",asset: e};-function sxe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(axe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {+function mxe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(fxe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, D.useCallback)((e) => {- jZ(e, o.map(oxe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(cxe, {+ jZ(e, o.map(pxe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(hxe, {item: e,index: t,lost: s.has(t),@@ -59673,7 +59714,7 @@ function LZ({ label: e, title: t, meta: n }) {]});}-function cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function hxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -59693,9 +59734,9 @@ function cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/background-job.ts-var lxe = 2e3, uxe = (e) => e, dxe = (e, t) => t;+var gxe = 2e3, _xe = (e) => e, vxe = (e, t) => t;function RZ(e) {- let { queryKey: t, jobOf: n = uxe, withJob: r = dxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);+ let { queryKey: t, jobOf: n = _xe, withJob: r = vxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);(0, D.useEffect)(() => {l.current = e;});@@ -59704,7 +59745,7 @@ function RZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? lxe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? gxe : i ?? !1;}}), d = Ct({mutationFn: (e) => l.current.start(e),@@ -59730,12 +59771,12 @@ function RZ(e) {//#endregion//#region src/react/follow-feed/follow-check.tsvar zZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function fxe(e, t) {+function yxe(e, t) {return t ? zZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function pxe({ sources: e, report: t }) {+function bxe({ sources: e, report: t }) {let n = zZ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = RZ({queryKey: or,queryFn: ({ signal: e }) => zr(e),@@ -59750,12 +59791,12 @@ function pxe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, O.jsx)(J, {size: "small",disabled: !n.length,- ...Bz(s),+ ...zz(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }), r ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: r}) : null]@@ -59763,7 +59804,7 @@ function pxe({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var mxe = (e) => Number(e) > 0;+var xxe = (e) => Number(e) > 0;function BZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, O.jsx)("a", {...r,@@ -59776,9 +59817,9 @@ function BZ({ name: e, actions: t, children: n, ...r }) {}var VZ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: kU(e) }+ dangerouslySetInnerHTML: { __html: NU(e) }});-function hxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function Sxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);return (0, D.useEffect)(() => {c(!1);@@ -59801,8 +59842,8 @@ function hxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function gxe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => sge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({+function Cxe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => uge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59810,7 +59851,7 @@ function gxe(e) {limit: 9}), S = (0, D.useRef)(x.faces);S.current = x.faces;- let C = nG({+ let C = sG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59818,7 +59859,7 @@ function gxe(e) {w.current = C.onPointerLeave;let T = (0, D.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = PU(u, n, i), k = AU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = LU(u, i), N = IU(t, u), P = u.status === "saved", ee = (e) => {+ }, []), E = RU(u, n, i), k = PU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = VU(u, i), N = BU(t, u), P = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, F = (e, t) => {e.stopPropagation(), t();@@ -59833,7 +59874,7 @@ function gxe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: PW,+ onMouseDown: zW,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -59847,7 +59888,7 @@ function gxe(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, O.jsx)(hxe, {+ p ? /* @__PURE__ */ (0, O.jsx)(Sxe, {src: p,fallback: m,width: _?.width,@@ -59875,7 +59916,7 @@ function gxe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: kU(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: NU(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -59888,7 +59929,7 @@ function gxe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- mxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {+ xxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-duration": "",children: hn(u.duration)}) : null,@@ -59979,7 +60020,7 @@ function gxe(e) {/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: FU(t, u) + B(k) }+ dangerouslySetInnerHTML: { __html: zU(t, u) + B(k) }}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-byline": "",@@ -59997,8 +60038,8 @@ function gxe(e) {}),/* @__PURE__ */ (0, O.jsx)("time", {dateTime: u.published_at || "",- title: zU(u),- children: oge(u)+ title: UU(u),+ children: lge(u)}),E.credited ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-credit": "",@@ -60033,10 +60074,10 @@ function gxe(e) {]});}-var HZ = (0, D.memo)(gxe);+var HZ = (0, D.memo)(Cxe);//#endregion//#region src/react/components/use-masonry-grid.ts-function _xe(e, t) {+function wxe(e, t) {let n = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let t = n.current;@@ -60072,7 +60113,7 @@ function _xe(e, t) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var vxe = [+var Txe = ["list","add","feeds"@@ -60080,7 +60121,7 @@ var vxe = [function UZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: vxe.find((e) => e === n) || "list",+ tab: Txe.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""@@ -60103,7 +60144,7 @@ function GZ(e, t) {var KZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), yxe = Rz("settings"), qZ = Rz("chevron-down"), bxe = Rz("history"), xxe = Rz("arrow-up"), Sxe = Rz("arrow-down"), Cxe = [[+}), Exe = Lz("settings"), qZ = Lz("chevron-down"), Dxe = Lz("history"), Oxe = Lz("arrow-up"), kxe = Lz("arrow-down"), Axe = [["fixed","固定比例","layout-grid"@@ -60112,7 +60153,7 @@ var KZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"瀑布流","columns-2"]];-function wxe(e, t, n) {+function jxe(e, t, n) {return (0, D.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) => {@@ -60160,7 +60201,7 @@ function wxe(e, t, n) {n]);}-function Txe(e) {+function Mxe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = wi(t, r), o = wt(a), s = St({queryKey: Ti,queryFn: ({ signal: e }) => Ei(e)@@ -60168,7 +60209,7 @@ function Txe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = wxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({+ }), [c, l]), d = jxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({tags: xl(d.visible.flatMap(Ai).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -60194,10 +60235,10 @@ function Txe(e) {m,i]);- let h = Dxe(e, !!c);+ let h = Pxe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, O.jsx)(JZ, {}), /* @__PURE__ */ (0, O.jsx)(uW, {+ children: [/* @__PURE__ */ (0, O.jsx)(JZ, {}), /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(o.error),onRetry: () => void o.refetch()})]@@ -60210,7 +60251,7 @@ function Txe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, jU(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, FU(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);@@ -60219,7 +60260,7 @@ function Txe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",title: "检查结果",children: h.report@@ -60239,20 +60280,20 @@ function Txe(e) {dangerouslySetInnerHTML: { __html: ns("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, O.jsx)(Oxe, {+ /* @__PURE__ */ (0, O.jsx)(Fxe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(kxe, {+ /* @__PURE__ */ (0, O.jsx)(Ixe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Axe, {+ /* @__PURE__ */ (0, O.jsx)(Lxe, {facets: d,view: t,total: v,@@ -60260,7 +60301,7 @@ function Txe(e) {props: e,route: g}),- /* @__PURE__ */ (0, O.jsx)(jxe, {+ /* @__PURE__ */ (0, O.jsx)(Rxe, {conditions: _,onDrop: (e) => i.route(qi(t, e)),onClear: () => g({@@ -60272,8 +60313,8 @@ function Txe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Mxe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, O.jsx)(Nxe, {+ d.broken.length ? /* @__PURE__ */ (0, O.jsx)(zxe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, O.jsx)(Bxe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60303,7 +60344,7 @@ function Txe(e) {await o.fetchNextPage({ throwOnError: !0 });},children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Exe, {+ }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Nxe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Ut(o.error) : "",load: () => {@@ -60314,7 +60355,7 @@ function Txe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : bxe,+ leadingIcon: h.olderBusy ? void 0 : Dxe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60340,9 +60381,9 @@ function JZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(JF, {+ children: [/* @__PURE__ */ (0, O.jsx)(KF, {variant: "secondary",- leadingIcon: yxe,+ leadingIcon: Exe,"data-follow-manage": "",href: YZ(),children: "管理关注"@@ -60350,7 +60391,7 @@ function JZ({ children: e }) {})]});}-function Exe({ busy: e, error: t, load: n }) {+function Nxe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-more": "",@@ -60358,12 +60399,12 @@ function Exe({ busy: e, error: t, load: n }) {"aria-disabled": e || void 0,onClick: n,children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, O.jsx)(uW, {+ }), t ? /* @__PURE__ */ (0, O.jsx)(hW, {message: t,onRetry: n}) : null] });}-function Dxe(e, t) {+function Pxe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(!1), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useRef)({helpers: n,actions: r@@ -60425,12 +60466,12 @@ function Dxe(e, t) {olderBusy: c === "older" || f && o};}-function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function Fxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, D.useRef)(null);(0, D.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => jU(e.authorSources.get(t) || [], n);+ let o = (t) => FU(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, O.jsx)("div", {@@ -60438,9 +60479,9 @@ function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = MU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = IU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: NU(a, o(n)) }+ dangerouslySetInnerHTML: { __html: LU(a, o(n)) }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-name": "",children: o(n)@@ -60462,7 +60503,7 @@ function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function kxe({ rows: e, pressed: t, props: n, onPick: r }) {+function Ixe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60483,13 +60524,13 @@ function kxe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = KF(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = KF(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = WF(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = WF(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, D.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, O.jsx)(zF, {+ return /* @__PURE__ */ (0, O.jsx)(LF, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60574,10 +60615,10 @@ function Axe({ 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: kU(t, n) }+ dangerouslySetInnerHTML: { __html: NU(t, n) }}, t)),_.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(KZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Ji(e.groups, n)}`,@@ -60597,18 +60638,18 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, O.jsx)($z, {+ /* @__PURE__ */ (0, O.jsx)(Qz, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(ZU, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XU, {label: "图片布局",value: i.photoLayout,- options: Cxe,+ options: Axe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -60638,9 +60679,9 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Ui(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, O.jsx)(wU, {- a: xxe,- b: Sxe,+ children: [n, r ? /* @__PURE__ */ (0, O.jsx)(OU, {+ a: Oxe,+ b: kxe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60651,7 +60692,7 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function jxe({ conditions: e, onDrop: t, onClear: n }) {+function Rxe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60676,19 +60717,19 @@ function jxe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Mxe({ count: e }) {+function zxe({ count: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-broken": "",dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(YZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}var YZ = () => GZ(window.location.search);-function Nxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = lW(e, () => c.listSkeletonHtml(s.media));+function Bxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = mW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Pxe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Vxe, {facets: t,data: n,context: r,@@ -60699,12 +60740,12 @@ function Nxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+function Vxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {let { view: s, actions: c } = r, l = ZZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = _xe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = wxe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;return /* @__PURE__ */ (0, O.jsx)(HZ, {@@ -60721,7 +60762,7 @@ function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, O.jsx)(Fxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Hxe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60747,19 +60788,19 @@ function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,function XZ(e, t) {return Li(e, t.media).id;}-function Fxe({ data: e, filtered: t, clear: n, checkAction: r }) {+function Hxe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : a ? r : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60768,7 +60809,7 @@ function Fxe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var Ixe = {+var Uxe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"@@ -60796,7 +60837,7 @@ function ZZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Ixe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(Uxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await H($n, {item: t,to: i@@ -60842,9 +60883,9 @@ function ZZ(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function Lxe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = lW(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+function Wxe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = mW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(t.error),onRetry: () => {t.refetch();@@ -60855,7 +60896,7 @@ function Lxe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Rxe, {+ a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Gxe, {...e,data: n}),@@ -60869,7 +60910,7 @@ function Lxe(e) {]});}-function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+function Gxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {let u = ZZ({view: e,revision: 0,@@ -60901,11 +60942,11 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, O.jsx)(zxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Kxe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: fxe(n.sources || [], e.author)+ sources: yxe(n.sources || [], e.author)});return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-list": "",@@ -60914,21 +60955,21 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function zxe({ searched: e, clear: t, actions: n, sources: r }) {+function Kxe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, O.jsx)(pxe, {+ }) : r.length ? /* @__PURE__ */ (0, O.jsx)(bxe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60974,7 +61015,7 @@ function tQ(e, t) {y1: a + r});}-function Bxe(e, t) {+function qxe(e, t) {if (!eQ(e) || !(t > 0)) return QZ(e);let n = Math.min(e.width, e.height * t);return $Z({@@ -60984,7 +61025,7 @@ function Bxe(e, t) {y1: e.height});}-function Vxe(e, t, n) {+function Jxe(e, t, n) {if (!eQ(t) || !(n > 0)) return QZ(t);let r = nQ(e, t), i = tQ({width: r.x1 - r.x0,@@ -61033,7 +61074,7 @@ function iQ(e, t, n, r = null) {y1: a + s / 2}, n, r);}-function Hxe(e, t, n, r, i = null) {+function Yxe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,@@ -61042,7 +61083,7 @@ function Hxe(e, t, n, r, i = null) {};return nQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function Uxe(e, t) {+function Xxe(e, t) {return eQ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,@@ -61055,7 +61096,7 @@ function Uxe(e, t) {height: 0};}-function Wxe(e, t) {+function Zxe(e, t) {if (!eQ(t)) return {size: "cover",position: "50% 50%"@@ -61066,7 +61107,7 @@ function Wxe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function Gxe(e, t) {+function Qxe(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}%`,@@ -61078,12 +61119,12 @@ function Gxe(e, t) {function aQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function Kxe(e, t) {+function $xe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var qxe = .02, oQ = 1.08;+var eSe = .02, oQ = 1.08;function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);(0, D.useEffect)(() => {@@ -61121,14 +61162,14 @@ function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: olet n = c.current, a = s.current;if (!n || !a || !r) return;let o = p(e.clientX - n.x, e.clientY - n.y);- n.mode === "move" ? i(rQ(n.box, o.dx, o.dy, r)) : i(Hxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i(rQ(n.box, o.dx, o.dy, r)) : i(Yxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * qxe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * eSe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],@@ -61136,7 +61177,7 @@ function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o};o[e.key] ? (e.preventDefault(), i(rQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(iQ(n, e.key === "-" ? 1 / oQ : oQ, r, t)));}- let v = n && r ? Uxe(nQ(n, r, t), r) : null, y = v ? Kxe(v, d) : !1, b = v ? {+ let v = n && r ? Xxe(nQ(n, r, t), r) : null, y = v ? $xe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61217,12 +61258,12 @@ function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var Jxe = "/api/avatar-choices", cQ = "/api/avatar-pick", Yxe = "/api/avatar-code-cover", lQ = "/api/avatar-frame", Xxe = "/avatar-choice", uQ = (e, t) => [+var tSe = "/api/avatar-choices", cQ = "/api/avatar-pick", nSe = "/api/avatar-code-cover", lQ = "/api/avatar-frame", rSe = "/avatar-choice", uQ = (e, t) => ["avatar-choices",e,t-], dQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fQ = (e, t, n, r = "") => `${Xxe}${dQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Zxe = (e, t, n) => V(Jxe + dQ(e, t), n), Qxe = (e) => H(Yxe, { code: e });-async function $xe(e, t, n) {+], dQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fQ = (e, t, n, r = "") => `${rSe}${dQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", iSe = (e, t, n) => V(tSe + dQ(e, t), n), aSe = (e) => H(nSe, { code: e });+async function oSe(e, t, n) {let r = await H(lQ, {kind: e,id: t,@@ -61236,12 +61277,12 @@ async function $xe(e, t, n) {bases: r.bases};}-var eSe = (e, t, n) => H(lQ, {+var sSe = (e, t, n) => H(lQ, {kind: e,id: t,url: n-}), tSe = (e, t, n) => mQ(`${lQ}${dQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function mQ(e, t) {+}), mQ = (e, t, n) => hQ(`${lQ}${dQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function hQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -61250,15 +61291,15 @@ async function mQ(e, t) {if (n.ok) return r;throw new On(r?.error || `请求失败(${n.status})`, n.status, r);}-function hQ(e, t, n) {+function gQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Vxe(e.focus, t, n) : tQ(t, n);+ return e.focus && r ? Jxe(e.focus, t, n) : tQ(t, n);}-var nSe = (e) => e.crop && eQ({+var cSe = (e) => e.crop && eQ({width: e.width,height: e.height});-async function rSe(e, t, n) {+async function lSe(e, t, n) {if (!("file" in n)) {await H(cQ, {kind: e,@@ -61273,19 +61314,19 @@ async function rSe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await mQ(`${cQ}${dQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await hQ(`${cQ}${dQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var gQ = 2;-function iSe(e, t) {+var _Q = 2;+function uSe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, gQ).join("」「")}」`}${n.length > gQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, _Q).join("」「")}」`}${n.length > _Q ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var aSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function oSe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${aSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var dSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function fSe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var _Q = (e) => e.cast > 1, sSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, cSe = {+var vQ = (e) => e.cast > 1, pSe = (e) => vQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mSe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61295,7 +61336,7 @@ var _Q = (e) => e.cast > 1, sSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function lSe(e) {+function hSe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61306,19 +61347,19 @@ function lSe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var uSe = (e) => `${cSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_Q(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), dSe = 8, fSe = 3 / 4;-async function pSe(e, t, n) {+var gSe = (e) => `${mSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (vQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), _Se = 8, vSe = 3 / 4;+async function ySe(e, t, n) {switch (n.via) {- case "choice": return { choice: await $xe(e, t, n.choice) };- case "code": return { choice: await Qxe(n.code) };- case "url": return { choice: await eSe(e, t, n.url) };+ case "choice": return { choice: await oSe(e, t, n.choice) };+ case "code": return { choice: await aSe(n.code) };+ case "url": return { choice: await sSe(e, t, n.url) };case "file": return {- choice: await tSe(e, t, n.file),+ choice: await mQ(e, t, n.file),file: n.file};}}-function mSe({ kind: e, entityId: t, name: n, onPicked: r }) {+function bSe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61328,17 +61369,17 @@ function mSe({ 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, O.jsx)(Yde, {+ children: /* @__PURE__ */ (0, O.jsx)(Xde, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(Nz, {+ }), /* @__PURE__ */ (0, O.jsx)(Mz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, O.jsx)(hSe, {+ children: /* @__PURE__ */ (0, O.jsx)(xSe, {kind: e,entityId: t,name: n,@@ -61347,22 +61388,22 @@ function mSe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, D.useRef)(null), o = iV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = uQ(e, t), m = (0, D.useRef)(!1), h = St({+function xSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, D.useRef)(null), o = rV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = uQ(e, t), m = (0, D.useRef)(!1), h = St({queryKey: p,- queryFn: ({ signal: n }) => Zxe(e, t, n),+ queryFn: ({ signal: n }) => iSe(e, t, n),retryOnMount: !0});(0, D.useEffect)(() => () => {m.current && U.removeQueries({ queryKey: uQ(e, t) });}, [e, t]);let g = Ct({- mutationFn: (n) => rSe(e, t, n),+ mutationFn: (n) => lSe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = Ct({- mutationFn: (n) => pSe(e, t, n),+ mutationFn: (n) => ySe(e, t, n),onMutate: () => {g.reset();},@@ -61383,17 +61424,17 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : oSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : fSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Pz, { children: /* @__PURE__ */ (0, O.jsx)(wz, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Nz, { children: /* @__PURE__ */ (0, O.jsx)(Cz, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(xI, {+ children: [/* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"@@ -61404,18 +61445,18 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? sSe(d.choice) : iSe(n, x)+ children: d ? pSe(d.choice) : uSe(n, x)}),- T ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ T ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ C ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",action: E ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(h.isFetching),+ ...zz(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61425,14 +61466,14 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, O.jsx)(MF, {- icon: fz,+ /* @__PURE__ */ (0, O.jsx)(AF, {+ icon: dz,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, O.jsx)(_Se, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(CSe, {kind: e,entityId: t,choice: d.choice,@@ -61452,7 +61493,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: dSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: h.isPending ? Array.from({ length: _Se }, (e, t) => /* @__PURE__ */ (0, O.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",@@ -61465,8 +61506,8 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: uSe(n),- ...Bz(w),+ title: gSe(n),+ ...zz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61475,7 +61516,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, O.jsx)(gSe, {+ /* @__PURE__ */ (0, O.jsx)(SSe, {src: fQ(e, t, n.ref, pQ(n, n.ref)),choice: n}),@@ -61491,7 +61532,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {children: "在用"})}) : null,- _Q(n) ? /* @__PURE__ */ (0, O.jsx)("span", {+ vQ(n) ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 right-1",children: /* @__PURE__ */ (0, O.jsxs)(hZ, {variant: "caption",@@ -61515,7 +61556,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Mz, {+ children: /* @__PURE__ */ (0, O.jsx)(jz, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -61525,7 +61566,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...Bz(v("code")),+ ...zz(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61534,7 +61575,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => a.current?.click(),- ...Bz(v("file")),+ ...zz(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, O.jsx)("input", {@@ -61554,7 +61595,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Mz, {+ children: /* @__PURE__ */ (0, O.jsx)(jz, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -61564,7 +61605,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",disabled: !s.trim(),- ...Bz(v("url")),+ ...zz(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61578,7 +61619,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function gSe({ src: e, choice: t }) {+function SSe({ src: e, choice: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), [a, o] = (0, D.useState)(!1);(0, D.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61586,7 +61627,7 @@ function gSe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = nSe(t) ? Gxe(hQ(t, s, fSe), s) : null, l = r || a ? !0 : void 0;+ }, c = cSe(t) ? Qxe(gQ(t, s, vSe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61612,12 +61653,12 @@ function gSe({ src: e, choice: t }) {})]});}-function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = pQ(n, s), m = fQ(e, t, s, p), h = iV();+function CSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = pQ(n, s), m = fQ(e, t, s, p), h = rV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? Wxe(d, l) : null;+ let _ = d && l ? Zxe(d, l) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.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",@@ -61628,7 +61669,7 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), eQ(e) && f(s === n.ref ? hQ(n, e, 1) : tQ(e, 1));+ u(e), eQ(e) && f(s === n.ref ? gQ(n, e, 1) : tQ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -61642,7 +61683,7 @@ function _Se({ 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: lSe(e)+ children: hSe(e)}, e))}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61662,12 +61703,12 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: i,- ...Bz(r),+ ...zz(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(r),+ ...zz(r),onClick: () => {r || a(null);},@@ -61675,7 +61716,7 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, O.jsx)(J, {disabled: !d || !l,- ...Bz(r),+ ...zz(r),onClick: () => {d && !r && a({ref: s,@@ -61691,8 +61732,8 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/components/source-picture.tsx-var vQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function yQ({ item: e, image: t, thumbnail: n = !1 }) {+var yQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function bQ({ item: e, image: t, thumbnail: n = !1 }) {let [r, i] = (0, D.useState)(0), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(""), l = t === "cover" && e.has_cover, u = !l && (t !== "cover" || e.source_image), d = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`;if (!u) {let r = l ? Aa(e, !0) : t === "cover" && !e.source_image ? e.cover_url : "";@@ -61703,16 +61744,16 @@ function yQ({ item: e, image: t, thumbnail: n = !1 }) {referrerPolicy: "no-referrer"}) : n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",children: "封面未取得"})});}- let f = vQ(e.code, t, r);+ let f = yQ(e.code, t, r);if (s === f) return n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -61745,7 +61786,7 @@ function yQ({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/components/source-avatar.tsx-function bQ({ code: e, person: t, detail: n = !1 }) {+function xQ({ code: e, person: t, detail: n = !1 }) {let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(n || typeof IntersectionObserver > "u");(0, D.useEffect)(() => {if (!r.current || i) return;@@ -61759,7 +61800,7 @@ function bQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: xn(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, O.jsx)("img", {- src: vQ(e, `actor:${t.source_actor_id}`),+ src: yQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61770,8 +61811,8 @@ function bQ({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, D.useContext)(lU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";+function SQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, D.useContext)(pU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";(0, D.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61803,7 +61844,7 @@ function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(bQ, {+ }), s.map((e, t) => (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61813,7 +61854,7 @@ function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-function SQ({ name: e }) {+function CQ({ name: e }) {let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -61824,20 +61865,20 @@ function SQ({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function CQ(e, t) {+function wQ(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var wQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function TQ(e, t, n, r) {+var TQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function EQ(e, t, n, r) {let i = (0, D.useRef)(r);i.current = r, (0, D.useEffect)(() => {if (!e) return;let r = () => {- t.current && wQ(n.current) ? CQ(t.current, n.current) : i.current();+ t.current && TQ(n.current) ? wQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -61851,17 +61892,17 @@ function TQ(e, t, n, r) {n]);}-function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function DQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = (0, D.useRef)(!1), d = (0, D.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, wQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, TQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !wQ(s.current) && (s.current.showPopover(), CQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !TQ(s.current) && (s.current.showPopover(), wQ(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 TQ(c, o, s, f), (0, D.useEffect)(() => {+ return EQ(c, o, s, f), (0, D.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -61887,7 +61928,7 @@ function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && wQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && TQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61905,16 +61946,16 @@ function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function vSe({ following: e, busy: t, onToggle: n, tip: r }) {+function wSe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(!1), u = () => {- wQ(o.current) && o.current.hidePopover(), c(!1);+ TQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !wQ(o.current) && (o.current.showPopover(), CQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !TQ(o.current) && (o.current.showPopover(), wQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return TQ(s, i, o, () => c(!1)), (0, D.useEffect)(() => {- i.current && wQ(o.current) && CQ(i.current, o.current);+ return EQ(s, i, o, () => c(!1)), (0, D.useEffect)(() => {+ i.current && TQ(o.current) && wQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, O.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -61923,7 +61964,7 @@ function vSe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, O.jsx)(SQ, { name: "rss" }),+ /* @__PURE__ */ (0, O.jsx)(CQ, { name: "rss" }),/* @__PURE__ */ (0, O.jsx)("input", {ref: a,type: "checkbox",@@ -61958,29 +61999,29 @@ function vSe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function ySe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function TSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, O.jsxs)(vue, {+ }, []), /* @__PURE__ */ (0, O.jsxs)(yue, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, O.jsx)(_I, {+ children: [/* @__PURE__ */ (0, O.jsx)(hI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: "chevron-down" })- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ children: /* @__PURE__ */ (0, O.jsx)(CQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, O.jsx)(nR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: XB,+ className: YB,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, O.jsxs)(bue, {+ children: /* @__PURE__ */ (0, O.jsxs)(xue, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, O.jsx)(dR, {+ /* @__PURE__ */ (0, O.jsx)(uR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -61988,31 +62029,31 @@ function ySe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(pR, {+ children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(fR, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, O.jsx)(tue, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, O.jsx)(dR, { children: /* @__PURE__ */ (0, O.jsxs)(pR, {+ /* @__PURE__ */ (0, O.jsx)(nue, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, O.jsx)(uR, { children: /* @__PURE__ */ (0, O.jsxs)(fR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var bSe = (e) => e === "studio" || e === "agency", DQ = (e) => e === "performer" || e === "creator", xSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function SSe(e) {+var ESe = (e) => e === "studio" || e === "agency", OQ = (e) => e === "performer" || e === "creator", DSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function OSe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function OQ(e) {+function kQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62024,13 +62065,13 @@ function OQ(e) {linked: !1} : null;}-function kQ(e, t) {+function AQ(e, t) {let n = pn(e, "performer"), r = un(t);return r && [e.label, n].map(un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var AQ = (e) => ({ site: on(e) });-function CSe(e, t) {- let n = OQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var jQ = (e) => ({ site: on(e) });+function kSe(e, t) {+ let n = kQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62040,7 +62081,7 @@ function CSe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${kQ(e, n)} · ${t}`+ title: `${AQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62048,11 +62089,11 @@ function CSe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (DQ(t) && e.link_kind !== "social") return {+ if (OQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: kQ(e, n),- mark: AQ(e)+ title: AQ(e, n),+ mark: jQ(e)};if (e.link_kind === "social") {let t = ln(r);@@ -62060,7 +62101,7 @@ function CSe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : AQ(e)+ mark: t ? { brand: t } : jQ(e)};}return {@@ -62068,12 +62109,12 @@ function CSe(e, t) {url: r,title: e.label || "",text: pn(e, t, i),- mark: AQ(e)+ mark: jQ(e)};});- return [...r, ...wSe(a)];+ return [...r, ...ASe(a)];}-function wSe(e) {+function ASe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62081,8 +62122,8 @@ function wSe(e) {sources: t.map((e) => e.label)}];}-var jQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function TSe(e) {+var MQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function jSe(e) {return [["legal_name",@@ -62138,7 +62179,7 @@ function TSe(e) {}]}] : []);}-function ESe(e) {+function MSe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62195,14 +62236,14 @@ function ESe(e) {tags: e.tags}), t;}-function MQ(e, t = 4) {+function NQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function DSe(e) {+function NSe(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 ? {@@ -62213,7 +62254,7 @@ function DSe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function OSe(e) {+function PSe(e) {return Ia({id: e.id,hasImage: e.has_image,@@ -62224,8 +62265,8 @@ function OSe(e) {standIn: e.avatar_stand_in});}-function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = DQ(e), c = bSe(e), l = s ? ESe(n.profile) : c ? TSe(n.company_profile) : [], u = CSe(n, e), d = jQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);+function FSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = OQ(e), c = ESe(e), l = s ? MSe(n.profile) : c ? jSe(n.company_profile) : [], u = kSe(n, e), d = MQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, D.useEffect)(() => {@@ -62238,7 +62279,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, O.jsx)(ASe, {+ children: [/* @__PURE__ */ (0, O.jsx)(ISe, {kind: e,name: t,helpers: o,@@ -62246,7 +62287,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, O.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, O.jsx)(mSe, {+ children: /* @__PURE__ */ (0, O.jsx)(bSe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62261,13 +62302,13 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(ySe, {+ e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(TSe, {current: n.canonical_name,- choices: SSe(n),+ choices: OSe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, O.jsx)(Qz, { item: {+ n.id ? /* @__PURE__ */ (0, O.jsx)(Zz, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62275,7 +62316,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, O.jsx)(jSe, {+ /* @__PURE__ */ (0, O.jsx)(LSe, {kind: e,entity: n,actions: a@@ -62296,14 +62337,14 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(LSe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(USe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(RSe, {+ d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(WSe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(PSe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(BSe, {follow: n.follow,entity: n,actions: a@@ -62312,11 +62353,11 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, O.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(FSe, {+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(VSe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, O.jsx)(ISe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, O.jsx)(HSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62335,7 +62376,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${OSe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${PSe(e)}` }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62343,14 +62384,14 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {+ }), i ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(SQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function ASe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function ISe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${B(xn(t))}</span>`);return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -62359,8 +62400,8 @@ function ASe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function jSe({ kind: e, entity: t, actions: n }) {- let r = OQ(t), i = (e, t) => (r) => {+function LSe({ kind: e, entity: t, actions: n }) {+ let r = kQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, O.jsx)("a", {href: en("agency", r.name, r.id),@@ -62369,41 +62410,41 @@ function jSe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = DSe(t.name_groups);+ let e = NSe(t.name_groups);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, O.jsx)(NQ, { entity: t }),+ /* @__PURE__ */ (0, O.jsx)(PQ, { entity: t }),/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(NSe, {+ t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(zSe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, O.jsx)(SQ, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(CQ, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(EQ, {+ e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(DQ, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(PQ, {+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(FQ, {label: e.label,names: e.names}, t)) })@@ -62425,61 +62466,61 @@ function jSe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, O.jsx)(NQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, O.jsx)(PQ, { entity: t }) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {href: en("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, O.jsx)(MSe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, O.jsx)(RSe, { aliases: s }) : null]});}-function MSe({ aliases: e }) {- let { shown: t, rest: n } = MQ(e, 3);+function RSe({ aliases: e }) {+ let { shown: t, rest: n } = NQ(e, 3);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, O.jsx)(SQ, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(CQ, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, O.jsx)(EQ, {+ n ? /* @__PURE__ */ (0, O.jsx)(DQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(PQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(FQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function NSe({ follow: e, actions: t }) {+function zSe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62488,7 +62529,7 @@ function NSe({ follow: e, actions: t }) {})]});}-function PSe({ follow: e, entity: t, actions: n }) {+function BSe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, D.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62502,12 +62543,12 @@ function PSe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Fz, {+ children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Pz, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",- ...Bz(r === e.key),+ ...zz(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62522,14 +62563,14 @@ function PSe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function NQ({ entity: e }) {+function PQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function PQ({ label: e, names: t }) {+function FQ({ label: e, names: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, O.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {@@ -62538,20 +62579,20 @@ function PQ({ label: e, names: t }) {}, t))})] });}-function FSe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {+function VSe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function ISe({ tags: e }) {- let { shown: t, rest: n } = MQ(e);+function HSe({ tags: e }) {+ let { shown: t, rest: n } = NQ(e);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, O.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, O.jsx)(EQ, {+ }, e)), n ? /* @__PURE__ */ (0, O.jsx)(DQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62567,10 +62608,10 @@ function ISe({ tags: e }) {})}) : null] });}-function FQ({ mark: e }) {+function IQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, O.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: e.brand })+ children: /* @__PURE__ */ (0, O.jsx)(CQ, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, O.jsx)("span", {@@ -62578,7 +62619,7 @@ function FQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function LSe({ link: e }) {+function USe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, O.jsx)("a", {"data-link": "icon",@@ -62587,19 +62628,19 @@ function LSe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(FQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, O.jsx)(IQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, O.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(FQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, O.jsx)(IQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, O.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, O.jsx)(FQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(IQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62611,7 +62652,7 @@ function LSe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, O.jsx)(FQ, { mark: e.mark }),+ /* @__PURE__ */ (0, O.jsx)(IQ, { mark: e.mark }),/* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.text@@ -62626,7 +62667,7 @@ function LSe({ link: e }) {});}}-function RSe({ entity: e, actions: t, helpers: n }) {+function WSe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!!e.feed?.following), [a, o] = (0, D.useState)(!1), s = (0, D.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62644,34 +62685,34 @@ function RSe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entry-marks": "",- children: [jQ(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [MQ(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(SQ, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(CQ, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, O.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(vSe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(wSe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: xSe(r)+ tip: DSe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var zSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function BSe(e, t, n) {+var GSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function KSe(e, t, n) {let [r, i] = (0, D.useState)(() => Ri(e));r.author !== e && i(Ri(e));let [a, o] = (0, D.useState)({@@ -62750,7 +62791,7 @@ function BSe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: xi,- seed: zSe()+ seed: GSe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -62781,7 +62822,7 @@ function BSe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function VSe(e) {+function qSe(e) {let { kind: t, name: n } = e, r = St(XX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a@@ -62800,17 +62841,17 @@ function VSe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+ ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(hW, {message: An(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(WSe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(XSe, {...e,entity: r.data});}-function IQ(e) {+function LQ(e) {let [t, n] = (0, D.useState)({key: e,n: 1@@ -62822,22 +62863,22 @@ function IQ(e) {};return n(r), r.n;}-var HSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function USe(e, t) {+var JSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function YSe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function WSe(e) {+function XSe(e) {let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = wt(ZX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || QX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0} : UX, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = BSe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = KSe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = YX(e), M = St(j), N = IQ(JSON.stringify([j.queryKey, k])), [P] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = YX(e), M = St(j), N = LQ(JSON.stringify([j.queryKey, k])), [P] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, D.useLayoutEffect)(() => {s.javContext(P);}, [s, P]);@@ -62850,7 +62891,7 @@ function WSe(e) {}, te = (0, D.useCallback)((e, r, a) => JX(t, n, i, F, e, r, a), [N]), [I, ne] = (0, D.useState)({}), re = v.set, ie = I[re] || "", ae = wt({...ZX(t, n, re, ie),enabled: w === "photos"- }), oe = ae.data?.pages[0], se = IQ(JSON.stringify(GX(t, n, re, ie))), ce = (0, D.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = LQ(JSON.stringify(GX(t, n, re, ie))), ce = (0, D.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];@@ -63050,7 +63091,7 @@ function WSe(e) {await U.fetchQuery(a).catch(() => null);return;}- let r = HSe(), a = await U.fetchInfiniteQuery(ZX(t, n, re, r)).catch(() => null);+ let r = JSe(), a = await U.fetchInfiniteQuery(ZX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -63085,7 +63126,7 @@ function WSe(e) {k: e.k,label: fl(e.k),n: e.n,- selected: Cbe(i.tag, e.k)+ selected: Abe(i.tag, e.k)})), Te = [u.length,!_,@@ -63127,7 +63168,7 @@ function WSe(e) {Pe = !M.data;let e = KX(i.tag).length;Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : USe(oe, QX(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : YSe(oe, QX(oe).length) : Pe = ae.isPending;let Fe = (0, D.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63144,7 +63185,7 @@ function WSe(e) {u]);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(kSe, {+ /* @__PURE__ */ (0, O.jsx)(FSe, {kind: t,name: n,entity: r,@@ -63154,7 +63195,7 @@ function WSe(e) {actions: be,helpers: xe}, k),- (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(fge, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(hge, {kind: t,name: n,view: w,@@ -63171,9 +63212,9 @@ function WSe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Qhe, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(tge, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Lxe, {+ children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Wxe, {view: T.view,media: T.media,result: T.result,@@ -63187,16 +63228,16 @@ function WSe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(hW, {message: An(M.error),onRetry: () => {M.refetch();}- }) : je ? /* @__PURE__ */ (0, O.jsx)(GSe, {+ }) : je ? /* @__PURE__ */ (0, O.jsx)(ZSe, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, O.jsx)(nxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(lxe, {kind: t,name: n,view: w,@@ -63228,9 +63269,9 @@ function WSe(e) {}), c.body)] });}-function GSe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("search"),+function ZSe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -63238,14 +63279,14 @@ function GSe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("film"),+ }) : /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/",children: "浏览馆藏"@@ -63255,21 +63296,21 @@ function GSe({ filtered: e, onShowAll: t, onOnline: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var LQ = ["diagnostics"], RQ = (e) => V("/api/diagnostics", e);-async function KSe(e) {+var RQ = ["diagnostics"], zQ = (e) => V("/api/diagnostics", e);+async function QSe(e) {await U.fetchQuery({- queryKey: LQ,- queryFn: () => RQ(e),+ queryKey: RQ,+ queryFn: () => zQ(e),staleTime: 1e4});}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function qSe({ host: e, revision: t, helpers: n, actions: r }) {+function $Se({ host: e, revision: t, helpers: n, actions: r }) {let i = St(BX(null, n.feedRowHtml)), a = (0, D.useRef)(t);return (0, D.useEffect)(() => {a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: zX(null) }));- }, [t]), (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {+ }, [t]), (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(SQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,@@ -63279,16 +63320,16 @@ function qSe({ host: e, revision: t, helpers: n, actions: r }) {}//#endregion//#region src/react/components/board-tabs.tsx-function zQ({ value: e }) {+function BQ({ value: e }) {return /* @__PURE__ */ (0, O.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 JSe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";-function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, D.useRef)(null), o = FF(a);+var eCe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function VQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, D.useRef)(null), o = NF(a);return (0, D.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63297,7 +63338,7 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, O.jsx)(rF, {+ }, [t]), /* @__PURE__ */ (0, O.jsx)(nF, {ref: o,role: "tablist","aria-label": n,@@ -63312,7 +63353,7 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? Rz(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? Lz(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -63321,7 +63362,7 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: JSe,+ className: eCe,onClick: () => {i || r(e.value);},@@ -63332,11 +63373,11 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var VQ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var HQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), HQ = Rz("pencil"), UQ = (e, t) => ({+}), UQ = Lz("pencil"), WQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63345,7 +63386,7 @@ var VQ = () => /* @__PURE__ */ (0, O.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function YSe({ tag: e, actions: t }) {+function tCe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63360,7 +63401,7 @@ function YSe({ tag: e, actions: t }) {onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, O.jsx)(VQ, {}),+ /* @__PURE__ */ (0, O.jsx)(HQ, {}),/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63371,32 +63412,32 @@ function YSe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Qz, { item: UQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, O.jsx)(Zz, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Zz, { item: WQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, O.jsx)(Xz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(HQ, {})+ children: /* @__PURE__ */ (0, O.jsx)(UQ, {})}) : null]});}-function WQ({ groups: e, actions: t }) {+function GQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {"data-alpha-group": r,- className: MH({+ className: jH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, O.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, O.jsx)(zQ, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, O.jsx)(BQ, { value: n.length })]}), /* @__PURE__ */ (0, O.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(YSe, {+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(tCe, {tag: e,actions: t}, e.k))@@ -63404,8 +63445,8 @@ function WQ({ groups: e, actions: t }) {}, e))});}-var XSe = "\xA0";-function GQ({ tags: e, actions: t }) {+var nCe = "\xA0";+function KQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",@@ -63423,7 +63464,7 @@ function GQ({ tags: e, actions: t }) {className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",- children: e.label + XSe+ children: e.label + nCe}), /* @__PURE__ */ (0, O.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63432,16 +63473,16 @@ function GQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Qz, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(Zz, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Zz, { item: WQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(Xz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(HQ, {})+ children: /* @__PURE__ */ (0, O.jsx)(UQ, {})}) : null]}) : null]}, e.k))});}-var ZSe = [[+var rCe = [["cloud","标签云","tags"@@ -63450,28 +63491,28 @@ var ZSe = [["字母表","text-aa"]];-function KQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = FF();- return /* @__PURE__ */ (0, O.jsx)(zF, {+function qQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = NF();+ return /* @__PURE__ */ (0, O.jsx)(LF, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [l ? /* @__PURE__ */ (0, O.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(VF, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(zF, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-tag-pill": "","data-tag-cat": e === "all" ? "all" : fZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, O.jsx)(VQ, {}), r]+ children: [/* @__PURE__ */ (0, O.jsx)(HQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {@@ -63492,19 +63533,19 @@ function KQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, O.jsx)(CR, {+ /* @__PURE__ */ (0, O.jsx)(SR, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${xU}`,- children: ZSe.map(([e, t, n]) => {- let r = Rz(n);- return /* @__PURE__ */ (0, O.jsx)(wR, {+ className: `ml-auto ${TU}`,+ children: rCe.map(([e, t, n]) => {+ let r = Lz(n);+ return /* @__PURE__ */ (0, O.jsx)(CR, {value: e,"aria-label": t,"data-glass-segment": "",- className: SU,+ className: EU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63516,13 +63557,13 @@ function KQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function QSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, O.jsxs)(Ck, {+function iCe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, O.jsxs)(yk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, O.jsx)(rV, {+ /* @__PURE__ */ (0, O.jsx)(nV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, O.jsxs)("span", {@@ -63554,29 +63595,29 @@ function QSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/toaster.tsx-var qQ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {+var JQ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), JQ = null, YQ = { "--floating-radius": "var(--radius-2xl)" };-function XQ() {- let e = JQ;- JQ = null, e?.root.unmount();-}-var ZQ = (e, t) => {- if (JQ?.host === e) return;- XQ();+}), YQ = null, XQ = { "--floating-radius": "var(--radius-2xl)" };+function ZQ() {+ let e = YQ;+ YQ = null, e?.root.unmount();+}+var QQ = (e, t) => {+ if (YQ?.host === e) return;+ ZQ();let n = (0, Et.createRoot)(e);- JQ = {+ YQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, O.jsxs)(eH, { children: [/* @__PURE__ */ (0, O.jsx)(cH, {+ }, n.render(/* @__PURE__ */ (0, O.jsxs)($V, { children: [/* @__PURE__ */ (0, O.jsx)(sH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...YQ,+ ...XQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63591,16 +63632,16 @@ var ZQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: qQ(t.success, !0),- error: qQ(t.error, !1)+ success: JQ(t.success, !0),+ error: JQ(t.error, !1)}- }), /* @__PURE__ */ (0, O.jsx)(cH, {+ }), /* @__PURE__ */ (0, O.jsx)(sH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...YQ,+ ...XQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63615,13 +63656,13 @@ var ZQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, $Se = 6e3, QQ = (e, t) => {+}, aCe = 6e3, $Q = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? rH.error : rH.success, r = t.action;+ let n = t.alert ? nH.error : nH.success, r = t.action;n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : $Se,+ duration: t.timeout > 0 ? t.timeout : aCe,action: r ? {label: r.label,onClick: (e) => {@@ -63629,32 +63670,32 @@ var ZQ = (e, t) => {}} : void 0});-}, $Q = (e) => e.id ?? e.entity_id, e$ = {+}, e$ = (e) => e.id ?? e.entity_id, t$ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",restore: "恢复标签",repair: "整理重复标签"-}, t$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);-async function n$(e, t, n) {+}, n$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);+async function r$(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await xc({- title: e$[e.operation],+ title: t$[e.operation],body: i,- confirmLabel: e$[e.operation],+ confirmLabel: t$[e.operation],onConfirm: () => H("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), QQ(`tag-management-${Date.now()}`, {- html: `已${e$[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), $Q(`tag-management-${Date.now()}`, {+ html: `已${t$[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function oCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, D.useRef)({operation: e,selected: t,@@ -63663,24 +63704,24 @@ function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"scope: i}), o = (0, D.useRef)({name: t[0]?.k || "",- target_id: t[0] ? $Q(t[0]) : 0+ target_id: t[0] ? e$(t[0]) : 0}), [s, c] = (0, D.useState)(null);return (0, D.useEffect)(() => {let e = new AbortController(), t = a.current, n = yc({- title: e$[t.operation],+ title: t$[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map($Q),+ ids: t.selected.map(e$),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await t$(n, e.signal)+ plan: await n$(n, e.signal)};}});@@ -63691,14 +63732,14 @@ function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await n$(r.command, r.plan, e.signal) && t.done();+ await r$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(tCe, {+ }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(sCe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63707,8 +63748,8 @@ function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function tCe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? $Q(t[0]) : 0);+function sCe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? e$(t[0]) : 0);return (0, D.useEffect)(() => {r({name: i,@@ -63721,7 +63762,7 @@ function tCe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Mz, {+ ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(jz, {autoFocus: !0,"aria-label": "标签名称",value: i,@@ -63732,22 +63773,22 @@ function tCe({ operation: e, selected: t, dialog: n, update: r }) {prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String($Q(t)) === String(e));- n && s($Q(n));+ let n = t.find((t) => String(e$(t)) === String(e));+ n && s(e$(n));},- children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {- id: String($Q(e)),+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {+ id: String(e$(e)),children: e.k- }, $Q(e)))+ }, e$(e)))});}//#endregion//#region src/react/index/tag-manager.tsx-function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function cCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = St({queryKey: ["tag-management", o],queryFn: ({ signal: e }) => V(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = AH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? rZ : nZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = kH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? rZ : nZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k})), x = n === "alphabet" ? pZ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {@@ -63756,11 +63797,11 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor...e,scope: o} : e;- return n$(n, await t$(n, t), t);+ return r$(n, await n$(n, t), t);}, (e) => {e && f(/* @__PURE__ */ new Set());});- }, w = S.map($Q), T = {+ }, w = S.map(e$), T = {online: s,favorites: s,picked: d,@@ -63777,7 +63818,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"data-tag-manager": "",className: "flex min-w-0 flex-col",children: [- /* @__PURE__ */ (0, O.jsx)(KQ, {+ /* @__PURE__ */ (0, O.jsx)(qQ, {categories: y,category: t,online: s,@@ -63796,7 +63837,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(UF, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(VF, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -63804,11 +63845,11 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, O.jsx)(UF, {+ v.length ? /* @__PURE__ */ (0, O.jsx)(VF, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, O.jsx)(UF, {+ d.size ? /* @__PURE__ */ (0, O.jsx)(VF, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -63818,8 +63859,8 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"aria-busy": "true","data-skeleton": "",className: "h-24 rounded-lg bg-background-tertiary-default",- children: /* @__PURE__ */ (0, O.jsx)(uw, { children: "正在读取标签" })- }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(ow, { children: "正在读取标签" })+ }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -63827,21 +63868,21 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategorchildren: "立即重试"}),children: "无法读取标签"- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(WQ, {+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(GQ, {groups: x,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(GQ, {+ }) : /* @__PURE__ */ (0, O.jsx)(KQ, {tags: b,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",children: "没有符合条件的标签。"}),- h.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ h.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, O.jsxs)(Ck, {+ /* @__PURE__ */ (0, O.jsxs)(yk, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,@@ -63863,7 +63904,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(!!h.busy),+ ...zz(!!h.busy),onClick: () => C({operation: l ? "restore" : "hide",ids: w@@ -63872,7 +63913,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, O.jsx)(eCe, {+ p ? /* @__PURE__ */ (0, O.jsx)(oCe, {operation: p,selected: S,scope: o,@@ -63884,7 +63925,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var rCe = [{+var lCe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -63892,7 +63933,7 @@ var rCe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], iCe = [{+}], uCe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -63900,7 +63941,7 @@ var rCe = [{value: "online",label: "在线",symbol: "rss"-}], aCe = [+}], dCe = [{value: "performers",label: "艺人",@@ -63916,7 +63957,7 @@ var rCe = [{label: "在线",symbol: "rss"}-], oCe = {+], fCe = {people: [["big","大图 · 竖幅头像",@@ -63936,20 +63977,20 @@ var rCe = [{"layout-grid"]]};-function sCe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, O.jsx)(vU, {+function pCe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, O.jsx)(SU, {"aria-label": `${tZ[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${yU}`,- children: oCe[oZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = Rz(n);- return /* @__PURE__ */ (0, O.jsx)(wR, {+ className: `flex-none ${CU}`,+ children: fCe[oZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = Lz(n);+ return /* @__PURE__ */ (0, O.jsx)(CR, {value: e,"aria-label": t,- className: rge,+ className: oge,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63959,8 +64000,8 @@ function sCe({ kind: e, layout: t, onChange: n }) {})});}-var cCe = Rz("search");-function lCe({ label: e, value: t, onQuery: n }) {+var mCe = Lz("search");+function hCe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);(0, D.useEffect)(() => {clearTimeout(o.current), i(t);@@ -63977,15 +64018,15 @@ function lCe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, O.jsx)(kz, {+ children: /* @__PURE__ */ (0, O.jsx)(Oz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, O.jsx)(jz, {+ children: /* @__PURE__ */ (0, O.jsx)(Az, {type: "search",- leadingIcon: cCe,+ leadingIcon: mCe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -63996,7 +64037,7 @@ function lCe({ label: e, value: t, onQuery: n }) {})});}-function uCe(e) {+function gCe(e) {let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => sZ({kind: e.kind,q: e.q,@@ -64031,7 +64072,7 @@ function uCe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: b ? _e : void 0- }), T = Rbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = zbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;+ }), T = Gbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Kbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M@@ -64054,8 +64095,8 @@ function uCe(e) {v]), I = (t) => {o(t), e.savePreference({ layout: t });- }, ne = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: iCe,+ }, ne = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(VQ, {+ tabs: uCe,value: m,label: "词表",onChange: (e) => {@@ -64065,8 +64106,8 @@ function uCe(e) {view: e === "online" ? "alphabet" : h});}- }) : oZ(f) ? /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: rCe,+ }) : oZ(f) ? /* @__PURE__ */ (0, O.jsx)(VQ, {+ tabs: lCe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })@@ -64095,18 +64136,18 @@ function uCe(e) {className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",children: w.isPending || w.isError ? "" : k}) : null,- aZ(f) ? /* @__PURE__ */ (0, O.jsx)(sCe, {+ aZ(f) ? /* @__PURE__ */ (0, O.jsx)(pCe, {kind: f,layout: a,onChange: I}) : null,- /* @__PURE__ */ (0, O.jsx)($z, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, O.jsx)(Qz, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, O.jsx)(J, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: Rz("pencil"),+ leadingIcon: Lz("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64114,7 +64155,7 @@ function uCe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, O.jsx)(lCe, {+ /* @__PURE__ */ (0, O.jsx)(hCe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64123,8 +64164,8 @@ function uCe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: aCe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(VQ, {+ tabs: dCe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64136,7 +64177,7 @@ function uCe(e) {}}) : null,ne,- t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(nCe, {+ t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(cCe, {scope: m,search: p,category: g,@@ -64159,7 +64200,7 @@ function uCe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(KQ, {+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(qQ, {categories: ie,category: g,online: v,@@ -64184,8 +64225,8 @@ function uCe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("alert"),+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -64194,7 +64235,7 @@ function uCe(e) {}),children: Ut(w.error)});- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(fCe, {+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(vCe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64203,7 +64244,7 @@ function uCe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, O.jsx)(Wbe, {+ if (y) return /* @__PURE__ */ (0, O.jsx)(Zbe, {items: T,layout: a,props: e@@ -64219,10 +64260,10 @@ function uCe(e) {picked: s,press: re};- return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(WQ, {+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(GQ, {groups: te,actions: t- }) : /* @__PURE__ */ (0, O.jsx)(GQ, {+ }) : /* @__PURE__ */ (0, O.jsx)(KQ, {tags: F,actions: t});@@ -64243,7 +64284,7 @@ function uCe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(QSe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(iCe, {count: s.size,match: l,onMatch: u,@@ -64257,16 +64298,16 @@ function uCe(e) {]});}-var dCe = {+var _Ce = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function fCe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("search"),+function vCe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -64275,16 +64316,16 @@ function fCe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : dCe[e], a = /* @__PURE__ */ (0, O.jsx)(JF, {+ let i = n && e === "performers" ? "创作者" : _Ce[e], a = /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: Lz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(JF, {+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64292,15 +64333,15 @@ function fCe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var r$ = {+var i$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, pCe = (e) => r$[e.junk_kind || "other"] || r$.other;-function mCe(e) {+}, yCe = (e) => i$[e.junk_kind || "other"] || i$.other;+function bCe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64311,21 +64352,21 @@ function mCe(e) {glyph: "check"};}-var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), hCe = (e, t) => [+var a$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), xCe = (e, t) => ["junk-queue",e.view,e.kind,t];-function gCe({ kind: e, view: t }) {+function SCe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function _Ce(e, t) {- let n = await V(`/api/ads?${gCe(e)}`, t);+async function CCe(e, t) {+ let n = await V(`/api/ads?${SCe(e)}`, t);return {...n,items: n.items || []@@ -64333,19 +64374,19 @@ async function _Ce(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function a$({ name: e }) {+function o$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = pCe(e), m = String(e.name || ""), h = mCe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {- t.target.closest("[data-junk-actions]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var s$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function wCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = yCe(e), m = String(e.name || ""), h = bCe(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]") || s$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), o$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), s$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -64376,7 +64417,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: PW,+ onMouseDown: zW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",@@ -64384,7 +64425,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, O.jsx)(o$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -64396,7 +64437,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(a$, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(o$, { name: "check" })})]}),@@ -64433,7 +64474,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: ns("正在定位") }- }) : /* @__PURE__ */ (0, O.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {+ }) : /* @__PURE__ */ (0, O.jsx)(o$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64445,7 +64486,7 @@ function vCe({ 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, O.jsx)(a$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(o$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64457,7 +64498,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(o$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64472,7 +64513,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var yCe = (0, D.memo)(vCe), s$ = [+var TCe = (0, D.memo)(wCe), c$ = [["","全部",@@ -64508,41 +64549,41 @@ var yCe = (0, D.memo)(vCe), s$ = ["其它","hard-drive"]-], bCe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";-function c$(e) {+], ECe = (e) => c$.find(([t]) => t === e)?.[0] ?? "";+function l$(e) {let t = new URLSearchParams(e);return {- kind: bCe(t.get("type")),+ kind: ECe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function l$(e = "", t = "pending") {+function u$(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 u$(e) {+function d$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: l$("", "pending")+ href: u$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: l$("", "dismissed")+ href: u$("", "dismissed")};}-var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function xCe({ kind: e, view: t }) {- let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${B(r)}</a>`).join(""), r = u$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(d$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;+var f$ = (e) => e === "dismissed" ? "已排除" : "待判断", p$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function DCe({ kind: e, view: t }) {+ let n = c$.map(([n, r, i]) => `<a href="${u$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${p$(i)}${B(r)}</a>`).join(""), r = d$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(f$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${p$(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/components/collection-summary.tsx-function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function m$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, O.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@@ -64569,31 +64610,31 @@ function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/junk-queue/junk-count.tsx-function m$({ name: e }) {+function h$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function h$({ scope: e, count: t }) {+function g$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function SCe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = iV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = KF(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(s), u = (e) => {+function OCe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = rV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = WF(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? c$.map(([e]) => a$(t, e)).join(",") : ""}`), l = d$(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") || l$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || u$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, O.jsx)(p$, {- label: d$(s),+ children: /* @__PURE__ */ (0, O.jsx)(m$, {+ label: f$(s),figure: d,pending: !t && !n,flush: !0@@ -64613,17 +64654,17 @@ function SCe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- s$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {- href: l$(e, s),+ c$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {+ href: u$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(m$, { name: r }),+ /* @__PURE__ */ (0, O.jsx)(h$, { name: r }),n,- /* @__PURE__ */ (0, O.jsx)(h$, {+ /* @__PURE__ */ (0, O.jsx)(g$, {scope: e,- count: t ? i$(t, e) : 0+ count: t ? a$(t, e) : 0})]}, e || "all")),@@ -64637,9 +64678,9 @@ function SCe({ 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, O.jsx)(m$, { name: l.glyph }),+ /* @__PURE__ */ (0, O.jsx)(h$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, O.jsx)(h$, {+ /* @__PURE__ */ (0, O.jsx)(g$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64652,33 +64693,33 @@ function SCe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var CCe = Rz("check"), wCe = (e, t) => e[1] === t.view && e[2] === t.kind;-function TCe(e) {+var kCe = Lz("check"), ACe = (e, t) => e[1] === t.view && e[2] === t.kind;+function jCe(e) {let t = {kind: e.kind,view: e.view}, n = St({- queryKey: hCe(t, e.revision),- queryFn: ({ signal: e }) => _Ce(t, e),- placeholderData: (e, n) => n && wCe(n.queryKey, t) ? e : void 0+ queryKey: xCe(t, e.revision),+ queryFn: ({ signal: e }) => CCe(t, e),+ placeholderData: (e, n) => n && ACe(n.queryKey, t) ? e : void 0});(0, D.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = ECe(e.countRow), i = n.isPending;+ let r = MCe(e.countRow), i = n.isPending;(0, D.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, D.useLayoutEffect)(() => {r && n.data && ms(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(SCe, {+ let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(OCe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(DCe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(NCe, {props: e,data: n.data,pending: i,@@ -64686,7 +64727,7 @@ function TCe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function ECe(e) {+function MCe(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -64696,8 +64737,8 @@ function ECe(e) {};}, [e]), t;}-function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = lW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {+function NCe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = mW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -64705,16 +64746,16 @@ function DCe({ 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, O.jsx)(uW, {+ if (!t) return /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: CCe,+ return /* @__PURE__ */ (0, O.jsx)(Fz, {+ icon: kCe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: t ? /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64727,7 +64768,7 @@ function DCe({ 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, O.jsx)(yCe, {+ children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(TCe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64736,7 +64777,7 @@ function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(OCe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(PCe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, O.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64746,14 +64787,14 @@ function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function OCe({ onMore: e }) {+function PCe({ onMore: e }) {let t = (0, D.useRef)(null);return (0, D.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: cW });+ }, { rootMargin: pW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,@@ -64764,18 +64805,18 @@ function OCe({ onMore: e }) {}//#endregion//#region src/react/wants/wants.ts-var g$ = "/api/wants", _$ = ["wants"], kCe = (e) => [+var _$ = "/api/wants", v$ = ["wants"], FCe = (e) => ["wants","follow",e-], ACe = [+], ICe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], v$ = (e) => V(g$, e);-function jCe(e, t) {- U.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], y$ = (e) => V(_$, e);+function LCe(e, t) {+ U.setQueryData(v$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -64783,39 +64824,39 @@ function jCe(e, t) {} : n)} : n);}-var MCe = (e, t) => V(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => H(g$, {+var RCe = (e, t) => V(`${_$}?follow=${encodeURIComponent(e)}`, t), b$ = (e, t) => H(_$, {action: "add",...e-}, "POST", t), b$ = (e, t) => H(g$, {+}, "POST", t), x$ = (e, t) => H(_$, {action: "remove",ids: e-}, "POST", t), NCe = (e, t) => H(g$, {+}, "POST", t), zCe = (e, t) => H(_$, {action: "reset",ids: e-}, "POST", t), x$ = () => U.invalidateQueries({ queryKey: _$ }), PCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function FCe(e) {+}, "POST", t), S$ = () => U.invalidateQueries({ queryKey: v$ }), BCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function VCe(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/jav/jav-navigation.ts-var S$ = [+var C$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", ICe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function LCe(e) {+], w$ = (e) => C$.some(([t]) => t === e) ? e : "library", HCe = (e) => w$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function UCe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}//#endregion//#region src/react/jav/jav.ts-var w$ = (e, t = "taste", n = "desc") => [+var T$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function T$(e, t, n = {}) {+function E$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -64824,7 +64865,7 @@ function T$(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), V(`/api/jav/discoveries?${r}`, t);}-function RCe(e, t, n) {+function WCe(e, t, n) {let r = Wa({...e,is_jav: !0@@ -64833,84 +64874,84 @@ function RCe(e, t, n) {let i = B(Ma(e));return Ha(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function zCe(e, t) {+async function GCe(e, t) {e === "wants" ? await U.ensureQueryData({- queryKey: _$,- queryFn: () => v$(t),+ queryKey: v$,+ queryFn: () => y$(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await U.ensureQueryData({- queryKey: w$("external"),- queryFn: () => T$("external", t),+ queryKey: T$("external"),+ queryFn: () => E$("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/components/fieldset-layout.ts-var E$ = MH({+var D$ = jH({padding: "none",bordered: "line",className: "overflow-hidden"-}), D$ = {+}), O$ = {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"-}, O$ = {+}, k$ = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function k$(e) {- return `${E$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function A$(e) {+ return `${D$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}//#endregion//#region src/management.ts-var A$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", BCe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2">+var j$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", M$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", N$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", P$ = "disabled data-skeleton-action", KCe = "aria-disabled=\"true\"", F$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, I$ = (e, t, n) => `<div class="${O$[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function VCe() {- return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>- ${F$("扫描与采集", A$, "stack")}- <footer class="${O$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({+function qCe() {+ return F$(`<section aria-label="扫描与采集" class="${A$("stack")}" data-cleanup-task data-cleanup-processing>+ ${I$("扫描与采集", j$, "stack")}+ <footer class="${k$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({label: "同步媒体库",- attrs: N$+ attrs: P$})}${Wo({glyph: "chevron-down",- attrs: `${N$} aria-label="更多同步方式"`+ attrs: `${P$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function HCe() {- return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>- ${F$("媒体修复", j$, "split")}- <footer class="${O$.split}">${Ko(M$, {+function JCe() {+ return F$(`<section aria-label="媒体修复" class="${A$("split")}" data-cleanup-task data-cleanup-processing>+ ${I$("媒体修复", M$, "split")}+ <footer class="${k$.split}">${Ko(N$, {className: "w-48",- attrs: BCe+ attrs: KCe})}${Wo({label: "开始修复",- attrs: N$+ attrs: P$})}</footer></section>`);}-function I$() {+function L$() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${Wo({+ ], t = D$, n = O$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${k$.stack}">${Wo({label: e,- attrs: N$+ attrs: P$})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${N$}</strong><span class="text-caption-1-regular">${N$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${VCe()}</div><div id="mediaRepair">${HCe()}</div>+ <div id="libraryProcessing">${qCe()}</div><div id="mediaRepair">${JCe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(N$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({variant: "secondary",- label: M$,- attrs: N$+ label: N$,+ attrs: P$})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -64918,60 +64959,60 @@ function I$() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${N$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${N$}</div></div>${i("检查死链")}</div></section></div></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var UCe = MH({+var YCe = jH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), WCe = "border-t border-border-button-default p-4 first:border-t-0";-function L$({ id: e, gap: t = "none", children: n }) {+}), XCe = "border-t border-border-button-default p-4 first:border-t-0";+function R$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, O.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function z$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, O.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: k$(e),+ className: A$(e),children: [/* @__PURE__ */ (0, O.jsx)("div", {- className: D$[e],+ className: O$[e],children: a}), i ? /* @__PURE__ */ (0, O.jsx)("footer", {- className: O$[e],+ className: k$[e],children: i}) : null]});}//#endregion//#region src/react/components/status-label.tsx-var GCe = {+var ZCe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function z$({ tone: e = "neutral", ...t }) {+function B$({ tone: e = "neutral", ...t }) {return /* @__PURE__ */ (0, O.jsx)(hZ, {"data-status-tone": e,variant: "caption",- color: GCe[e],+ color: ZCe[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function KCe({ className: e }) {+function QCe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -64984,8 +65025,8 @@ function KCe({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })});}-var qCe = "打开文件管理器失败,请重试";-function B$({ path: e, prefix: t, className: n, onRevealed: r }) {+var $Ce = "打开文件管理器失败,请重试";+function V$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);(0, D.useEffect)(() => () => {c.current = !1;@@ -64996,7 +65037,7 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {try {await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof On ? e.message : qCe);+ c.current && s(e instanceof On ? e.message : $Ce);} finally {c.current && a(!1);}@@ -65007,15 +65048,15 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("p", {- className: eF("min-w-0 break-all", n),+ className: $P("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, O.jsx)(MF, {- icon: KCe,+ }), /* @__PURE__ */ (0, O.jsx)(AF, {+ icon: QCe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...Bz(i)+ ...zz(i)})]}), o ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65025,24 +65066,24 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var JCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", YCe = (e) => {+var ewe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", twe = (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(",")}。`;-}, XCe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + YCe(e);-function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = qme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Wme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = iV();+}, nwe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + twe(e);+function rwe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = Jme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Gme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = rV();return /* @__PURE__ */ (0, O.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "warning",title: "处理较慢",- children: JCe+ children: ewe}) : null,- c ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ c ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",className: "gap-0 p-3",action: o ? /* @__PURE__ */ (0, O.jsx)(J, {@@ -65054,7 +65095,7 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, O.jsxs)(KH, {+ children: /* @__PURE__ */ (0, O.jsxs)(GH, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, O.jsx)("div", {@@ -65086,7 +65127,7 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(B$, {+ children: /* @__PURE__ */ (0, O.jsx)(V$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65097,17 +65138,17 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "success",title: "处理完成",- children: XCe(n)+ children: nwe(n)}) : null,- !dH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ !uH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !l ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(B$, {+ children: /* @__PURE__ */ (0, O.jsx)(V$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65119,71 +65160,79 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function V$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = jH(e), o = Ct({- mutationFn: (e) => H(lH, e),+function H$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = AH(e), o = Ct({+ mutationFn: (e) => H(cH, e),onSuccess: (e) => {- a(), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });+ a(), U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });}});(0, D.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? An(o.error) : r.isError ? r.data ? hH : An(r.error) : "", l = o.isPending || dH(s), u = async (e) => {- l || (o.reset(), await o.mutateAsync(e));+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = sU(c), u = o.error ? An(o.error) : r.isError ? r.data ? mH : An(r.error) : "", d = o.isPending || uH(s), f = async (e) => {+ d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, O.jsx)(R$, {+ children: [/* @__PURE__ */ (0, O.jsx)(z$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(xH, {+ /* @__PURE__ */ (0, O.jsx)(bH, {href: "/sources",size: "small",- trailingIcon: uz,+ trailingIcon: lz,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, O.jsx)(xH, {+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(bH, {href: "/review",size: "small",- trailingIcon: uz,+ trailingIcon: lz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, O.jsx)(oK, {+ /* @__PURE__ */ (0, O.jsx)(dK, {scan: !0,- busy: l,+ busy: d,metadataOnly: s?.metadata_only,speedMode: s.speed_mode,- onRun: u+ onRun: f})] }),children: /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(L$, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, O.jsxs)("div", {+ className: "flex flex-wrap items-center justify-between gap-2",+ children: [/* @__PURE__ */ (0, O.jsx)(R$, { children: "扫描与采集" }), l && (uH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, O.jsx)(J, {+ variant: "secondary",+ size: "small",+ onClick: () => oU(c, !0),+ children: "显示进度浮窗"+ }) : null]+ }),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: A$+ children: j$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, O.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, O.jsx)(z$, { children: "已暂停" })- }) : dH(s) ? /* @__PURE__ */ (0, O.jsx)(uhe, { state: s }) : null,- dH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {+ children: /* @__PURE__ */ (0, O.jsx)(B$, { children: "已暂停" })+ }) : uH(s) ? /* @__PURE__ */ (0, O.jsx)(dhe, { state: s }) : null,+ uH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: fH(s)+ children: dH(s)}) : null,- dH(s) ? /* @__PURE__ */ (0, O.jsx)(eU, { traffic: s.traffic }) : null+ uH(s) ? /* @__PURE__ */ (0, O.jsx)($H, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, O.jsx)(ZCe, {+ }), /* @__PURE__ */ (0, O.jsx)(rwe, {state: s,- problem: c,+ problem: u,settled: i,onRetry: () => {- s.job_id && s.retryable_asset_ids?.length && u({+ s.job_id && s.retryable_asset_ids?.length && f({job_id: s.job_id,retry: s.retryable_asset_ids}).catch(() => {});@@ -65194,32 +65243,32 @@ function V$(e) {}//#endregion//#region src/react/playlists/playlists.ts-var QCe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => V(QCe, e);-async function $Ce(e) {+var iwe = "/api/playlists", U$ = "/api/playlist", W$ = ["playlists"], G$ = (e) => V(iwe, e);+async function awe(e) {await U.fetchQuery({- queryKey: U$,- queryFn: () => W$(e),+ queryKey: W$,+ queryFn: () => G$(e),staleTime: 0});}-var ewe = () => U.invalidateQueries({- queryKey: U$,+var owe = () => U.invalidateQueries({+ queryKey: W$,exact: !0-}), twe = (e) => e.current_asset_id || e.preview_asset_id || null, nwe = (e) => `/poster?id=${e}&c=4`, rwe = (e) => H(H$, {+}), swe = (e) => e.current_asset_id || e.preview_asset_id || null, cwe = (e) => `/poster?id=${e}&c=4`, lwe = (e) => H(U$, {action: "create",name: e,asset_ids: []-}), iwe = (e, t) => H(H$, {+}), uwe = (e, t) => H(U$, {action: "rename",id: e,name: t-}), awe = (e) => H(H$, {+}), dwe = (e) => H(U$, {action: "delete",id: e-}), owe = (e) => V(`${H$}?id=${e}`).catch(() => null);-function swe(e) {+}), fwe = (e) => V(`${U$}?id=${e}`).catch(() => null);+function pwe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return H(H$, {+ return H(U$, {action: "create",name: e.name,asset_ids: t,@@ -65229,13 +65278,9 @@ function swe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => V(G$, e), cwe = "/api/scraping", lwe = "/api/scraping/settings", uwe = "/api/scraping/check", J$ = "/api/scraping/cover", dwe = "/api/scraping/amane-bridge", fwe = "/api/scraping/amane-bridge/check", pwe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], mwe = 262144, Q$ = (e) => V(cwe, e), $$ = (e) => V(J$, e), e1 = (e) => V(dwe, e);-async function hwe(e) {+var K$ = "/api/custom-metadata", q$ = ["custom-metadata"], J$ = (e) => V(K$, e), mwe = "/api/scraping", hwe = "/api/scraping/settings", gwe = "/api/scraping/check", Y$ = "/api/scraping/cover", _we = "/api/scraping/amane-bridge", vwe = "/api/scraping/amane-bridge/check", ywe = "/api/scraping/amane-bridge/rebuild", X$ = ["scraping"], Z$ = ["scraping", "cover"], Q$ = ["scraping", "amane-bridge"], bwe = 262144, $$ = (e) => V(mwe, e), e1 = (e) => V(Y$, e), t1 = (e) => V(_we, e);+async function xwe(e) {await Promise.all([- U.fetchQuery({- queryKey: Y$,- queryFn: () => Q$(e)- }),U.fetchQuery({queryKey: X$,queryFn: () => $$(e)@@ -65245,37 +65290,41 @@ async function hwe(e) {queryFn: () => e1(e)}),U.fetchQuery({- queryKey: K$,- queryFn: () => q$(e)+ queryKey: Q$,+ queryFn: () => t1(e)+ }),+ U.fetchQuery({+ queryKey: q$,+ queryFn: () => J$(e)})]);}-function gwe(e, t) {+function Swe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/search/search.ts-var t1 = /* @__PURE__ */ new Set([+var n1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), n1 = /* @__PURE__ */ new Set([+]), r1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), i1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function Cwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || r1(t).includes(r1(e)));+ }, d = t.filter((t) => !e || i1(t).includes(i1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65296,8 +65345,8 @@ function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !n1.has(e.kind)),- right: e.filter((e) => n1.has(e.kind)),+ left: e.filter((e) => !r1.has(e.kind)),+ right: e.filter((e) => r1.has(e.kind)),empty: !1,options: l};@@ -65347,7 +65396,7 @@ function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !r1.has(e.kind)).map(h), _ = m.filter((e) => r1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65357,17 +65406,17 @@ function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function vwe(e, t, n = Math.random) {+function wwe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => i1(t) === i1(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var ywe = () => ({+var Twe = () => ({history: [],pool: [],poolRequest: 0,@@ -65385,7 +65434,7 @@ var ywe = () => ({active: -1,reveal: !1,rewind: !1-}), i1 = (e) => _we({+}), a1 = (e) => Cwe({query: e.query,history: e.history,picks: e.picks,@@ -65394,18 +65443,18 @@ var ywe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), bwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+}), Ewe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), o1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});-function xwe(e) {+function Dwe(e) {let t = (0, D.useRef)(e);t.current = e;let n = (0, D.useRef)(null);- n.current ??= ywe();+ n.current ??= Twe();let r = n.current, i = (0, D.useRef)(null), [, a] = (0, D.useReducer)((e) => e + 1, 0), o = (0, D.useRef)(null);- o.current ??= Swe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= Owe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, D.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -65418,7 +65467,7 @@ function xwe(e) {let e = i.current?.closest("[data-search-menu]");r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;});- let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(wwe, {+ let c = a1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(Awe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65431,7 +65480,7 @@ function xwe(e) {children: [/* @__PURE__ */ (0, O.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, O.jsx)("a", {href: e.href,- onMouseDown: o1,+ onMouseDown: s1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65450,7 +65499,7 @@ function xwe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, O.jsx)(Cwe, {+ c.tabs ? /* @__PURE__ */ (0, O.jsx)(kwe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65477,7 +65526,7 @@ function xwe(e) {]});}-function Swe(e, t, n, r) {+function Owe(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 () => {@@ -65488,7 +65537,7 @@ function Swe(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), H("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => i1(e) !== i1(t))]), H("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65534,9 +65583,9 @@ function Swe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : vwe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : wwe(t.pool, o()), t.active = -1;let a = n();- a && (bwe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (Ewe(a1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65548,7 +65597,7 @@ function Swe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? i1(t).options : [], y = (e) => {+ }, v = () => p() ? a1(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -65557,7 +65606,7 @@ function Swe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && n1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65603,13 +65652,13 @@ function Swe(e, t, n, r) {await H("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => i1(t) !== i1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {+function kwe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {r(i.current);@@ -65623,9 +65672,9 @@ function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, O.jsx)(zQ, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, O.jsx)(BQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, O.jsxs)(rF, {+ return /* @__PURE__ */ (0, O.jsxs)(nF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65634,8 +65683,8 @@ function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var o1 = (e) => e.preventDefault();-function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var s1 = (e) => e.preventDefault();+function Awe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65647,33 +65696,33 @@ function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: o1,+ onMouseDown: s1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, O.jsx)(a1, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(o1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, O.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, O.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, O.jsx)(o1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, O.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: o1,+ onMouseDown: s1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, O.jsx)(a1, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(o1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = n1.has(c) ? c : void 0;if (["asset","jav",@@ -65687,8 +65736,8 @@ function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: o1,- children: [/* @__PURE__ */ (0, O.jsx)(s1, {+ onMouseDown: s1,+ children: [/* @__PURE__ */ (0, O.jsx)(c1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -65713,9 +65762,9 @@ function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: o1,+ onMouseDown: s1,children: [- /* @__PURE__ */ (0, O.jsx)(c1, {+ /* @__PURE__ */ (0, O.jsx)(l1, {item: s,kind: c}),@@ -65738,11 +65787,11 @@ function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-open-work": e.id,"aria-label": `打开 ${e.code || s.value}`,- onMouseDown: o1,+ onMouseDown: s1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, O.jsx)(s1, {+ children: /* @__PURE__ */ (0, O.jsx)(c1, {card: e,helpers: n})@@ -65756,7 +65805,7 @@ function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(c1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(l1, {item: s,kind: c}) : null,@@ -65769,13 +65818,13 @@ function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function s1({ card: e, helpers: t }) {+function c1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function c1({ item: e, kind: t }) {+function l1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -65795,25 +65844,25 @@ function c1({ item: e, kind: t }) {}//#endregion//#region src/react/settings/configuration.ts-var l1 = ["configuration"], u1 = (e) => V(tX, e);-async function Twe(e) {+var u1 = ["configuration"], d1 = (e) => V(tX, e);+async function jwe(e) {await U.fetchQuery({- queryKey: l1,- queryFn: () => u1(e)+ queryKey: u1,+ queryFn: () => d1(e)});}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var d1 = (e) => e.map(([e, t, n]) => n ? [+var f1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(l);return f.current = l, (0, D.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, d1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, f1(r), i, {attr: a,className: o,text: s@@ -65831,13 +65880,13 @@ function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function m1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(-1), m = (0, D.useRef)(l);return m.current = l, (0, D.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Ao(d1(n), r, { label: t });+ e.innerHTML = Ao(f1(n), r, { label: t });let i = jo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -65850,7 +65899,7 @@ function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function Ewe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function Mwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)({onStep: a,onSettle: o@@ -65885,7 +65934,7 @@ function Ewe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var Dwe = [+var Nwe = [["strength","强度",@@ -65912,8 +65961,8 @@ var Dwe = [100]];-function Owe({ host: e, spot: t, index: n, glow: r }) {- let i = poe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = iV(), [l, u] = (0, D.useState)("all");+function Pwe({ host: e, spot: t, index: n, glow: r }) {+ let i = _oe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = rV(), [l, u] = (0, D.useState)("all");(0, D.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -65926,7 +65975,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Xk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();+ r[t].color = Gk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-glow-stop": t,@@ -65951,7 +66000,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "popmenu",@@ -65963,7 +66012,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Jk.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: boe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -65977,7 +66026,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: goe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: xoe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -65994,8 +66043,8 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {})]});}-function kwe({ host: e }) {- let t = e.store.value.homeGlow, n = Hk(t.preset);+function Fwe({ host: e }) {+ let t = e.store.value.homeGlow, n = Rk(t.preset);return /* @__PURE__ */ (0, O.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66014,10 +66063,10 @@ function kwe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, O.jsx)("b", {"data-glow-preset-name": "",- children: moe(t.preset)+ children: voe(t.preset)})]}),- /* @__PURE__ */ (0, O.jsx)(HA, {+ /* @__PURE__ */ (0, O.jsx)(zA, {store: e.store,label: "光晕配色"}),@@ -66028,7 +66077,7 @@ function kwe({ host: e }) {}),/* @__PURE__ */ (0, O.jsx)("div", {"data-glow-fields": "",- children: Dwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Ewe, {+ children: Nwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Mwe, {field: r,label: i,max: a,@@ -66049,7 +66098,7 @@ function kwe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Qk(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = qk(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66068,7 +66117,7 @@ function kwe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-stops": "",- children: zk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Owe, {+ children: Fk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Pwe, {host: e,spot: n,index: r,@@ -66081,7 +66130,7 @@ function kwe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var Awe = {+var Iwe = {batchSizeSetting: {min: 1,max: 200,@@ -66128,22 +66177,22 @@ var Awe = {optional: !0,fallback: 60}-}, m1 = (e) => `peach.number.${e}`;-function h1(e, t) {+}, h1 = (e) => `peach.number.${e}`;+function g1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Awe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);- d.current ||= Ok(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);+function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = Iwe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);+ d.current ||= wk(Number(localStorage.getItem(h1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, D.useState)(n ?? 0), [m, h] = (0, D.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, D.useState)(""), v = (0, D.useRef)(null), y = (0, D.useRef)(i);y.current = i, (0, D.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(m1(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(h1(e), String(d.current)), y.current(d.current)));}, x = (0, D.useRef)(b);x.current = b, (0, D.useEffect)(() => {let e = v.current;@@ -66153,7 +66202,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let S = f > 0, C = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(h1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-number-setting": "",@@ -66190,7 +66239,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": "true",- children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]+ children: [c, g1(Number(m), c) ? ` · ${g1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, O.jsx)("small", {id: `${e}-error`,@@ -66204,13 +66253,13 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function _1(e) {+function v1(e) {let { mutate: t } = pX();return (0, D.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function v1(e, t, n, r) {+function y1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66220,17 +66269,17 @@ function v1(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var jwe = "__home__", y1 = (e) => e === "" ? jwe : e;-function Mwe({ host: e }) {- let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {- let a = v1(n, e, r, i);+var Lwe = "__home__", b1 = (e) => e === "" ? Lwe : e;+function Rwe({ host: e }) {+ let t = v1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {+ let a = y1(n, e, r, i);a && t(a);}, _ = (e, r) => {let i = n.indexOf(e), a = i + r;if (i < 0 || a < 0 || a >= n.length) return;let o = [...n];[o[i], o[a]] = [o[a], o[i]], t(o);- }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => b1(e) === o) ?? a[0], y = () => {h.current && To(h.current), l(!1);}, b = () => {let e = h.current;@@ -66251,7 +66300,7 @@ function Mwe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", b1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66283,9 +66332,9 @@ function Mwe({ host: e }) {/* @__PURE__ */ (0, O.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, O.jsx)(lP, { name: a ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(cP, { name: a ?? "" }),/* @__PURE__ */ (0, O.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -66299,7 +66348,7 @@ function Mwe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66309,7 +66358,7 @@ function Mwe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66321,11 +66370,11 @@ function Mwe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "eye-off" })})]})]- }, y1(e))), /* @__PURE__ */ (0, O.jsxs)("div", {+ }, b1(e))), /* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66341,13 +66390,13 @@ function Mwe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(lP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(cP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, O.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66358,15 +66407,15 @@ function Mwe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": y1(e),+ "data-sidebar-add-option": b1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(y1(e)), y(), m.current?.focus();+ s(b1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]- }, y1(e)))+ children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]+ }, b1(e)))}) : null]}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66383,13 +66432,13 @@ function Mwe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var b1 = [+var x1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], Nwe = [+], zwe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66398,7 +66447,7 @@ var b1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Pwe = [["desc", "降序"], ["asc", "升序"]], Fwe = [[+], Bwe = [["desc", "降序"], ["asc", "升序"]], Vwe = [["cover","官方封面",""@@ -66406,7 +66455,7 @@ var b1 = ["thumbnail","预览图",""-]], Iwe = [+]], Hwe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66425,88 +66474,88 @@ var b1 = ["切片","隐藏切片"]-], Lwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {+], Uwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", S1 = null, C1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();-function Rwe(e) {- return T1.add(e), () => {- T1.delete(e);+}, w1 = 0, T1 = null, E1 = /* @__PURE__ */ new Set();+function Wwe(e) {+ return E1.add(e), () => {+ E1.delete(e);};}-function zwe() {- for (let e of [...T1]) e();+function Gwe() {+ for (let e of [...E1]) e();}-function E1(e) {- S1 = {- ...S1,+function D1(e) {+ C1 = {+ ...C1,...e- }, (0, Tt.flushSync)(zwe);+ }, (0, Tt.flushSync)(Gwe);}-async function Bwe(e) {- let t = S1.epoch, n = await e.configurable();- S1.open && S1.epoch === t && E1({ configurable: n });+async function Kwe(e) {+ let t = C1.epoch, n = await e.configurable();+ C1.open && C1.epoch === t && D1({ configurable: n });}-function Vwe(e = "") {- let t = x1;+function qwe(e = "") {+ let t = S1;if (!t) return;- let n = b1.findIndex(([t]) => t === e);- if (S1.open && !S1.closing) {- n >= 0 && n !== S1.tab && E1({ tab: n });+ let n = x1.findIndex(([t]) => t === e);+ if (C1.open && !C1.closing) {+ n >= 0 && n !== C1.tab && D1({ tab: n });return;}- So(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = wye();- E1({+ So(), w1 += 1, T1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = jye();+ D1({open: !0,closing: !1,configurable: null,- epoch: S1.epoch + 1,- tab: n >= 0 ? n : S1.tab+ epoch: C1.epoch + 1,+ tab: n >= 0 ? n : C1.tab}), r.then((e) => {e && t.syncRemote(e);- }), Bwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Kwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function D1(e = !0) {- if (!S1.open || S1.closing) return;- let t = ++C1;- e && x1?.closed?.(), E1({ closing: !0 });+function O1(e = !0) {+ if (!C1.open || C1.closing) return;+ let t = ++w1;+ e && S1?.closed?.(), D1({ closing: !0 });let n = () => {- t === C1 && S1.closing && (E1({+ t === w1 && C1.closing && (D1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), T1 instanceof HTMLElement && document.contains(T1) && T1.focus(), T1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Hwe = {- open: Vwe,- close: D1,- isOpen: () => S1.open,+var Jwe = {+ open: qwe,+ close: O1,+ isOpen: () => C1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Uwe(e) {- return x1 = e, Hwe;+function Ywe(e) {+ return S1 = e, Jwe;}-function Wwe() {- let e = (0, D.useSyncExternalStore)(Rwe, () => S1);- return x1 ? /* @__PURE__ */ (0, O.jsx)(qwe, {- host: x1,+function Xwe() {+ let e = (0, D.useSyncExternalStore)(Wwe, () => C1);+ return S1 ? /* @__PURE__ */ (0, O.jsx)($we, {+ host: S1,view: e}) : null;}-function Gwe(e) {+function Zwe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(Lwe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Uwe)].filter((e) => e.getClientRects().length > 0);if (!t.length) return;let n = t[0], r = t[t.length - 1];e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());}-var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;-function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var k1 = (e) => `settings-tab-${e}`, A1 = (e) => `settings-group-${e}`;+function Qwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(e), l = (0, D.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66534,7 +66583,7 @@ function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectc.current = e, d.current(l.current[e], t);}, [e, t]);let f = (e, t) => {- let n = b1.length, r = t;+ let n = x1.length, r = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;else if (e.key === "Home") r = 0;@@ -66563,11 +66612,11 @@ function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- b1.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {+ x1.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",- id: O1(r),- "aria-controls": k1(r),+ id: k1(r),+ "aria-controls": A1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66578,7 +66627,7 @@ function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(lP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(Cce, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(cP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(wce, { name: n }), t]}, t)),/* @__PURE__ */ (0, O.jsx)("div", {"data-settings-service": "",@@ -66589,27 +66638,27 @@ function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(lP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-right" })]})})]});}-function A1({ index: e, tab: t, children: n, cards: r = !1 }) {+function j1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: k1(e),+ id: A1(e),role: "tabpanel",- "aria-labelledby": O1(e),+ "aria-labelledby": k1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: b1[e][0] }), n]+ children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: x1[e][0] }), n]});}-function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, O.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, O.jsx)("small", {@@ -66626,7 +66675,7 @@ function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function M1({ title: e, description: t, kind: n, children: r }) {+function N1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66634,7 +66683,7 @@ function M1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, O.jsx)("small", { children: t }) : t] }), r]});}-function qwe({ host: e, view: t }) {+function $we({ host: e, view: t }) {(0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66655,7 +66704,7 @@ function qwe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));+ t !== C1.tab && (D1({ tab: t }), e.selectSection?.(x1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, O.jsx)("section", {"data-settings-panel": "",@@ -66666,9 +66715,9 @@ function qwe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: Gwe,+ onKeyDown: Zwe,onClick: (e) => {- e.target === e.currentTarget && D1();+ e.target === e.currentTarget && O1();},children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-card": "",@@ -66679,27 +66728,27 @@ function qwe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, O.jsx)("h2", {id: "settingsTitle",- children: b1[t.tab][0]- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ children: x1[t.tab][0]+ }), /* @__PURE__ */ (0, O.jsx)(Rz, {id: "settingsClose",label: "关闭设置",- onPress: () => D1()+ onPress: () => O1()})]}),- /* @__PURE__ */ (0, O.jsx)(Kwe, {+ /* @__PURE__ */ (0, O.jsx)(Qwe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- D1(!1), e.openConfiguration();+ O1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, O.jsxs)(A1, {+ /* @__PURE__ */ (0, O.jsxs)(j1, {index: 0,tab: t.tab,cards: !0,@@ -66707,9 +66756,9 @@ function qwe({ host: e, view: t }) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "主题",- children: /* @__PURE__ */ (0, O.jsx)(f1, {+ children: /* @__PURE__ */ (0, O.jsx)(p1, {id: "themeSetting",name: "theme",legend: "主题",@@ -66737,7 +66786,7 @@ function qwe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, O.jsx)(j1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -66745,7 +66794,7 @@ function qwe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, O.jsx)(j1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -66755,7 +66804,7 @@ function qwe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, O.jsx)(kwe, { host: e }),+ /* @__PURE__ */ (0, O.jsx)(Fwe, { host: e }),/* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -66767,35 +66816,35 @@ function qwe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, O.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, O.jsx)(Mwe, { host: e })+ children: /* @__PURE__ */ (0, O.jsx)(Rwe, { host: e })})})]})]}),- /* @__PURE__ */ (0, O.jsx)(Ywe, {+ /* @__PURE__ */ (0, O.jsx)(tTe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(Xwe, {+ /* @__PURE__ */ (0, O.jsx)(nTe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsxs)(A1, {+ /* @__PURE__ */ (0, O.jsxs)(j1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, O.jsx)($we, {+ /* @__PURE__ */ (0, O.jsx)(aTe, {host: e,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(g1, {+ children: /* @__PURE__ */ (0, O.jsx)(_1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -66805,24 +66854,24 @@ function qwe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "口味与记录",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(JF, {+ children: /* @__PURE__ */ (0, O.jsx)(KF, {variant: "secondary",href: "/taste",- onClick: () => D1(!1),+ onClick: () => O1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, O.jsx)(A1, {+ /* @__PURE__ */ (0, O.jsx)(j1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, O.jsx)(j1, {+ children: /* @__PURE__ */ (0, O.jsx)(M1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -66837,7 +66886,7 @@ function qwe({ host: e, view: t }) {})});}-function Jwe(e, t) {+function eTe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = cs("arrow-up", "arrow-down", "a", {@@ -66847,9 +66896,9 @@ function Jwe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function Ywe({ host: e, tab: t, epoch: n }) {+function tTe({ 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, O.jsxs)(A1, {+ return /* @__PURE__ */ (0, O.jsxs)(j1, {index: 1,tab: t,children: [@@ -66857,11 +66906,11 @@ function Ywe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "每批加载作品",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, O.jsx)(g1, {+ children: /* @__PURE__ */ (0, O.jsx)(_1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -66871,24 +66920,24 @@ function Ywe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, O.jsx)(p1, {+ children: [/* @__PURE__ */ (0, O.jsx)(m1, {id: "defaultSortSetting",label: "默认排序",- options: Nwe,+ options: zwe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, O.jsx)(p1, {+ }), /* @__PURE__ */ (0, O.jsx)(m1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Pwe,+ options: Bwe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -66896,13 +66945,13 @@ function Ywe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => Jwe(e, o)+ decorate: (e) => eTe(e, o)})]})}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, O.jsx)(f1, {+ children: /* @__PURE__ */ (0, O.jsx)(p1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -66928,16 +66977,16 @@ function Ywe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, O.jsx)(g1, {+ children: /* @__PURE__ */ (0, O.jsx)(_1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Ok(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = wk(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -66946,16 +66995,16 @@ function Ywe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, O.jsx)(Qwe, {+ /* @__PURE__ */ (0, O.jsx)(iTe, {host: e,epoch: n})]});}-function Xwe({ host: e, tab: t, epoch: n }) {+function nTe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, O.jsxs)(A1, {+ return /* @__PURE__ */ (0, O.jsxs)(j1, {index: 2,tab: t,children: [@@ -66963,13 +67012,13 @@ function Xwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "默认图片",- children: /* @__PURE__ */ (0, O.jsx)(f1, {+ children: /* @__PURE__ */ (0, O.jsx)(p1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: Fwe,+ options: Vwe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -66984,21 +67033,21 @@ function Xwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "显示数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(g1, {+ children: /* @__PURE__ */ (0, O.jsx)(_1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Ok(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = wk(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, O.jsx)(j1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67006,7 +67055,7 @@ function Xwe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Iwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Zwe, {+ Hwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(rTe, {host: e,id: t,settingKey: n,@@ -67016,7 +67065,7 @@ function Xwe({ host: e, tab: t, epoch: n }) {]});}-function Zwe({ host: e, id: t, settingKey: n, label: r, title: i }) {+function rTe({ host: e, id: t, settingKey: n, label: r, title: i }) {let a = pX(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {s(t), cc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {@@ -67041,10 +67090,10 @@ function Zwe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function Qwe({ host: e, epoch: t }) {+function iTe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(j1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67052,7 +67101,7 @@ function Qwe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, O.jsx)(j1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67060,11 +67109,11 @@ function Qwe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(N1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, O.jsx)(g1, {+ children: /* @__PURE__ */ (0, O.jsx)(_1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67076,18 +67125,18 @@ function Qwe({ host: e, epoch: t }) {})] });}-function $we({ host: e, epoch: t }) {+function aTe({ host: e, epoch: t }) {let n = e.store.value, r = pX();- return /* @__PURE__ */ (0, O.jsx)(M1, {+ return /* @__PURE__ */ (0, O.jsx)(N1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(g1, {+ children: /* @__PURE__ */ (0, O.jsx)(_1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Ok(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = wk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -67095,68 +67144,68 @@ function $we({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var N1 = "__home__", eTe = {+var P1 = "__home__", oTe = {creator: 26,tag: 30,tech: 16-}, P1 = 180, F1 = null, I1 = {+}, F1 = 180, I1 = null, L1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, L1 = /* @__PURE__ */ new Set();-function tTe(e) {- return L1.add(e), () => {- L1.delete(e);+}, R1 = /* @__PURE__ */ new Set();+function sTe(e) {+ return R1.add(e), () => {+ R1.delete(e);};}-function R1() {- for (let e of [...L1]) e();+function z1() {+ for (let e of [...R1]) e();}-var nTe = {+var cTe = {render(e) {- I1 = {- ...I1,+ L1 = {+ ...L1,props: e- }, (0, Tt.flushSync)(R1);+ }, (0, Tt.flushSync)(z1);},navChanged() {- I1 = {- ...I1,- epoch: I1.epoch + 1- }, (0, Tt.flushSync)(R1);+ L1 = {+ ...L1,+ epoch: L1.epoch + 1+ }, (0, Tt.flushSync)(z1);}};-function rTe(e) {- return F1 = e, I1 = {- ...I1,+function lTe(e) {+ return I1 = e, L1 = {+ ...L1,props: {content: null,filters: {},latest: null}- }, nTe;+ }, cTe;}-function iTe() {- let e = (0, D.useSyncExternalStore)(tTe, () => I1);- return F1 ? /* @__PURE__ */ (0, O.jsx)(aTe, {- host: F1,+function uTe() {+ let e = (0, D.useSyncExternalStore)(sTe, () => L1);+ return I1 ? /* @__PURE__ */ (0, O.jsx)(dTe, {+ host: I1,props: e.props,epoch: e.epoch}) : null;}-function aTe({ host: e, props: t, epoch: n }) {+function dTe({ host: e, props: t, epoch: n }) {let r = (0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, O.jsx)(oTe, {+ /* @__PURE__ */ (0, O.jsx)(fTe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, O.jsx)(cTe, {+ t.content ? /* @__PURE__ */ (0, O.jsx)(mTe, {host: e,content: t.content,filters: t.filters,@@ -67164,8 +67213,8 @@ function aTe({ host: e, props: t, epoch: n }) {}) : null] });}-function oTe({ host: e, epoch: t, version: n }) {- let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = KF(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function fTe({ host: e, epoch: t, version: n }) {+ let r = v1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = WF(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || P1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, D.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67189,7 +67238,7 @@ function oTe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || N1);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || P1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67204,7 +67253,7 @@ function oTe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : v1(i, n, e, a);+ let o = n === null ? null : y1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67232,16 +67281,16 @@ function oTe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, O.jsx)(lP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]- }, t || N1))+ }) : /* @__PURE__ */ (0, O.jsx)(cP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ }, t || P1))}), v ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function sTe(e) {+var B1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function pTe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67254,7 +67303,7 @@ function sTe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function cTe({ host: e, content: t, filters: n, latest: r }) {+function mTe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, D.useLayoutEffect)(() => {t.kind === "catalog" && ms(e.scroll, "drawer");@@ -67263,8 +67312,8 @@ function cTe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? lTe(e, t.facets, n, r, i) : uTe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(dTe, {+ let a = t.kind === "catalog" ? hTe(e, t.facets, n, r, i) : gTe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(_Te, {title: e.title,kind: e.kind,active: e.active,@@ -67273,11 +67322,11 @@ function cTe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function lTe(e, t, n, r, i) {- let a = sTe(r), o = (t, r, i) => {+function hTe(e, t, n, r, i) {+ let a = pTe(r), o = (t, r, i) => {if (!t.length) return null;- let o = z1(n, r);- return /* @__PURE__ */ (0, O.jsx)(H1, {+ let o = B1(n, r);+ return /* @__PURE__ */ (0, O.jsx)(U1, {rows: t,filterKey: r,multi: i,@@ -67287,7 +67336,7 @@ function lTe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = z1(n, l), p = c.some((e) => f.includes(e.value));+ let f = B1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67299,12 +67348,12 @@ function lTe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, O.jsx)(pTe, {+ body: /* @__PURE__ */ (0, O.jsx)(yTe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: eTe[d],+ limit: oTe[d],filterKey: l,selected: f,counts: a,@@ -67319,7 +67368,7 @@ function lTe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(G1, {+ body: /* @__PURE__ */ (0, O.jsx)(K1, {host: e,filters: n})@@ -67333,7 +67382,7 @@ function lTe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(U1, {+ body: /* @__PURE__ */ (0, O.jsx)(W1, {rows: t.followTags,host: e,selected: null,@@ -67342,14 +67391,14 @@ function lTe(e, t, n, r, i) {} : null];}-function uTe(e, t, n) {- let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);+function gTe(e, t, n) {+ let r = t.providers || [], i = B1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(H1, {+ body: /* @__PURE__ */ (0, O.jsx)(U1, {rows: r,filterKey: "provider",multi: !1,@@ -67363,7 +67412,7 @@ function uTe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(G1, {+ body: /* @__PURE__ */ (0, O.jsx)(K1, {host: e,filters: n,commit: e.setFollowDuration@@ -67373,7 +67422,7 @@ function uTe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(U1, {+ body: /* @__PURE__ */ (0, O.jsx)(W1, {rows: t.tags,host: e,selected: a,@@ -67382,19 +67431,19 @@ function uTe(e, t, n) {} : null];}-function B1(e, t) {+function V1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => B1(e, n)), u = (0, D.useRef)(!1);+function _Te({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => V1(e, n)), u = (0, D.useRef)(!1);(0, D.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? B1(e, n) : c;+ let i = u.current ? V1(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -67415,7 +67464,7 @@ function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67426,7 +67475,7 @@ function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, O.jsx)(V1.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(H1.Provider, {value: d,children: a})@@ -67435,15 +67484,15 @@ function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var V1 = (0, D.createContext)(() => {});-function fTe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(lP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {+var H1 = (0, D.createContext)(() => {});+function vTe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(cP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, O.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67460,7 +67509,7 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, O.jsx)(fTe, { dot: e.dot }),+ /* @__PURE__ */ (0, O.jsx)(vTe, { dot: e.dot }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67475,8 +67524,8 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function pTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, D.useContext)(V1), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);+function yTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, D.useContext)(H1), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);p !== e && (m(e), f(null));let h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, D.useLayoutEffect)(() => {@@ -67491,7 +67540,7 @@ function pTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), ao(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(H1, {+ }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(U1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67516,10 +67565,10 @@ function pTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })}) : null] });}-function U1({ rows: e, host: t, selected: n, badges: r }) {+function W1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {@@ -67541,10 +67590,10 @@ function U1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;-function G1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, D.useState)("max");- i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));+var G1 = (e, t) => e ? Math.min(F1, Number(e) / 60) : t;+function K1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [G1(t.dur_min, 0), G1(t.dur_max, F1)]), [c, l] = (0, D.useState)("max");+ i !== r && (a(r), s([G1(t.dur_min, 0), G1(t.dur_max, F1)]));let [u, d] = o, f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(o);h.current = o;let g = (e, t) => {@@ -67557,11 +67606,11 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, D.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);+ e.style.setProperty("--lo", `${u / F1 * 100}%`), e.style.setProperty("--hi", `${d / F1 * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / F1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);});@@ -67571,7 +67620,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {"data-range-end": e,"data-range-active": c === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= F1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-duration": "",@@ -67586,7 +67635,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: P1,+ max: F1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67597,7 +67646,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: P1,+ max: F1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67612,7 +67661,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/diagnostics-skeleton.ts-function K1() {+function q1() {let e = (e) => Wo({label: e,variant: "secondary",@@ -67627,11 +67676,11 @@ function K1() {}//#endregion//#region src/react/settings/library-policy-copy.ts-var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", mTe = [+var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", bTe = ["自动补全","仅使用本地资料","自定义"-], hTe = [+], xTe = [["读本地 NFO 和图片","✓",@@ -67662,7 +67711,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], gTe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", _Te = [+], STe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Y1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", X1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Z1 = "只填域名,留空用默认地址", CTe = [{provider: "coomer",label: "Coomer",@@ -67743,8 +67792,8 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", vTe = "peach.configuration.shape.v1";-function Q1() {+], Q1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", wTe = "peach.configuration.shape.v1";+function $1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -67752,28 +67801,28 @@ function Q1() {return {};}}-function yTe(e, t) {+function TTe(e, t) {try {- let n = Q1();+ let n = $1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(vTe, JSON.stringify({+ localStorage.setItem(wTe, JSON.stringify({...n,[e]: t}));} catch {}}-var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => Wo({+var e0 = (e) => $1()[e], t0 = (e) => e === !0, n0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, r0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], i0 = "disabled data-skeleton-action", a0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, o0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, s0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, c0 = (e = "3em") => s0(e, "24px"), l0 = () => s0("var(--icon-inline)", "var(--icon-inline)"), u0 = (e, t = "primary", n = "medium") => Wo({label: e,variant: t,size: n,- attrs: r0-}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, bTe = (e, t, n) => {- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;+ attrs: i0+}), d0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, f0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, ETe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${l0()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${bTe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${Ko(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Vo("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, xTe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${xTe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, STe = _Te;-function CTe(e = $1("credentials")) {- let t = new Set(n0(e?.done, 64, String));- return STe.map((e) => {+}, p0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${ETe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? d0(n, i) : ""}</div></section>`, m0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, h0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => m0(e, t, `<span class="skeleton ${n}"></span>`), g0 = (e, t = "4em") => m0(e, "", a0(t)), _0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, v0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, y0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${o0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, b0 = (e) => `<div class="flex flex-col gap-1">${v0(e)}${Ko(a0("8em"))}</div>`, x0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${s0("16px", "16px")}${e}</span>`, S0 = (e) => `<span class="inline-flex items-center gap-1">${l0()}${e}</span>`, C0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Vo("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, DTe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), w0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${DTe.has(e) ? a0("100%") + a0("80%") + a0("6em") : a0("6em")}</dd></div>`).join("")}</dl>`, OTe = CTe;+function kTe(e = e0("credentials")) {+ let t = new Set(r0(e?.done, 64, String));+ return OTe.map((e) => {let n = t.has(e.provider);return {...e,@@ -67782,131 +67831,131 @@ function CTe(e = $1("credentials")) {};});}-function wTe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? g0(B(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function ATe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = c0() + (n && !e.done ? t.map(() => c0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${s0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? _0(B(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + _0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? _0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => y0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${u0("保存配置")}</div>${C0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${C0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function w0() {- let e = CTe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[+function T0() {+ let e = kTe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return p0("来源凭据", f0(`<div class="flex flex-col gap-4">${[["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],["不需要凭据", e.filter((e) => e.requirement === "none")],["暂不支持", e.filter((e) => e.requirement === "blocked")]- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(wTe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });-}-function T0() {- let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Vo("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(ATe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? a0("5em") : "" });}function E0() {- let e = $1("javBrowser"), t = e0(e?.enabled);- return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));+ let e = r0(e0("indexers")?.open, 20, t0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Vo("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${a0("6em")}${a0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${y0("名称")}${y0("Torznab 地址")}${y0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${x0("启用")}${u0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return p0("资源搜索", f0(`<div class="flex min-w-0 flex-col gap-4">${C0("索引器连接帮助")}${e}</div>`), u0("添加索引器", "secondary") + u0("保存配置"));+}+function D0() {+ let e = e0("javBrowser"), t = t0(e?.enabled);+ return p0("浏览器添加 JAV", f0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${a0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${c0()}</div><p class="text-caption-1-regular text-text-secondary">${a0("70%")}</p><div class="flex flex-wrap items-center gap-2">${u0("重新检测", "secondary")}</div></div>`}${b0("浏览器添加的下载渠道")}${t0(e?.ready) ? "" : _0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${y0("Peach 地址")}</div>`), (t ? u0("关闭浏览器添加", "secondary") : "") + u0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${Ko(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";-function O0() {- let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));- return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));+var O0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${v0(e)}${Ko(a0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${y0(`${e}地址`)}</div><div class="w-full sm:w-28">${y0(`${e}端口`)}</div></div>${C0("代理认证")}` : "") + "</div>";+function k0() {+ let e = e0("cloudProxy"), t = r0(e?.accounts, 12, (e) => Array.isArray(e) ? [t0(e[0]), t0(e[1])] : [!1, !1]), n = n0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${v0(S0(a0("6em")))}${_0(a0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${v0(S0(a0("8em")))}${_0(a0("50%"))}${O0("数据代理", e)}${O0("API 代理", t)}<div class="flex justify-end">${u0("保存配置")}</div></div>`).join("") : _0(a0("60%"));+ return p0("CloudDrive 代理", f0(`${_0(Q1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), u0("重新读取", "secondary"));}-var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, TTe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Wo({+var A0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, jTe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Wo({glyph: "folder-search",variant: "secondary",- attrs: r0+ attrs: i0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", Ko(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", Ko(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", Ko(i0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, ETe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${A0("来源", Ko(a0("6em")), "w-full @lg:w-60")}${A0("读取策略", Ko(a0("4em")), "w-full @lg:w-32")}${e > 1 ? A0("移到媒体库", Ko(a0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, MTe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${Wo({label: "自动识别",variant: "secondary",- attrs: r0-})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(i0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${TTe(t).repeat(e)}<div class="flex">${Wo({+ attrs: i0+})}${o0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(a0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${jTe(t).repeat(e)}<div class="flex">${Wo({label: "添加文件夹",variant: "secondary",- attrs: r0-})}</div></div></div>`, DTe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, OTe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";-function kTe(e = $1("media")) {- let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);+ attrs: i0+})}</div></div></div>`, NTe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${J1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, PTe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";+function FTe(e = e0("media")) {+ let t = r0(e?.folders, 12, (e) => n0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: e0(e?.cloud)+ cloud: t0(e?.cloud)} : {folders: [1],cloud: !1};}-function ATe() {- let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Ko(i0("4em"), { prefix: "对应目录" })}${Wo({+function ITe() {+ let e = e0("discovery"), t = t0(e?.enabled), n = t && t0(e?.cloud), r = n && t0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Ko(a0("4em"), { prefix: "对应目录" })}${Wo({glyph: "trash",variant: "secondary",- attrs: r0+ attrs: i0})}</div>`;- return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));-}-var jTe = () => {- let e = kTe();- return f0("媒体库与目录", d0(`${DTe}<div class="flex flex-col gap-4">${e.folders.map((t) => ETe(t, e.folders.length)).join("")}</div>- <div class="self-start">${l0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${J1}</p>- ${e.cloud ? OTe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + ATe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, MTe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), NTe = () => {- let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);- return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {- aside: s0(),+ return p0("自动发现新文件", f0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${c0()}</div>`) + h0("发现新文件后自动入库", t ? a0("10em") : "") + h0("监视本机文件夹", t && t0(e?.watchLocal) ? a0("12em") : "") + h0("接收 CloudDrive2 通知") + (n ? m0("Webhook 配置", a0("20em"), "") : "") + (r ? f0(C0("查看配置"), !0) : "") + (n ? f0(`<div class="flex flex-col gap-3">${v0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(n0(e?.prefixes, 20))}</div><div>${u0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? u0("更换密钥", "secondary") : "") + u0("保存配置"));+}+var LTe = () => {+ let e = FTe();+ return p0("媒体库与目录", f0(`${NTe}<div class="flex flex-col gap-4">${e.folders.map((t) => MTe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${u0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${Y1}</p>+ ${e.cloud ? PTe : ""}<span class="text-body-medium text-text-primary">${a0("15em")}</span>`), u0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? k0() : "") + ITe() + p0("番号识别规则", f0(`${a0("90%")}${a0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), u0("保存配置")) + p0("视频预览", h0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + h0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + h0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, RTe = () => `<div>${u0("采集来源与登录状态", "secondary")}</div>` + T0() + p0("关注采集", m0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + g0("订阅源拉取") + h0("首次采集范围", "", "ui-configuration-skeleton-select") + g0("头像刷新") + g0("favicon 刷新")) + E0() + p0("作品资料站点", f0(`<p class="text-body-2-regular text-text-secondary">${X1}</p>${y0(S0("JavDB 地址"), Z1)}${y0(S0("MISSAV 地址"), Z1)}`), u0("保存配置")), zTe = () => {+ let e = e0("downloads"), t = t0(e?.pikpak), n = t0(e?.pikpakRoots) ? b0(S0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${v0(S0("PikPak 根目录对应的媒体目录"))}${_0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = t0(e?.cloud) ? p0("云下载", f0(y0("CloudDrive2 地址") + y0("CloudDrive2 API 令牌", "需要离线任务权限。") + (t0(e?.has115) ? y0(S0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? y0(S0("PikPak 目标目录"), "目录要已经存在。") + n : "") + y0("等待上限(小时)", a0("14em"))), u0("检查连接", "secondary") + u0("保存配置")) : "", i = t0(e?.pikpakLoggedIn);+ return r + (t ? p0("PikPak 账号", i ? w0(["账号", a0("4em")]) : f0(y0("账号") + y0("密码") + x0("保存密码,登录过期时自动重新登录")), i ? u0("登出", "secondary") : (t0(e?.browserLogin) ? u0("用浏览器登录", "secondary") : "") + u0("登录"), {+ aside: c0(),mark: !0- }) : "") + E0();-}, A0 = {+ }) : "") + D0();+}, j0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, j0 = {+}, M0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function PTe(e) {- let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;-}-var FTe = () => {- let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : "");- return (e0(e?.port) ? f0("本机访问端口", d0(a0("128px")), l0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置")) + f0("访问密码", d0(PTe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() });-}, ITe = [+function BTe(e) {+ let t = e === "locked" ? "" : y0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + y0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (j0[e] ? _0(j0[e]) : "") + (e === "open" ? s0("100%", "64px") : "") + (e === "password" || e === "legacy" ? x0("关闭访问密码") : "") + (e === "password" ? y0("当前访问密码 *") : "") + t;+}+var VTe = () => {+ let e = e0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = t0(e?.tunnelNamed), r = (n && t0(e?.tunnelNamedMode) ? _0(M0.named) + y0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + y0("隧道令牌", a0("16em")) : _0(M0.quick)) + (t0(e?.tunnelNote) ? s0("100%", "64px") : "");+ return (t0(e?.port) ? p0("本机访问端口", f0(o0("128px")), u0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + p0("Peach 代理", h0("连接方式", "", "ui-configuration-skeleton-select") + (t0(e?.proxyAddress) ? f0(y0("代理地址"), !0) : ""), u0("保存配置")) + p0("访问密码", f0(BTe(t)), t === "locked" ? "" : u0("保存配置")) + p0("Cloudflare 公网入口", f0((n ? s0("10.5em", "36px") : "") + r), u0("启动公网入口", n ? "secondary" : "primary") + (n ? u0("保存配置") : ""), { aside: c0() });+}, HTe = ["版本","操作系统","数据目录","设置文件","日志目录"-], LTe = () => {- let e = $1("maintenance"), t = [+], UTe = () => {+ let e = e0("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";- return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {- aside: s0("4em"),- status: i0("5em")- }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : ITe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");+ ].slice(0, Math.max(4, n0(e?.releaseFacts, 5))), n = n0(e?.releaseNotes, 4), r = n0(e?.storageRows, 12), i = n0(e?.storageNotes, 3), a = r0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${c0("6em")}</span>`, s = (t) => !e || t0(t), c = s(e?.reporting) ? h0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (t0(e?.reportingIdle) ? f0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${h0("上传馆藏与口味明细", t0(e?.sharingNotice) ? a0("12em") : "")}${t0(e?.sharingIdle) ? f0(o, !0) : ""}${d0(u0("预览上传内容", "secondary"))}</div>` : "";+ return p0("检查更新", w0(t) + (n ? f0(_0(a0("50%")).repeat(n), !0) : ""), u0("检查更新"), {+ aside: c0("4em"),+ status: a0("5em")+ }) + p0("自动更新", h0("自动检查新版本") + h0("自动下载更新") + h0("检查频率", t0(e?.autoUpdateHelp) ? a0("12em") : "", "ui-configuration-skeleton-select"), u0("保存配置")) + p0("开机自启", h0("开机后启动 Peach") + h0("只启动托盘,不打开网页") + h0("在桌面创建快捷方式", t0(e?.desktopNote) ? a0("12em") : "") + (t0(e?.startupNote) ? f0(_0(a0("60%")), !0) : ""), u0("保存配置")) + p0("视频播放", h0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + p0("存储空间", w0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => m0(a0("6em"), "", a0("4em"))).join("") : f0(_0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? f0(_0(a0("80%")).repeat(i), !0) : ""), u0("更改位置", "secondary") + u0(r ? "重新统计" : "统计占用")) + (c || l ? p0("数据上传", c + l) : "") + p0("运行信息", w0(a.length ? a : HTe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${m0("安装教程", "", u0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? p0("卸载 Peach", (t0(e?.uninstallHelp) ? f0(_0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + h0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + f0(C0("数据目录"), !0), u0("卸载 Peach"), { status: a0("16em") }) : "");};-function RTe(e) {+function WTe(e) {switch (e) {- case "系统诊断": return K1();- case "来源与订阅": return MTe();- case "下载渠道": return NTe();- case "网络与访问": return FTe();- case "应用与维护": return LTe();- default: return jTe();+ case "系统诊断": return q1();+ case "来源与订阅": return RTe();+ case "下载渠道": return zTe();+ case "网络与访问": return VTe();+ case "应用与维护": return UTe();+ default: return LTe();}}-function zTe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(oV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${RTe(e)}</div></div></div>`;+function GTe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(aV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${WTe(e)}</div></div></div>`;}//#endregion//#region src/react/jav/discovery-sorts.ts-var M0 = [+var N0 = [["taste","口味",@@ -67914,7 +67963,7 @@ var M0 = [],["release_date",- Ak[1],+ Ek[1],"按发行日期排序"],[@@ -67933,10 +67982,10 @@ var M0 = ["按番号排序"]];-function BTe(e) {+function KTe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function VTe(e) {+function qTe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -67962,8 +68011,8 @@ function VTe(e) {}//#endregion//#region src/jav-skeleton.ts-var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, HTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";-function F0() {+var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, JTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";+function I0() {return ["w-20","w-16",@@ -67973,26 +68022,26 @@ function F0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function I0(e, t = gA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${HTe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;- let n = wA({- ...CA({+function L0(e, t = pA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${JTe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;+ let n = xA({+ ...bA({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div>+ <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function UTe(e) {+function YTe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Wo({@@ -68000,29 +68049,29 @@ function UTe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${S$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${C$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${Uo("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${WTe()}${I0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${XTe()}${L0(e)}</section>`}</div></div>`;}-function WTe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${gA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;+function XTe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${pA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${I0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Vo("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Vo("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Vo("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}//#endregion//#region src/management-skeletons.ts-var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function GTe() {+var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function ZTe() {let e = ["馆藏视频","看过",@@ -68030,27 +68079,27 @@ function GTe() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68059,11 +68108,11 @@ function GTe() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div></section></div></div>`;}-function KTe() {+function QTe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -68071,20 +68120,20 @@ function KTe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${Ko("全部时间")}<span data-button-group data-split-button data-variant="primary">${Wo({glyph: "compass",label: "读取浏览器历史",- attrs: z0+ attrs: B0})}${Wo({glyph: "chevron-down",- attrs: z0+ attrs: B0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -68102,11 +68151,11 @@ function KTe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${R0("8em")}</small></div>+ <small class="text-caption-1-regular">${z0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section>+ <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -68114,20 +68163,20 @@ function KTe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function qTe() {+function $Te() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span>+ <span class="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span>+ <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -68136,27 +68185,27 @@ function qTe() {variant: "secondary",size: "small",label: e,- attrs: z0+ attrs: B0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function JTe() {+function eEe() {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="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div></div><footer class="flex justify-end">${Wo({variant: "secondary",size: "small",label: "查看版本",- attrs: z0+ attrs: B0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -68166,24 +68215,24 @@ function JTe() {}//#endregion//#region src/board-skeleton.ts-var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, XTe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tEe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, nEe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${XTe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, q0 = [+].map((e) => `<div class="${nEe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, J0 = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], ZTe = (e = "") => q0.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${q0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, QTe = ({ table: e, sort: t, dir: n }) => {+], rEe = (e = "") => J0.some(([t]) => t === e) ? e : "list", Y0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${J0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, X0 = (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>`, iEe = ({ table: e, sort: t, dir: n }) => {let r = jn.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: U0+ attrs: W0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Wo({variant: "ghost",glyph: "layout-grid",@@ -68200,42 +68249,42 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: U0+ attrs: W0})}</span></div></div>`;-}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Wo({+}, Z0 = () => `<span class="flex shrink-0 items-center gap-1">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: U0+ attrs: W0})}${Wo({variant: "secondary",size: "small",glyph: "trash",- attrs: U0-})}</span>`, $Te = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Wo({+ attrs: W0+})}</span>`, aEe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${X0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${Z0()}</span></div>`, Q0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: U0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Wo({+ attrs: W0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Wo({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: U0+ attrs: W0})}${Wo({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: U0-})}</span></span></div><div data-source-divider>${H0($Te(), e)}</div></section>`, eEe = () => {+ attrs: W0+})}</span></span></div><div data-source-divider>${U0(aEe(), e)}</div></section>`, oEe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, tEe = [+}, sEe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68243,83 +68292,83 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTe["status", "状态"],["checked", "上次检查"],["actions", ""]-], nEe = {+], cEe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, rEe = "<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>", iEe = (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>${tEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${nEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${rEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[- Y0(),- `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,- W0("10em"),- `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,- G0(48, 24),- W0("113px"),- X0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, aEe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, oEe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${[+}, lEe = "<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>", uEe = (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>${sEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${cEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${lEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[+ X0(),+ `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,+ G0("10em"),+ `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,+ K0(48, 24),+ G0("113px"),+ Z0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, dEe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, fEe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, sEe = (e) => {- let t = ZTe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${oEe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || eEe(), a = n ? iEe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${QTe({+].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, pEe = (e) => {+ let t = rEe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4">${fEe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || oEe(), a = n ? uEe(i, r) : `${X0("全选本页")}<div class="flex flex-col gap-3">${Q0(3)}${Q0(4)}${Q0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${iEe({table: n,...r- })}${a}${aEe(n, i)}</div></div></div></div></div>`;+ })}${a}${dEe(n, i)}</div></div></div></div></div>`;};-function cEe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(YTe(), 4)}</div></aside></div>`;+function mEe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${H0("85%")}${H0("65%")}${U0(tEe(), 4)}</div></aside></div>`;}-function lEe(e, t = {}) {+function hEe(e, t = {}) {let n = "";- if (e === "/stats") n = GTe();- else if (e === "/jav") n = UTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = KTe();- else if (e === "/subscriptions") n = sEe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in oV) n = zTe(oV[e.split("/")[2]]);+ if (e === "/stats") n = ZTe();+ else if (e === "/jav") n = YTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = QTe();+ else if (e === "/subscriptions") n = pEe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in aV) n = GTe(aV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = qTe();- else if (e === "/quality-goals") n = JTe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = $Te();+ else if (e === "/quality-goals") n = eEe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Wo({label: "新建",- attrs: U0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: W0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}//#endregion//#region src/react/components/overlay-host.ts-function uEe(e) {+function gEe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function Q0(e) {+function $0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return uEe(n ?? t.body);+ return gEe(n ?? t.body);}-function $0(e) {+function e2(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}//#endregion//#region src/react/follow-detail/follow-detail.ts-var e2 = (e) => ["follow-item", e], dEe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, fEe = "/api/follow/save", pEe = "/api/follow/media/hide", t2 = class extends Error {+var t2 = (e) => ["follow-item", e], _Ee = (e) => `/api/follow?item=${encodeURIComponent(e)}`, vEe = "/api/follow/save", yEe = "/api/follow/media/hide", n2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function n2(e, t) {- let n = await V(dEe(e), t);+async function r2(e, t) {+ let n = await V(_Ee(e), t);for (let t of n.groups || []) {let r = Ai(t).find((t) => t.id === e);if (r) return {@@ -68329,9 +68378,9 @@ async function n2(e, t) {aliases: n.author_aliases || []};}- throw new t2();+ throw new n2();}-function mEe(e) {+function bEe(e) {for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Ai(t.group).find((t) => t.id === e);@@ -68342,20 +68391,20 @@ function mEe(e) {}return null;}-async function r2(e, t) {- let n = e2(e.id), r = ji(e.id), i = U.getQueryData(Ti) ? null : U.fetchQuery({+async function i2(e, t) {+ let n = t2(e.id), r = ji(e.id), i = U.getQueryData(Ti) ? null : U.fetchQuery({queryKey: Ti,queryFn: () => Ei(t)}), a = r ? {...r,item: r.item- } : U.getQueryData(n) ?? mEe(e.id);+ } : U.getQueryData(n) ?? bEe(e.id);a ? U.setQueryData(n, a) : await U.fetchQuery({queryKey: n,- queryFn: () => n2(e.id, t)+ queryFn: () => r2(e.id, t)}), await i;}-function hEe(e, t, n, r) {+function xEe(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 && zi(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,@@ -68370,32 +68419,32 @@ function hEe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var gEe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), _Ee = {+var SEe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), CEe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, vEe = {+}, wEe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function yEe(e) {+function TEe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return _Ee[t] || t;+ return CEe[t] || t;} catch {return "外部文件页";}}-function i2(e, t) {- return vEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function a2(e, t) {+ return wEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function bEe(e, t, n = "") {+function EEe(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;@@ -68404,54 +68453,54 @@ function bEe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var xEe = (e) => String(e.name || "").trim(), a2 = (e, t) => e.tag_types?.[t] || "unknown", SEe = /* @__PURE__ */ new Set([+var DEe = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", OEe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function CEe(e, t) {- let n = a2(e, t);- return `r34-${SEe.has(n) ? n : "general"}`;+function kEe(e, t) {+ let n = o2(e, t);+ return `r34-${OEe.has(n) ? n : "general"}`;}-var o2 = [+var s2 = ["copyright","character","artist","general","metadata"];-function wEe(e, t) {+function AEe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = o2.indexOf(a2(e, t));- return n < 0 ? o2.length : n;+ let n = s2.indexOf(o2(e, t));+ return n < 0 ? s2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function s2(e, t) {+function c2(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 TEe = (e, t) => ({+var jEe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), c2 = (e) => e?.size ? { size: e.size } : {};-function EEe(e, t) {+}), l2 = (e) => e?.size ? { size: e.size } : {};+function MEe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: i2(t, e),- ...c2(t)+ source: a2(t, e),+ ...l2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: i2(a, e),- ...c2(a)+ source: a2(a, e),+ ...l2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68459,7 +68508,7 @@ function EEe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {+var NEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68467,7 +68516,7 @@ var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), OEe = [+}), PEe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68477,39 +68526,39 @@ var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], kEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">+], FEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${OEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${PEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, AEe = {- "/data-cleanup": () => I$(),- "/resource-sync": () => I$(),- "/review": () => kEe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, IEe = {+ "/data-cleanup": () => L$(),+ "/resource-sync": () => L$(),+ "/review": () => FEe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${l2("正在读取采集来源", {+ ${u2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function u2(e, { followLayout: t, followSort: n, followDir: r }) {- return lEe(e, {+function d2(e, { followLayout: t, followSort: n, followDir: r }) {+ return hEe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (AEe[e] ?? (() => l2("正在读取页面")))();+ }) || (IEe[e] ?? (() => u2("正在读取页面")))();}-var d2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function f2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = d2(t);+var f2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function p2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = f2(t);(!r || r !== n) && (e.innerHTML = t, Ts(e));}//#endregion//#region src/react/components/related-section.tsx-function p2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, D.useCallback)((e) => {e && (Ts(e), t(e));}, [t]);@@ -68522,17 +68571,17 @@ function p2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(uW, {+ children: /* @__PURE__ */ (0, O.jsx)(hW, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {size: "compact",- icon: Tz,+ icon: wz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68549,7 +68598,7 @@ function p2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function m2({ queue: e, children: t, editionCards: n }) {+function h2({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -68558,7 +68607,7 @@ function m2({ queue: e, children: t, editionCards: n }) {}//#endregion//#region src/react/components/media-carousel.tsx-function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, D.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, D.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -68638,7 +68687,7 @@ function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(jEe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(LEe, {item: e,selected: r === t,onSelect: n,@@ -68657,7 +68706,7 @@ function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function jEe({ item: e, selected: t, onSelect: n, render: r }) {+function LEe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(typeof IntersectionObserver > "u");return (0, D.useEffect)(() => {if (!i.current || a) return;@@ -68684,14 +68733,14 @@ function jEe({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var MEe = (e, t, n) => [+var REe = (e, t, n) => ["follow-feed","related",e,t,n];-function g2(e, t, n, r) {+function _2(e, t, n, r) {let i = new Set((t.group ? Ai(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {let t = Ai(e);@@ -68706,7 +68755,7 @@ function g2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function NEe(e, t, n, r) {+async function zEe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Ri(i),status: "new",@@ -68720,29 +68769,29 @@ async function NEe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return g2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && g2(o, e, t, n).length < n && await s("", 0), {+ return _2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && _2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var _2 = (e) => Number(e) > 0, PEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var v2 = (e) => Number(e) > 0, BEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), v2 = R("external-link", "ui-externalmark");-function FEe(e) {+}), y2 = R("external-link", "ui-externalmark");+function VEe(e) {let { id: t, actions: n } = e, r = St({- queryKey: e2(t),- queryFn: ({ signal: e }) => n2(t, e)+ queryKey: t2(t),+ queryFn: ({ signal: e }) => r2(t, e)}), i = St({queryKey: Ti,queryFn: ({ signal: e }) => Ei(e)}), a = (0, D.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, D.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, O.jsx)(REe, {+ return r.data ? /* @__PURE__ */ (0, O.jsx)(WEe, {...e,data: r.data,- context: TEe(r.data, a),+ context: jEe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, O.jsx)("div", {@@ -68751,9 +68800,9 @@ function FEe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? IEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(LEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(uW, {+ children: r.isError ? HEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(UEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(r.error),onRetry: () => void r.refetch()}) : null@@ -68761,8 +68810,8 @@ function FEe(e) {})});}-var IEe = (e) => e instanceof t2 || e instanceof On && e.status === 404;-function LEe({ onBack: e }) {+var HEe = (e) => e instanceof n2 || e instanceof On && e.status === 404;+function UEe({ onBack: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -68771,7 +68820,7 @@ function LEe({ onBack: e }) {dangerouslySetInnerHTML: { __html: ts("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -68780,8 +68829,8 @@ var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = hEe(c, l, n, i), d = WEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({+function WEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = xEe(c, l, n, i), d = XEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({key: "",kind: ""}), h = {@@ -68801,20 +68850,20 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? gEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(C2, {+ let g = !u.embedded.length && u.collection ? SEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(w2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(C2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(w2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, O.jsx)(VEe, {+ }) : /* @__PURE__ */ (0, O.jsx)(qEe, {group: u.collection,itemId: c.id,helpers: o,@@ -68824,14 +68873,14 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(BEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(KEe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, O.jsx)(HEe, {+ }, f), /* @__PURE__ */ (0, O.jsx)(JEe, {item: c,data: e,context: t,@@ -68841,9 +68890,9 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, O.jsx)(m2, {+ }), /* @__PURE__ */ (0, O.jsx)(h2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(zEe, {+ children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(GEe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -68853,23 +68902,23 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function zEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function GEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = St({- queryKey: MEe(e.item.id, t, n),- queryFn: ({ signal: r }) => NEe(e, t, n, r)- }), [s] = (0, D.useState)(() => l2("正在读取推荐", {+ queryKey: REe(e.item.id, t, n),+ queryFn: ({ signal: r }) => zEe(e, t, n, r)+ }), [s] = (0, D.useState)(() => u2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, D.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = g2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = _2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, O.jsx)(p2, {+ return /* @__PURE__ */ (0, O.jsx)(m2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -68883,7 +68932,7 @@ function zEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }variant: "next",group: e,media: t,- authorSources: s2(e.primary, u),+ authorSources: c2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -68896,8 +68945,8 @@ function zEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function BEe({ 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, D.useRef)(null), p = EEe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({+function KEe({ 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, D.useRef)(null), p = MEe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({item: e,selected: o}), x = (0, D.useRef)(i.failed);@@ -68911,7 +68960,7 @@ function BEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }),+ /* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, O.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,@@ -68926,10 +68975,10 @@ function BEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: OU(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: MU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, O.jsx)(h2, {+ u ? /* @__PURE__ */ (0, O.jsx)(g2, {items: c,position: l,onSelect: r,@@ -68946,11 +68995,11 @@ function BEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var b2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var x2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function x2({ src: e }) {+function S2({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {src: e,@@ -68960,27 +69009,27 @@ function x2({ src: e }) {onError: () => n(!0)});}-function S2(e) {+function C2(e) {return (0, D.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function VEe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = zi(e), a = S2(n);- return /* @__PURE__ */ (0, O.jsx)(WG, {+function qEe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = zi(e), a = C2(n);+ return /* @__PURE__ */ (0, O.jsx)(YG, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${AU(e.primary)} · ${i.length} 个视频`,+ summary: `${PU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = bEe(e, n, i ? n.provider_label : ""), o = i ? OU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, O.jsxs)(GG, {+ let i = e.duplicates.includes(n), a = EEe(e, n, i ? n.provider_label : ""), o = i ? MU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, O.jsxs)(XG, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",children: hn(n.duration)@@ -68998,15 +69047,15 @@ function VEe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, O.jsx)("time", {dateTime: n.published_at || "",- children: zU(n)+ children: UU(n)})]})]}, n.id);})});}-function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = S2(r), c = [];+function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = C2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69016,26 +69065,26 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, O.jsx)(WG, {+ return /* @__PURE__ */ (0, O.jsx)(YG, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${AU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(KG, {+ summary: `${PU(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(ZG, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(GG, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(XG, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, O.jsx)("b", {"data-middle-truncate": "",- children: xEe(n)+ children: DEe(n)}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -69043,13 +69092,13 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function JEe({ 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 = IU(d, e), p = PU(e, s2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = LU(e, n), g = wEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = BU(d, e), p = RU(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = VU(e, n), g = AEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69065,7 +69114,7 @@ function HEe({ 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: FU(d, e) + B(AU(e)) }+ dangerouslySetInnerHTML: { __html: zU(d, e) + B(PU(e)) }}), e.url ? /* @__PURE__ */ (0, O.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -69073,7 +69122,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: v2 }+ dangerouslySetInnerHTML: { __html: y2 }}) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -69081,8 +69130,8 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, O.jsx)("span", { children: zU(e) }),- _2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: hn(e.duration) }) : null,+ /* @__PURE__ */ (0, O.jsx)("span", { children: UU(e) }),+ v2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: hn(e.duration) }) : null,f ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -69131,7 +69180,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, O.jsx)(UEe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, O.jsx)(YEe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, O.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69154,9 +69203,9 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [yEe(e), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [TEe(e), /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: v2 }+ dangerouslySetInnerHTML: { __html: y2 }})]}, e))}) : null,@@ -69256,7 +69305,7 @@ function HEe({ 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, O.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(PEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(BEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69270,7 +69319,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",- "data-tag-cat": CEe(e, t),+ "data-tag-cat": kEe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -69280,7 +69329,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function UEe({ text: e }) {+function YEe({ text: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69303,8 +69352,8 @@ function UEe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function WEe(e, t, n) {- let r = e.id, i = e2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {+function XEe(e, t, n) {+ let r = e.id, i = t2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -69323,7 +69372,7 @@ function WEe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && x$(), t.toast(DEe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && S$(), t.toast(NEe(n), { undo: i === "saved" ? void 0 : async () => {await H($n, {item: r,to: i@@ -69333,7 +69382,7 @@ function WEe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = Ct({- mutationFn: () => H(fEe, { item: r }),+ mutationFn: () => H(vEe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -69341,7 +69390,7 @@ function WEe(e, t, n) {onSettled: () => l("save", !1)}), m = Ct({mutationFn: async ({ index: e, hidden: t }) => {- await H(pEe, {+ await H(yEe, {item: r,media: e,hidden: t@@ -69357,12 +69406,12 @@ function WEe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = St({- queryKey: kCe(r),- queryFn: ({ signal: e }) => MCe(r, e)+ queryKey: FCe(r),+ queryFn: ({ signal: e }) => RCe(r, e)}).data?.want ?? null, g = Ct({- mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),+ mutationFn: async (e) => (e ? await x$([e.id]) : await b$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), S$();},onError: d,onSettled: () => l("want", !1)@@ -69402,7 +69451,7 @@ function WEe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${B(xn(t.name))}</span>` + Ia({@@ -69448,7 +69497,7 @@ function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function T2({ people: e, onOpen: t }) {+function E2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",@@ -69482,7 +69531,7 @@ function T2({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function E2(e) {+function D2(e) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69500,9 +69549,9 @@ function E2(e) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(yQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(bQ, {item: {code: e.code,has_cover: !1,@@ -69516,7 +69565,7 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(!0)- }) : i ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : i ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -69535,81 +69584,81 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), GEe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => U.ensureQueryData({- queryKey: O2(e.code),- queryFn: () => k2(e.code, t),+var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), ZEe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => U.ensureQueryData({+ queryKey: k2(e.code),+ queryFn: () => A2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function KEe(e, t) {+function QEe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}//#endregion//#region src/react/item-detail/external-playback.tsx-var j2 = "peach.external-player.v1", M2 = [+var M2 = "peach.external-player.v1", N2 = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function qEe(e, t, n) {+function $Ee(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}-function N2({ id: e }) {+function P2({ id: e }) {let [t, n] = (0, D.useState)(() => {try {- return M2.find(([e]) => e === localStorage.getItem(j2))?.[0] || "m3u";+ return N2.find(([e]) => e === localStorage.getItem(M2))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, D.useState)(null), a = AH();- return /* @__PURE__ */ (0, O.jsx)(KH, {+ }), [r, i] = (0, D.useState)(null), a = kH();+ return /* @__PURE__ */ (0, O.jsx)(GH, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, O.jsxs)(HH, { children: [- /* @__PURE__ */ (0, O.jsx)(p1, {+ children: /* @__PURE__ */ (0, O.jsxs)(VH, { children: [+ /* @__PURE__ */ (0, O.jsx)(m1, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: M2,+ options: N2,value: t,epoch: 0,onPick: (e) => {- let t = M2.find(([t]) => t === e)?.[0] || "m3u";+ let t = N2.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(j2, t);+ localStorage.setItem(M2, t);} catch {}}}),/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(a.busy === "prepare"),+ ...zz(a.busy === "prepare"),onClick: () => void a.run("prepare", (t) => H(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({url: new URL(e.url, location.origin).href,playlist: new URL(e.playlist, location.origin).href})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, O.jsx)(UH, { children: a.error }) : null,r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("a", {- href: qEe(t, r.url, r.playlist),+ href: $Ee(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${M2.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${N2.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, O.jsx)(UH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, O.jsx)(HH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var JEe = tF({+var eDe = eF({sm: {track: "h-4 w-7",trackRadius: {@@ -69671,23 +69720,23 @@ var JEe = tF({}}});-function YEe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = JEe[t];+function tDe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = eDe[t];return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: eF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? eF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: $P("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? $P("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("span", {- className: eF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, O.jsx)("span", { className: eF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: $P("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: $P("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Uue, {+function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Wue, {ref: i,...a,- className: (t) => eF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YEe, {+ className: (t) => $P("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(tDe, {state: e,size: n,shape: r@@ -69699,13 +69748,13 @@ function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/cover-crop/cover-crop.ts-var XEe = "/api/cover-crop", ZEe = (e, t) => H(XEe, {+var nDe = "/api/cover-crop", rDe = (e, t) => H(nDe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function F2({ className: e }) {+function I2({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -69718,7 +69767,7 @@ function F2({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })});}-function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function iDe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69728,13 +69777,13 @@ function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, O.jsx)(Nz, {+ children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, O.jsx)(Mz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, O.jsx)($Ee, {+ children: /* @__PURE__ */ (0, O.jsx)(aDe, {code: e,coverUrl: t,box: n,@@ -69743,9 +69792,9 @@ function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = iV(), f = Ct({- mutationFn: (t) => ZEe(e, t),+function aDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = rV(), f = Ct({+ mutationFn: (t) => rDe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -69757,7 +69806,7 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Bxe(e, Ca);+ } : qxe(e, Ca);c(nQ(t, e, null));}let m = f.isPending;@@ -69765,11 +69814,11 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Pz, { children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Nz, { children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(xI, {+ /* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -69778,14 +69827,14 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: An(f.error)}) : null]}),- /* @__PURE__ */ (0, O.jsx)(MF, {- icon: fz,+ /* @__PURE__ */ (0, O.jsx)(AF, {+ icon: dz,size: "small","aria-label": "关闭",onClick: i@@ -69809,7 +69858,7 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, O.jsx)(P2, {+ children: [/* @__PURE__ */ (0, O.jsx)(F2, {isSelected: l,onChange: (e) => {u(e), e && s && a && c(nQ(s, a, Ca));@@ -69822,14 +69871,14 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(m),+ ...zz(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, O.jsx)(J, {disabled: !s || !a,- ...Bz(m),+ ...zz(m),onClick: () => {s && !m && f.mutate(s);},@@ -69841,21 +69890,21 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var I2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var L2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), L2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+}), R2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), R2 = (e) => Number(e) > 0 ? _n(Number(e)) : "大小未知";-function eDe(e) {+}), z2 = (e) => Number(e) > 0 ? _n(Number(e)) : "大小未知";+function oDe(e) {let { queue: t, actions: n } = e, r = St({- queryKey: t ? BM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => YM(t, e.helpers, n),+ queryKey: t ? LM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => JM(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? QM(i, e.id) : t ? null : e.id, o = St({- queryKey: zM(a ?? 0),- queryFn: ({ signal: e }) => JM(a, e),+ }), i = t && r.data || null, a = i ? ZM(i, e.id) : t ? null : e.id, o = St({+ queryKey: IM(a ?? 0),+ queryFn: ({ signal: e }) => qM(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -69866,9 +69915,9 @@ function eDe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, O.jsx)(uW, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(hW, {message: Ut(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -69878,13 +69927,13 @@ function eDe(e) {})});}- return /* @__PURE__ */ (0, O.jsx)(tDe, {+ return /* @__PURE__ */ (0, O.jsx)(sDe, {...e,- item: Tse(o.data, i),+ item: Ese(o.data, i),queue: i}, o.data.id);}-var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69893,23 +69942,23 @@ var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function tDe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = _De(t, r, i.tagLabel), o = (0, D.useRef)(t);+function sDe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = CDe(t, r, i.tagLabel), o = (0, D.useRef)(t);(0, D.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, D.useEffect)(() => {- n?.kind === "playlist" && H(VM, {+ n?.kind === "playlist" && H(BM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Ise(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = $M(n, t.id);+ let s = Lse(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = QM(n, t.id);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(nDe, {+ children: [/* @__PURE__ */ (0, O.jsx)(cDe, {item: t,gate: s,helpers: i,@@ -69922,22 +69971,22 @@ function tDe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, O.jsx)(sDe, {+ }), /* @__PURE__ */ (0, O.jsx)(pDe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, O.jsx)(m2, {+ }), /* @__PURE__ */ (0, O.jsx)(h2, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, O.jsx)(iDe, {+ queue: n ? /* @__PURE__ */ (0, O.jsx)(uDe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(gDe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(SDe, {...e,item: n ? {...t,@@ -69946,12 +69995,12 @@ function tDe(e) {}) : null})] });}-function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function cDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = St({- queryKey: O2(e.code || ""),+ queryKey: k2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, k2(e.code, t, n);+ return d.current = !1, A2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -69996,26 +70045,26 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, O.jsx)(z2, { onClose: r.close }),+ /* @__PURE__ */ (0, O.jsx)(B2, { onClose: r.close }),h ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(D2, {+ l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(O2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, O.jsx)(h2, {+ /* @__PURE__ */ (0, O.jsx)(g2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(D2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(O2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -70032,7 +70081,7 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(f.isFetching),+ ...zz(f.isFetching),title: f.data?.message || Ut(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -70041,7 +70090,7 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, O.jsx)(rDe, {+ t === "offline" ? /* @__PURE__ */ (0, O.jsx)(lDe, {item: e,badge: y,helpers: n,@@ -70052,14 +70101,14 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, O.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id })+ /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, O.jsxs)("div", {id: "onlineGate",role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, O.jsx)(L2, { html: y }),+ /* @__PURE__ */ (0, O.jsx)(R2, { html: y }),/* @__PURE__ */ (0, O.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -70074,12 +70123,12 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, O.jsx)(L2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]+ children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]}) : null]});}-function rDe({ item: e, badge: t, helpers: n, actions: r }) {+function lDe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -70090,7 +70139,7 @@ function rDe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, O.jsx)(L2, { html: t }),+ /* @__PURE__ */ (0, O.jsx)(R2, { html: t }),/* @__PURE__ */ (0, O.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, O.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -70104,8 +70153,8 @@ function rDe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Mse(e), a = (0, D.useRef)(null), o = oDe(e, t, r), s = (0, D.useRef)(o);+function uDe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Nse(e), a = (0, D.useRef)(null), o = fDe(e, t, r), s = (0, D.useRef)(o);s.current = o;let c = (0, D.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70113,7 +70162,7 @@ function iDe({ 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 = aDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {+ }, [n, e.kind]), l = dDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -70132,7 +70181,7 @@ function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, O.jsx)(WG, {+ return /* @__PURE__ */ (0, O.jsx)(YG, {kind: e.kind,title: i.title,summary: i.summary,@@ -70141,11 +70190,11 @@ function iDe({ 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, O.jsx)("i", {- className: `javedition ${Ase[i.edition_label] || "censored"}`,+ className: `javedition ${jse[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && ZM(i);- return /* @__PURE__ */ (0, O.jsxs)(GG, {+ }) : null, s = e.kind === "playlist" && XM(i);+ return /* @__PURE__ */ (0, O.jsxs)(XG, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70155,25 +70204,25 @@ function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L2, { html: Ja(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: Ja(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",children: hn(i.duration)})] }),- lead: /* @__PURE__ */ (0, O.jsx)(L2, { html: Za(i) }),+ lead: /* @__PURE__ */ (0, O.jsx)(R2, { html: Za(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, O.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, O.jsxs)("span", {@@ -70184,14 +70233,14 @@ function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? oN(i.part_label) : Qa(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? aN(i.part_label) : Qa(i, n.tagLabel)})]}, i.id);})});}-function aDe(e, t) {- let n = Ct({ mutationFn: (t) => H(VM, {+function dDe(e, t) {+ let n = Ct({ mutationFn: (t) => H(BM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70204,11 +70253,11 @@ function aDe(e, t) {save: (e) => n.mutateAsync(e)});}-function oDe(e, t, n) {- let r = BM({+function fDe(e, t, n) {+ let r = LM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (U.setQueryData(r, XM(e)), e), a = (t) => H(VM, {+ }), i = (e) => (U.setQueryData(r, YM(e)), e), a = (t) => H(BM, {id: e.playlistId,...t}).then((e) => e.playlist), o = Ct({@@ -70224,8 +70273,8 @@ function oDe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Pse(s, t, r, c);- if (Fse(l, s)) return;+ let l = Fse(s, t, r, c);+ if (Ise(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70267,7 +70316,7 @@ function oDe(e, t, n) {}};}-function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function pDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-side": "",@@ -70275,7 +70324,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, O.jsx)(cDe, {+ /* @__PURE__ */ (0, O.jsx)(mDe, {item: e,queue: t,helpers: r,@@ -70287,7 +70336,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, O.jsx)(uDe, {+ /* @__PURE__ */ (0, O.jsx)(gDe, {item: e,write: n}),@@ -70298,7 +70347,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.width,"×",e.height@@ -70306,11 +70355,11 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: R2(e.size) })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: z2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -70318,29 +70367,29 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, O.jsx)(dDe, {+ /* @__PURE__ */ (0, O.jsx)(_De, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(fDe, {+ /* @__PURE__ */ (0, O.jsx)(vDe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(cK, {- assetIds: sK([e], r.javImage()),+ /* @__PURE__ */ (0, O.jsx)(pK, {+ assetIds: fK([e], r.javImage()),onComplete: () => {- U.invalidateQueries({ queryKey: zM(e.id) });+ U.invalidateQueries({ queryKey: IM(e.id) });}}),- /* @__PURE__ */ (0, O.jsx)(mDe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id }, e.id) : null,+ /* @__PURE__ */ (0, O.jsx)(bDe, { item: e }),+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -70354,7 +70403,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70366,7 +70415,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70377,7 +70426,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70388,7 +70437,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "eye" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "eye" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70399,7 +70448,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70408,7 +70457,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "playlist" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "playlist" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70419,7 +70468,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "sparkles" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70430,11 +70479,11 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "trash" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "trash" })})]}),- /* @__PURE__ */ (0, O.jsx)(hDe, {+ /* @__PURE__ */ (0, O.jsx)(xDe, {item: e,open: s,write: n@@ -70445,7 +70494,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, O.jsx)(I2, { name: "sperm" }),+ /* @__PURE__ */ (0, O.jsx)(L2, { name: "sperm" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, O.jsx)("b", {className: "mono",@@ -70458,8 +70507,8 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Nse(e, t);+function mDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Pse(e, t);return /* @__PURE__ */ (0, O.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, O.jsxs)("div", {@@ -70486,23 +70535,23 @@ function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, O.jsx)(zH, {})+ children: /* @__PURE__ */ (0, O.jsx)(RH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, O.jsx)(QEe, {+ children: /* @__PURE__ */ (0, O.jsx)(iDe, {code: e.cover_key || e.code || "",coverUrl: Aa(e),box: e.poster_box || null,onSaved: (t) => {U.invalidateQueries({- queryKey: zM(e.id),+ queryKey: IM(e.id),exact: !0- }), PM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), jM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(lDe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(hDe, {id: e.id,actions: r,onStatus: i@@ -70512,7 +70561,7 @@ function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function lDe({ id: e, actions: t, onStatus: n }) {+function hDe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, D.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -70542,17 +70591,17 @@ function lDe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "folder-sync" })})] });}-function uDe({ item: e, write: t }) {- let n = IM(e.rating);+function gDe({ item: e, write: t }) {+ let n = NM(e.rating);return /* @__PURE__ */ (0, O.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": FM(e.rating),+ "data-value": MM(e.rating),children: [/* @__PURE__ */ (0, O.jsx)(pY, {value: n,onRate: (e) => t.rate(e),@@ -70567,14 +70616,14 @@ function uDe({ item: e, write: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: LM(e.rating)+ children: PM(e.rating)})]});}-function dDe({ item: e, actions: t }) {- let n = (0, D.useMemo)(() => Ese(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function _De({ item: e, actions: t }) {+ let n = (0, D.useMemo)(() => Dse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, O.jsx)(w2, {+ return /* @__PURE__ */ (0, O.jsx)(T2, {kind: e,person: n,onOpen: t.openEntity,@@ -70606,7 +70655,7 @@ function dDe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "user-round" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "user-round" })}), /* @__PURE__ */ (0, O.jsx)("span", {"data-id-name": "",children: "未归属"@@ -70618,7 +70667,7 @@ function dDe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: lz,+ trailingIcon: cz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -70637,14 +70686,14 @@ function dDe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, O.jsx)(T2, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(E2, {people: n.series,onOpen: t.openEntity})]});}-function fDe({ item: e, write: t, helpers: n, actions: r }) {- let i = Dse(e, n);+function vDe({ item: e, write: t, helpers: n, actions: r }) {+ let i = Ose(e, n);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -70664,16 +70713,16 @@ function fDe({ item: e, write: t, helpers: n, actions: r }) {"aria-label": `删除标签 ${n.tagLabel(e.k)}`,...t.busyAttrs(`tag:${e.k}`),onClick: () => t.removeTag(e),- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, O.jsx)(pDe, {+ }, e.k)), /* @__PURE__ */ (0, O.jsx)(yDe, {item: e,write: t,helpers: n})]});}-function pDe({ item: e, write: t, helpers: n }) {+function yDe({ item: e, write: t, helpers: n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(-1), h = (0, D.useCallback)(() => {i.current && To(i.current), c(!1);}, []);@@ -70687,7 +70736,7 @@ function pDe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? kse(d, n.tagCandidates(), aN()) : {+ let g = s ? Ase(d, n.tagCandidates(), iN()) : {recent: [],results: [],create: ""@@ -70710,12 +70759,12 @@ function pDe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && tN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && eN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = tN(e, t.k);+ let r = b, i = eN(e, t.k);return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-pick": t.k,@@ -70723,7 +70772,7 @@ function pDe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, O.jsx)(I2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, O.jsx)(L2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -70746,7 +70795,7 @@ function pDe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (wo(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "plus" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" })}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: i,id: "tagPicker",@@ -70756,7 +70805,7 @@ function pDe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, O.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -70797,7 +70846,7 @@ function pDe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -70812,8 +70861,8 @@ function pDe({ item: e, write: t, helpers: n }) {})]})] });}-function mDe({ item: e }) {- let t = Lse(e);+function bDe({ item: e }) {+ let t = Rse(e);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -70847,7 +70896,7 @@ function mDe({ item: e }) {})]});}-function hDe({ item: e, open: t, write: n }) {+function xDe({ item: e, open: t, write: n }) {let [r, i] = (0, D.useState)(e.like_reason || ""), a = (0, D.useRef)(null);(0, D.useEffect)(() => {t && a.current?.focus();@@ -70886,12 +70935,12 @@ function hDe({ item: e, open: t, write: n }) {})]});}-function gDe(e) {+function SDe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = St({- queryKey: Sse(t.id, n),- queryFn: async ({ signal: e }) => (await V(wse(t.id, n), e)).items || []+ queryKey: RM(t.id, n),+ queryFn: async ({ signal: e }) => (await V(Tse(t.id, n), e)).items || []}), [o] = (0, D.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, O.jsx)(p2, {+ return /* @__PURE__ */ (0, O.jsx)(m2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -70912,11 +70961,11 @@ function gDe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, O.jsx)(L2, { html: o })+ }) : /* @__PURE__ */ (0, O.jsx)(R2, { html: o })});}-function _De(e, t, n) {- let r = e.id, i = zM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {+function CDe(e, t, n) {+ let r = e.id, i = IM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => U.getQueryData(i) || e, p = (e) => {@@ -70932,7 +70981,7 @@ function _De(e, t, n) {rating: t.rating,o_count: t.o_count};- return NM(r, n), t;+ return AM(r, n), t;}, m = (e, t) => H(e, {id: r,...t@@ -70947,7 +70996,7 @@ function _De(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(HM, t === void 0 ? { kind: e } : {+ let n = await m(VM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -70967,21 +71016,21 @@ function _De(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = RM(n, e);- await _("rate", r), t.toast(r ? `已评 ${IM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = FM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${NM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(sN(e, r), { undo: async () => {+ t.toast(oN(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(WM, {});+ let e = await m(UM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(WM, {})).watch_later });+ p({ watch_later: (await m(UM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -70991,9 +71040,9 @@ function _De(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(GM, { wanted: !e.wanted });+ }), r = await m(WM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(GM, e));+ n(await m(WM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71007,7 +71056,7 @@ function _De(e, t, n) {});u("保存中…");try {- o(await m(KM, {+ o(await m(GM, {liked: a,reason: i}));@@ -71017,7 +71066,7 @@ function _De(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(KM, r));+ o(await m(GM, r));} });});},@@ -71026,30 +71075,30 @@ function _De(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => nN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(UM, {+ p((t) => tN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(HM, {operation: "add",tag: e.k- }), p((t) => rN(t, e));+ }), p((t) => nN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(UM, {+ let e = await m(HM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- tN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => rN(e, {+ eN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => nN(e, {k: i,cat: "general"- })), Ose(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(UM, {+ })), kse(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(HM, {operation: "remove",tag: i- }), p((e) => nN(e, i));+ }), p((e) => tN(e, i));} }));});}@@ -71057,7 +71106,7 @@ function _De(e, t, n) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var B2 = "/api/downloads", V2 = ["downloads"], vDe = "/api/downloads/cancel", yDe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, bDe = {+var V2 = "/api/downloads", H2 = ["downloads"], wDe = "/api/downloads/cancel", TDe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, EDe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71066,21 +71115,21 @@ var B2 = "/api/downloads", V2 = ["downloads"], vDe = "/api/downloads/cancel", yDremote_done: "lime",landed: "lime",submitted: "neutral"-}, U2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = sF({+}, W2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = oF({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name});return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;-}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", xDe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function SDe() {+}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", DDe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function ODe() {let e = (0, D.useId)(), t = wt({- queryKey: [...V2, "pages"],+ queryKey: [...H2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => V(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => V(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, O.jsxs)("section", {id: "cloudDownloads",@@ -71092,14 +71141,14 @@ function SDe() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ t.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: An(t.error)}) : null,r.length ? /* @__PURE__ */ (0, O.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(CDe, {+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(kDe, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -71107,9 +71156,9 @@ function SDe() {t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: lz,+ leadingIcon: cz,className: "self-start",- ...Bz(t.isFetchingNextPage),+ ...zz(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -71118,15 +71167,15 @@ function SDe() {]});}-function CDe({ task: e, writable: t }) {- let n = A(), r = AH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = W2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function kDe({ task: e, writable: t }) {+ let n = A(), r = kH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- EF(e.submitted_at)+ wF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: V2 });+ n.invalidateQueries({ queryKey: H2 });}, g = () => {- r.run("cancel", (t) => H(vDe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => H(wDe, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -71136,16 +71185,16 @@ function CDe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => H(B2, t, "POST", e), h);+ r.run("resubmit", (e) => H(V2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => H(yDe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => H(TDe, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, O.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: MH({+ className: jH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71156,14 +71205,14 @@ function CDe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(mA) },+ style: { "--card-ratio": String(dA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(dW, {+ u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(gW, {artwork: {kind: "cover",html: Ha(u, "big")@@ -71173,7 +71222,7 @@ function CDe({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${U2(e)}`,+ "aria-label": `打开作品详情:${W2(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -71184,17 +71233,17 @@ function CDe({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, O.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: U2(e),+ title: W2(e),children: f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: U2(e)- }) : U2(e)+ children: W2(e)+ }) : W2(e)}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)(hZ, {- color: bDe[e.state] ?? "neutral",+ color: EDe[e.state] ?? "neutral",children: e.state_label}), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(hZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",@@ -71206,7 +71255,7 @@ function CDe({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, O.jsx)(XH, {+ children: /* @__PURE__ */ (0, O.jsx)(YH, {source: e.provider,label: e.provider_label})@@ -71233,7 +71282,7 @@ function CDe({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(FH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(PH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71243,7 +71292,7 @@ function CDe({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, O.jsx)(UH, { children: r.error }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -71268,21 +71317,21 @@ function CDe({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(r.busy === "cancel"),+ ...zz(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(r.busy === "resubmit"),+ ...zz(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(r.busy === "postprocess"),+ ...zz(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71297,13 +71346,13 @@ function CDe({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: U2(e)+ children: W2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, O.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, O.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || xDe(e)+ children: l || DDe(e)})}) : null]@@ -71311,21 +71360,21 @@ function CDe({ task: e, writable: t }) {}//#endregion//#region src/react/activity/work-code.ts-var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);+var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);//#endregion//#region src/react/activity/resource-search.tsx-function wDe({ className: e }) {+function ADe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }});}-function TDe(e) {+function jDe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => TDe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = AH(), b = (0, D.useRef)(null);+function MDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => jDe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = kH(), b = (0, D.useRef)(null);(0, D.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71341,7 +71390,7 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => K2(e.code, t));+ let r = (n.items || []).find((e) => q2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71362,18 +71411,18 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, O.jsxs)(UH, { children: [+ t ? /* @__PURE__ */ (0, O.jsxs)(HH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? wDe : Cz,+ leadingIcon: y.busy ? ADe : Sz,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71383,7 +71432,7 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(GH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(dU, {+ children: [/* @__PURE__ */ (0, O.jsx)(WH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(hU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71391,15 +71440,15 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, O.jsx)(fU, {+ /* @__PURE__ */ (0, O.jsx)(gU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, O.jsx)(fU, {+ /* @__PURE__ */ (0, O.jsx)(gU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, O.jsx)(fU, {+ /* @__PURE__ */ (0, O.jsx)(gU, {id: "uncensored",children: "无码"})@@ -71408,32 +71457,32 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, O.jsx)(Mz, {+ children: [/* @__PURE__ */ (0, O.jsx)(jz, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, O.jsx)(Mz, {+ }), /* @__PURE__ */ (0, O.jsx)(jz, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, O.jsx)(UH, {+ y.busy ? /* @__PURE__ */ (0, O.jsx)(HH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, O.jsx)(UH, {+ y.error ? /* @__PURE__ */ (0, O.jsx)(UH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, O.jsx)(HH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(UH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(HH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(UH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(HH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {@@ -71443,7 +71492,7 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, O.jsx)(UH, { children: [+ /* @__PURE__ */ (0, O.jsx)(HH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71468,19 +71517,19 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var DDe = {+var NDe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function q2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, O.jsx)(Nz, {+function J2({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, O.jsx)(Mz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, O.jsx)(ODe, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(PDe, {prefill: e,close: t,receipt: n,@@ -71488,26 +71537,26 @@ function q2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function ODe({ prefill: e, close: t, receipt: n, provider: r }) {+function PDe({ prefill: e, close: t, receipt: n, provider: r }) {let i = St({- queryKey: V2,- queryFn: ({ signal: e }) => V(`${B2}?limit=50`, e),- refetchInterval: (e) => H2(e.state.data)+ queryKey: H2,+ queryFn: ({ signal: e }) => V(`${V2}?limit=50`, e),+ refetchInterval: (e) => U2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, O.jsx)(xI, {+ children: [/* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: fz,+ leadingIcon: dz,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, O.jsx)(kDe, {+ return a ? /* @__PURE__ */ (0, O.jsx)(FDe, {header: o,snapshot: a,prefill: e,@@ -71520,7 +71569,7 @@ function ODe({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: i.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: An(i.error)}) : null@@ -71536,8 +71585,8 @@ function ODe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = AH(), C = (0, D.useRef)(null), w = (e) => {+function FDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = kH(), C = (0, D.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, O.jsxs)("form", {@@ -71553,14 +71602,14 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => H(B2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: V2 });- let t = DDe[e.outcome];+ b(""), S.run("submit", (e) => H(V2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: H2 });+ let t = NDe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = W2(e.task);+ let n = G2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71584,7 +71633,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, O.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, O.jsx)(UH, { children: [+ }), _ ? /* @__PURE__ */ (0, O.jsx)(HH, { children: [_.performers,_.studio,_.release_date,@@ -71592,22 +71641,22 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, O.jsx)(EDe, {+ /* @__PURE__ */ (0, O.jsx)(MDe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);+ q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : K2(t?.code, n.code) ? t : null),+ } : e : q2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71619,38 +71668,38 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(GH, { children: "下载到" }),- /* @__PURE__ */ (0, O.jsx)(dU, {+ /* @__PURE__ */ (0, O.jsx)(WH, { children: "下载到" }),+ /* @__PURE__ */ (0, O.jsx)(hU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, O.jsx)(XH, {+ children: /* @__PURE__ */ (0, O.jsx)(YH, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, O.jsx)(UH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, O.jsx)(HH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {+ t.available ? null : /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Fz, {+ s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Pz, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(jz, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71658,17 +71707,17 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {+ n.code ? null : /* @__PURE__ */ (0, O.jsx)(jz, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), K2(e, _?.code) || v(null);+ m(e), q2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, O.jsx)(UH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -71680,7 +71729,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, O.jsx)(J, {type: "submit",disabled: !d.trim() || !x,- ...Bz(S.busy === "submit"),+ ...zz(S.busy === "submit"),children: "提交下载"})]})@@ -71689,11 +71738,11 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/publication-cache.ts-var J2 = 864e5, Y2 = (e) => {+var Y2 = 864e5, X2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function X2(e) {+function Z2(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -71701,26 +71750,26 @@ function X2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function ADe(e, t = Date.now()) {- let n = X2(e);- return n !== void 0 && Y2(t) > n ? Infinity : J2;+function IDe(e, t = Date.now()) {+ let n = Z2(e);+ return n !== void 0 && X2(t) > n ? Infinity : Y2;}-function Z2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : ADe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;+function Q2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : IDe(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;}//#endregion//#region src/react/wants/resource-cache.ts-var Q2 = "peach.want-resources.v1";-function $2(e) {+var $2 = "peach.want-resources.v1";+function e4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function e4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));+function t4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));}-function t4() {+function n4() {try {- let e = JSON.parse(localStorage.getItem(Q2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem($2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -71729,23 +71778,23 @@ function t4() {return [];}}-function jDe(e, t) {- let n = t4().find((t) => t.code === e);- return n && Z2(n.saved, t) ? n : void 0;+function LDe(e, t) {+ let n = n4().find((t) => t.code === e);+ return n && Q2(n.saved, t) ? n : void 0;}-function MDe(e) {- let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function RDe(e) {+ let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function NDe(e, t) {- if (t.state === "ready" && $2(t)) try {- let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(Q2, JSON.stringify([{+function zDe(e, t) {+ if (t.state === "ready" && e4(t)) try {+ let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem($2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -71754,16 +71803,16 @@ function NDe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function PDe(e) {+function BDe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? _n(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function FDe(e) {+function VDe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion//#region src/react/wants/want-magnets.tsx-function n4({ icon: e, children: t, title: n }) {+function r4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, O.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -71773,8 +71822,8 @@ function n4({ icon: e, children: t, title: n }) {}), t]});}-function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = AH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => jDe(h, e.release_date), [h, e.release_date]);+function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = kH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => LDe(h, e.release_date), [h, e.release_date]);(0, D.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -71794,22 +71843,22 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", NDe(h, i), i;+ return m.current = n && i.state === "busy", zDe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, D.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, D.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && jCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && LCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -71817,7 +71866,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await H(B2, {+ let n = await H(V2, {magnet: r.uri,provider: v.key,target: v.target,@@ -71828,7 +71877,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: H2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -71846,39 +71895,39 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Sz,- ...Bz(x),+ leadingIcon: xz,+ ...zz(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, O.jsx)(NH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ x ? /* @__PURE__ */ (0, O.jsx)(MH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Fz, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",- children: FDe(e)+ children: VDe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(JF, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(KF, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: pz,+ trailingIcon: fz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",title: "操作未完成",children: f.error@@ -71907,26 +71956,26 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, O.jsx)(n4, {- icon: wfe,+ /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: Tfe,children: e.source}),- /* @__PURE__ */ (0, O.jsx)(n4, {- icon: _z,+ /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: gz,title: `来源大小:${e.size}`,- children: PDe(e.size)+ children: BDe(e.size)}),- e.files ? /* @__PURE__ */ (0, O.jsx)(n4, {- icon: hfe,+ e.files ? /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: gfe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, O.jsx)(n4, {- icon: tfe,+ /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: nfe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(n4, {- icon: xz,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: bz,children: e}, e))]@@ -71935,11 +71984,11 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(JF, {+ /* @__PURE__ */ (0, O.jsx)(KF, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: pz,+ trailingIcon: fz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -71948,18 +71997,18 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: pfe,- ...Bz(f.busy === `copy:${e.id}`),+ leadingIcon: mfe,+ ...zz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? YH(v.key) : sfe,+ leadingIcon: v ? JH(v.key) : cfe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...Bz(f.busy === e.id),+ ...zz(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -71970,7 +72019,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(KH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(GH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -71983,10 +72032,10 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}//#endregion//#region src/react/jav-detail/review-cache.ts-var i4 = "peach.jav-reviews.v1";-function a4() {+var a4 = "peach.jav-reviews.v1";+function o4() {try {- let e = localStorage.getItem(i4) || "[]";+ let e = localStorage.getItem(a4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -71994,21 +72043,21 @@ function a4() {return [];}}-function IDe(e, t) {+function HDe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(i4, i);+ }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(a4, i);} catch {}}-function LDe(e, t) {- let n = a4(), r = [], i = Infinity;+function UDe(e, t) {+ let n = o4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -72016,17 +72065,17 @@ function LDe(e, t) {saved: i} : void 0;}-function RDe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));+function WDe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function zDe(e) {+function GDe(e) {let t = (0, D.useRef)(!1), n = St({- queryKey: O2(e.code),+ queryKey: k2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, k2(e.code, n, r);+ return t.current = !1, A2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -72036,21 +72085,21 @@ function zDe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, O.jsx)(BDe, {+ children: n.data ? /* @__PURE__ */ (0, O.jsx)(KDe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, O.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(uW, {+ children: [/* @__PURE__ */ (0, O.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(hW, {message: An(n.error),onRetry: r}) : null]})});}-var o4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var s4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -72059,7 +72108,7 @@ var o4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function KDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, D.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, D.useEffect)(() => {@@ -72079,13 +72128,13 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = AH(), m = () => {- p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {- f(t), U.setQueryData(O2(e), (e) => e && {+ ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = kH(), m = () => {+ p.run("want", async (e) => d ? (await x$([d], e), null) : (await b$({ code: t.code }, e)).want.id, (t) => {+ f(t), U.setQueryData(k2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), x$(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), S$(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [@@ -72094,24 +72143,24 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(o4, { close: n.close }),+ /* @__PURE__ */ (0, O.jsx)(s4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(UDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(yQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(YDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(bQ, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, O.jsx)(h2, {+ /* @__PURE__ */ (0, O.jsx)(g2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(yQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(bQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72125,33 +72174,33 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, O.jsx)(VDe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, O.jsx)(qDe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, O.jsx)(c4, {+ children: [/* @__PURE__ */ (0, O.jsx)(l4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, O.jsx)(c4, {+ }), /* @__PURE__ */ (0, O.jsx)(l4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, O.jsx)(HDe, {+ /* @__PURE__ */ (0, O.jsx)(JDe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, O.jsx)(c4, {+ children: [/* @__PURE__ */ (0, O.jsx)(l4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, O.jsx)(c4, {+ }), /* @__PURE__ */ (0, O.jsx)(l4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72180,11 +72229,11 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-summary": "",children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ t.message ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(a),+ ...zz(a),onClick: i,children: "立即重试"}),@@ -72193,10 +72242,10 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, O.jsx)(JF, {+ t.source_url ? /* @__PURE__ */ (0, O.jsx)(KF, {"data-button-link": "",variant: "secondary",- trailingIcon: pz,+ trailingIcon: fz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72206,7 +72255,7 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...Bz(!!p.busy),+ ...zz(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -72224,16 +72273,16 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ p.error ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, O.jsx)(WDe, {+ /* @__PURE__ */ (0, O.jsx)(XDe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, O.jsx)(GDe, {+ /* @__PURE__ */ (0, O.jsx)(ZDe, {item: t,actions: n,readOnly: r@@ -72241,24 +72290,24 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, O.jsx)(q2, {+ /* @__PURE__ */ (0, O.jsx)(J2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var s4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var c4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {+}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : null;-function VDe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;+function qDe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h1", {@@ -72285,12 +72334,12 @@ function VDe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, O.jsx)(zH, {})+ children: /* @__PURE__ */ (0, O.jsx)(RH, {})})})]});}-function l4({ score: e, review: t = !1 }) {+function u4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-rating": "","data-jav-rating": "",@@ -72303,7 +72352,7 @@ function l4({ score: e, review: t = !1 }) {})]});}-function HDe({ item: e, navigate: t }) {+function JDe({ item: e, navigate: t }) {let n = (e, n) => t(en(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -72312,14 +72361,14 @@ function HDe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(w2, {+ children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(T2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(bQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(xQ, {code: e.code,person: r,detail: !0@@ -72336,7 +72385,7 @@ function HDe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, O.jsx)(T2, {+ }), /* @__PURE__ */ (0, O.jsx)(E2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72345,18 +72394,18 @@ function HDe({ item: e, navigate: t }) {})]});}-function UDe({ src: e }) {+function YDe({ src: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(0);return (0, D.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), cM(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), wse(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -72369,8 +72418,8 @@ function UDe({ src: e }) {}) : null});}-function WDe({ code: e, count: t, released: n }) {- let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => LDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({+function XDe({ code: e, count: t, released: n }) {+ let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => UDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72379,12 +72428,12 @@ function WDe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => RDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => WDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await GEe(e, n, t, s.current);- if (IDe(e, i), !i.ok || i.cache_stale) {+ let i = await ZEe(e, n, t, s.current);+ if (HDe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -72394,7 +72443,7 @@ function WDe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: KEe+ getNextPageParam: QEe});(0, D.useEffect)(() => {c.isFetching || (s.current = !1);@@ -72402,10 +72451,10 @@ function WDe({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? An(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, O.jsxs)(KH, {+ children: /* @__PURE__ */ (0, O.jsxs)(GH, {trailing: !0,summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(nfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(rfe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72442,7 +72491,7 @@ function WDe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, {score: Number(e.score),review: !0}) : null,@@ -72454,24 +72503,24 @@ function WDe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, O.jsx)("p", { children: e.content })]}, e.id)),- d ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ d ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(c.isFetching),+ ...zz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Pz, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(c.isFetching),+ ...zz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -72479,13 +72528,13 @@ function WDe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(c.isFetchingNextPage),+ ...zz(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Fz, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Pz, {tone: "neutral",children: ["已显示 ",@@ -72497,21 +72546,21 @@ function WDe({ code: e, count: t, released: n }) {})});}-function GDe({ item: e, actions: t, readOnly: n }) {+function ZDe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, D.useState)(!1), a = St({- queryKey: V2,+ queryKey: H2,enabled: r,- queryFn: ({ signal: e }) => V(`${B2}?limit=50`, e)+ queryFn: ({ signal: e }) => V(`${V2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, O.jsx)(KH, {+ children: /* @__PURE__ */ (0, O.jsx)(GH, {trailing: !0,- summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, O.jsx)(r4, {+ children: s ? /* @__PURE__ */ (0, O.jsx)(i4, {want: {id: 0,code: e.code,@@ -72529,31 +72578,31 @@ function GDe({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function KDe(e, t) {- u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), KA({+var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function QDe(e, t) {+ d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), Joe({...e.player,stage: () => document.getElementById("stage")- }), YA({- inMiniplayer: (e) => d4?.player === e,- kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",- expand: () => z4(),- toMiniplayer: () => B4()- }), b4 || (b4 = !0, addEventListener("pagehide", () => Jj()));-}-var b4 = !1;-function x4() {- if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return u4;-}-function S4(e) {- p4 = e;-}-var qDe = () => p4;-function C4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);- if (d4 && d4.key === a) return YDe(e, d4);- d4 && R4();+ }), WA({+ inMiniplayer: (e) => f4?.player === e,+ kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",+ expand: () => B4(),+ toMiniplayer: () => V4()+ }), x4 || (x4 = !0, addEventListener("pagehide", () => Kj()));+}+var x4 = !1;+function S4() {+ if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return d4;+}+function C4(e) {+ m4 = e;+}+var $De = () => m4;+function w4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);+ if (f4 && f4.key === a) return tOe(e, f4);+ f4 && z4();let o = {player: null,kind: n,@@ -72561,52 +72610,52 @@ function C4(e, t) {mediaIndex: i?.index ?? null,key: a};- f4 = o;+ p4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = aM(s, {+ let c = rM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- f4 === o && (o.player = e);+ p4 === o && (o.player = e);},- handedOff: (e) => d4?.player === e+ handedOff: (e) => f4?.player === e});return () => {- let e = !!o.player && d4?.player === o.player;- f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Jj());+ let e = !!o.player && f4?.player === o.player;+ p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Kj());};}-async function JDe(e, t, n) {+async function eOe(e, t, n) {let r = await z(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await x4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await S4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- S4(a);- let o = C4(t, {+ C4(a);+ let o = w4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));+ s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));};}-function YDe(e, t) {+function tOe(e, t) {let { player: n } = t;- I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), rM(e), e.append(n.el()), nj(n);+ L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), tM(e), e.append(n.el()), ej(n);let r = {player: n,kind: t.kind,@@ -72614,23 +72663,23 @@ function YDe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- f4 = r;- let i = iM(n, e);- return rj(n), () => {- f4 === r && (f4 = null), i(), d4?.player !== n && (tj() === n && nj(null), zj(n), Jj());+ p4 = r;+ let i = nM(n, e);+ return tj(n), () => {+ p4 === r && (p4 = null), i(), f4?.player !== n && ($A() === n && ej(null), Lj(n), Kj());};}-var w4 = () => {- let e = f4?.player;+var T4 = () => {+ let e = p4?.player;return e && !e.isDisposed() ? e : null;};-function T4(e) {- let t = h4;- h4 = !1, d4?.pending && R4();- let n = f4, r = n?.player, i = p4;- if (!n || !r || r.isDisposed() || !i || !m4) return;- let a = x4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && $De({+function E4(e) {+ let t = g4;+ g4 = !1, f4?.pending && z4();+ let n = p4, r = n?.player, i = m4;+ if (!n || !r || r.isDisposed() || !i || !h4) return;+ let a = S4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && aOe({player: r,kind: n.kind,item: n.item,@@ -72638,46 +72687,46 @@ function T4(e) {key: n.key}, i);}-function E4(e, t) {- h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());+function D4(e, t) {+ g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());}-function D4(e) {- m4 = e, m4 && P4();+function O4(e) {+ h4 = e, h4 && F4();}-var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();-function XDe() {- return O4() ? m4?.frame.querySelector("video") ?? null : null;+var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();+function nOe() {+ return k4() ? h4?.frame.querySelector("video") ?? null : null;}-function ZDe() {- return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? XDe();+function rOe() {+ return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? nOe();}-function k4(e) {- m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function A4(e) {+ h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function A4(e = d4?.item) {- if (!m4) return;- let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function j4(e = f4?.item) {+ if (!h4) return;+ let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function j4() {- let e = d4?.player;- if (!e || e.isDisposed() || !m4) return;+function M4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;let t = e.paused();- m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = cs("player-pause", "player-play", t ? "b" : "a")), ls(m4.play, t ? "b" : "a");+ h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = cs("player-pause", "player-play", t ? "b" : "a")), ls(h4.play, t ? "b" : "a");}-function M4() {- let e = d4?.player;- if (!e || e.isDisposed() || !m4) return;- let t = mn(d4?.item.duration) || mn(e.duration());- m4.time.textContent = `${gn(e.currentTime())} / ${t ? gn(t) : "0:00"}`;-}-var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);-function P4() {- if (!m4 || !u4) return;- let e = N4();- for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function F4(e) {+function N4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;+ let t = mn(f4?.item.duration) || mn(e.duration());+ h4.time.textContent = `${gn(e.currentTime())} / ${t ? gn(t) : "0:00"}`;+}+var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);+function F4() {+ if (!h4 || !d4) return;+ let e = P4();+ for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function I4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -72689,17 +72738,17 @@ function F4(e) {"play","pause","ended"- ], j4), t([+ ], M4), t(["timeupdate","durationchange","loadedmetadata"- ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();+ ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();}-function I4(e) {+function L4(e) {e.off.forEach((e) => e()), e.off = [];}-function QDe() {- let e = m4?.root;+function iOe() {+ let e = h4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -72707,8 +72756,8 @@ function QDe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function L4() {- let e = m4?.root;+function R4() {+ let e = h4?.root;if (e) {e.hidden = !0;for (let t of [@@ -72719,73 +72768,73 @@ function L4() {e.style.transform = "";}}-function $De(e, t) {- if (!m4) return;+function aOe(e, t) {+ if (!h4) return;let n = {...e,meta: t,off: [],pending: !1};- d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), QDe(), rj(e.player);-}-function R4() {- let e = d4;- e && I4(e), d4 = null, g4++;- let t = e?.player ?? null;- t && tj() === t && nj(null), zj(t), t && Jj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), $A(), L4();+ f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), iOe(), tj(e.player);}function z4() {- if (!O4() || !d4) return;- let { kind: e, item: t, mediaIndex: n } = d4;- x4().expand(e, t.id, n);+ let e = f4;+ e && L4(e), f4 = null, _4++;+ let t = e?.player ?? null;+ t && $A() === t && ej(null), Lj(t), t && Kj(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), JA(), R4();}function B4() {- O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());+ if (!k4() || !f4) return;+ let { kind: e, item: t, mediaIndex: n } = f4;+ S4().expand(e, t.id, n);+}+function V4() {+ k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());}-function eOe() {- let e = d4?.player;+function oOe() {+ let e = f4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function V4(e) {- let t = d4?.player;+function H4(e) {+ let t = f4?.player;if (!t || t.isDisposed()) return;- let n = mn(t.duration()) || mn(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);+ let n = mn(t.duration()) || mn(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function H4(e) {- return !(!O4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || x4().sourceOffline(String(e.root_id || e.location || "")));-}-async function tOe(e) {- if (!O4() || !d4 || !m4) return;- let t = ++g4, n = await z(`/api/item?id=${e}`).catch(() => null);- if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;- if (!H4(n)) {- x4().openItem(e);+function U4(e) {+ return !(!k4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || S4().sourceOffline(String(e.root_id || e.location || "")));+}+async function sOe(e) {+ if (!k4() || !f4 || !h4) return;+ let t = ++_4, n = await z(`/api/item?id=${e}`).catch(() => null);+ if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;+ if (!U4(n)) {+ S4().openItem(e);return;}- let r = d4;- I4(r), tj() === r.player && nj(null), zj(r.player), Jj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = f4;+ L4(r), $A() === r.player && ej(null), Lj(r.player), Kj(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- k4(a), aM(i, {+ A4(a), rM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== g4) {- r && tj() === r && nj(null), zj(r);+ if (t !== _4) {+ r && $A() === r && ej(null), Lj(r);return;}if (!r) {- R4(), x4().openItem(e);+ z4(), S4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -72794,26 +72843,26 @@ async function tOe(e) {kind: "item",item: n,mediaIndex: null,- key: y4("item", n.id, null),+ key: b4("item", n.id, null),meta: a,off: [],pending: !1};- d4 = i, F4(i);+ f4 = i, I4(i);}- }), A4(n);+ }), j4(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })-}), nOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {+}), cOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {t.stopPropagation(), e();-}, rOe = (0, D.memo)(function() {+}, lOe = (0, D.memo)(function() {let e = (0, D.useRef)(null), t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null);- return (0, D.useLayoutEffect)(() => (D4({+ return (0, D.useLayoutEffect)(() => (O4({root: e.current,frame: n.current,play: r.current,@@ -72823,7 +72872,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => D4(null)), []), (0, D.useEffect)(() => aOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {+ }), () => O4(null)), []), (0, D.useEffect)(() => dOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -72847,24 +72896,24 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: W4(z4),- children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "maximize-2" })+ onClick: G4(B4),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "maximize-2" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: W4(R4),- children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "x" })+ onClick: G4(z4),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "x" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: W4(() => V4(-1)),- children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "rotate-ccw" })+ onClick: G4(() => H4(-1)),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: r,@@ -72873,16 +72922,16 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: W4(eOe),- dangerouslySetInnerHTML: nOe+ onClick: G4(oOe),+ dangerouslySetInnerHTML: cOe}),/* @__PURE__ */ (0, O.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: W4(() => V4(1)),- children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "rotate-cw" })+ onClick: G4(() => H4(1)),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("span", {ref: i,@@ -72899,7 +72948,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => z4(),+ onClick: () => B4(),children: [/* @__PURE__ */ (0, O.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -72913,7 +72962,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {})});});-function iOe(e, t, n) {+function uOe(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@@ -72935,7 +72984,7 @@ function iOe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function aOe(e, t) {+function dOe(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 = {@@ -72961,7 +73010,7 @@ function aOe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), iOe(e, i.dx, i.dy));+ }, 0), uOe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -72973,49 +73022,49 @@ function aOe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var G4 = null, K4 = null, q4 = /* @__PURE__ */ new Set(), J4 = 0, Y4 = null, X4 = !1, Z4 = !1, Q4 = () => {+var K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function $4() {- if (!G4) throw Error("舞台还没有接上宿主(configureStage)");- return G4;+function e3() {+ if (!K4) throw Error("舞台还没有接上宿主(configureStage)");+ return K4;}-function oOe(e) {- return q4.add(e), () => {- q4.delete(e);+function fOe(e) {+ return J4.add(e), () => {+ J4.delete(e);};}-function sOe() {- for (let e of [...q4]) e();+function pOe() {+ for (let e of [...J4]) e();}-function e3() {- (0, Tt.flushSync)(sOe);+function t3() {+ (0, Tt.flushSync)(pOe);}-function cOe({ view: e }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(lOe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(rOe, {})] });+function mOe({ view: e }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(hOe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(lOe, {})] });}-var t3 = () => /* @__PURE__ */ (0, O.jsx)("div", {+var n3 = () => /* @__PURE__ */ (0, O.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: cEe() }+ dangerouslySetInnerHTML: { __html: mEe() }});-function n3(e) {+function r3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function lOe({ view: e }) {+function hOe({ view: e }) {let t = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), r3());+ t.target === e && (t.preventDefault(), i3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(eDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(zDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(FEe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(oDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(GDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(VEe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, O.jsxs)("dialog", {ref: t,id: "stage",@@ -73023,27 +73072,27 @@ function lOe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), r3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());},onPointerDown: (e) => {- Z4 = n3(e);+ Q4 = r3(e);},onClick: (e) => {- Z4 && n3(e) && r3();+ Q4 && r3(e) && i3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(t3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(n3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(t3, {})+ children: /* @__PURE__ */ (0, O.jsx)(n3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(CT, {- getContainer: () => Q0(t.current),+ children: /* @__PURE__ */ (0, O.jsx)(yT, {+ getContainer: () => $0(t.current),children: i})})@@ -73051,14 +73100,14 @@ function lOe({ view: e }) {]});}-function r3() {- K4 && !X4 && (X4 = !0, K4.request.actions.close());+function i3() {+ q4 && !Z4 && (Z4 = !0, q4.request.actions.close());}-function i3(e, t) {- let n = Q4();+function a3(e, t) {+ let n = $4();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function a3(e) {+function o3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -73066,30 +73115,30 @@ function a3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: r3+ close: i3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => $4().player.settings(), i = () => K4?.request === e;+ }, r = () => e3().player.settings(), i = () => q4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: r3,+ close: i3,present: (e, t) => {let n = e.performers;- S4({+ C4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), i3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => C4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73107,18 +73156,18 @@ function a3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: r3,+ close: i3,present: (e, t) => {- S4({+ C4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), i3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => C4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "follow",item: t,media: r,@@ -73135,101 +73184,101 @@ function a3(e) {}};}-function uOe(e, t) {+function gOe(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {- ...K4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {+ ...q4,phase: "content"- }, e3());+ }, t3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function o3(e) {- let t = Q4();- return !K4 || K4.content.kind !== e || X4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function s3(e) {+ let t = $4();+ return !q4 || q4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function dOe(e) {- let t = o3(e.kind);+async function _Oe(e) {+ let t = s3(e.kind);if (t) {- await pOe(e, t);+ await yOe(e, t);return;}- K4 && s3({ miniplayer: !1 });- let n = ++J4, r = new AbortController();- Y4 = r, X4 = !1, Z4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);- let i = a3(e);- K4 = {+ q4 && c3({ miniplayer: !1 });+ let n = ++Y4, r = new AbortController();+ X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);+ let i = o3(e);+ q4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? eN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : r2(i.props, r.signal);- if (n !== J4 || K4?.request !== e) {+ let a = i.kind === "item" ? $M(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : i2(i.props, r.signal);+ if (n !== Y4 || q4?.request !== e) {await a.catch(() => {});return;}- let o = fOe(i);- K4 = {- ...K4,+ let o = vOe(i);+ q4 = {+ ...q4,phase: o ? "content" : "skeleton"- }, e3();- let s = Q4();+ }, t3();+ let s = $4();if (!s) {await a.catch(() => {});return;}- o || Ts(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), $0(s);+ o || Ts(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== J4 || !K4 || o) return;+ if (n !== Y4 || !q4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- K4 = {- ...K4,+ q4 = {+ ...q4,phase: c ? "content" : "reveal"- }, e3(), c || uOe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), c || gOe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function fOe(e) {- if (e.kind === "jav") return !!U.getQueryData(O2(e.props.code));- if (e.kind === "follow") return !!U.getQueryData(e2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? U.getQueryData(BM(t)) : null;+function vOe(e) {+ if (e.kind === "jav") return !!U.getQueryData(k2(e.props.code));+ if (e.kind === "follow") return !!U.getQueryData(t2(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(LM(t)) : null;if (t && !r) return !1;- let i = r ? QM(r, n) : n;- return i != null && !!U.getQueryData(zM(i));+ let i = r ? ZM(r, n) : n;+ return i != null && !!U.getQueryData(IM(i));}-async function pOe(e, t) {- let n = ++J4;- Y4?.abort();+async function yOe(e, t) {+ let n = ++Y4;+ X4?.abort();let r = new AbortController();- Y4 = r, Z4 = !1;- let i = a3(e);+ X4 = r, Q4 = !1;+ let i = o3(e);try {- i.kind === "item" ? await eN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await r2(i.props, r.signal);+ i.kind === "item" ? await $M(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await i2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== J4 || !K4 || o3(e.kind) !== t) return;- e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), cl(t), $A(), K4 = {- ...K4,+ if (n !== Y4 || !q4 || s3(e.kind) !== t) return;+ e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), cl(t), JA(), q4 = {+ ...q4,request: e,content: i,phase: "content"- }, e3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), hs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), hs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function mOe() {- $0(null);- let e = Q4();+function bOe() {+ e2(null);+ let e = $4();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -73239,85 +73288,85 @@ function mOe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function s3({ miniplayer: e = !0 } = {}) {- if (J4++, Y4?.abort(), Y4 = null, T4(e), !K4) return;- let t = Q4();- t && cl(t), $A(), $0(null), t?.open && t.close(), K4 = null, X4 = !1, Z4 = !1, e3(), S4(null), document.body.removeAttribute("data-detail-open");+function c3({ miniplayer: e = !0 } = {}) {+ if (Y4++, X4?.abort(), X4 = null, E4(e), !q4) return;+ let t = $4();+ t && cl(t), JA(), e2(null), t?.open && t.close(), q4 = null, Z4 = !1, Q4 = !1, t3(), C4(null), document.body.removeAttribute("data-detail-open");}-function hOe(e) {- K4 && (K4 = {- ...K4,- content: K4.content.kind === "item" ? {+function xOe(e) {+ q4 && (q4 = {+ ...q4,+ content: q4.content.kind === "item" ? {kind: "item",props: {- ...K4.content.props,+ ...q4.content.props,...e}- } : K4.content.kind === "jav" ? K4.content : {+ } : q4.content.kind === "jav" ? q4.content : {kind: "follow",props: {- ...K4.content.props,+ ...q4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, e3());+ }, t3());}-function gOe() {- let e = qDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, $4().player.settings().javImage) : "";+function SOe() {+ let e = $De(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, e3().player.settings().javImage) : "";if (!n) return;- let r = w4();+ let r = T4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var _Oe = {- open: dOe,- update: hOe,- exit: mOe,- dispose: s3,- requestClose: r3,- repaintPoster: gOe,- isOpen: () => !!K4,- showing: () => K4 && o3(K4.content.kind) ? K4.content.kind : null,- activeVideo: () => ZDe(),- mountWallPlayer: JDe,+var COe = {+ open: _Oe,+ update: xOe,+ exit: bOe,+ dispose: c3,+ requestClose: i3,+ repaintPoster: SOe,+ isOpen: () => !!q4,+ showing: () => q4 && s3(q4.content.kind) ? q4.content.kind : null,+ activeVideo: () => rOe(),+ mountWallPlayer: eOe,toggleTheater: () => {- K4 && Ej(!$4().player.settings().theaterMode);+ q4 && wj(!e3().player.settings().theaterMode);},- toggleMiniplayer: () => B4(),- closeMiniplayer: () => R4(),- miniplayerActive: () => O4(),- miniplayerTakesCard: (e) => H4(e),+ toggleMiniplayer: () => V4(),+ closeMiniplayer: () => z4(),+ miniplayerActive: () => k4(),+ miniplayerTakesCard: (e) => U4(e),miniplayerPlay: (e) => {- tOe(e);+ sOe(e);}};-function vOe(e) {- return G4 = e, KDe(e, {- isOpen: () => !!K4,- requestClose: r3- }), _Oe;+function wOe(e) {+ return K4 = e, QDe(e, {+ isOpen: () => !!q4,+ requestClose: i3+ }), COe;}-function yOe() {- let e = (0, D.useSyncExternalStore)(oOe, () => K4);- return G4 ? /* @__PURE__ */ (0, O.jsx)(cOe, { view: e }) : null;+function TOe() {+ let e = (0, D.useSyncExternalStore)(fOe, () => q4);+ return K4 ? /* @__PURE__ */ (0, O.jsx)(mOe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var bOe = "/api/stats", c3 = ["stats"], l3 = (e) => V(bOe, e);-async function xOe(e) {+var EOe = "/api/stats", l3 = ["stats"], u3 = (e) => V(EOe, e);+async function DOe(e) {await U.fetchQuery({- queryKey: c3,- queryFn: () => l3(e)+ queryKey: l3,+ queryFn: () => u3(e)});}-var u3 = (e) => e != null && Number.isFinite(e), SOe = (e) => u3(e) ? e.toLocaleString() : "未取得", COe = (e, t) => u3(e) && u3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, wOe = (e, t) => {- let n = COe(e, t);- return !n && u3(e) && e > 0 && u3(t) && t > 0 ? "<1%" : `${n}%`;-}, d3 = (e) => {- if (!u3(e)) return "未取得";+var d3 = (e) => e != null && Number.isFinite(e), OOe = (e) => d3(e) ? e.toLocaleString() : "未取得", kOe = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, AOe = (e, t) => {+ let n = kOe(e, t);+ return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;+}, f3 = (e) => {+ if (!d3(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, f3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, p3 = (e) => (e.max_reached || 0) * 100, TOe = (e) => e.kind === "online" ? "在线直接观看" : f3(e) < p3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", EOe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function DOe(e, t = 6) {+}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, jOe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", MOe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function NOe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -73327,7 +73376,7 @@ function DOe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, AOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), jOe = {+var POe = (e) => Math.max(1, ...e) * 1.1, FOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, IOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), LOe = {video: "视频",image: "图片",illustration: "插画",@@ -73335,18 +73384,18 @@ var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, MOe = (e) => e.map((e) => ({- name: jOe[e.k] ?? e.k,+}, ROe = (e) => e.map((e) => ({+ name: LOe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), NOe = {+})).sort((e, t) => t.value - e.value), zOe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, m3 = (e, t = {}) => e.map((e) => ({+}, h3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), POe = (e) => m3(e, NOe), FOe = [+})), BOe = (e) => h3(e, zOe), VOe = [[1,1,@@ -73382,13 +73431,13 @@ var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], IOe = (e) => FOe.map(([t, n, r]) => ({+], HOe = (e) => VOe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));//#endregion//#region node_modules/d3-array/src/max.js-function h3(e, t) {+function g3(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 {@@ -73399,7 +73448,7 @@ function h3(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function g3(e, t) {+function _3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -73410,7 +73459,7 @@ function g3(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function _3(e, t) {+function v3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73421,66 +73470,66 @@ function _3(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function LOe(e, t) {+function UOe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function v3(e) {+function y3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function y3(e, t) {- return x3(e.source, t.source) || e.index - t.index;-}function b3(e, t) {- return x3(e.target, t.target) || e.index - t.index;+ return S3(e.source, t.source) || e.index - t.index;}function x3(e, t) {+ return S3(e.target, t.target) || e.index - t.index;+}+function S3(e, t) {return e.y0 - t.y0;}-function S3(e) {+function C3(e) {return e.value;}-function ROe(e) {+function WOe(e) {return e.index;}-function zOe(e) {+function GOe(e) {return e.nodes;}-function BOe(e) {+function KOe(e) {return e.links;}-function C3(e, t) {+function w3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function w3({ nodes: e }) {+function T3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function VOe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ROe, c = LOe, l, u, d = zOe, f = BOe, p = 6;+function qOe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = WOe, c = UOe, l, u, d = GOe, f = KOe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), w3(e), e;+ return h(e), g(e), _(e), v(e), x(e), T3(e), e;}m.update = function(e) {- return w3(e), e;+ return T3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : v3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : v3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73488,9 +73537,9 @@ function VOe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : v3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : v3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -73506,12 +73555,12 @@ function VOe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = C3(n, t)), typeof i != "object" && (i = r.target = C3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}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(_3(t.sourceLinks, S3), _3(t.targetLinks, S3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -73536,7 +73585,7 @@ function VOe() {}}function y({ nodes: t }) {- let r = h3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = g3(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];@@ -73545,7 +73594,7 @@ function VOe() {return o;}function b(e) {- let n = g3(e, (e) => (r - t - (e.length - 1) * o) / _3(e, S3));+ let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));for (let i of e) {let e = t;for (let t of i) {@@ -73562,7 +73611,7 @@ function VOe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (h3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (g3(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);@@ -73581,7 +73630,7 @@ function VOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(x3), w(i, n);+ l === void 0 && i.sort(S3), w(i, n);}}function C(e, t, n) {@@ -73597,7 +73646,7 @@ function VOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(x3), w(i, n);+ l === void 0 && i.sort(S3), w(i, n);}}function w(e, n) {@@ -73618,12 +73667,12 @@ function VOe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(b3);- for (let { target: { targetLinks: t } } of e) t.sort(y3);+ for (let { source: { sourceLinks: e } } of t) e.sort(x3);+ for (let { target: { targetLinks: t } } of e) t.sort(b3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(b3), n.sort(y3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -73653,15 +73702,15 @@ function VOe() {}//#endregion//#region node_modules/d3-path/src/path.js-var T3 = Math.PI, E3 = 2 * T3, D3 = 1e-6, HOe = E3 - D3;-function O3() {+var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, JOe = D3 - O3;+function k3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function k3() {- return new O3();+function A3() {+ return new k3();}-O3.prototype = k3.prototype = {- constructor: O3,+k3.prototype = A3.prototype = {+ constructor: k3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -73682,11 +73731,11 @@ O3.prototype = k3.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > D3) {- if (!(Math.abs(u * s - c * l) > D3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > O3) {+ if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((T3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > D3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > O3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -73694,7 +73743,7 @@ O3.prototype = k3.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) > D3 || Math.abs(this._y1 - l) > D3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % E3 + E3), d > HOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > D3 && (this._ += "A" + n + "," + n + ",0," + +(d >= T3) + "," + 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) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > JOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},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";@@ -73705,98 +73754,98 @@ O3.prototype = k3.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function A3(e) {+function j3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function UOe(e) {+function YOe(e) {return e[0];}-function WOe(e) {+function XOe(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var GOe = Array.prototype.slice;+var ZOe = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function KOe(e) {+function QOe(e) {return e.source;}-function qOe(e) {+function $Oe(e) {return e.target;}-function JOe(e) {- var t = KOe, n = qOe, r = UOe, i = WOe, a = null;+function eke(e) {+ var t = QOe, n = $Oe, r = YOe, i = XOe, a = null;function o() {- var o, s = GOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = k3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = ZOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = A3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : A3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : j3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : A3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function YOe(e, t, n, r, i) {+function tke(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function XOe() {- return JOe(YOe);+function nke() {+ return eke(tke);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function ZOe(e) {+function rke(e) {return [e.source.x1, e.y0];}-function QOe(e) {+function ike(e) {return [e.target.x0, e.y1];}-function $Oe() {- return XOe().source(ZOe).target(QOe);+function ake() {+ return nke().source(rke).target(ike);}//#endregion//#region src/react/taste/taste.ts-var eke = "/api/taste", j3 = "/api/taste/refresh", tke = "/api/taste/import", M3 = "/api/taste/source", N3 = (e) => ["taste", e], nke = ["taste", "refresh"], rke = [+var oke = "/api/taste", M3 = "/api/taste/refresh", ske = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], cke = ["taste", "refresh"], lke = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], ike = 2e3, ake = (e) => e?.stale && !e.error ? ike : !1, oke = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], uke = 2e3, dke = (e) => e?.stale && !e.error ? uke : !1, fke = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", ske = (e, t) => H(M3, {+}) : "—", pke = (e, t) => H(N3, {...e,window: t-}), P3 = (e, t, n = !1) => V(`${eke}?window=${e}${n ? "&retry=1" : ""}`, t), cke = (e) => V(j3, e);-async function lke(e, t) {+}), F3 = (e, t, n = !1) => V(`${oke}?window=${e}${n ? "&retry=1" : ""}`, t), mke = (e) => V(M3, e);+async function hke(e, t) {await U.fetchQuery({- queryKey: N3(e),- queryFn: () => P3(e, t)+ queryKey: P3(e),+ queryFn: () => F3(e, t)});}-var uke = (e) => H(j3, {+var gke = (e) => H(M3, {window: e,background: !0-}), dke = (e, t) => H(M3, {+}), _ke = (e, t) => H(N3, {operation: "remove",source_key: e,window: t});-async function fke(e) {- let t = await fetch(tke, {+async function vke(e) {+ let t = await fetch(ske, {method: "POST",credentials: "same-origin",headers: {@@ -73814,52 +73863,52 @@ async function fke(e) {}return n;}-var pke = 1e4, F3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function mke(e) {+var yke = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function bke(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : F3(e);+ }) : I3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var hke = d3, gke = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), _ke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function vke(e) {+var xke = f3, Ske = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Cke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function wke(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function yke(e) {- let t = e.map(_ke), n = Math.max(1, ...t);+function Tke(e) {+ let t = e.map(Cke), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var I3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var L3 = (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 bke(e) {- let t = I3(e, 6);+function Eke(e) {+ let t = L3(e, 6);return t.length < 3 ? [] : t;}-var L3 = {+var R3 = {width: 720,height: 435-}, xke = {+}, Dke = {source: 145,target: 545-}, R3 = 30, Ske = 240;-function z3(e, t, n) {+}, z3 = 30, Oke = 240;+function B3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function Cke(e = []) {+function kke(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -73868,7 +73917,7 @@ function Cke(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * R3 + Ske), u = VOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(R3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * z3 + Oke), u = qOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -73883,7 +73932,7 @@ function Cke(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = $Oe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = ake();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -73911,16 +73960,16 @@ function Cke(e = []) {};}),total: d,- height: l + L3.height - 404+ height: l + R3.height - 404};}-var wke = (e) => Sn(e, 17), B3 = {+var Ake = (e) => Sn(e, 17), V3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Tke = [[+}, jke = [["big","大图 · 竖幅头像","maximize"@@ -73928,7 +73977,7 @@ var wke = (e) => Sn(e, 17), B3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Eke = [[+]], Mke = [["big","大图 · 完整标识","maximize"@@ -73936,7 +73985,7 @@ var wke = (e) => Sn(e, 17), B3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], Dke = [[+]], Nke = [["studios","厂牌","clapperboard"@@ -73944,7 +73993,7 @@ var wke = (e) => Sn(e, 17), B3 = {"agencies","事务所","briefcase"-]], Oke = [[+]], Pke = [["local","本地","hard-drive"@@ -73952,7 +74001,7 @@ var wke = (e) => Sn(e, 17), B3 = {"online","在线","rss"-]], kke = [+]], Fke = [["performers","艺人",@@ -73968,7 +74017,7 @@ var wke = (e) => Sn(e, 17), B3 = {"在线","rss"]-], Ake = [[+], Ike = [["cloud","标签云","tags"@@ -73976,8 +74025,8 @@ var wke = (e) => Sn(e, 17), B3 = {"alphabet","字母表","text-aa"-]], V3 = (e) => e === "compact" ? "compact" : "big";-function H3(e, t) {+]], H3 = (e) => e === "compact" ? "compact" : "big";+function U3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -73987,7 +74036,7 @@ function H3(e, t) {category: n.get("category") || "all"};}-var U3 = (e, t, n) => as(e.map(([e, t, n]) => ({+var W3 = (e, t, n) => as(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -73995,12 +74044,12 @@ var U3 = (e, t, n) => as(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), jke = (e) => `<div class="board-filter-frame" data-filter-frame>+}), Lke = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${dc("tag-view", "标签视图", Ake, e)}</div></div>`;-function Mke({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = B3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? Eke : Tke, a) : "";+ ${dc("tag-view", "标签视图", Ike, e)}</div></div>`;+function Rke({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? Mke : jke, a) : "";return `<div class="ihead peach-react" data-index-head><h2 class="disp indexheading">${o}</h2>${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}@@ -74012,27 +74061,27 @@ function Mke({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Uo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? U3(Oke, n, "词表") : e === "performers" || e === "creators" ? U3(kke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? U3(Dke, e, "公司类型") : ""}- ${e === "tags" ? jke(r) : ""}- ${e === "performers" && n !== "online" ? Ebe(i) : ""}+ ${e === "tags" ? W3(Pke, n, "词表") : e === "performers" || e === "creators" ? W3(Fke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(Nke, e, "公司类型") : ""}+ ${e === "tags" ? Lke(r) : ""}+ ${e === "performers" && n !== "online" ? Nbe(i) : ""}${vs({kind: e,layout: a,mode: r})}`;}-var Nke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function W3(e, t, n) {- let r = Mke(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Nke(r) && (e.innerHTML = r, Ts(e));+var zke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function G3(e, t, n) {+ let r = Rke(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== zke(r) && (e.innerHTML = r, Ts(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var Pke = () => Hl, Fke = () => Dl, G3 = () => document.getElementById("index");-function K3(e, t, n = {}) {- let r = (0, D.useSyncExternalStore)($l, Pke);- LB();- let i = gV(YV.navigation.location.pathname), a = (0, D.useRef)({+var Bke = () => Hl, Vke = () => Dl, K3 = () => document.getElementById("index");+function q3(e, t, n = {}) {+ let r = (0, D.useSyncExternalStore)($l, Bke);+ IB();+ let i = hV(JV.navigation.location.pathname), a = (0, D.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -74057,7 +74106,7 @@ function K3(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== Hl, r = t.opens !== Hl;- if (t.epoch = e, t.opens = Hl, gV(YV.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = Hl, hV(JV.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -74078,13 +74127,13 @@ function K3(e, t, n = {}) {i]);}-async function Ike(e, t, n, r) {- let i = G3();+async function Hke(e, t, n, r) {+ let i = K3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = H3(t, n), s = V3(iA().value.peopleLayout);- W3(i, o, s), await RV(a, {+ let o = U3(t, n), s = H3(nA().value.peopleLayout);+ G3(i, o, s), await LV(a, {...o,layout: s,selectMode: Dl,@@ -74094,23 +74143,23 @@ async function Ike(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function Lke(e) {- let t = G3(), n = t ? PV(t) : null;+function Uke(e) {+ let t = K3(), n = t ? NV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Rke({ epoch: e }) {- let t = (0, D.useContext)(lU), n = LB(), r = n.pathname.split("/").filter(Boolean)[0];- return K3(e, (e, i) => {- t && Ike(t, r, n.search, i);- }, { shown: () => Lke(`/${r}`) }), null;+function Wke({ epoch: e }) {+ let t = (0, D.useContext)(pU), n = IB(), r = n.pathname.split("/").filter(Boolean)[0];+ return q3(e, (e, i) => {+ t && Hke(t, r, n.search, i);+ }, { shown: () => Uke(`/${r}`) }), null;}-function zke() {- let e = cU(), t = (0, D.useSyncExternalStore)($l, Fke), n = (0, D.useRef)(t);+function Gke() {+ let e = fU(), t = (0, D.useSyncExternalStore)($l, Vke), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && zV(G3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, O.jsx)(Rke, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && RV(K3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, O.jsx)(Wke, { epoch: e }, e);}-function q3(e) {+function J3(e) {let t;try {t = decodeURIComponent(e);@@ -74124,9 +74173,9 @@ function q3(e) {name: a} : null;}-var J3 = /* @__PURE__ */ new WeakMap();-function Bke(e) {- let t = J3.get(e);+var Y3 = /* @__PURE__ */ new WeakMap();+function Kke(e) {+ let t = Y3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -74136,14 +74185,14 @@ function Bke(e) {...e.grid.actions,revealSource: e.revealSource}- }, J3.set(e, t)), t;+ }, Y3.set(e, t)), t;}-function Y3() {- let e = G3(), t = e ? PV(e) : null;+function X3() {+ let e = K3(), t = e ? NV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function Vke(e, t, n, r, i, a, o) {- let s = G3();+async function qke(e, t, n, r, i, a, o) {+ let s = K3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;@@ -74157,7 +74206,7 @@ async function Vke(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: Bke(e),+ card: Kke(e),resolvedEntity: o,actions: {...h.actions,@@ -74166,18 +74215,18 @@ async function Vke(e, t, n, r, i, a, o) {}}};- await RV(`/${c}/*`, g, {+ await LV(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && Y3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function Hke({ target: e }) {- let t = (0, D.useContext)(lU), n = cU(), r = LB();- return K3(n, (n, i) => {+function Jke({ target: e }) {+ let t = (0, D.useContext)(pU), n = fU(), r = IB();+ return q3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });@@ -74193,9 +74242,9 @@ function Hke({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- XV(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ YV(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state});return;}@@ -74204,23 +74253,23 @@ function Hke({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = en(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Vke(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && qke(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : XV(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : YV(l + r.search + r.hash, {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state});})();- }, { shown: () => Y3() && !G3()?.hidden }), null;+ }, { shown: () => X3() && !K3()?.hidden }), null;}-function Uke() {- let e = q3(LB().pathname);- return e ? /* @__PURE__ */ (0, O.jsx)(Hke, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function Yke() {+ let e = J3(IB().pathname);+ return e ? /* @__PURE__ */ (0, O.jsx)(Jke, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/jav/jav-header.tsx-function X3({ tab: e, navigate: t, find: n }) {+function Z3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -74234,25 +74283,25 @@ function X3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: S$.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, O.jsx)(VQ, {+ tabs: C$.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(ICe(e))+ onChange: (e) => t(HCe(e))})]});}-function Wke({ navigate: e, receipt: t }) {+function Xke({ navigate: e, receipt: t }) {let [n, r] = (0, D.useState)(null);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(X3, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Z3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, O.jsx)(q2, {+ }), /* @__PURE__ */ (0, O.jsx)(J2, {prefill: n,close: () => r(null),receipt: t@@ -74260,21 +74309,21 @@ function Wke({ navigate: e, receipt: t }) {}//#endregion//#region src/react/router/pages/catalog.tsx-var Gke = () => Hl, Z3 = YV.navigation.seq, Q3 = YV.navigation.openEpoch, $3 = YV.navigation.location.pathname, e6 = {- seq: Z3,+var Zke = () => Hl, Q3 = JV.navigation.seq, $3 = JV.navigation.openEpoch, e6 = JV.navigation.location.pathname, t6 = {+ seq: Q3,claimed: !0,- from: $3+ from: e6};-YV.listen((e) => {- e6 = {+JV.listen((e) => {+ t6 = {seq: e.seq,- claimed: e.openEpoch === Q3,- from: $3- }, Q3 = e.openEpoch, $3 = e.location.pathname;+ claimed: e.openEpoch === $3,+ from: e6+ }, $3 = e.openEpoch, e6 = e.location.pathname;});-var t6 = !1;-function n6(e) {- let { seq: t, openEpoch: n, location: r } = YV.navigation, i = gV(r.pathname), a = QV() ?? r, o = W ?? {};+var n6 = !1;+function r6(e) {+ let { seq: t, openEpoch: n, location: r } = JV.navigation, i = hV(r.pathname), a = ZV() ?? r, o = W ?? {};return {seq: t,epoch: n,@@ -74285,7 +74334,7 @@ function n6(e) {opened: e};}-function Kke(e, t, n, r) {+function Qke(e, t, n, r) {let i = { ...W };if (e === "/trash") return {...i,@@ -74296,7 +74345,7 @@ function Kke(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = iA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = nA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -74310,7 +74359,7 @@ function Kke(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: Yt[e] || a.get("state") || "",- ...Rk(a.get("sort"), a.get("dir"), o, s),+ ...Pk(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? Tn() : i.seed || Tn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -74321,13 +74370,13 @@ function Kke(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function qke(e, t) {- let n = { ...e }, r = n6(n.opened);+function $ke(e, t) {+ let n = { ...e }, r = r6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- QV() || i.fill();+ ZV() || i.fill();return;}let a = !1;@@ -74337,41 +74386,41 @@ function qke(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = YV.navigation.action === "POP" && e6.from !== "/");+ r.epoch !== n.epoch && (a = JV.navigation.action === "POP" && t6.from !== "/");}- let { pathname: o, search: s } = YV.navigation.location;+ let { pathname: o, search: s } = JV.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = c$(s);- t6 = !0, XV(l$(e, t), { replace: !0 });+ let { kind: e, view: t } = l$(s);+ n6 = !0, YV(u$(e, t), { replace: !0 });return;}- let c = t6;- t6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: Kke(o, s, a, i) }), i.open(o, {+ let c = n6;+ n6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: Qke(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function Jke(e) {- return Zt(e) || e === "/trash" || gV(e) || e === "/immerse" || !!q3(e);+function eAe(e) {+ return Zt(e) || e === "/trash" || hV(e) || e === "/immerse" || !!J3(e);}-function Yke() {- let e = (0, D.useContext)(lU), t = cU(), n = (0, D.useSyncExternalStore)($l, Gke), r = LB(), i = (0, D.useRef)(null), a = (0, D.useRef)({+function tAe() {+ let e = (0, D.useContext)(pU), t = fU(), n = (0, D.useSyncExternalStore)($l, Zke), r = IB(), i = (0, D.useRef)(null), a = (0, D.useRef)({mounted: !0,queued: !1});return (0, D.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = n6(!gV(YV.navigation.location.pathname));- return !n.covered && n.opens > 0 && (t6 || e6.seq === Z3 ? n.opens = -1 : e6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = r6(!hV(JV.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !Jke(YV.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !eAe(JV.navigation.location.pathname) && e.catalog.release();});};}, []), (0, D.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && qke(i.current, e);+ t.queued = !1, t.mounted && i.current && $ke(i.current, e);}));}, [t,@@ -74380,8 +74429,8 @@ function Yke() {e]), null;}-function r6() {- let { pathname: e, search: t } = LB();+function i6() {+ let { pathname: e, search: t } = IB();(0, D.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74394,15 +74443,15 @@ function r6() {});};}, [e]);- let n = (0, D.useContext)(lU), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, D.useContext)(pU), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";return (0, D.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), gV(e) && !hV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Yke, {}, e === "/junk-files" ? "/junk-files" : "/"),- Zt(e) ? /* @__PURE__ */ (0, O.jsx)(_U, {}) : null,- i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Wke, {+ }, [r, i]), hV(e) && !mV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ /* @__PURE__ */ (0, O.jsx)(tAe, {}, e === "/junk-files" ? "/junk-files" : "/"),+ Zt(e) ? /* @__PURE__ */ (0, O.jsx)(xU, {}) : null,+ i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Xke, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -74410,21 +74459,21 @@ function r6() {}//#endregion//#region src/react/router/pages/follow.tsx-var i6 = () => document.getElementById("stats"), Xke = () => Jl;-function Zke(e) {+var a6 = () => document.getElementById("stats"), nAe = () => Jl;+function rAe(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-async function Qke(e, t) {- let n = i6(), r = e.follow;+async function iAe(e, t) {+ let n = a6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = ql;- e.surfaceChanged("follow", "/follow"), f2(n, r.skeleton()), await RV("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), p2(n, r.skeleton()), await LV("/follow", r.props(), {container: n,isCurrent: t,- place: Zke+ place: rAe}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74433,32 +74482,32 @@ async function Qke(e, t) {behavior: "smooth"});}-function $ke() {- let e = i6(), t = e ? PV(e) : null;+function aAe() {+ let e = a6(), t = e ? NV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function eAe() {- let e = (0, D.useContext)(lU);- return K3(cU(), (t, n) => {- e && Qke(e, n);+function oAe() {+ let e = (0, D.useContext)(pU);+ return q3(fU(), (t, n) => {+ e && iAe(e, n);}, {- shown: $ke,+ shown: aAe,onCovered: () => {- YV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ JV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function a6(e) {- let t = e ? PV(e) : null;+function o6(e) {+ let t = e ? NV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function tAe(e, t) {- let n = i6();- n && (e.surfaceChanged("playlists", "/playlists"), f2(n, u2("/playlists", {+async function sAe(e, t) {+ let n = a6();+ n && (e.surfaceChanged("playlists", "/playlists"), p2(n, d2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await RV("/playlists", { revision: Jl }, {+ })), await LV("/playlists", { revision: Jl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74466,39 +74515,39 @@ async function tAe(e, t) {behavior: "smooth"}));}-function nAe() {- let e = (0, D.useContext)(lU), t = (0, D.useSyncExternalStore)($l, Xke), n = (0, D.useRef)(t);+function cAe() {+ let e = (0, D.useContext)(pU), t = (0, D.useSyncExternalStore)($l, nAe), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = i6();- a6(e) && zV(e, { revision: t });- }, [t]), K3(cU(), (t, n) => {- e && tAe(e, n);+ let e = a6();+ o6(e) && RV(e, { revision: t });+ }, [t]), q3(fU(), (t, n) => {+ e && sAe(e, n);}, { shown: () => {- let e = i6();- return a6(e) && !e.hidden;+ let e = a6();+ return o6(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function rAe() {- let e = new URLSearchParams(YV.navigation.location.search).get("id");+function lAe() {+ let e = new URLSearchParams(JV.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function iAe() {- let e = (0, D.useContext)(lU);- return oU(() => {- e?.openImmerse(rAe());+function uAe() {+ let e = (0, D.useContext)(pU);+ return uU(() => {+ e?.openImmerse(lAe());}, !0), null;}-function aAe() {- return /* @__PURE__ */ (0, O.jsx)(iAe, {}, cU());+function dAe() {+ return /* @__PURE__ */ (0, O.jsx)(uAe, {}, fU());}//#endregion//#region src/ui-kit/anchor-scroll.ts-var o6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function s6(e, t) {+var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function c6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -74513,42 +74562,42 @@ async function s6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: o6()+ behavior: s6()});}//#endregion//#region src/react/router/pages/managed.tsx-var oAe = [+var fAe = ["list","add","feeds"-], sAe = () => Hl > 0, c6 = () => (0, D.useSyncExternalStore)($l, sAe), l6 = () => iA().value.followLayout === "table" ? "table" : "default", u6 = () => new URLSearchParams(window.location.search);-function cAe(e) {- let t = u6();- return u2(e, {- followLayout: l6(),+], pAe = () => Hl > 0, l6 = () => (0, D.useSyncExternalStore)($l, pAe), u6 = () => nA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);+function mAe(e) {+ let t = d6();+ return d2(e, {+ followLayout: u6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function d6(e) {+function f6(e) {return z("/healthz", { signal: e.controller.signal }).catch((e) => {if (Kt(e)) return null;throw e;});}-function f6(e, t) {+function p6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function lAe(e, t) {+async function hAe(e, t) {if (e === "/jav") {- let e = await d6(t);+ let e = await f6(t);return t.live ? {- tab: C$(u6().get("tab")),+ tab: w$(d6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -74559,40 +74608,40 @@ async function lAe(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Zl({ configurationRequestedSection: "网络与访问" });- let t = u6().get("section") || zl || sV(e);+ let t = d6().get("section") || zl || oV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = u6().get("category") || "", n = await d6(t);+ let e = d6().get("category") || "", n = await f6(t);return t.live ? {category: BY(e) ? e : "",- ...f6(n, "/review")+ ...p6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = u6(), n = e.get("tab") || "", r = {- tab: oAe.includes(n) ? n : "list",+ let e = d6(), n = e.get("tab") || "", r = {+ tab: fAe.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""- }, i = await d6(t);+ }, i = await f6(t);if (!t.live) return null;- let a = iA().value;+ let a = nA().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: l6(),- ...f6(i, "/subscriptions")+ layout: u6(),+ ...p6(i, "/subscriptions")};}return {};}-var uAe = () => {+var gAe = () => {window.scrollTo({top: 0,- behavior: o6()+ behavior: s6()});-}, dAe = /* @__PURE__ */ new Set([+}, _Ae = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -74600,18 +74649,18 @@ var uAe = () => {"/tasks","/subscriptions"]);-async function fAe(e, t, n) {- let r = YV.navigation.seq, i = () => n.live && YV.navigation.seq === r;- if (e === "/jav" && C$(u6().get("tab")) === "library") {- YV.replace(LCe(window.location.search));+async function vAe(e, t, n) {+ let r = JV.navigation.seq, i = () => n.live && JV.navigation.seq === r;+ if (e === "/jav" && w$(d6().get("tab")) === "library") {+ JV.replace(UCe(window.location.search));return;}- if (e === "/subscriptions" && u6().get("tab") === "wants") {- XV("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && d6().get("tab") === "wants") {+ YV("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && u6().get("tab") === "source") {- XV("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && d6().get("tab") === "source") {+ YV("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -74633,38 +74682,38 @@ async function fAe(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), f2(a, cAe(e));- let o = await lAe(e, n);+ } }), t.clearSearch()), p2(a, mAe(e));+ let o = await hAe(e, n);if (!o) return;- let s = await RV(e, o, {+ let s = await LV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = PV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = NV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && XV("/data-cleanup#libraryProcessing", {+ i() && YV("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? s6(t, i) : (dAe.has(e) || e === "/settings/library") && uAe();+ }) : t ? c6(t, i) : (_Ae.has(e) || e === "/settings/library") && gAe();}}-function p6({ path: e }) {- let t = cU();- LB();- let n = gV(YV.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);+function m6({ path: e }) {+ let t = fU();+ IB();+ let n = hV(JV.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);!n && (!i.current || r.current === null) && (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, O.jsx)(pAe, {+ return /* @__PURE__ */ (0, O.jsx)(yAe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function pAe({ path: e, covered: t }) {- let n = (0, D.useContext)(lU), r = c6(), i = (0, D.useRef)(null);+function yAe({ path: e, covered: t }) {+ let n = (0, D.useContext)(pU), r = l6(), i = (0, D.useRef)(null);return (0, D.useEffect)(() => {- e.startsWith("/settings/") && zV(document.getElementById("stats"), { section: sV(e) });+ e.startsWith("/settings/") && RV(document.getElementById("stats"), { section: oV(e) });}, [e]), (0, D.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -74673,7 +74722,7 @@ function pAe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && fAe(e, n, a);+ a.live && vAe(e, n, a);});}, [r]), (0, D.useEffect)(() => () => {let e = i.current;@@ -74681,18 +74730,18 @@ function pAe({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && PV(t)?.revision === e.revision && BV(t);+ t && e.revision && !t.hidden && NV(t)?.revision === e.revision && zV(t);});}, []), null;}-function mAe() {- let e = c6(), t = (0, D.useRef)(!1);+function bAe() {+ let e = l6(), t = (0, D.useRef)(!1);return (0, D.useEffect)(() => {- if (!e || t.current || gV(YV.navigation.location.pathname)) return;+ if (!e || t.current || hV(JV.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && XV("/data-cleanup#resource-sync", { replace: !0 });+ n && YV("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -74700,24 +74749,24 @@ function mAe() {}//#endregion//#region src/react/router/route-chunk.ts-var m6 = [], h6 = "peach.chunkReloadAt", hAe = 3e4;-async function gAe() {+var h6 = [], g6 = "peach.chunkReloadAt", xAe = 3e4;+async function SAe() {try {- let e = Number(sessionStorage.getItem(h6) || 0);- if (Date.now() - e < hAe || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(g6) || 0);+ if (Date.now() - e < xAe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(h6, String(Date.now())), location.reload();+ sessionStorage.setItem(g6, String(Date.now())), location.reload();} catch {}}-function g6(e) {+function _6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return m6.push(r), {+ return h6.push(r), {preload: () => r().catch(async (e) => {- throw await gAe(), e;+ throw await SAe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -74725,10 +74774,10 @@ function g6(e) {}};}-function _Ae() {+function CAe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...m6], n = () => {+ let t = [...h6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -74738,31 +74787,31 @@ function _Ae() {}//#endregion//#region src/react/router/managed-routes.tsx-async function _6(e, t) {+async function v6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var v6 = g6(() => import("./peach-app.jav-page-BylXQgrV.js")), y6 = g6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), b6 = g6(() => import("./peach-app.taste-page-CidGJvZ7.js")), x6 = g6(() => import("./peach-app.review-page-CPsgIxd6.js")), S6 = g6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), C6 = g6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), w6 = g6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), T6 = g6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), E6 = g6(async () => {+var y6 = _6(() => import("./peach-app.jav-page-BylXQgrV.js")), b6 = _6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), x6 = _6(() => import("./peach-app.taste-page-CidGJvZ7.js")), S6 = _6(() => import("./peach-app.review-page-CPsgIxd6.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), w6 = _6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), T6 = _6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), E6 = _6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), D6 = _6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-Bxq5ZZc_.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), D6 = g6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), O6 = g6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), k6 = g6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));-function vAe(e, t, n) {+}), O6 = _6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), A6 = _6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));+function wAe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- M6(r) ? n(r) : t.openManage(e);+ N6(r) ? n(r) : t.openManage(e);}-var A6 = (e) => ({- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: e }),- prefetch: (t, n) => _6(E6, Promise.all([Twe(n), ...e === "/settings/diagnostics" ? [KSe(n)] : []]).then(() => {})),+var j6 = (e) => ({+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: e }),+ prefetch: (t, n) => v6(D6, Promise.all([jwe(n), ...e === "/settings/diagnostics" ? [QSe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = E6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();return /* @__PURE__ */ (0, O.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -74773,12 +74822,12 @@ var A6 = (e) => ({})});}-}), j6 = {+}), M6 = {"/jav": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/jav" }),- prefetch: (e, t) => _6(v6, zCe(e.tab, t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/jav" }),+ prefetch: (e, t) => v6(y6, GCe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = v6.get();+ let { JavPage: n } = y6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,navigate: t.navigate,@@ -74787,10 +74836,10 @@ var A6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/stats" }),- prefetch: (e, t) => _6(y6, xOe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/stats" }),+ prefetch: (e, t) => v6(b6, DOe(t)),page: (e, t) => {- let { StatsPage: n } = y6.get();+ let { StatsPage: n } = b6.get();return /* @__PURE__ */ (0, O.jsx)(n, {tagLabel: fl,onTag: t.openTag@@ -74798,10 +74847,10 @@ var A6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/taste" }),- prefetch: (e, t) => _6(b6, lke("all", t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/taste" }),+ prefetch: (e, t) => v6(x6, hke("all", t)),page: (e, t, n) => {- let { TastePage: r } = b6.get();+ let { TastePage: r } = x6.get();return /* @__PURE__ */ (0, O.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -74811,10 +74860,10 @@ var A6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/review" }),- prefetch: (e, t) => _6(x6, lye(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/review" }),+ prefetch: (e, t) => v6(S6, gye(t)),page: (e, t) => {- let { ReviewPage: n } = x6.get();+ let { ReviewPage: n } = S6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeReview,@@ -74826,22 +74875,22 @@ var A6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/data-cleanup" }),- prefetch: (e, t) => _6(S6, gbe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/data-cleanup" }),+ prefetch: (e, t) => v6(C6, Cbe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = S6.get();+ let { DataCleanupPage: r } = C6.get();return /* @__PURE__ */ (0, O.jsx)(r, {failure: t.failure,- open: (e) => vAe(e, t, n),+ open: (e) => wAe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/duplicates" }),- prefetch: (e, t) => _6(C6, Dve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/duplicates" }),+ prefetch: (e, t) => v6(w6, Pve(t)),page: (e, t) => {- let { DuplicatesPage: n } = C6.get();+ let { DuplicatesPage: n } = w6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -74850,46 +74899,46 @@ var A6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/quality-goals" }),- prefetch: (e, t) => _6(w6, zve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/quality-goals" }),+ prefetch: (e, t) => v6(T6, Kve(t)),page: (e, t) => {- let { QualityGoalsPage: n } = w6.get();+ let { QualityGoalsPage: n } = T6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,- javTitleHtml: lF,- javDisplayName: cF,+ javTitleHtml: cF,+ javDisplayName: sF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/sources" }),- prefetch: (e, t) => _6(T6, hwe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/sources" }),+ prefetch: (e, t) => v6(E6, xwe(t)),page: (e, t) => {- let { ScrapingPage: n } = T6.get();+ let { ScrapingPage: n } = E6.get();return /* @__PURE__ */ (0, O.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": A6("/settings/library"),- "/settings/subscriptions": A6("/settings/subscriptions"),- "/settings/downloads": A6("/settings/downloads"),- "/settings/network": A6("/settings/network"),- "/settings/maintenance": A6("/settings/maintenance"),- "/settings/diagnostics": A6("/settings/diagnostics"),+ "/settings/library": j6("/settings/library"),+ "/settings/subscriptions": j6("/settings/subscriptions"),+ "/settings/downloads": j6("/settings/downloads"),+ "/settings/network": j6("/settings/network"),+ "/settings/maintenance": j6("/settings/maintenance"),+ "/settings/diagnostics": j6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/tasks" }),- prefetch: (e, t) => _6(D6, Fle(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/tasks" }),+ prefetch: (e, t) => v6(O6, Ile(t)),page: () => {- let { ActivityPage: e } = D6.get();+ let { ActivityPage: e } = O6.get();return /* @__PURE__ */ (0, O.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/subscriptions" }),- prefetch: (e, t) => _6(O6, ai(t, e.tab)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/subscriptions" }),+ prefetch: (e, t) => v6(k6, ai(t, e.tab)),page: (e, t) => {- let { FollowManagePage: n } = O6.get();+ let { FollowManagePage: n } = k6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeFollowManage,@@ -74899,12 +74948,12 @@ var A6 = (e) => ({});}}-}, M6 = (e) => Object.hasOwn(j6, e), yAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(mAe, {}) } }, bAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(aAe, {}) } }, N6 = {+}, N6 = (e) => Object.hasOwn(M6, e), TAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(bAe, {}) } }, EAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(dAe, {}) } }, P6 = {"/playlists": {- element: /* @__PURE__ */ (0, O.jsx)(nAe, {}),- prefetch: (e, t) => _6(k6, $Ce(t)),+ element: /* @__PURE__ */ (0, O.jsx)(cAe, {}),+ prefetch: (e, t) => v6(A6, awe(t)),page: (e, t) => {- let { PlaylistsPage: n } = k6.get();+ let { PlaylistsPage: n } = A6.get();return /* @__PURE__ */ (0, O.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -74915,14 +74964,14 @@ var A6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, O.jsx)(eAe, {}),+ element: /* @__PURE__ */ (0, O.jsx)(oAe, {}),prefetch: (e, t) => Di(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(Txe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Mxe, { ...e })}-}, P6 = (e) => Object.hasOwn(N6, e), F6 = {- element: /* @__PURE__ */ (0, O.jsx)(zke, {}),- prefetch: (e, t) => Lbe(e, t),- page: (e, t) => /* @__PURE__ */ (0, O.jsx)(uCe, {+}, F6 = (e) => Object.hasOwn(P6, e), I6 = {+ element: /* @__PURE__ */ (0, O.jsx)(Gke, {}),+ prefetch: (e, t) => Wbe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, O.jsx)(gCe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -74935,81 +74984,81 @@ var A6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})-}, I6 = {- "/performers": F6,- "/creators": F6,- "/studios": F6,- "/agencies": F6,- "/tags": F6}, L6 = {- element: /* @__PURE__ */ (0, O.jsx)(Uke, {}),- prefetch: (e) => Tbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(VSe, { ...e })+ "/performers": I6,+ "/creators": I6,+ "/studios": I6,+ "/agencies": I6,+ "/tags": I6}, R6 = {- "/performers/*": L6,- "/studios/*": L6,- "/creators/*": L6,- "/series/*": L6,- "/agencies/*": L6,- "/tags/*": L6+ element: /* @__PURE__ */ (0, O.jsx)(Yke, {}),+ prefetch: (e) => Mbe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(qSe, { ...e })}, z6 = {+ "/performers/*": R6,+ "/studios/*": R6,+ "/creators/*": R6,+ "/series/*": R6,+ "/agencies/*": R6,+ "/tags/*": R6+}, B6 = {"/": {- element: /* @__PURE__ */ (0, O.jsx)(r6, {}),- prefetch: (e, t) => wM(e, t),+ element: /* @__PURE__ */ (0, O.jsx)(i6, {}),+ prefetch: (e, t) => xM(e, t),page: (e) => /* @__PURE__ */ (0, O.jsx)(bY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, O.jsx)(r6, {}),+ element: /* @__PURE__ */ (0, O.jsx)(i6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(TCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(jCe, { ...e })}-}, B6 = (e) => Object.hasOwn(z6, e), xAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(The, { ...e }) : /* @__PURE__ */ (0, O.jsx)(V$, { ...e }), V6 = {+}, V6 = (e) => Object.hasOwn(B6, e), DAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(Ehe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(H$, { ...e }), H6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(QU, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(rW, { ...e })},"feed-new": {- prefetch: (e) => xbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(qSe, { ...e })+ prefetch: (e) => Obe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)($Se, { ...e })},"library-processing": {- prefetch: (e, t) => mH(t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(xAe, { ...e })+ prefetch: (e, t) => pH(t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(DAe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(xwe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Dwe, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), U6 = {+}, U6 = (e) => Object.hasOwn(H6, e), W6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(uoe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(moe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Uoe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Koe, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(xle, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Sle, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(_ce, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(vce, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Wwe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Xwe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(iTe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(uTe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(yOe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(TOe, {})}-}, W6 = (e) => Object.hasOwn(U6, e), G6 = [+}, G6 = (e) => Object.hasOwn(W6, e), K6 = ["/","/wall","/unseen",@@ -75019,101 +75068,101 @@ var A6 = (e) => ({"/junk-files"];[- ...Object.keys(j6),- ...Object.keys(N6),- ...Object.keys(I6),- ...Object.keys(R6),- ...G6+ ...Object.keys(M6),+ ...Object.keys(P6),+ ...Object.keys(L6),+ ...Object.keys(z6),+ ...K6];-var K6 = (e) => M6(e) || P6(e) || Object.hasOwn(I6, e) || Object.hasOwn(R6, e) || B6(e) || H6(e) || W6(e);-function q6(e) {- return M6(e) ? j6[e] : P6(e) ? N6[e] : B6(e) ? z6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : Object.hasOwn(I6, e) ? I6[e] : R6[e];+var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);+function J6(e) {+ return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];}-function SAe(e, t, n) {- return K6(e) ? q6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function OAe(e, t, n) {+ return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function CAe(e, t, n, r) {- return q6(e).page(t, n, r);+function kAe(e, t, n, r) {+ return J6(e).page(t, n, r);}//#endregion//#region src/react/application-residents.ts-var J6 = null, Y6 = null, X6 = 0, Z6 = /* @__PURE__ */ new Set();-function wAe(e) {- return J6 = e, Y6 && e(Y6), () => {- J6 === e && (J6 = null);+var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();+function AAe(e) {+ return Y6 = e, X6 && e(X6), () => {+ Y6 === e && (Y6 = null);};}-function TAe(e) {- return J6 && (Y6 = e, J6(e), ume(Promise.resolve(SAe)), _Ae()), Promise.resolve();+function jAe(e) {+ return Y6 && (X6 = e, Y6(e), dme(Promise.resolve(OAe)), CAe()), Promise.resolve();}-async function Q6(e, t, n = (e) => e) {- let r = X6;- if (t.isConnected || Z6.add(t), !await RV(e, {}, {+async function $6(e, t, n = (e) => e) {+ let r = Z6;+ if (t.isConnected || Q6.add(t), !await LV(e, {}, {container: t,resident: !0,- isCurrent: () => !!J6 && r === X6,+ isCurrent: () => !!Y6 && r === Z6,place: () => n(t)- }) || r !== X6 || !J6) throw new DOMException("应用已卸载", "AbortError");-}-function EAe() {- X6 += 1, J6 = null, Y6 = null, $6 = null, e8 = null, r8 = null, i8 = null, o8 = null, s8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null, g8 = null, v8 = null;- for (let e of Z6) e.remove();- Z6.clear(), XQ();-}-var $6 = null, e8 = null;-function t8(e) {- return $6 ??= (async () => {- let t = vOe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await Q6("stage", n, (e) => (document.body.append(e), e)), e8 = t, t;- })(), $6;-}-var n8 = () => e8, r8 = null, i8 = null;-function DAe(e) {- return r8 ??= (async () => {- let t = gce(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await Q6("immerse", n, (e) => (document.body.append(e), e)), i8 = t, t;- })(), r8;-}-var a8 = () => i8, o8 = null, s8 = null;-function OAe(e) {- return o8 ??= (async () => {- let t = Uwe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await Q6("settings-panel", n, (e) => (document.body.append(e), e)), s8 = t, t;- })(), o8;-}-var c8 = () => s8, l8 = null, u8 = null;-function kAe(e) {- return l8 ??= (async () => {- let t = rTe(e);- return await Q6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), u8 = t, t;- })(), l8;-}-var d8 = () => u8, f8 = null, p8 = null;-function AAe(e) {- return f8 ??= (async () => {- let t = ble(e);- return await Q6("manage-header", e.root, (e) => (e.replaceChildren(), e)), p8 = t, t;- })(), f8;-}-var m8 = () => p8, h8 = null, g8 = null;-function jAe(e) {- return h8 ??= (async () => {- let t = loe(e);- return await Q6("batch-dock", e.root), g8 = t, t;- })(), h8;-}-var _8 = () => g8, v8 = null;-function MAe(e) {- return v8 ??= (async () => {- Hoe(e), await Q6("glow-picker", e.root);- })(), v8;+ }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");+}+function MAe() {+ Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;+ for (let e of Q6) e.remove();+ Q6.clear(), ZQ();+}+var e8 = null, t8 = null;+function n8(e) {+ return e8 ??= (async () => {+ let t = wOe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;+ })(), e8;+}+var r8 = () => t8, i8 = null, a8 = null;+function NAe(e) {+ return i8 ??= (async () => {+ let t = _ce(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;+ })(), i8;+}+var o8 = () => a8, s8 = null, c8 = null;+function PAe(e) {+ return s8 ??= (async () => {+ let t = Ywe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;+ })(), s8;+}+var l8 = () => c8, u8 = null, d8 = null;+function FAe(e) {+ return u8 ??= (async () => {+ let t = lTe(e);+ return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;+ })(), u8;+}+var f8 = () => d8, p8 = null, m8 = null;+function IAe(e) {+ return p8 ??= (async () => {+ let t = xle(e);+ return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;+ })(), p8;+}+var h8 = () => m8, g8 = null, _8 = null;+function LAe(e) {+ return g8 ??= (async () => {+ let t = poe(e);+ return await $6("batch-dock", e.root), _8 = t, t;+ })(), g8;+}+var v8 = () => _8, y8 = null;+function RAe(e) {+ return y8 ??= (async () => {+ Goe(e), await $6("glow-picker", e.root);+ })(), y8;}-function y8(e, t, n, r) {- ZQ(e, t), QQ(n, r);+function b8(e, t, n, r) {+ QQ(e, t), $Q(n, r);}//#endregion//#region src/application/effects.ts-var b8 = class {+var x8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75194,13 +75243,13 @@ var b8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, Y = new b8();-function NAe() {- return Y.dispose(), Y = new b8(), Y;+}, Y = new x8();+function zAe() {+ return Y.dispose(), Y = new x8(), Y;}//#endregion//#region src/application/receipts.js-var x8 = {+var S8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75210,13 +75259,13 @@ var x8 = {rollSeed: void 0,seededSample: void 0};-function PAe() {- ZQ(L("#toasts"), {+function BAe() {+ QQ(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {- mo(i || (t ? "error" : "success")), y8(L("#toasts"), {+ }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {+ mo(i || (t ? "error" : "success")), b8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -75231,13 +75280,13 @@ function PAe() {} : null});};- return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };- }, x8.liftToastsOverTutorial = () => {+ return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };+ }, S8.liftToastsOverTutorial = () => {let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, Y.resize(x8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), Y.listen.bind(Y, window)("resize", x8.liftToastsOverTutorial), x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, Y.resize(S8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), Y.listen.bind(Y, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = x8.toast({ text: e }, {+ return r = S8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75250,7 +75299,7 @@ function PAe() {}} : null}), r;- }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => Tn(), x8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => Tn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => wn(n, r(e)) - wn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));@@ -75258,7 +75307,7 @@ function PAe() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var FAe = [+var VAe = ["loc","creator","studio",@@ -75278,10 +75327,10 @@ var FAe = ["folder","folder_recursive"];-function S8(e, t, n, r = n.defaultSort) {- return Rk(e, t, n.defaultSort, n.defaultSortDirection, r);+function C8(e, t, n, r = n.defaultSort) {+ return Pk(e, t, n.defaultSort, n.defaultSortDirection, r);}-function IAe(e, t, n) {+function HAe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Zt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -75296,7 +75345,7 @@ function IAe(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: Yt[r] || o("state") || "",- ...S8(o("sort"), o("dir"), t),+ ...C8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -75306,18 +75355,18 @@ function IAe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function LAe(e, t) {+function UAe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function RAe(e) {+function WAe(e) {let t = Jt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of FAe) {+ for (let t of VAe) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Fk(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== jk(e.sort ?? "")) && n.set(t, r);}return !Jt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function zAe(e, t, n) {+function GAe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75332,7 +75381,7 @@ function zAe(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: Lk(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Nk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75342,7 +75391,7 @@ function zAe(e, t, n) {folder_recursive: ""};}-function C8(e) {+function w8(e) {return {state: e,barsContext: {@@ -75354,7 +75403,7 @@ function C8(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var BAe = class {+var KAe = class {currentRevision = 0;currentPage = "";painting = null;@@ -75399,44 +75448,44 @@ var BAe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, w8 = 3e4, T8 = 0, VAe = (e, t = T8) => [+}, T8 = 3e4, E8 = 0, qAe = (e, t = E8) => ["facets",e,t-], HAe = (e, t, n = T8) => [+], JAe = (e, t, n = E8) => ["tops",e,t,n-], UAe = (e, t = T8) => [+], YAe = (e, t = E8) => ["tops",e,t];-async function E8(e) {+async function D8(e) {let t = String(e), n = await z(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await z(`/api/tops?${r}`));}-function WAe(e, t) {+function XAe(e, t) {return Promise.all([U.fetchQuery({- queryKey: VAe(e),+ queryKey: qAe(e),queryFn: () => z(`/api/facets${e ? `?${e}` : ""}`),- staleTime: w8+ staleTime: T8}), U.fetchQuery({- queryKey: HAe(t, e),- queryFn: () => E8(t),- staleTime: w8+ queryKey: JAe(t, e),+ queryFn: () => D8(t),+ staleTime: T8})]);}-function GAe(e) {+function ZAe(e) {return U.fetchQuery({- queryKey: UAe(e),- queryFn: () => E8(e),- staleTime: w8+ queryKey: YAe(e),+ queryFn: () => D8(e),+ staleTime: T8});}-function D8() {- T8 += 1;+function O8() {+ E8 += 1;let e = (e) => e.state.fetchStatus === "idle";U.removeQueries({queryKey: ["facets"],@@ -75448,7 +75497,7 @@ function D8() {}//#endregion//#region src/application/navigation-items.ts-var O8 = [+var k8 = [["","首页",@@ -75499,7 +75548,7 @@ var O8 = ["管理","wrench"]-], k8 = [+], A8 = [["stats","统计",@@ -75545,18 +75594,18 @@ var O8 = ["Peach 配置","folder-cog"]-], A8 = [+], j8 = ["stats","taste","cleanup","follow","activity","configuration"-], KAe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], QAe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), qAe = [...O8, ...j8], JAe = {+]]), $Ae = [...k8, ...M8], eje = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -75564,7 +75613,7 @@ var O8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, M8 = [+}, N8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],@@ -75572,11 +75621,11 @@ var O8 = [];//#endregion//#region src/react/index/index-controller.ts-function N8({ kind: e, q: t, scope: n, view: r, category: i }) {+function P8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function P8(e, t, n) {+function F8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: La(e.k, r ? {@@ -75589,20 +75638,20 @@ function P8(e, t, n) {face: za(e.avatar_focus)};}-function F8(e) {+function I8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ca({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${B(n)}</span>${r}`;}-function YAe(e) {+function tje(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Xi(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(N8(t), n);+ e.route(P8(t), n);},- personAvatar: P8,- authorAvatar: F8,+ personAvatar: F8,+ authorAvatar: I8,openFollowAuthor(n) {t(Zi(e.followView(), n));},@@ -75613,7 +75662,7 @@ function YAe(e) {}//#endregion//#region src/application/source-action.ts-function XAe(e) {+function nje(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -75629,36 +75678,36 @@ function XAe(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var I8 = () => Object.fromEntries(HX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function L8(e, t) {- let n = new URLSearchParams(e), r = I8();+var L8 = () => Object.fromEntries(HX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function R8(e, t) {+ let n = new URLSearchParams(e), r = L8();for (let e of HX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Rk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Pk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function R8(e) {+function z8(e) {let t = new URLSearchParams();- for (let n of HX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Fk(e.sort || "")) && t.set(n, e[n]);+ for (let n of HX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== jk(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function z8(e) {+function B8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function B8(e, t) {- let n = new URLSearchParams(R8(e));+function V8(e, t) {+ let n = new URLSearchParams(z8(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function ZAe(e, t, n, r) {- let i = B8(n, r);+function rje(e, t, n, r) {+ let i = V8(n, r);return en(e, t) + (i ? `?${i}` : "");}-function QAe() {+function ije() {let e = "";return {fresh(t, n) {@@ -75667,23 +75716,23 @@ function QAe() {read(t, n, r, i) {let a = e === en(t, n) && !r;e = "";- let o = a ? I8() : { ...L8(r, i) };+ let o = a ? L8() : { ...R8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : z8(r)+ } : B8(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function $Ae(e, t) {+function aje(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function eje(e) {+function oje(e) {let t = () => {let t = e.preferences();for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);@@ -75706,12 +75755,12 @@ function eje(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function tje(e, t, n) {+function sje(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(ZAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(rje(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -75725,7 +75774,7 @@ function tje(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : I8();+ return n?.kind === t && n.name === a ? n.filters : L8();}, l = {...n,route: (e, n) => {@@ -75738,7 +75787,7 @@ function tje(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Ik(e, n.sort || "new", n.dir || "");+ let n = c(), i = Mk(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -75790,7 +75839,7 @@ function tje(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function nje(e) {+function cje(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -75799,7 +75848,7 @@ function nje(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function rje(e, t) {+function lje(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Ia({kind: e,id: t.id,@@ -75822,11 +75871,11 @@ function rje(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function ije(e) {- let t = QAe(), n = {+function uje(e) {+ let t = ije(), n = {...e.helpers,- portraitImg: rje- }, r = tje(e.controller, n, e.actions);+ portraitImg: lje+ }, r = sje(e.controller, n, e.actions);return {...r,helpers: n,@@ -75835,13 +75884,13 @@ function ije(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: nje(e.loading),- photos: eje(e.photos)+ loading: cje(e.loading),+ photos: oje(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function aje(e) {+function dje(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : La(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${B(en("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;@@ -75850,7 +75899,7 @@ function aje(e) {}//#endregion//#region src/application/feed.js-var V8 = {+var H8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -75866,56 +75915,56 @@ var V8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function H8(e) {+function U8(e) {return e.has_cover ? Ha(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${is("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ha(e, "big").replace(/ src="[^"]*"/, ` src="${B(Ma(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function oje(e) {- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = H8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? lF({+function fje(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? cF({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${mA}">${n}+ ${a}<div class="pic" style="--card-ratio:${dA}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${R("check")}</button></div></div>- <div class="meta">${aje(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${dje(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function sje() {+function pje() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- V8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${un(e)}`, t.parts]));+ H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${un(e)}`, t.parts]));} catch {}}-async function U8() {+async function W8() {let e = Y, t = await z("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (V8.entityShapesComplete = !0, V8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && G8(t.home.feed), Y8(location.pathname) && K8(L("#feedNew"))), V8.entityShapes;+ return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;}-var W8 = "peach.home-feed.v1";-function G8(e) {+var G8 = "peach.home-feed.v1";+function K8(e) {X.homeHasFeed = e;try {- localStorage.setItem(W8, e ? "1" : "0");+ localStorage.setItem(G8, e ? "1" : "0");} catch {}}-function cje() {+function mje() {try {- let e = localStorage.getItem(W8);+ let e = localStorage.getItem(G8);return e === "1" || e !== "0" && null;} catch {return null;}}-function K8(e) {- !e || FV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = V8.feedNewSkeletonHtml())));+function q8(e) {+ !e || PV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));}-function lje(e, t) {+function hje(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ts(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -75923,56 +75972,56 @@ function lje(e, t) {actionHref: "/sources"});}-function q8(e) {- let t = e && !e.error && e.items || [];- return lje(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(oje).join("")}</div>`;-}function J8(e) {- e && ($7(e), Z.appSettings.feedAutoScroll && Qs(e));+ let t = e && !e.error && e.items || [];+ return hje(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(fje).join("")}</div>`;}function Y8(e) {+ e && (e9(e), Z.appSettings.feedAutoScroll && Qs(e));+}+function X8(e) {return Zt(e) && e !== "/junk-files";}-function uje() {+function gje() {let e = L("#feedNew");- FV(e) ? zV(e, { revision: ++V8.feedRevision }) : (K8(e), RV("feed-new", {+ PV(e) ? RV(e, { revision: ++H8.feedRevision }) : (q8(e), LV("feed-new", {host: e,- revision: V8.feedRevision,- helpers: V8.feedNewHelpers,- actions: V8.feedNewActions+ revision: H8.feedRevision,+ helpers: H8.feedNewHelpers,+ actions: H8.feedNewActions}, {container: e,- isCurrent: () => Y8(location.pathname)+ isCurrent: () => X8(location.pathname)}));}-function X8() {+function Z8() {let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach($s), BV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach($s), zV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function Z8() {- V8.feedRevision += 1, zV(L("#feedNew"), { revision: V8.feedRevision }), a5({ feedRevision: V8.feedRevision });+function Q8() {+ H8.feedRevision += 1, RV(L("#feedNew"), { revision: H8.feedRevision }), o5({ feedRevision: H8.feedRevision });}-function dje() {+function _je() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Qs(e) : $s(e));}-var Q8 = 0;-function fje([e]) {- let t = e.contentRect.width >= V8.HERO_WIDE_PX;- cancelAnimationFrame(Q8), Q8 = requestAnimationFrame(() => {- Q8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var $8 = 0;+function vje([e]) {+ let t = e.contentRect.width >= H8.HERO_WIDE_PX;+ cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {+ $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function pje() {- V8.FEED_SKELETON_CARDS = 8, V8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${mA}"></div>+function yje() {+ H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${dA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>- <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(V8.FEED_SKELETON_CARDS)}</div>`, V8.entityShapes = null, V8.entityShapesComplete = !1, V8.hasEntityShape = (e, t) => V8.entityShapesComplete || !!V8.entityShapes?.has(`${e}/${un(t)}`), V8.hasEntityPart = (e, t, n) => !!t && !!V8.entityShapes?.get(`${e}/${un(t)}`)?.includes(n), V8.feedNewSkeletonSection = () => `<section class="feednew">${V8.feedNewSkeletonHtml()}</section>`, V8.COSTAR_SKELETON_PEOPLE = 12, V8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(V8.COSTAR_SKELETON_PEOPLE)}</div></div>`, V8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, V8.feedRevision = 0, V8.feedNewHelpers = {- feedRowHtml: q8,- wireFeedRow: (e) => J8(e)- }, V8.feedNewActions = { settled: (e) => G8(e) }, V8.HERO_WIDE_PX = 900, Y.resize(fje).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${un(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${un(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {+ feedRowHtml: J8,+ wireFeedRow: (e) => Y8(e)+ }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, Y.resize(vje).observe(L("#index"));}//#endregion//#region src/entity-skeleton.ts-function mje(e, t, n, r = "") {+function bje(e, t, n, r = "") {let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">@@ -75987,10 +76036,10 @@ function mje(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-var $8 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Vo(e, "size-4 shrink-0"), e5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", t5 = (e, t, n) => `<span data-entity-layout="" class="${xU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${SU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${e5}>${$8(r)}</span>`).join("")}</span>`;-function n5(e, t) {- let n = fM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? t5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${e5}>${$8("shuffle")}</button>${i}${t5("馆藏显示方式", n, [[+var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Vo(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${TU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${EU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;+function r5(e, t) {+ let n = lM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -75998,11 +76047,11 @@ function n5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${e5}>${$8("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${e5}>${B(e.label)}${e.dir ? $8(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${t5}>${B(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}//#endregion//#region src/application/entity.js-var r5 = {+var i5 = {ENTITY_FILTER_KEYS: void 0,emptyEntityFilters: void 0,parseEntityFilters: void 0,@@ -76027,16 +76076,16 @@ var r5 = {sourceToolButtons: void 0,application: void 0};-function i5() {- let e = PV(L("#index"));+function a5() {+ let e = NV(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function a5(e) {- r5.entityPageCurrent() && zV(L("#index"), e);+function o5(e) {+ i5.entityPageCurrent() && RV(L("#index"), e);}-function o5() {+function s5() {if (Cl.type === "item") return Cl;- let e = i5();+ let e = a5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -76048,62 +76097,62 @@ function o5() {}return Cl;}-function s5(e, t, n = e7()) {- return cMe(n).map(([n, r]) => {- let i = e === n, a = Ik(n, e, t);+function c5(e, t, n = t7()) {+ return mMe(n).map(([n, r]) => {+ let i = e === n, a = Mk(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Pk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Pk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Ak(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Ak(a.sort, a.dir) : ""}排序` : ""};});}-function c5(e, t, n, r = r5.EMPTY_ENTITY_MEDIA, i = {}) {- return r5.application.route(e, t, n, r, i);+function l5(e, t, n, r = i5.EMPTY_ENTITY_MEDIA, i = {}) {+ return i5.application.route(e, t, n, r, i);}-function l5() {- return $Ae({- entityWall: r5.entityPageWall,- entityCurrent: r5.entityPageCurrent(),+function u5() {+ return aje({+ entityWall: i5.entityPageWall,+ entityCurrent: i5.entityPageCurrent(),indexVisible: !L("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,statsVisible: !L("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function u5() {- r5.photos.sync();-}function d5() {- l5() ? Ioe(bA()) : NA();+ i5.photos.sync();+}+function f5() {+ u5() ? zoe(_A()) : AA();}-function hje(e) {- r5.photos.setSize(e);+function xje(e) {+ i5.photos.setSize(e);}-var f5 = XAe({+var p5 = nje({request: (e) => z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => x8.toast({ text: "已在资源管理器中显示" }),- failureText: (e) => r5.sourceHint(e instanceof Error ? e.message : String(e))+ success: () => S8.toast({ text: "已在资源管理器中显示" }),+ failureText: (e) => i5.sourceHint(e instanceof Error ? e.message : String(e))});-async function p5(e) {+async function m5(e) {let t = { textContent: "" };- return await f5(e, t), t.textContent;+ return await p5(e, t), t.textContent;}-async function gje(e) {+async function Sje(e) {let t = { textContent: "" }, n = [];- return await m5(e, t, (e) => {+ return await h5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function m5(e, t, n) {+async function h5(e, t, n) {t.textContent = "正在核对目录…";try {let r = await z("/api/purge-missing", {@@ -76111,12 +76160,12 @@ async function m5(e, t, n) {body: JSON.stringify({ id: e })});if (r.ok === !1) {- t.textContent = r5.sourceHint(r.error);+ t.textContent = i5.sourceHint(r.error);return;}- if (t.textContent = r.removed ? `${r5.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {+ if (t.textContent = r.removed ? `${i5.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), x8.actionReceipt(r5.syncedText(r), { undo: e.length ? async () => {+ n && n(r), S8.actionReceipt(i5.syncedText(r), { undo: e.length ? async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({@@ -76128,22 +76177,22 @@ async function m5(e, t, n) {restored: e.length});} : null });- } else x8.actionReceipt("目录核对完成,无需改动");+ } else S8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = r5.sourceHint(e.message), x8.actionFailure("核对目录", e);+ t.textContent = i5.sourceHint(e.message), S8.actionFailure("核对目录", e);}}-function _je(e) {- return `<div class="srctools">${r5.sourceToolButtons(e)}+function Cje(e) {+ return `<div class="srctools">${i5.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function vje(e, t) {+function wje(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && Y.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && Y.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));+ r && Y.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && Y.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));}-async function yje(e, t) {+async function Tje(e, t) {let n = yc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -76166,54 +76215,54 @@ async function yje(e, t) {remove: !0});} catch (e) {- x8.actionFailure("撤销别名", e);+ S8.actionFailure("撤销别名", e);return;}- x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function h5(e, t) {- let n = ["performer", "studio"].includes(e) && V8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ho()}${e === "agency" ? "" : n5(s5(W.sort, W.dir, n), n ? {+function g5(e, t) {+ let n = ["performer", "studio"].includes(e) && H8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ho()}${e === "agency" ? "" : r5(c5(W.sort, W.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: gA(),- options: dA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${e5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${e5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${e5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = mje(e, r, e === "agency" ? vs({+ value: pA(),+ options: cA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${t5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = bje(e, r, e === "agency" ? vs({kind: "performers",- layout: j5.peopleIndexLayout()- }) : rY("正在读取作品", wA(CA({+ layout: M5.peopleIndexLayout()+ }) : rY("正在读取作品", xA(bA({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (L("#index").innerHTML = a, g5(e, t), Ts(L("#index")));+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), Ts(L("#index")));}-function g5(e, t) {+function _5(e, t) {let n = L("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && V8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", V8.costarSkeletonFoot())), r(n.querySelector(".feednew"), V8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", V8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && V8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", V8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));}-function _5(e) {- let t = Qt[e] || e, n = B3[t] || "条目", r = B3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function v5(e) {+ let t = Qt[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function v5(e, t) {- y9(r5.application.fresh(e, t));+function y5(e, t) {+ b9(i5.application.fresh(e, t));}-function bje() {- r5.ENTITY_FILTER_KEYS = [+function Eje() {+ i5.ENTITY_FILTER_KEYS = ["loc","creator","tag",@@ -76223,71 +76272,71 @@ function bje() {"orient","sort","dir"- ], r5.emptyEntityFilters = I8, r5.parseEntityFilters = (e) => L8(e, {+ ], i5.emptyEntityFilters = L8, i5.parseEntityFilters = (e) => R8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), r5.entityFilterSearch = R8, r5.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), i5.entityFilterSearch = z8, i5.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }- } : e, r5.activeFilterState = () => {- let e = o5();+ } : e, i5.activeFilterState = () => {+ let e = s5();return e.type === "home" ? W : e.filters;}, L("#q").value = W.q, X.rememberSearchValue();}-function xje() {- r5.entityPageView = "", r5.entityPageWall = !1, r5.entityPageRevision = 0, r5.entityPageCurrent = () => !!i5(), r5.entityPageLive = (e, t) => {- let n = i5();+function Dje() {+ i5.entityPageView = "", i5.entityPageWall = !1, i5.entityPageRevision = 0, i5.entityPageCurrent = () => !!a5(), i5.entityPageLive = (e, t) => {+ let n = a5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;- }, r5.EMPTY_ENTITY_MEDIA = {+ }, i5.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, r5.parseMediaView = z8, r5.entityViewSearch = B8, r5.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, r5.entityBodySkeleton = () => G7(), r5.entityPageHelpers = {+ }, i5.parseMediaView = B8, i5.entityViewSearch = V8, i5.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, i5.entityBodySkeleton = () => K7(), i5.entityPageHelpers = {wireDrag: (e) => {- e && $7(e);+ e && e9(e);},wireScroller: (e) => {e && Hs(e);},- wireFeedRow: (e) => J8(e),- feedRowHtml: q8,- receipt: (e, t) => x8.actionReceipt(e, t),- failure: (e, t) => x8.actionFailure(e, t),- aliasForm: (e, t) => yje(e, t),- sourceToolsHtml: (e) => _je(e),- wireSourceTools: (e, t) => vje(e, t),- comboItems: (e) => P7(e),- sortKeys: (e, t, n) => s5(e, t, n)- }, r5.entityFollowActions = {+ wireFeedRow: (e) => Y8(e),+ feedRowHtml: J8,+ receipt: (e, t) => S8.actionReceipt(e, t),+ failure: (e, t) => S8.actionFailure(e, t),+ aliasForm: (e, t) => Tje(e, t),+ sourceToolsHtml: (e) => Cje(e),+ wireSourceTools: (e, t) => wje(e, t),+ comboItems: (e) => F7(e),+ sortKeys: (e, t, n) => c5(e, t, n)+ }, i5.entityFollowActions = {...$.followFeedActions,route: () => {},shuffle: () => {},loaded: () => {},toggleSelection: () => {}- }, r5.SOURCE_HINTS = {+ }, i5.SOURCE_HINTS = {"source offline": "媒体库无法访问,暂时无法核对文件;恢复连接后重试","source not mapped": "本机没有映射这个来源的盘符","file missing": "找不到源文件;点击右侧的扫描按钮,重新检查目录并更新数据库记录","unsupported platform": "当前服务端系统不支持直接定位文件","reveal failed": "打开文件管理器失败,请重试"- }, r5.sourceHint = (e) => r5.SOURCE_HINTS[e] || e, r5.syncedText = (e) => [+ }, i5.sourceHint = (e) => i5.SOURCE_HINTS[e] || e, i5.syncedText = (e) => [e.trashed ? `已把 ${e.trashed} 项移入回收站` : "",e.vanished ? `${e.vanished} 项带个人记录,已标为已消失` : "",e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""- ].filter(Boolean).join(","), r5.sourceToolButtons = (e) => `+ ].filter(Boolean).join(","), i5.sourceToolButtons = (e) => `<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"aria-label="定位源文件">${R("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function Sje() {- r5.application = ije({+function Oje() {+ i5.application = uje({controller: {context: () => {- let e = o5();+ let e = s5();return e.type === "entity" ? e : null;},- live: (e, t) => r5.entityPageLive(e, t),- current: () => r5.entityPageCurrent(),+ live: (e, t) => i5.entityPageLive(e, t),+ current: () => i5.entityPageCurrent(),route: (e, t = !1) => Q.route(e, t),suffix: () => location.search + location.hash,restoreHomeContext: () => Zl({ barsContext: {@@ -76295,93 +76344,93 @@ function Sje() {filters: W} }),releaseBodyPreviews: () => cl(L("#index [data-entity-body]")),- push: a5,+ push: o5,state: () => ({seed: String(W.seed || ""),jav: W.jav === "1"}),preferences: () => ({- revision: r5.entityPageRevision,- feedRevision: V8.feedRevision,- photoSize: bA(),- photoLayout: xA(),- photoLayouts: pA,+ revision: i5.entityPageRevision,+ feedRevision: H8.feedRevision,+ photoSize: _A(),+ photoLayout: vA(),+ photoLayouts: uA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: gA(),- javLayouts: dA,+ javLayout: pA(),+ javLayouts: cA,states: X.VIEW_PILLS,- peopleLayout: j5.peopleIndexLayout(),- layout: W7(),+ peopleLayout: M5.peopleIndexLayout(),+ layout: G7(),selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: $7,- skeletonHtml: r5.entityBodySkeleton,- canLoadMore: r5.entityBodyCanLoadMore,+ wireDrag: e9,+ skeletonHtml: i5.entityBodySkeleton,+ canLoadMore: i5.entityBodyCanLoadMore,follow: {helpers: $.followFeedHelpers,- actions: r5.entityFollowActions+ actions: i5.entityFollowActions}}),- changeFilter: S7,- rollSeed: () => x8.rollSeed(),+ changeFilter: C7,+ rollSeed: () => S8.rollSeed(),writeSeed: (e) => {W.seed = e, Ql();},- setJavLayout: r7,- javLayout: gA,- setPhotoLayout: EA,- syncPhotoWalls: u5,- openEntity: v5,- photoViewActive: l5,+ setJavLayout: i7,+ javLayout: pA,+ setPhotoLayout: CA,+ syncPhotoWalls: d5,+ openEntity: y5,+ photoViewActive: u5,recordPainted: (e, t) => {- r5.entityPageView = e, r5.entityPageWall = t;+ i5.entityPageView = e, i5.entityPageWall = t;},- syncDensity: d5,- scheduleSticky: u7,- releasePage: () => BV(L("#index")),- showMissing: _5,- dropBars: D8+ syncDensity: f5,+ scheduleSticky: d7,+ releasePage: () => zV(L("#index")),+ showMissing: v5,+ dropBars: O8},loading: {- shapesReady: (e, t) => V8.hasEntityShape(e, t),- waitShapes: R5,- paintSkeleton: h5,+ shapesReady: (e, t) => H8.hasEntityShape(e, t),+ waitShapes: z5,+ paintSkeleton: g5,resetView: () => {- Zl({ detailReturnBarsContext: null }), r5.entityPageView = "", r5.entityPageWall = !1;+ Zl({ detailReturnBarsContext: null }), i5.entityPageView = "", i5.entityPageWall = !1;},- loadShapes: U8,- syncParts: g5+ loadShapes: W8,+ syncParts: _5},photos: {preferences: () => ({- size: bA(),- layout: xA(),+ size: _A(),+ layout: vA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: a5,- pushFollow: w9,- syncDensity: d5,- storeSize: Poe+ pushEntity: o5,+ pushFollow: T9,+ syncDensity: f5,+ storeSize: Loe},- helpers: r5.entityPageHelpers,+ helpers: i5.entityPageHelpers,actions: {- toggleTag: N7,- openFollowAuthor: P5,+ toggleTag: P7,+ openFollowAuthor: F5,javContext: (e) => Zl({ entityJavLayout: !!e })},sortPreference: () => ({sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection})- }), r5.photos = r5.application.photos, r5.entityPageHelpers = r5.application.helpers;+ }), i5.photos = i5.application.photos, i5.entityPageHelpers = i5.application.helpers;}//#endregion//#region src/application/playlists.js-var y5 = { playlistWrite: void 0 };-function Cje(e, t) {+var b5 = { playlistWrite: void 0 };+function kje(e, t) {e === "tag" ? (Zl({ state: {...W,tag: t,@@ -76391,17 +76440,17 @@ function Cje(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(h7()), U5(), j7()) : v5(e, t);+ } }), X.clearSearchField(), Q.route(g7()), W5(), M7()) : y5(e, t);}-function b5(e = "") {+function x5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function wje({ title: e, count: t, save: n }) {+async function Aje({ title: e, count: t, save: n }) {let r = yc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: b5(e),+ body: x5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -76411,28 +76460,28 @@ async function wje({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await a9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {- await y5.playlistWrite({+ i && (await o9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {+ await b5.playlistWrite({action: "delete",id: a.id- }), y9("/playlists");+ }), b9("/playlists");} }));}-async function Tje(e) {+async function jje(e) {let t = ((await z("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ss(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = yc({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ts("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ts("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await y5.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await y5.playlistWrite({+ for (let t of r) await b5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -76450,41 +76499,41 @@ async function Tje(e) {let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await y5.playlistWrite({+ S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await b5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await y5.playlistWrite({+ a.created && await b5.playlistWrite({action: "delete",id: a.created.id});} });}-function x5() {- cl(), r9(!1), H5();- let e = PV(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (V5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));+function S5() {+ cl(), i9(!1), U5();+ let e = NV(L("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (H5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));}-function Eje(e) {+function Mje(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function S5(e) {- Zl({ configurationRequestedSection: e }), Q.navigatePath(dV(e));+function C5(e) {+ Zl({ configurationRequestedSection: e }), Q.navigatePath(uV(e));}-function Dje() {- y5.playlistWrite = (e) => z("/api/playlist", {+function Nje() {+ b5.playlistWrite = (e) => z("/api/playlist", {method: "POST",body: JSON.stringify(e)});}//#endregion//#region src/react/catalog-grid/selection-controller.ts-function C5(e) {+function w5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function w5(e, t, n, r, i = !1) {+function T5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -76492,24 +76541,24 @@ function w5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function T5(e, t, n, r, i, a = !1) {+function E5(e, t, n, r, i, a = !1) {let o = n === "follow", s = LY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...w5(e, t, n, !0),+ ...T5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function Oje(e, t, n, r) {- let i = C5(t);+function Pje(e, t, n, r) {+ let i = w5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: c$(n).view === "dismissed"+ junkDismissed: l$(n).view === "dismissed"};}//#endregion//#region src/application/selection.js-var E5 = {+var D5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -76517,43 +76566,43 @@ var E5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function D5() {- H7({+function O5() {+ U7({selected: new Set(Tl),selectMode: Dl- }), a5({+ }), o5({selected: new Set(Tl),selectMode: Dl- }), w9({+ }), T9({selected: new Set(El),selectMode: Dl- }), E5.batchDockProps = Rje(), _8() && (_8().render(E5.batchDockProps), Z.syncGlassOptics());+ }), D5.batchDockProps = Wje(), v8() && (v8().render(D5.batchDockProps), Z.syncGlassOptics());}-function O5(e, t = !1) {- Zl(w5({+function k5(e, t = !1) {+ Zl(T5({selected: Tl,followSelected: El- }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), L("#selectMode").setAttribute("aria-pressed", String(Dl)), D5();+ }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), L("#selectMode").setAttribute("aria-pressed", String(Dl)), O5();}-function kje() {- return [...F5.gridCards()].map((e) => +e.dataset.id);+function Fje() {+ return [...I5.gridCards()].map((e) => +e.dataset.id);}-function k5(e, t = !1) {- Zl(T5({+function A5(e, t = !1) {+ Zl(E5({selected: Tl,followSelected: El- }, A5(), C5(location.pathname), kje(), e, t)), O5(!0);+ }, j5(), w5(location.pathname), Fje(), e, t)), k5(!0);}-function Aje() {+function Ije() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function jje(e, t = !1) {- Zl(T5({+function Lje(e, t = !1) {+ Zl(E5({selected: Tl,followSelected: El- }, A5(), "follow", Aje(), e, t)), O5(!0);+ }, j5(), "follow", Ije(), e, t)), k5(!0);}-async function Mje(e, t) {+async function Rje(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -76585,9 +76634,9 @@ async function Mje(e, t) {})});if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- O5(!1, !0), await a7();+ k5(!1, !0), await o7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -76612,23 +76661,23 @@ async function Mje(e, t) {operation: r})});- await a7();+ await o7();} : null });} catch (e) {throw cc(t, !1), e;} finally {- cc(t, !1), D5();+ cc(t, !1), O5();}}});}-async function Nje() {+async function zje() {let e = [...Tl];if (!e.length) return;let t = yc({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + E5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,@@ -76652,9 +76701,9 @@ async function Nje() {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (O5(!1, !0), await a7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (k5(!1, !0), await o7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function Pje(e, t) {+async function Bje(e, t) {let n = [...El];if (!n.length) return;let r = {@@ -76680,16 +76729,16 @@ async function Pje(e, t) {items: n,to: e})- }), O5(!1, !0), location.pathname === "/follow" && Zl({ pageOpens: Hl + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), k5(!1, !0), location.pathname === "/follow" && Zl({ pageOpens: Hl + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw cc(t, !1), e;} finally {- cc(t, !1), D5();+ cc(t, !1), O5();}}});}-async function Fje(e, t) {+async function Vje(e, t) {let n = [...Tl];if (!n.length) return;let r = {@@ -76716,68 +76765,68 @@ async function Fje(e, t) {operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), O5(!1, !0), await I7();+ }), k5(!1, !0), await L7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await I7();+ }), await L7();} : null });} catch (e) {throw cc(t, !1), e;} finally {- cc(t, !1), D5();+ cc(t, !1), O5();}}});}-function Ije() {- jAe({+function Hje() {+ LAe({root: L("[data-batch-dock]"),run: (e, t, n) => {- E5.BATCH_RUNNERS[e]?.(t, n);+ D5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(E5.batchDockProps), Z.syncGlassOptics();+ e.render(D5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function Lje() {- E5.batchDockProps = {+function Uje() {+ D5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), Y.handler(L("#selectMode"), "onclick", () => O5(!Dl, !!Dl)), E5.REGION_CHOICES = [+ }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), Y.handler(L("#selectMode"), "onclick", () => k5(!Dl, !!Dl)), D5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], E5.BATCH_RUNNERS = {- batch: Mje,- region: Nje,- follow: Pje,- junk: Fje,- clear: () => O5(!1, !0)+ ], D5.BATCH_RUNNERS = {+ batch: Rje,+ region: zje,+ follow: Bje,+ junk: Vje,+ clear: () => k5(!1, !0)}, Y.handler(L("#density"), "onclick", () => {- l5() ? hje(bA() === "big" ? "small" : "big") : Foe();- }), NA(), ol({+ u5() ? xje(_A() === "big" ? "small" : "big") : Roe();+ }), AA(), ol({selecting: () => Dl,- censored: () => Z7(),+ censored: () => Q7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds}), Y.listen(window, "pagehide", () => cl()), Y.listen(document, "visibilitychange", () => {document.hidden && cl();- }), rl(), E5.coverRecheck = 0, Y.listen(window, "resize", () => {- el(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = Y.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ }), rl(), D5.coverRecheck = 0, Y.listen(window, "resize", () => {+ el(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = Y.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && Gc(e);}), 200);}, { passive: !0 });}-function A5() {+function j5() {return {selectMode: Dl,selectSurface: Al,@@ -76785,79 +76834,79 @@ function A5() {followLastSelectedId: kl};}-function Rje() {- return Oje({+function Wje() {+ return Pje({selected: Tl,followSelected: El}, location.pathname, location.search, W.state);}//#endregion//#region src/application/index.js-var j5 = {+var M5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function zje() {+function Gje() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function Bje() {+function Kje() {return UZ(location.search);}-function Vje(e) {+function qje(e) {return WZ(e);}-function Hje(e) {- Q.route(Vje(e));+function Jje(e) {+ Q.route(qje(e));}-function Uje(e = "") {+function Yje(e = "") {return GZ(location.search, e);}-function Wje(e) {- return F8(e);+function Xje(e) {+ return I8(e);}-function M5(e) {- return N8(e);+function N5(e) {+ return P8(e);}-function N5() {- L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;+function P5() {+ L("#stats").hidden = !0, L("#index").hidden = !1, z7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function Gje(e, t) {+function Zje(e, t) {Zl({ state: {...W,state: "",tag: e.join(","),tag_match: t- } }), O5(!1, !1), Q.route(h7()), U5(), h9(), j7();+ } }), k5(!1, !1), Q.route(g7()), W5(), g9(), M7();}-function P5(e) {- j5.controller.openFollowAuthor(e);+function F5(e) {+ M5.controller.openFollowAuthor(e);}-function Kje(e) {- j5.controller.openFollowTag(e);+function Qje(e) {+ M5.controller.openFollowTag(e);}-function qje() {+function $je() {$.FOLLOW_MANAGE_TABS = ["list","add","feeds"], Y.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");- }), j5.peopleIndexLayout = () => V3(Z.appSettings.peopleLayout), j5.personAvatar = P8;+ e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");+ }), M5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), M5.personAvatar = F8;}-function Jje() {- j5.controller = YAe({+function eMe() {+ M5.controller = tje({route: Q.route,- followView: x9,- adoptFollowView: S9,+ followView: S9,+ adoptFollowView: C9,hideIndex: () => {L("#index").hidden = !0;},- openPage: y9+ openPage: b9});}//#endregion//#region src/application/loading.js-var F5 = {+var I5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -76866,58 +76915,58 @@ var F5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function I5(e = "正在读取作品") {+function L5(e = "正在读取作品") {if (location.pathname === "/wall") {L("#loadSentinel").hidden = !0;return;}let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = xCe(c$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && w7({+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = DCe(l$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && T7({count: null,- ...D7()- })), L("#loadSentinel").hidden = !0, V7()) return;- let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== d2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ts(L("#grid")));-}-function L5() {- L("#catalogFilter").style.display = "none", C7();+ ...O7()+ })), L("#loadSentinel").hidden = !0, H7()) return;+ let r = L("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== f2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Ts(L("#grid")));}function R5() {+ L("#catalogFilter").style.display = "none", w7();+}+function z5() {let e = new Promise((e) => {- let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();t -= Math.min(i - n, 50), n = i, t > 0 ? Y.delay(r, Math.min(t, 50)) : e();};Y.delay(r, 50);});- return Promise.race([F5.entityShapesReady ||= U8(), e]);+ return Promise.race([I5.entityShapesReady ||= W8(), e]);}-function Yje() {+function tMe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();- else if (/^\/assets\/\d+$/.test(e)) L5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();- else if (e === "/junk-files") I5("正在读取垃圾文件");- else if (e === "/jav" && C$(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();+ else if (/^\/assets\/\d+$/.test(e)) R5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();+ else if (e === "/junk-files") L5("正在读取垃圾文件");+ else if (e === "/jav" && w$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");else if (Q.managedPagePath(e)) {- L5();+ R5();let t = L("#stats");- t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ts(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), W3(L("#index"), H3(e.slice(1), location.search), j5.peopleIndexLayout());+ t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Ts(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), G3(L("#index"), U3(e.slice(1), location.search), M5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- L5(), L("#index").hidden = !1, R7();+ R5(), L("#index").hidden = !1, z7();let t = $t[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (V8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Ts(L("#index")));+ (H8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), Ts(L("#index")));});- } else Q.routeMeta(e) ? I5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? L5() : (z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function Xje() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => l2(t, {+function nMe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => u2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: bA()+ gridSize: _A()}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -76925,39 +76974,39 @@ function Xje() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = is(rs), F5.setGridCards = (e) => gs(L("#grid"), () => {+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = is(rs), I5.setGridCards = (e) => gs(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => u2(e, {- followLayout: zje(),+ }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => d2(e, {+ followLayout: Gje(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(Bje())- }), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = EV(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, p9();+ }))(Kje())+ }), I5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = TV(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();};}//#endregion//#region src/sidebar-skeleton.ts-var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function Zje(e, t, n) {+function rMe(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${z5(r)}"/></svg>`;- return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${B5(r)}"/></svg>`;+ return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;}).join("")}</div>`;}//#endregion//#region src/application/filter-scroll.js-function Qje(e, t, n, r = !1) {+function iMe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -76976,7 +77025,7 @@ function Qje(e, t, n, r = !1) {}//#endregion//#region src/application/layout.js-var B5 = {+var V5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -76998,20 +77047,20 @@ var B5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function V5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), h9()), t && f2(L("#stats"), t);-}-function H5() {- X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");+function H5({ manage: e = !0, placeholder: t = "" } = {}) {+ L("#stats").hidden = !1, L("#index").hidden = !0, z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), g9()), t && p2(L("#stats"), t);}function U5() {- document.body.classList.remove("entity-open", "index-open"), BV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Y8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();+ X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");}-function $je() {- Q.route("/"), U5();+function W5() {+ document.body.classList.remove("entity-open", "index-open"), zV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();}-function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {- m9({+function aMe() {+ Q.route("/"), W5();+}+function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {+ h9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({@@ -77034,69 +77083,69 @@ function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function G5(e) {- aNe({- ...x9(),+function K5(e) {+ dNe({+ ...S9(),...e- }), m9({ filters: $.followSidebarFilters() });+ }), h9({ filters: $.followSidebarFilters() });}-function K5() {+function q5() {return matchMedia("(max-width:760px)").matches;}-function q5(e) {+function J5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && K5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");+ t.inert = !e && q5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function eMe() {- K5() && q5(!1);+function oMe() {+ q5() && J5(!1);}-function tMe() {+function sMe() {Bl === null && (Zl({ runtimeConfigurable: !1 }), z("/healthz").then((e) => {- Zl({ runtimeConfigurable: !!e.configurable }), Bl && Y5() && X5();+ Zl({ runtimeConfigurable: !!e.configurable }), Bl && X5() && Z5();}).catch(() => {}));}-function J5(e = "", t = !1) {- if (!t && !lV(location.pathname)) {- let t = YV.navigation;- YV.push(dV(e), { settingsBackground: {+function Y5(e = "", t = !1) {+ if (!t && !cV(location.pathname)) {+ let t = JV.navigation;+ JV.push(uV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && XV(dV(e), {+ } else !t && e && YV(uV(e), {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state});- return e ||= uV(location.pathname), OAe(B5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= lV(location.pathname), PAe(V5.settingsHost()).then((t) => (t.open(e), t));}-function nMe() {- lV(location.pathname) && (fV(YV.navigation.location.state) ? YV.go(-1) : Q.navigatePath("/", !0));+function cMe() {+ cV(location.pathname) && (dV(JV.navigation.location.state) ? JV.go(-1) : Q.navigatePath("/", !0));}-function rMe() {+function lMe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,- navCatalog: B5.NAV_CATALOG,- navOn: s7,- navTo: c7,- toggleChip: (e, t, n) => S7((r) => {+ navCatalog: V5.NAV_CATALOG,+ navOn: c7,+ navTo: l7,+ toggleChip: (e, t, n) => C7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");} else r[e] = r[e] === t ? "" : t;}),- setDuration: (e, t) => S7((n) => {+ setDuration: (e, t) => C7((n) => {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());+ $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());},- selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => G5({+ selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => K5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -77105,137 +77154,137 @@ function rMe() {}};}-function iMe() {+function uMe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = Zje(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), Y.listen(e, "click", (e) => {- if (d8()) return;+ e.innerHTML = rMe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), Y.listen(e, "click", (e) => {+ if (f8()) return;let t = e.target.closest?.("[data-nav]");- t && c7(t.dataset.nav);- }), kAe(rMe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});+ t && l7(t.dataset.nav);+ }), FAe(lMe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});}-async function aMe() {+async function dMe() {let e = Y, t = null;try {t = await z("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && aA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && rA(t, (e) => Z.settingsEffects[e]?.());}-function Y5() {+function X5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");}-function X5() {- let e = Y5();- tMe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (E5.trashCount = null), Z5(e);+function Z5() {+ let e = X5();+ sMe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), Q5(e);}-function oMe(e) {+function fMe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: B5.MANAGE_SECTIONS,- menu: e ? B5.manageMenuSections() : [],- trash: E5.trashCount+ sections: V5.MANAGE_SECTIONS,+ menu: e ? V5.manageMenuSections() : [],+ trash: D5.trashCount};}-function Z5(e = Y5()) {- Q5();- let t = oMe(e), n = m8();+function Q5(e = X5()) {+ $5();+ let t = fMe(e), n = h8();if (n) n.render(t);else {- let e = xce(t);- e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);+ let e = Sce(t);+ e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);}- let r = aP(t)?.title || "";- r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && hs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = iP(t)?.title || "";+ r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && hs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function sMe() {- let e = B5.manageHeaderRoot();+function pMe() {+ let e = V5.manageHeaderRoot();Y.listen(e, "click", (e) => {- if (m8()) return;+ if (h8()) return;let t = e.target.closest?.("[data-manage]");- if (t) $5(t.dataset.manage);+ if (t) e7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && M7();- }), AAe({+ } else e.target.closest?.("[data-empty-trash]") && N7();+ }), IAe({root: e,- openManage: $5,+ openManage: e7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: M7- }).then(() => Z5()).catch(() => {});+ emptyTrash: N7+ }).then(() => Q5()).catch(() => {});}-function Q5() {+function $5() {let e = L("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !Y5() && Zt(t) && Xt[W.state] || "";- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Y5() || !Zt(t) || !!n || W.jav === "1";+ let t = decodeURIComponent(location.pathname), n = !X5() && Zt(t) && Xt[W.state] || "";+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!X5() || !Zt(t) || !!n || W.jav === "1";}-function $5(e = "stats") {+function e7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(l$()), U5(), h9(), j7());+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(u$()), W5(), g9(), M7());}-function e7() {+function t7() {let e = decodeURIComponent(location.pathname);return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Wl : !1;}-function cMe(e = e7()) {- let t = kk.filter(([e]) => e !== "seed");- return e ? [Ak, ...t] : t;+function mMe(e = t7()) {+ let t = Tk.filter(([e]) => e !== "seed");+ return e ? [Ek, ...t] : t;}-function t7() {+function n7() {return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";}-function n7() {- return _A(t7());+function r7() {+ return mA(n7());}-function lMe(e) {- Moe(e), i7(), L("#grid").hidden || q7();+function hMe(e) {+ Foe(e), a7(), L("#grid").hidden || J7();}-function r7(e) {- TA(e), i7(), q7();+function i7(e) {+ SA(e), a7(), J7();}-function i7() {+function a7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === n7();- }), X.catalogFilterProps && w7({ layout: E7() });+ e.checked = e.value === r7();+ }), X.catalogFilterProps && T7({ layout: D7() });}-function uMe(e) {- Noe(e), i7(), q7();-}-async function a7() {- D8(), X.mixRelatedCache.clear(), await Promise.all([o7(), j7()]);+function gMe(e) {+ Ioe(e), a7(), J7();}async function o7() {- if (r5.entityPageCurrent() && !L("#index").hidden) {- a5({ revision: ++r5.entityPageRevision });+ O8(), X.mixRelatedCache.clear(), await Promise.all([s7(), M7()]);+}+async function s7() {+ if (i5.entityPageCurrent() && !L("#index").hidden) {+ o5({ revision: ++i5.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (EV(e)?.reload === "reopen" || e === "/follow") {+ if (TV(e)?.reload === "reopen" || e === "/follow") {Zl({ pageOpens: Hl + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await I7();+ t?.route.reload ? await t.route.reload() : await L7();}-function s7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];- if (r) return Y5() === r;+function c7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];+ if (r) return X5() === r;if (e === "manage") {- let e = Y5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);+ let e = X5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !W.state && !e7() && W.orient !== "竖屏" : Jt[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !X5() && !W.state && !t7() && W.orient !== "竖屏" : Jt[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";}-function c7(e) {- if (eMe(), B5.DIRECT_MANAGE_NAV[e]) {- $5(B5.DIRECT_MANAGE_NAV[e]);+function l7(e) {+ if (oMe(), V5.DIRECT_MANAGE_NAV[e]) {+ e7(V5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- $5();+ e7();return;}if (e === "jav") {@@ -77243,25 +77292,25 @@ function c7(e) {return;}if (e === "") {- g7();+ _7();return;}let t = Jt[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), Ql(), Q.route(h7()), U5(), h9(), j7());+ t ? Q.openRoutePath(t) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), Ql(), Q.route(g7()), W5(), g9(), M7());}-function l7() {+function u7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Dl && Al !== E5.currentSelectSurface() && O5(!1, !0);+ Dl && Al !== D5.currentSelectSurface() && k5(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call($t, t[0]), r = Zt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && Dl && O5(!1, !0);+ L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && Dl && k5(!1, !0);}-function dMe() {+function _Me() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;+ (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- B5.mobileFilterScroll = Qje(B5.mobileFilterScroll, n, innerWidth <= 760, r);+ V5.mobileFilterScroll = iMe(V5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && B5.mobileFilterScroll.free;+ let e = n === t && V5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -77273,64 +77322,64 @@ function dMe() {});}}-function fMe() {- dMe(), [".board-filter-frame", "#count"].forEach((e) => {+function vMe() {+ _Me(), [".board-filter-frame", "#count"].forEach((e) => {let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);});}-function u7() {- B5.stickyFrame ||= Y.frame(() => {- B5.stickyFrame = 0, fMe();+function d7() {+ V5.stickyFrame ||= Y.frame(() => {+ V5.stickyFrame = 0, vMe();});}-function pMe() {+function yMe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), Y.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = O8, B5.MANAGE_SECTIONS = k8, B5.MANAGE_MENU_SECTIONS = A8, B5.manageMenuSections = () => KAe(Bl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = j8, B5.NAV_CATALOG = qAe, B5.DIRECT_MANAGE_NAV = JAe, B5.settingsHost = () => ({- selectSection: (e) => XV(dV(e), {+ }), Y.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = k8, V5.MANAGE_SECTIONS = A8, V5.MANAGE_MENU_SECTIONS = j8, V5.manageMenuSections = () => QAe(Bl === !0), V5.OPTIONAL_SIDEBAR_ITEMS = M8, V5.NAV_CATALOG = $Ae, V5.DIRECT_MANAGE_NAV = eje, V5.settingsHost = () => ({+ selectSection: (e) => YV(uV(e), {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state}),- closed: nMe,+ closed: cMe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => mo(e),- navCatalog: B5.NAV_CATALOG,- themeOptions: Ooe,- videoLayouts: dA,- followInitialRanges: M8,- videoLayout: () => n7(),- setVideoLayout: uMe,- censored: Z7,- setCensored: IMe,+ navCatalog: V5.NAV_CATALOG,+ themeOptions: Aoe,+ videoLayouts: cA,+ followInitialRanges: N8,+ videoLayout: () => r7(),+ setVideoLayout: gMe,+ censored: Q7,+ setCensored: HMe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: LMe,- receipt: (e) => x8.actionReceipt(e),- failure: x8.actionFailure,- syncRemote: (e) => aA(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: UMe,+ receipt: (e) => S8.actionReceipt(e),+ failure: S8.actionFailure,+ syncRemote: (e) => rA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => z("/healthz").then((e) => (Zl({ runtimeConfigurable: !!e.configurable }), Bl)).catch(() => null)- }), Y.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", Y.listen(document, "focusin", u7), Y.listen(document, "focusout", u7), Y.listen(window, "scroll", () => {- u7(), location.pathname === "/follow" && C9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(B5.scrollT), B5.scrollT = Y.delay(() => {+ }), Y.handler(L("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", Y.listen(document, "focusin", d7), Y.listen(document, "focusout", d7), Y.listen(window, "scroll", () => {+ d7(), location.pathname === "/follow" && w9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(V5.scrollT), V5.scrollT = Y.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), Y.listen(window, "resize", u7, { passive: !0 }), Y.handler(L("#scrim"), "onclick", () => q5(!1));+ }, { passive: !0 }), Y.listen(window, "resize", d7, { passive: !0 }), Y.handler(L("#scrim"), "onclick", () => J5(!1));}//#endregion//#region src/catalog-filter-skeleton.ts-var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), p7 = (e) => e.repeat(d7);-function mMe(e, t, n) {- let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join("");- 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\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? n5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), m7 = (e) => e.repeat(f7);+function bMe(e, t, n) {+ let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join("");+ 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\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.js@@ -77369,46 +77418,46 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function hMe() {- X.initialParams.has("loc") || (W.loc = m7(W.loc), Ql());+function xMe() {+ X.initialParams.has("loc") || (W.loc = h7(W.loc), Ql());}-function m7(e) {- return LAe(e, Z.sourceOnline);+function h7(e) {+ return UAe(e, Z.sourceOnline);}-function h7(e = W) {- return RAe(e);+function g7(e = W) {+ return WAe(e);}-function gMe() {- Zl(C8(zAe(W, Z.appSettings, x8.rollSeed))), D8();+function SMe() {+ Zl(w8(GAe(W, Z.appSettings, S8.rollSeed))), O8();}-function g7(e = null, t = !1) {- gMe(), e && (Object.assign(W, e), Ql()), Q.route(e ? h7() : "/"), X.clearSearchField(), r9(!1), U5(), h9(), j7(), t && window.scrollTo({+function _7(e = null, t = !1) {+ SMe(), e && (Object.assign(W, e), Ql()), Q.route(e ? g7() : "/"), X.clearSearchField(), i9(!1), W5(), g9(), M7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function _Me(e, t = null) {+function CMe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);+ !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);}-function _7(e) {+function v7(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, z("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function vMe(e, t) {- n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : v7(e, t);+function wMe(e, t) {+ r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : y7(e, t);}-function v7(e, t) {- e.edition_group ? WMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? GMe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);+function y7(e, t) {+ e.edition_group ? XMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? ZMe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);}-async function yMe(e, t) {+async function TMe(e, t) {try {let n = await z("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await z("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -77416,10 +77465,10 @@ async function yMe(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- x8.actionFailure("更新稍后看", e);+ S8.actionFailure("更新稍后看", e);}}-async function bMe(e, t) {+async function EMe(e, t) {try {await z("/api/batch", {method: "POST",@@ -77427,9 +77476,9 @@ async function bMe(e, t) {ids: [e.id],operation: t})- }), await I7();+ }), await L7();let n = t === "restore" ? "dispose" : "restore";- x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({@@ -77437,14 +77486,14 @@ async function bMe(e, t) {operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await I7();+ }), await L7();} });} catch (e) {- throw x8.actionFailure("操作", e), e;+ throw S8.actionFailure("操作", e), e;}}-async function xMe(e, t, n, r) {- let i = Number(e.rating) || 0, a = RM(i, t), o = async (t, r) => {+async function DMe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = FM(i, t), o = async (t, r) => {let i = (await z("/api/feedback", {method: "POST",body: JSON.stringify({@@ -77458,15 +77507,15 @@ async function xMe(e, t, n, r) {};try {let e = await o(a, r);- x8.actionReceipt(e ? `已评 ${IM(e)} 星` : "已取消评分", { undo: () => o(i) });+ S8.actionReceipt(e ? `已评 ${NM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || x8.actionFailure("评分", e), e;+ throw r?.aborted || S8.actionFailure("评分", e), e;}}-async function y7(e) {+async function b7(e) {let t = new URLSearchParams();- if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {- let e = r5.activeFilterState();+ if (t7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {+ let e = i5.activeFilterState();["loc","creator",@@ -77486,9 +77535,9 @@ async function y7(e) {e[n] && t.set(n, e[n]);});}- return WAe(t.toString(), X.topsQueryParams(e).toString());+ return XAe(t.toString(), X.topsQueryParams(e).toString());}-function SMe() {+function OMe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77500,32 +77549,32 @@ function SMe() {behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function b7(e) {- o5().type !== "entity" && w7({ tags: O7(e) }), m9({ filters: { ...e } }), F7();+function x7(e) {+ s5().type !== "entity" && T7({ tags: k7(e) }), h9({ filters: { ...e } }), I7();}-async function x7(e) {- let t = ++X.facetCountsSeq, [n] = await y7(e);- t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), m9({ latest: X7(n, e) }));+async function S7(e) {+ let t = ++X.facetCountsSeq, [n] = await b7(e);+ t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));}-function S7(e) {- SMe();- let t = o5();+function C7(e) {+ OMe();+ let t = s5();if (t.type === "entity") {let n = { ...t.filters };- e(n), c5(t.kind, t.name, n), b7(n), x7(o5());+ e(n), l5(t.kind, t.name, n), x7(n), S7(s5());} else if (t.type === "item") {- let t = r5.cloneBarsContext(wl);- if (r9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), c5(t.kind, t.name, t.filters) ? j7() : Zl({ pageOpens: Hl + 1 });+ let t = i5.cloneBarsContext(wl);+ if (i9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), l5(t.kind, t.name, t.filters) ? M7() : Zl({ pageOpens: Hl + 1 });return;}e(W), Zl({ barsContext: {type: "home",filters: W- } }), Q.route(h7()), U5(), j7();- } else e(W), Ql(), Q.route(h7()), b7(W), x7(Cl);+ } }), Q.route(g7()), W5(), M7();+ } else e(W), Ql(), Q.route(g7()), x7(W), S7(Cl);}-function CMe() {+function kMe() {return {tiers: null,empty: !1,@@ -77542,94 +77591,94 @@ function CMe() {combo: [],comboHidden: !0,comboHost: L("#combo"),- actions: T7(),+ actions: E7(),helpers: {- wireDrag: $7,+ wireDrag: e9,wireScroller: (e) => {e && Hs(e);}}};}-function C7() {- X.catalogFilterProps && w7({});+function w7() {+ X.catalogFilterProps && T7({});}-function w7(e) {+function T7(e) {let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || CMe(),+ ...X.catalogFilterProps || kMe(),...e- }, !X.catalogFilterMounting && (FV(t) ? zV(t, e) : (!t.firstChild && !n && (t.innerHTML = mMe(X.catalogViews(), X.catalogFilterProps.state, D7()), Ts(t)), X.catalogFilterMounting = RV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (PV(t) ? RV(t, e) : (!t.firstChild && !n && (t.innerHTML = bMe(X.catalogViews(), X.catalogFilterProps.state, O7()), Ts(t)), X.catalogFilterMounting = LV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => zV(t, X.catalogFilterProps)).finally(() => {+ }).then(() => RV(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function T7() {+function E7() {return {currentHref: () => {- let e = new URL(h7(), location.origin);+ let e = new URL(g7(), location.origin);return e.searchParams.set("loc", W.loc || ""), e.searchParams.set("thumb", W.thumb || "0"), e.searchParams.set("sort", W.sort || ""), e.searchParams.set("dir", W.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => y5(e, t),setView: (e) => {- W.state = e, Ql(), w7({ state: e }), Q.route(h7()), j7();+ W.state = e, Ql(), T7({ state: e }), Q.route(g7()), M7();},- toggleTag: (e) => N7(e),- clearFilter: (e) => S7((t) => {+ toggleTag: (e) => P7(e),+ clearFilter: (e) => C7((t) => {t[e] = "";}),- clearAll: () => S7((e) => {+ clearAll: () => C7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Ik(e, W.sort, W.dir);- t && (W.sort = t.sort, W.dir = t.dir, Ql(), Y7());+ let t = Mk(e, W.sort, W.dir);+ t && (W.sort = t.sort, W.dir = t.dir, Ql(), X7());},- reshuffle: () => FMe(),+ reshuffle: () => VMe(),setLayout: (e) => {- e7() ? r7(e) : lMe(e);+ t7() ? i7(e) : hMe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await GAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(k7) : n.map(A7);+ let n = (await ZAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(A7) : n.map(j7);}};}-function E7() {- return e7() ? {+function D7() {+ return t7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: gA(),- options: dA- } : t7() ? {+ value: pA(),+ options: cA+ } : n7() ? {name: "home-layout",label: "首页卡片版式",- value: n7(),- options: dA+ value: r7(),+ options: cA} : null;}-function D7() {+function O7() {return {- sorts: s5(W.sort, W.dir),- layout: E7(),+ sorts: c5(W.sort, W.dir),+ layout: D7(),state: W.state || "",trash: W.state === "trash"};}-function O7(e) {+function k7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function k7(e) {+function A7(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${B(xn(e.k))}</span>${Ia({@@ -77643,85 +77692,85 @@ function k7(e) {})}`};}-function A7(e) {+function j7(e) {return {name: e.k,fallback: bn(e.k, 2),logo: e.has_logo ? Na(e.k, "icon", e.logo_version) : ""};}-function wMe(e) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", w7({+function AMe(e) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", T7({tiers: null,state: e.state || ""}));}-async function j7() {+async function M7() {let e = ++X.barsRequestSeq;- if (m9(), !bl(location.pathname) || Cl.type === "item") return;- let t = o5(), n = r5.activeFilterState(), r = JSON.stringify([+ if (h9(), !bl(location.pathname) || Cl.type === "item") return;+ let t = s5(), n = i5.activeFilterState(), r = JSON.stringify([t,n,W.state || "",W.seed || "",- e7()+ t7()]);- wMe(n);- let [i, a] = await y7(t);+ AMe(n);+ let [i, a] = await b7(t);if (e !== X.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === X.barsRendered) {- B5.sidebarCatalog && m9({- content: B5.sidebarCatalog,+ V5.sidebarCatalog && h9({+ content: V5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = o, t.type === "home" && (e9.facets = i);+ X.barsRendered = o, t.type === "home" && (t9.facets = i);let s = i.tags || [];_a(a.performers), _a(a.studios);- let c = t.type === "home" && !e7() && !W.state && !W.q && !i.locations.some((e) => e.n > 0);+ let c = t.type === "home" && !t7() && !W.state && !W.q && !i.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = x8.seededSample(f, X.TAGS_FIRST, `tags:${W.seed || ""}`), m = new Set(p.map((e) => e.k));+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = S8.seededSample(f, X.TAGS_FIRST, `tags:${W.seed || ""}`), m = new Set(p.map((e) => e.k));X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({k: e.k,label: fl(e.k),n: e.n ?? null- })), w7({+ })), T7({tiers: {key: String(X.barsRequestSeq),- performers: a.performers.map(k7),- studios: a.studios.map(A7)+ performers: a.performers.map(A7),+ studios: a.studios.map(j7)},empty: c,- tags: O7(n),+ tags: k7(n),tagFirst: d.length + p.length,views: X.catalogViews(),state: n.state || ""- }), F7(), B5.sidebarCatalog = {+ }), I7(), V5.sidebarCatalog = {kind: "catalog",- key: String(++B5.sidebarContentSeq),- facets: X7(i, t)- }, m9({- content: B5.sidebarCatalog,+ key: String(++V5.sidebarContentSeq),+ facets: Z7(i, t)+ }, h9({+ content: V5.sidebarCatalog,filters: { ...n },latest: null});}-function TMe(e, t) {- e9.total = e, W.state === "trash" && (E5.trashCount = {- total: e9.total,+function jMe(e, t) {+ t9.total = e, W.state === "trash" && (D5.trashCount = {+ total: t9.total,shown: t- }), X5(), w7({ count: {- total: e9.total,+ }), Z5(), T7({ count: {+ total: t9.total,shown: t} });}-function M7() {+function N7() {return xc({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -77731,19 +77780,19 @@ function M7() {try {let e = await z("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- x8.actionReceipt(`已永久删除 ${e.purged} 项`);+ S8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await I7();+ await L7();}}});}-function N7(e) {- S7((t) => {+function P7(e) {+ C7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function P7(e) {+function F7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -77763,13 +77812,13 @@ function P7(e) {label: fl(e)})), t;}-function F7() {- w7({- combo: P7(W),+function I7() {+ T7({+ combo: F7(W),comboHidden: !X.catalogOnScreen()});}-async function I7() {+async function L7() {let e = Q.claimSurface(Q.surfacePath());if (Zl({barsContext: {@@ -77777,110 +77826,110 @@ async function I7() {filters: W},detailReturnBarsContext: null- }), r9(!1), W.state === "ads") return OMe(e);- if (X.controller.page === "/junk-files" && R7(), I5(), U5(), Y8(location.pathname) && W.browse !== "folders") {- if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;- uje();- } else X8();- return F7(), L("#count").classList.remove("manage-static", "junkcount"), z7(e);-}-function L7(e) {+ }), i9(!1), W.state === "ads") return PMe(e);+ if (X.controller.page === "/junk-files" && z7(), L5(), W5(), X8(location.pathname) && W.browse !== "folders") {+ if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ gje();+ } else Z8();+ return I7(), L("#count").classList.remove("manage-static", "junkcount"), B7(e);+}+function R7(e) {X.controller.settle(e);}-function R7() {+function z7() {let e = L("#grid");- cl(e), BV(e), X.controller.clear(), e.innerHTML = "";-}-function z7(e) {- return U7("/", DMe, e, { place: sNe });+ cl(e), zV(e), X.controller.clear(), e.innerHTML = "";}-function EMe(e) {- return U7("/junk-files", AMe, e);+function B7(e) {+ return W7("/", NMe, e, { place: pNe });}-function B7() {- return !!PV(L("#grid"));+function MMe(e) {+ return W7("/junk-files", IMe, e);}function V7() {- return X.controller.taken(B7());+ return !!NV(L("#grid"));}-function H7(e) {- zV(L("#grid"), e);+function H7() {+ return X.controller.taken(V7());}-function U7(e, t, n, r = {}) {+function U7(e) {+ RV(L("#grid"), e);+}+function W7(e, t, n, r = {}) {let i = L("#grid");- X.controller.page && X.controller.page !== e && R7();- let a = X.controller.begin(e, B7()), o = t();- if (!a.mount) return H7(o), a.settled;+ X.controller.page && X.controller.page !== e && z7();+ let a = X.controller.begin(e, V7()), o = t();+ if (!a.mount) return U7(o), a.settled;cl(i);- let s = () => BV(i);- return a.signal.addEventListener("abort", s, { once: !0 }), RV(e, o, {+ let s = () => zV(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), LV(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(B7());+ a.signal.removeEventListener("abort", s), a.finish(V7());}), a.settled;}-function W7() {- let e = t7();- return CA({- active: e7() || e,+function G7() {+ let e = n7();+ return bA({+ active: t7() || e,home: e,portrait: W.orient === "竖屏"});}-function G7(e = "正在读取作品") {- return rY(e, K7());-}-function K7() {- return W ? wA(W7()) : 16 / 9;+function K7(e = "正在读取作品") {+ return rY(e, q7());}function q7() {- V7() && (cl(L("#grid")), H7({- layout: W7(),+ return W ? xA(G7()) : 16 / 9;+}+function J7() {+ H7() && (cl(L("#grid")), U7({+ layout: G7(),seekSeconds: Z.appSettings.seekSeconds- })), r5.entityPageCurrent() && (cl(L("#index [data-entity-hero]")), a5({- layout: W7(),+ })), i5.entityPageCurrent() && (cl(L("#index [data-entity-hero]")), o5({+ layout: G7(),seekSeconds: Z.appSettings.seekSeconds}));}-function DMe() {+function NMe() {let e = decodeURIComponent(location.pathname), t = Zt(e), n = W.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: W7(),+ layout: G7(),wall: e === "/wall",selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: $7,- settled: L7,- skeletonHtml: () => G7(),+ wireDrag: e9,+ settled: R7,+ skeletonHtml: () => K7(),filters: { ...W },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,excludeVertical: t && e !== "/wall" && !W.q && !W.orient && W.browse !== "folders" || W.jav === "1",mix: t && e !== "/wall" && !n && W.browse !== "folders",- shorts: t && e !== "/wall" && !e7() && W.orient !== "竖屏" && !n && W.browse !== "folders",+ shorts: t && e !== "/wall" && !t7() && W.orient !== "竖屏" && !n && W.browse !== "folders",countRow: L("#count"),- onCount: TMe,- onCountFailed: () => w7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : rK({- jav: e7() && !t,+ onCount: jMe,+ onCountFailed: () => T7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : cK({+ jav: t7() && !t,configurable: Bl,filtered: !t}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function OMe(e) {+function PMe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), I5("正在读取垃圾文件")), U5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), EMe(e);+ return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), L5("正在读取垃圾文件")), W5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), MMe(e);}-async function kMe(e, t) {+async function FMe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await z("/api/batch", {@@ -77890,24 +77939,24 @@ async function kMe(e, t) {operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await I7();+ }), await L7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await I7();+ }), await L7();} });} catch (e) {- throw x8.actionFailure("操作", e), e;+ throw S8.actionFailure("操作", e), e;}}-function AMe() {+function IMe() {return {- ...c$(location.search),+ ...l$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -77915,16 +77964,16 @@ function AMe() {selectMode: Dl,selected: new Set(Tl),countRow: L("#count"),- settled: L7,- skeletonHtml: () => l2("正在读取垃圾文件", {+ settled: R7,+ skeletonHtml: () => u2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function jMe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), Zl(C8(IAe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {+function LMe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), Zl(w8(HAe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -77945,55 +77994,55 @@ function jMe() {};};}-function MMe() {+function RMe() {Y.handler(L("#wallBtn"), "onclick", () => {- O5(!1, !0);- let e = o5(), t = {- ...r5.activeFilterState(),- jav: e7() ? "1" : ""+ k5(!1, !0);+ let e = s5(), t = {+ ...i5.activeFilterState(),+ jav: t7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(JG(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath($G(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => lF(e, t),- displayName: (e, t) => cF(e, t),+ titleHtml: (e, t) => cF(e, t),+ displayName: (e, t) => sF(e, t),tagLabel: (e) => fl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await t8(e9.stageHost);+ let r = await n8(t9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: v7,- open: (e, t) => vMe(e, t),- openResource: (e, t) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : _Me(e, t),- openShort: (e) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : u9(e.id),- openShorts: () => u9(),- openMix: (e, t) => UMe(e, e, !0, t),- openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),+ wallDetails: y7,+ open: (e, t) => wMe(e, t),+ openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : CMe(e, t),+ openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : d9(e.id),+ openShorts: () => d9(),+ openMix: (e, t) => YMe(e, e, !0, t),+ openEntity: (e, t) => y5(e, t),+ openUnowned: () => _7({ owner: "none" }, !0),toggleTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,behavior: "smooth"});},- toggleSelection: (e, t) => k5(e, t),- watchLater: (e, t) => yMe(e, t),- rate: (e, t, n, r) => xMe(e, t, n, r),- resourceOperation: (e, t) => bMe(e, t),- mixRelated: (e) => _7(e),- canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => A5(e, t),+ watchLater: (e, t) => TMe(e, t),+ rate: (e, t, n, r) => DMe(e, t, n, r),+ resourceOperation: (e, t) => EMe(e, t),+ mixRelated: (e) => v7(e),+ canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",seed: W.seed || ""});- return t && n.set("page", String(t)), e7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;+ return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -78016,36 +78065,36 @@ function MMe() {href: e.k ? Jt[e.k] : "/"})), X.TAGS_FIRST = 26, Y.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && w7({ comboHidden: !0 });+ X.catalogFilterProps && T7({ comboHidden: !0 });};}-function NMe() {+function zMe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Dl && O5(!1, !0), Q.route(e);+ Dl && k5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => k5(e, t),- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : s9(e.id, !0, null, t),+ toggleSelection: (e, t) => A5(e, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),reveal: async (e) => {try {return await z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), x8.toast({ text: "已在资源管理器中显示" }), "";+ }), S8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {- return r5.sourceHint(e.message);+ return i5.sourceHint(e.message);}},- operate: (e, t) => kMe(e, t)+ operate: (e, t) => FMe(e, t)};}-X.controller = new BAe();+X.controller = new KAe();//#endregion//#region src/application/preferences.jsvar Z = {@@ -78069,7 +78118,7 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function J7() {+async function Y7() {let e = Y;try {let t = await Un(e.signal);@@ -78080,18 +78129,18 @@ async function J7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), hMe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), xMe(), Z.sourceOnline;}-function Y7() {+function X7() {let e = Q.surfacePath();- if (!Zt(e) || e === "/junk-files") return I7();+ if (!Zt(e) || e === "/junk-files") return L7();let t = Z.nextCatalogLoad();- return XV(h7(), {+ return YV(g7(), {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state}), t;}-function PMe(e) {+function BMe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78112,7 +78161,7 @@ function PMe(e) {cost: "free"};}-function X7(e, t) {+function Z7(e, t) {let n = (e, t = (e) => e.label || fl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -78123,7 +78172,7 @@ function X7(e, t) {value: e.k,label: Cn[e.k] || e.k,n: e.n ?? null,- dot: PMe(e.k),+ dot: BMe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78135,24 +78184,24 @@ function X7(e, t) {duration: !!e.stats?.duration};}-async function FMe(e = !1) {- if (e && (document.hidden || !Zt(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Dl || Tl.size || document.activeElement === L("#q"))) return !1;+async function VMe(e = !1) {+ if (e && (document.hidden || !Zt(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Dl || Tl.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- x5();+ S5();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, YV.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, JV.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- W.sort = "seed", W.dir = "", W.seed = x8.rollSeed(), Ql(), D8(), w7({ refreshing: !0 });+ W.sort = "seed", W.dir = "", W.seed = S8.rollSeed(), Ql(), O8(), T7({ refreshing: !0 });try {- let e = Y7();- await null, await Promise.all([e, j7()]);+ let e = X7();+ await null, await Promise.all([e, M7()]);} finally {- w7({ refreshing: !1 });+ T7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -78160,68 +78209,68 @@ async function FMe(e = !1) {}), !0;}}-function Z7() {+function Q7() {return document.body.classList.contains("censor");}-function Q7(e) {+function $7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function IMe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && cl();+function HMe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && cl();}-function LMe(e) {+function UMe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function $7(e) {+function e9(e) {return Hs(e, { drag: !0 });}-function RMe() {- ["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);+function WMe() {+ ["#nrow", "#count"].forEach((e) => e9(L(e))), document.querySelectorAll(".tier,.srow").forEach(e9);}-function zMe() {+function GMe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function BMe() {+function KMe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = iA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), cA(), uA(), PA(), LA(), RA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {- theme: () => cA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = nA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), oA(), Noe(), jA(), PA(), FA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ theme: () => oA(),uiSounds: () => {po(Z.appSettings.uiSounds), Z.appSettings.uiSounds && mo("toggle-on");},- glowFrame: () => IA(),+ glowFrame: () => NA(),glow: () => {- IA(), LA();+ NA(), PA();},batchSize: () => {- location.pathname === "/" && I7();+ location.pathname === "/" && L7();},defaultSort: () => {- W.sort = Z.appSettings.defaultSort, W.dir = Lk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();+ W.sort = Z.appSettings.defaultSort, W.dir = Nk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();},sortDirection: () => {- W.dir = Lk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();+ W.dir = Nk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {ul(e, "previewing", !1), ul(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => q7(),- groupCollapse: () => o7(),- feedAutoScroll: () => dje(),- feedLimit: () => Z8(),- feedCompilations: () => Z8(),+ seekSeconds: () => J7(),+ groupCollapse: () => s7(),+ feedAutoScroll: () => _je(),+ feedLimit: () => Q8(),+ feedCompilations: () => Q8(),miniplayer: () => {- Z.appSettings.miniplayer || n8()?.closeMiniplayer();+ Z.appSettings.miniplayer || r8()?.closeMiniplayer();},javImage: () => {- Ea(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), HMe();+ Ea(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), JMe();},- searchHistoryLimit: () => zV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => RV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {...Object.fromEntries(Object.entries(No).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),online: R("rss")@@ -78230,12 +78279,12 @@ function BMe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = os;}-function VMe() {- Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");+function qMe() {+ Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js-var e9 = {+var t9 = {total: void 0,facets: void 0,stageHost: void 0,@@ -78246,18 +78295,18 @@ var e9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function t9() {+function n9() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function n9() {- return n8()?.exit() || Promise.resolve();+function r9() {+ return r8()?.exit() || Promise.resolve();}-function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && g9(), n8()?.dispose({ miniplayer: n }), Zl({+function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), Zl({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -78265,15 +78314,15 @@ function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), u7(), e && Q.route(jl || "/");+ }), d7(), e && Q.route(jl || "/");}-function HMe() {- n8()?.repaintPoster();+function JMe() {+ r8()?.repaintPoster();}-function i9(e, t, n, r, i = null, a = {}) {+function a9(e, t, n, r, i = null, a = {}) {t = +t;let o = Fl?.kind === e && (e === "playlist" ? Fl.playlistId : Fl.seedId) === t;- r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && bV();+ r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && yV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78284,38 +78333,38 @@ function i9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- g9();+ _9();let e = Q.queueOpenRequest = {- seq: YV.navigation.seq,+ seq: JV.navigation.seq,cancelled: !1};- Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });- } else return s9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });+ } else return c9(n == null ? null : +n, !1, s, i, r);}-function UMe(e, t = e, n = !0, r = null) {- return i9("mix", e, t, n, r);+function YMe(e, t = e, n = !0, r = null) {+ return a9("mix", e, t, n, r);}-function WMe(e, t = e, n = !0, r = null) {- return i9("editions", e, t, n, r);+function XMe(e, t = e, n = !0, r = null) {+ return a9("editions", e, t, n, r);}-function GMe(e, t = e, n = !0, r = null) {- return i9("parts", e, t, n, r);+function ZMe(e, t = e, n = !0, r = null) {+ return a9("parts", e, t, n, r);}-function a9(e, t = null, n = !0) {- return i9("playlist", e, t, n);+function o9(e, t = null, n = !0) {+ return a9("playlist", e, t, n);}-function o9() {+function s9() {return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;}-async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || g9(), t && !n) {- Zl({ detailReturnPath: location.pathname + location.search }), _9("/assets/" + +e, "item", () => s9(e, !1, null, r));+ if (a || _9(), t && !n) {+ Zl({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));return;}cl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = o9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : r5.cloneBarsContext(o5());- t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: SV() || jl }), t && bV(), n8()?.showing() !== "item" && r9(!1, !0, {+ let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = s9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : i5.cloneBarsContext(s5());+ t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: xV() || jl }), t && yV(), r8()?.showing() !== "item" && i9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Zl({@@ -78326,186 +78375,186 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, CV("item"));- let d = await t8(e9.stageHost);+ } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, SV("item"));+ let d = await n8(t9.stageHost);if (a?.cancelled) return;let f = a ? {- ...e9.itemDetailActions,+ ...t9.itemDetailActions,present: (e, t) => {- a.cancelled || e9.itemDetailActions.present(e, t);+ a.cancelled || t9.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || e9.itemDetailActions.redirect(e);+ a.cancelled || t9.itemDetailActions.redirect(e);}- } : e9.itemDetailActions;+ } : t9.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: e9.itemDetailHelpers,+ helpers: t9.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: W7(),+ layout: G7(),selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : t9()- }), u7();+ resume: t || e == null ? null : n9()+ }), d7();}-async function c9() {- let e = r5.cloneBarsContext(wl), t = jl || "/", n = Pl;- await n9(), r9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), xV(), Zl({ barsContext: e || {+async function l9() {+ let e = i5.cloneBarsContext(wl), t = jl || "/", n = Pl;+ await r9(), i9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), bV(), Zl({ barsContext: e || {type: "home",filters: W- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (j7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (M7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));}-async function l9(e, t = !0) {+async function u9(e, t = !0) {if (t) {- Zl({ detailReturnPath: location.pathname + location.search }), _9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));+ Zl({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));return;}- let n = YV.navigation.seq, r = r5.cloneBarsContext(o5()), i = !o9(), a = SV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";- n8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), Zl({+ let n = JV.navigation.seq, r = i5.cloneBarsContext(s5()), i = !s9(), a = xV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";+ r8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Zl({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), cl();- let [o, s] = await Promise.all([t8(e9.stageHost), V("/healthz")]);- YV.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([n8(t9.stageHost), V("/healthz")]);+ JV.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void c9(),+ close: () => void l9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- YV.navigation.seq === n && t && t !== e && XV("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ JV.navigation.seq === n && t && t !== e && YV("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state});},openTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- receipt: (e) => x8.toast({ text: e })+ receipt: (e) => S8.toast({ text: e })}- }), u7());+ }), d7());}-async function u9(e = null, t = !0) {- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (n8()?.closeMiniplayer(), await (await DAe(e9.immerseHost)).open(e));+async function d9(e = null, t = !0) {+ t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await NAe(t9.immerseHost)).open(e));}-function KMe() {- e9.total = 0, e9.facets = null, e9.stageHost = {+function QMe() {+ t9.total = 0, t9.facets = null, t9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => x8.toast({ text: e }, t),- loadSourceStatus: () => J7(),+ toast: (e, t) => S8.toast({ text: e }, t),+ loadSourceStatus: () => Y7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? E9(t, !0, n) : s9(t, !0);+ e === "follow" ? D9(t, !0, n) : c9(t, !0);},- openItem: (e) => void s9(e)- }, e9.stageOpen = () => !!n8()?.isOpen();+ openItem: (e) => void c9(e)+ }, t9.stageOpen = () => !!r8()?.isOpen();}-function qMe() {- e9.itemDetailHelpers = {+function $Me() {+ t9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => lF(e),- displayName: (e) => cF(e),+ titleHtml: (e) => cF(e),+ displayName: (e) => sF(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => fl(e),isDurationTag: (e) => En.has(e),- tagCandidates: () => e9.facets && e9.facets.tags || [],+ tagCandidates: () => t9.facets && t9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => l2("正在读取推荐", {+ relatedSkeletonHtml: () => u2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => _7(e),- wireDrag: (e) => $7(e),+ mixRelated: (e) => v7(e),+ wireDrag: (e) => e9(e),wireDragReorder: (e, t) => _c(e, t)- }, e9.itemDetailActions = {- close: () => c9(),+ }, t9.itemDetailActions = {+ close: () => l9(),present: (e) => {Zl({ presentedItem: e });let t = wl;Zl({ barsContext: {type: "item",id: e.id,- filters: t?.type === "entity" ? { ...t.filters } : r5.emptyEntityFilters()- } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, CV("item")), Zl({ pendingQueueRoute: null })), j7();+ filters: t?.type === "entity" ? { ...t.filters } : i5.emptyEntityFilters()+ } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, SV("item")), Zl({ pendingQueueRoute: null })), M7();},redirect: (e) => {let t = !!Il;e.kind === "follow" ? (Q.queueOpenRequest = null, Zl({pendingQueueRoute: null,followDetailReturnPath: jl || "/"- }), Q.route(`/posts/${e.id}`, !t, CV("follow")), E9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? y9("/playlists") : x5() : r9(!1);+ }), Q.route(`/posts/${e.id}`, !t, SV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : i9(!1);},- openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {let e = Ll;if (!e) return;let t = Fl;- t ? i9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : s9(e.id, !1);+ t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);},- checkSource: async (e) => (await J7())[e] !== !1,+ checkSource: async (e) => (await Y7())[e] !== !1,openSavedFollow: () => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", y9(b9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());},- openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),- openRegion: (e) => g7({ region: e || "none" }, !0),+ openEntity: (e, t) => y5(e, t),+ openUnowned: () => _7({ owner: "none" }, !0),+ openRegion: (e) => _7({ region: e || "none" }, !0),openTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => Tje(e),- saveMix: (e) => wje(e),- editPlaylist: () => y9("/playlists"),- openPlaylists: () => y9("/playlists"),- reveal: (e) => p5(e),- sync: (e) => gje(e),+ addToPlaylist: (e) => jje(e),+ saveMix: (e) => Aje(e),+ editPlaylist: () => b9("/playlists"),+ openPlaylists: () => b9("/playlists"),+ reveal: (e) => m5(e),+ sync: (e) => Sje(e),trashChanged: async (e, t) => {- W.state === "ads" && (t || e === "trash") && (t || (xV(), r9(!0, !1, { miniplayer: !1 })), await I7());+ W.state === "ads" && (t || e === "trash") && (t || (bV(), i9(!0, !1, { miniplayer: !1 })), await L7());},- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),- failure: (e, t) => x8.actionFailure(e, t)- }, e9.immerseHost = {+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: (e, t) => S8.actionFailure(e, t)+ }, t9.immerseHost = {filters: () => W,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => cF(e),+ displayName: (e) => sF(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => g7(),- openItem: (e) => void s9(e),- openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),- warn: (e) => x8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => x8.actionFailure(e, t)- }, e9.immerseOpen = () => !!a8()?.isOpen(), Y.handler(L("#immerseBtn"), "onclick", () => u9());+ closed: () => _7(),+ openItem: (e) => void c9(e),+ openEntity: (e, t) => y5(e, t),+ openUnowned: () => _7({ owner: "none" }, !0),+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ warn: (e) => S8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => S8.actionFailure(e, t)+ }, t9.immerseOpen = () => !!o8()?.isOpen(), Y.handler(L("#immerseBtn"), "onclick", () => d9());}//#endregion//#region src/application/tutorial.js-var d9 = {+var f9 = {postSetupTutorialDone: void 0,postSetupTutorialNeedsReopen: void 0,postSetupTutorialTasks: void 0,@@ -78514,29 +78563,29 @@ var d9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function JMe() {- Lc(), await d9.writePostSetupTutorialDone(!1), await f9();+async function eNe() {+ Lc(), await f9.writePostSetupTutorialDone(!1), await p9();}-async function f9() {+async function p9() {let e = L("#postSetupTutorial");if (!e) return;let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (d9.postSetupTutorialNeedsReopen && (d9.postSetupTutorialNeedsReopen = !1, await d9.writePostSetupTutorialDone(!1).catch(() => {})), Dc() !== "pending" || await d9.readPostSetupTutorialDone()) {+ if (f9.postSetupTutorialNeedsReopen && (f9.postSetupTutorialNeedsReopen = !1, await f9.writePostSetupTutorialDone(!1).catch(() => {})), Dc() !== "pending" || await f9.readPostSetupTutorialDone()) {t();return;}let n = Fc();e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${R("compass")}<p>正在检查安装进度…</p></article>`);try {- let r = await d9.postSetupTutorialTasks();+ let r = await f9.postSetupTutorialTasks();if (!Ic(n)) return;let i = new Set(r.map((e) => e.key)), a = new Set([...jc()].filter((e) => i.has(e)));Mc(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- Oc("complete"), t(), await d9.writePostSetupTutorialDone(!0).catch(() => {});+ Oc("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});return;}let c = Nc(o);@@ -78544,47 +78593,47 @@ async function f9() {e.removeAttribute("aria-busy");return;}- e.innerHTML = d9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");+ e.innerHTML = f9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");d.inert = kc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), Y.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";t.dataset.collapsed = String(n), Ac(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), no(d, !n);}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Y.handler(e, "onclick", () => {let t = jc(), n = e.dataset.tutorialSkip;- t.add(n), Mc(t), x8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ t.add(n), Mc(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = jc();- e.delete(n), Mc(e), Oc("pending"), await f9();- } }), f9();+ e.delete(n), Mc(e), Oc("pending"), await p9();+ } }), p9();}));let f = new Map(o.map((e) => [e.key, e]));e.querySelectorAll("[data-tutorial-task]").forEach((e) => Y.handler(e, "onclick", (t) => {let n = f.get(e.dataset.tutorialTask);- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), d9.openTutorialTarget(n));- })), Y.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => d9.openTutorialTarget(l));+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), f9.openTutorialTarget(n));+ })), Y.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => f9.openTutorialTarget(l));} catch {if (!Ic(n)) return;e.innerHTML = Rc(R("alert")), e.removeAttribute("aria-busy"), Y.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {- delete e.dataset.tutorialSignature, e.innerHTML = "", f9();+ delete e.dataset.tutorialSignature, e.innerHTML = "", p9();}), Y.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function YMe() {- if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), d9.postSetupTutorialDone = null, d9.postSetupTutorialNeedsReopen = !1, Vl) {- Oc("pending"), d9.postSetupTutorialDone = !1, d9.postSetupTutorialNeedsReopen = !0;+function tNe() {+ if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, Vl) {+ Oc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), XV(e, {+ e.searchParams.delete("onboarding"), YV(e, {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), XV(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), YV(e, {replace: !0,- state: YV.navigation.location.state+ state: JV.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}- d9.postSetupTutorialTasks = async () => {+ f9.postSetupTutorialTasks = async () => {let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await z("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);return [{@@ -78637,7 +78686,7 @@ function YMe() {icon: "square-check-big"}];- }, d9.postSetupTutorialHtml = (e, t, n) => {+ }, f9.postSetupTutorialHtml = (e, t, n) => {let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = kc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}"><span class="post-setup-check" aria-hidden="true">${e.done ? R("check") : R(e.icon)}</span>@@ -78658,19 +78707,19 @@ function YMe() {<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer></div></article>`;- }, d9.writePostSetupTutorialDone = async (e) => {- d9.postSetupTutorialDone = e, await z("/api/settings", {+ }, f9.writePostSetupTutorialDone = async (e) => {+ f9.postSetupTutorialDone = e, await z("/api/settings", {method: "POST",body: JSON.stringify({ postSetupTutorialDone: e })});- }, d9.readPostSetupTutorialDone = async () => {- if (d9.postSetupTutorialDone === null) try {- d9.postSetupTutorialDone = (await z("/api/settings")).postSetupTutorialDone === !0;+ }, f9.readPostSetupTutorialDone = async () => {+ if (f9.postSetupTutorialDone === null) try {+ f9.postSetupTutorialDone = (await z("/api/settings")).postSetupTutorialDone === !0;} catch {- d9.postSetupTutorialDone = !1;+ f9.postSetupTutorialDone = !1;}- return d9.postSetupTutorialDone;- }, d9.openTutorialTarget = (e) => {+ return f9.postSetupTutorialDone;+ }, f9.openTutorialTarget = (e) => {e.setupEntry && Zl({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}@@ -78695,48 +78744,48 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function p9() {- let e = d8();- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));+function m9() {+ let e = f8();+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));}-function m9(e = {}) {+function h9(e = {}) {let t = Q.surfacePath();- t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {- ...B5.sidebarProps,+ t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {+ ...V5.sidebarProps,content: null,latest: null- }), B5.sidebarProps = {- ...B5.sidebarProps,+ }), V5.sidebarProps = {+ ...V5.sidebarProps,...e- }, d8()?.render(B5.sidebarProps);-}-function h9() {- m9(), p9(), l7();+ }, f8()?.render(V5.sidebarProps);}function g9() {+ h9(), m9(), u7();+}+function _9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Zl({ pendingQueueRoute: null });}-function _9(e, t, n) {- g9(), bV(), Q.requestedOverlay = {+function v9(e, t, n) {+ _9(), yV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, CV(t));+ }, Q.route(e, !1, SV(t));}-function v9() {- Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), m9(), xV(), f9();+function y9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), bV(), p9();}-function y9(e) {+function b9(e) {Q.route(e), Zl({ pageOpens: Hl + 1 });}-function XMe() {+function nNe() {Q.routeMeta = (e) => {- let t = EV(e);+ let t = TV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(TV).find((n) => TV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = EV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !gV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(wV).find((n) => wV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = TV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !hV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? u9(zMe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Uje() : e) : (O5(!1, !0), y9(M5({+ e === "/immerse" ? d9(GMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Yje() : e) : (k5(!1, !0), b9(N5({kind: e.slice(1),q: "",scope: "local",@@ -78745,35 +78794,35 @@ function XMe() {})));};}-function ZMe() {+function rNe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Y8(e) || X8(), BV(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, XV(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), zV(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, YV(e, {replace: t,state: n- }), F5.syncPageTitle(e), queueMicrotask(() => {- l7(), Q5(), m9(), f9();+ }), I5.syncPageTitle(e), queueMicrotask(() => {+ u7(), $5(), h9(), p9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? YV.replace(e, n) : YV.push(e, n), queueMicrotask(() => {- l7(), Q5();+ t ? JV.replace(e, n) : JV.push(e, n), queueMicrotask(() => {+ u7(), $5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function QMe(e, t, n) {+function iNe(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function $Me(e, t = 0, n = 0) {- return n > 0 ? QMe(e, t, n) : is(e);+function aNe(e, t = 0, n = 0) {+ return n > 0 ? iNe(e, t, n) : is(e);}-async function eNe(e) {+async function oNe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -78788,14 +78837,14 @@ async function eNe(e) {await t(2e3);}}-function tNe(e) {+function sNe(e) {let t = e.note || ((e) => ts(e, {label: "任务状态",variant: "error"- })), n = e.loading || is, r = e.progress || ((e, t, n) => $Me(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 || is, r = e.progress || ((e, t, n) => aNe(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;- eNe({+ oNe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -78845,25 +78894,25 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function nNe(e) {+function cNe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- x8.toast({ text: li(e) }, {+ S8.toast({ text: li(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",action: {label: "查看",- run: () => T9(!0)+ run: () => E9(!0)}});}-function b9() {- return Xi(x9());+function x9() {+ return Xi(S9());}-function rNe() {+function lNe() {return $.controller.read();}-function x9() {+function S9() {return {status: $.followFilter,media: $.followMediaView,@@ -78878,33 +78927,33 @@ function x9() {seed: $.followSeed};}-function S9(e) {+function C9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function iNe() {- let e = PV(L("#stats"));+function uNe() {+ let e = NV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function C9() {- return !!iNe();+function w9() {+ return !!uNe();}-function w9(e) {- C9() && zV(L("#stats"), e);+function T9(e) {+ w9() && RV(L("#stats"), e);}-function aNe(e, t = {}) {+function dNe(e, t = {}) {return $.controller.route(e, t);}-function T9(e = !1) {+function E9(e = !1) {$.controller.enter(e);}-async function E9(e, t = !0, n = null, r = !1) {+async function D9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), _9(`/posts/${+e}`, "follow", () => E9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));return;}cl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: SV() || "/follow" }), t && bV(), n8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, CV("follow")), await (await t8(e9.stageHost)).open({+ t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: xV() || "/follow" }), t && yV(), r8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, SV("follow")), await (await n8(t9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -78912,66 +78961,66 @@ async function E9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : t9()- }), u7();+ resume: t ? null : n9()+ }), d7();}-async function oNe() {- await n9(), r9(!1, !1, { miniplayer: !1 }), xV(), Q.route(Rl || "/follow"), !(r5.entityPageView && r5.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (rNe(), w9({ view: x9() })) : Zl({ pageOpens: Hl + 1 }));+async function fNe() {+ await r9(), i9(!1, !1, { miniplayer: !1 }), bV(), Q.route(Rl || "/follow"), !(i5.entityPageView && i5.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && w9() ? (lNe(), T9({ view: S9() })) : Zl({ pageOpens: Hl + 1 }));}-function sNe(e) {+function pNe(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-function cNe() {+function mNe() {$.followFeedHelpers = ml({wireDrag: (e) => {- e && $7(e);+ e && e9(e);},wireScroller: (e) => {e && Hs(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: tNe+ jobProgress: sNe}), $.followFeedActions = {- loaded: (e) => W5(e),- openDetail: (e) => E9(e),+ loaded: (e) => G5(e),+ openDetail: (e) => D9(e),openAuthor: (e) => Q.navigatePath(en("creator", e)),- toggleSelection: (e, t) => jje(e, t),+ toggleSelection: (e, t) => Lje(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();},setPhotoLayout: (e) => {- EA(e), u5();+ CA(e), d5();},- canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),- failure: (e, t) => x8.actionFailure(e, t),- checkReport: (e) => nNe(e)+ canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: (e, t) => S8.actionFailure(e, t),+ checkReport: (e) => cNe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- n8()?.showing() !== "follow" && (cl(), r9(!1), H5(), !C9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && BV(L("#stats")), L("#stats").replaceChildren()));+ r8()?.showing() !== "follow" && (cl(), i9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && zV(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = Sl({- view: x9,- adoptView: S9,+ view: S9,+ adoptView: C9,rememberReturn: (e) => Zl({ followDetailReturnPath: e }),- close: () => void oNe(),- open: (e, t, n) => void E9(e, !0, t, n),- drawer: W5,+ close: () => void fNe(),+ open: (e, t, n) => void D9(e, !0, t, n),+ drawer: G5,openAuthor: (e) => Q.navigatePath(en("creator", e))}, {- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),- failure: x8.actionFailure+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: S8.actionFailure});}-function lNe() {+function hNe() {$.controller = $i({location: () => location,- view: x9,- adoptView: S9,+ view: S9,+ adoptView: C9,session: () => ({discoverySeed: Gl,revision: Kl,@@ -78985,20 +79034,20 @@ function lNe() {preferences: () => ({selectMode: Dl,selected: El,- photoSize: bA(),- photoLayout: xA(),+ photoSize: _A(),+ photoLayout: vA(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: C9,- push: w9,+ live: w9,+ push: T9,route: Q.route,- openPage: y9,- rollSeed: () => Number(x8.rollSeed()),+ openPage: b9,+ rollSeed: () => Number(S8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- cl(), H5(), V5({ manage: !1 });+ cl(), U5(), H5({ manage: !1 });},- syncPhotoWalls: u5,+ syncPhotoWalls: d5,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -79007,20 +79056,20 @@ function lNe() {}//#endregion//#region src/application/lifecycle.js-var D9 = { overlayScan: void 0 };-function uNe() {- Kbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), D9.overlayScan = 0, Y.mutation(() => {- D9.overlayScan ||= Y.delay(() => {- D9.overlayScan = 0, sc();+var O9 = { overlayScan: void 0 };+function gNe() {+ $be(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), O9.overlayScan = 0, Y.mutation(() => {+ O9.overlayScan ||= Y.delay(() => {+ O9.overlayScan = 0, sc();});}).observe(document.body, {childList: !0,subtree: !0- }), sc(), da(document.body), X.homeHasFeed = cje(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {+ }), sc(), da(document.body), X.homeHasFeed = mje(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {content: null,filters: {},latest: null- }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]@@ -79028,7 +79077,7 @@ function uNe() {}//#endregion//#region src/react/search/recommendations.ts-async function dNe(e) {+async function _Ne(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79052,9 +79101,9 @@ async function dNe(e) {let t = Ii(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = PU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = RU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: AU(r),+ value: PU(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -79070,7 +79119,7 @@ async function dNe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: NU(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: LU(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79141,7 +79190,7 @@ async function dNe(e) {}//#endregion//#region src/application/search-morph.js-function fNe(e, t, n, r, i, a, o) {+function vNe(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -79157,65 +79206,65 @@ function fNe(e, t, n, r, i, a, o) {}//#endregion//#region src/application/search.js-var O9 = {+var k9 = {searchControl: void 0,searchActions: void 0,searchHelpers: void 0,searchMorph: void 0,searchMorphViewport: void 0};-function k9() {- O9.searchControl?.close();+function A9() {+ k9.searchControl?.close();}-function pNe(e) {+function yNe(e) {let t = e ? Sa({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";return t === "cover" ? Ha(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}-function A9() {- O9.searchMorph?.cancel(), O9.searchMorph = null, L(".search").classList.remove("search-morphing");+function j9() {+ k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");}-function j9(e) {+function M9(e) {let t = L(".search"), n = L("#searchBtn");if (t.classList.contains("open") === e) return;- let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);- A9(), t.classList.remove("open");+ let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);+ j9(), t.classList.remove("open");let o = n.getBoundingClientRect();if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = tc();t.classList.add("search-morphing");- let h = t.animate(fNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(vNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- O9.searchMorph = h, Y.handler(h, "onfinish", () => {- O9.searchMorph === h && A9();+ k9.searchMorph = h, Y.handler(h, "onfinish", () => {+ k9.searchMorph === h && j9();});}-function mNe() {- return e9.immerseOpen() ? a8().activeVideo() : n8()?.activeVideo() || null;+function bNe() {+ return t9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;}-function hNe(e) {+function xNe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function gNe() {- O9.searchControl = null, O9.searchActions = {+function SNe() {+ k9.searchControl = null, k9.searchActions = {search: (e) => {- X.rememberSearchValue(), r9(!1), W.q = e, Ql(), Q.route(W.jav === "1" ? h7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);+ X.rememberSearchValue(), i9(!1), W.q = e, Ql(), Q.route(W.jav === "1" ? g7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);},- openItem: (e) => s9(e),- openEntity: (e, t) => v5(e, t),+ openItem: (e) => c9(e),+ openEntity: (e, t) => y5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {- $.followMediaView = t, E9(e, !0, n);+ $.followMediaView = t, D9(e, !0, n);}- }, O9.searchHelpers = {- pool: () => nK(W, z),- recommendations: () => dNe(z),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? H8(e) : pNe(e)}</span>`,+ }, k9.searchHelpers = {+ pool: () => sK(W, z),+ recommendations: () => _Ne(z),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? U8(e) : yNe(e)}</span>`,present: (e) => wo(e),dismiss: (e) => To(e),wireScroller: (e) => Hs(e),@@ -79230,13 +79279,13 @@ function gNe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, RV("search", {+ }, LV("search", {input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,- actions: O9.searchActions,- helpers: O9.searchHelpers,+ actions: k9.searchActions,+ helpers: k9.searchHelpers,expose: (e) => {- O9.searchControl = e;+ k9.searchControl = e;}}, {container: L("#searchMenu"),@@ -79249,49 +79298,49 @@ function gNe() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function _Ne() {- O9.searchMorph = null, O9.searchMorphViewport = innerWidth, Y.listen.bind(Y, window)("resize", () => {- innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());- }, { passive: !0 }), Y.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), Y.handler(L("#searchBtn"), "onclick", () => {- j9(!0), L("#q").focus({ preventScroll: !0 });+function CNe() {+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, Y.listen.bind(Y, window)("resize", () => {+ innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());+ }, { passive: !0 }), Y.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), Y.handler(L("#searchBtn"), "onclick", () => {+ M9(!0), L("#q").focus({ preventScroll: !0 });}), Y.handler(L("#searchBack"), "onclick", () => {- j9(!1), k9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });+ M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || j9(!1), k9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());};Y.listen(document, "pointerdown", e, !0), Y.listen(document, "focusin", e), Y.handler(L("#brandHome"), "onclick", (e) => {- e.preventDefault(), g7(null, !0);+ e.preventDefault(), _7(null, !0);}), Y.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = c8();+ let t = l8();if (t?.isOpen()) {t.close();return;}if (!L("#searchMenu").hidden) {- k9();+ A9();return;}- if (e9.immerseOpen()) {- a8().close();+ if (t9.immerseOpen()) {+ o8().close();return;}- if (e9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), n8().requestClose());+ if (t9.stageOpen()) {+ e.defaultPrevented || (e.preventDefault(), r8().requestClose());return;}if (L("#drawer").classList.contains("open")) {- q5(!1);+ J5(!1);return;}if (Dl || Tl.size || El.size) {- O5(!1, !0);+ k5(!1, !0);return;}return;}- if (hNe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (xNe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -79299,30 +79348,30 @@ function _Ne() {return;}}- let t = mNe();+ let t = bNe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), n8()?.toggleTheater();+ e.preventDefault(), r8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), sM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), aM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), oM(t);+ e.preventDefault(), iM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), Cj(t, ".vjs-mute-control");+ e.preventDefault(), xj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), Cj(t, ".vjs-fullscreen-control");+ e.preventDefault(), xj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), n8()?.toggleMiniplayer();+ e.preventDefault(), r8()?.toggleMiniplayer();return;}}@@ -79330,7 +79379,7 @@ function _Ne() {}//#endregion//#region src/history/links.ts-function vNe(e) {+function wNe(e) {if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;let t = e.target instanceof Element ? e.target.closest("a[href]") : null;if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;@@ -79344,80 +79393,80 @@ function vNe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && gV(i.pathname)) return null;- let a = EV(i.pathname);- return n.startsWith("#") && !a?.section || !hV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && hV(i.pathname)) return null;+ let a = TV(i.pathname);+ return n.startsWith("#") && !a?.section || !mV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js-var M9 = {+var N9 = {shellActions: void 0,routing: void 0};-function yNe() {+function TNe() {let e = Y, t = (e) => {- e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? E9(e.id, !1) : i9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);};- if (sje(), F5.entityShapesReady = U8(), Yje(), location.pathname === "/") {+ if (pje(), I5.entityShapesReady = W8(), tMe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- Y8(decodeURIComponent(location.pathname)) && K8(L("#feedNew")), iMe(), M9.shellActions = {- openSettings: (e) => J5(e, !0),- closeSettings: () => c8()?.close(!1),- openItem: (e) => void s9(e),- openEntity: (e, t) => void v5(e, t),+ X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), uMe(), N9.shellActions = {+ openSettings: (e) => Y5(e, !0),+ closeSettings: () => l8()?.close(!1),+ openItem: (e) => void c9(e),+ openEntity: (e, t) => void y5(e, t),openTag: (e) => {- $je(), N7(e);+ aMe(), P7(e);},- openTasteSignal: Cje,+ openTasteSignal: kje,navigate: (e) => {- let n = new URL(e, location.href), r = hV(n.pathname, n.search);+ let n = new URL(e, location.href), r = mV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;- _9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !gV(location.pathname)) {+ v9(n.pathname + n.search + n.hash, e, () => t(r));+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !hV(location.pathname)) {Q.route(e);- let t = YV.navigation.seq;- s6(n.hash, () => YV.navigation.seq === t);+ let t = JV.navigation.seq;+ c6(n.hash, () => JV.navigation.seq === t);} else Q.navigatePath(e);},- openManage: $5,+ openManage: e7,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => T9(),- receipt: (e, t) => x8.actionReceipt(e, t),- toast: (e, t) => x8.toast(e, t),- failure: x8.actionFailure,- revealSource: p5,- reopenTutorial: JMe,- routeReview: Eje,- routeFollowManage: Hje,+ openFollow: () => E9(),+ receipt: (e, t) => S8.actionReceipt(e, t),+ toast: (e, t) => S8.toast(e, t),+ failure: S8.actionFailure,+ revealSource: m5,+ reopenTutorial: eNe,+ routeReview: Mje,+ routeFollowManage: Jje,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(M5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => O5(!1, !1),- personAvatar: (e, t, n) => j5.personAvatar(e, t, n),- authorAvatar: (e) => Wje(e),- showIndexTags: Gje,- openFollowAuthor: P5,- openFollowTag: Kje,- openPlaylist: (e, t) => void a9(e, t, !0),- canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),+ exitSelectMode: () => k5(!1, !1),+ personAvatar: (e, t, n) => M5.personAvatar(e, t, n),+ authorAvatar: (e) => Xje(e),+ showIndexTags: Zje,+ openFollowAuthor: F5,+ openFollowTag: Qje,+ openPlaylist: (e, t) => void o9(e, t, !0),+ canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (cl(), Zl({ barsContext: {type: "home",filters: W- } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (cl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (cl(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));+ } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (cl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (cl(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = e9.requestedImmerseId === void 0 ? e : e9.requestedImmerseId;- e9.requestedImmerseId = void 0, u9(t, !1);+ let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;+ t9.requestedImmerseId = void 0, d9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -79425,10 +79474,10 @@ function yNe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, YV.navigation.claimed && (!ZV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (ZV() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, JV.navigation.claimed && (!XV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (XV() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {- e9.stageOpen() && r9(!1);+ t9.stageOpen() && i9(!1);},grid: {helpers: X.gridHelpers,@@ -79436,65 +79485,65 @@ function yNe() {},configurable: () => !!Bl,surfaceShown: (e) => {- e === "index" ? (h9(), u7()) : j7();+ e === "index" ? (g9(), d7()) : M7();},entity: {missing: (e) => {- M9.shellActions.surfaceChanged("entity", location.pathname), _5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);},- loading: (e, t, n) => r5.application.loading(e, t, n),- props: (e, t, n) => r5.application.addressProps(e, t, n),+ loading: (e, t, n) => i5.application.loading(e, t, n),+ props: (e, t, n) => i5.application.addressProps(e, t, n),refresh: (e, t, n) => {- let r = r5.parseEntityFilters(n);+ let r = i5.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = o5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, r5.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);+ let i = s5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, i5.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(s5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => m7("local,115"),+ defaultLoc: () => h7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (v9(), l7(), Q5()), t && D8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = W.q, X.rememberSearchValue()), h9(), j7(), Z.handOff(I7());+ n && (y9(), u7(), $5()), t && O8(), e === "/trash" ? (X.clearSearchField(), W5()) : (L("#q").value = W.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());},load: () => {- Z.handOff(I7());+ Z.handOff(L7());},fill: () => {- if (V7() || !ZV() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (H7() || !XV() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));},release: () => {- R7(), X8();- }- }- }, M9.routing = !1, e.listen(document, "click", (e) => {- let t = vNe(e);- t && (e.preventDefault(), M9.shellActions.navigate(t));- }), Y.own(YV.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !gV(e.location.pathname) && r9(!1), M9.routing && !e.claimed && v9();- })), TAe(M9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), sMe(), Ije(), X5(), Promise.all([- J7(),- aMe(),- F5.entityShapesReady+ z7(), Z8();+ }+ }+ }, N9.routing = !1, e.listen(document, "click", (e) => {+ let t = wNe(e);+ t && (e.preventDefault(), N9.shellActions.navigate(t));+ }), Y.own(JV.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !hV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();+ })), jAe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), pMe(), Hje(), Z5(), Promise.all([+ Y7(),+ dMe(),+ I5.entityShapesReady]).then(() => {- e.isActive && (F5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), h9(), RMe(), M9.routing = !0, Zl({ pageOpens: 1 }), v9(), u7());+ e.isActive && (I5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), WMe(), N9.routing = !0, Zl({ pageOpens: 1 }), y9(), d7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}//#endregion//#region src/theme-transition.ts-var N9 = !1;-async function bNe(e, t) {- if (N9) return;+var P9 = !1;+async function ENe(e, t) {+ if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();return;}let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, N9 = !0, document.head.append(o);+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, P9 = !0, document.head.append(o);let s = document.documentElement;s.dataset.themeSnapshot = "true";let c = !1, l = () => {@@ -79505,12 +79554,12 @@ async function bNe(e, t) {} catch {l();} finally {- delete s.dataset.themeSnapshot, o.remove(), N9 = !1;+ delete s.dataset.themeSnapshot, o.remove(), P9 = !1;}}//#endregion//#region src/application/chrome.js-function xNe() {+function DNe() {(() => {let e = Y, t = ["#brandHome",@@ -79572,7 +79621,7 @@ function xNe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), z("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- gW(t.libraries);+ xW(t.libraries);let n = [["","全部媒体库",@@ -79593,7 +79642,7 @@ function xNe() {s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${B(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- u.setOpen(!1), q5(!1), S5("媒体库与入库");+ u.setOpen(!1), J5(!1), C5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -79610,18 +79659,18 @@ function xNe() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && bNe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), cA();+ t.getAttribute("aria-pressed") !== "true" && ENe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), oA();});- })), cA();+ })), oA();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = Oo(g, v, _);- e.own(y.dispose), e.own(Voe(v)), MAe({+ e.own(y.dispose), e.own(Woe(v)), RAe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), q5(!1), J5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), J5(!1), Y5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -79633,7 +79682,7 @@ function xNe() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !K5();+ let r = n.classList.contains("open"), i = !q5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(Y, window)("resize", b);@@ -79757,17 +79806,17 @@ function xNe() {subtree: !0}), y();}- })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");}//#endregion//#region src/application/initialize.js-function P9() {- uNe(), XMe(), Xje(), ZMe(), BMe(), PAe(), jMe(), YMe(), bje(), KMe(), Lje(), MMe(), pje(), Dje(), cNe(), qje(), xje(), lNe(), Jje(), Sje(), pMe(), NMe(), gNe(), qMe(), _Ne(), VMe(), yNe(), xNe(), Y.own(R7), Y.own(g9);+function ONe() {+ gNe(), nNe(), nMe(), rNe(), KMe(), BAe(), LMe(), tNe(), Eje(), QMe(), Uje(), RMe(), yje(), Nje(), mNe(), $je(), Dje(), hNe(), eMe(), Oje(), yMe(), zMe(), SNe(), $Me(), CNe(), qMe(), TNe(), DNe(), Y.own(z7), Y.own(_9);}//#endregion//#region src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function SNe(e, t) {+function kNe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -79785,7 +79834,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), CNe = (e) => {+}, { canvas: null }), ANe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -79795,17 +79844,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, wNe = (e) => {+}, jNe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = CNe(e), r = n > 0 ? SNe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = ANe(e), r = n > 0 ? kNe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, wNe(e);+ t.raf = 0, jNe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -79818,7 +79867,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function TNe(e = document) {+function MNe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -79893,7 +79942,7 @@ var q9 = ["jav-detail","wants","index"-], ENe = {+], NNe = {catalog: [...q9,...J9,@@ -79914,10 +79963,10 @@ var q9 = ["avatar-choices"]};-function DNe() {+function PNe() {let e = /* @__PURE__ */ new Set(), t = null;return (n, r) => {- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of ENe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of NNe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -79930,12 +79979,12 @@ function DNe() {})), t || Promise.resolve();};}-function ONe() {+function FNe() {let e = St({- queryKey: dF,- queryFn: ({ signal: e }) => pF(e),- refetchInterval: (e) => fF(e.state.data)- }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(DNe), r = e.data?.result_versions;+ queryKey: uF,+ queryFn: ({ signal: e }) => fF(e),+ refetchInterval: (e) => dF(e.state.data)+ }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(PNe), r = e.data?.result_versions;return (0, D.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -79946,54 +79995,54 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function kNe() {+function INe() {if (!X9) {- let e = NAe();+ let e = zAe();X9 = {effects: e,owners: 0- }, e.own(TNe(document)), e.own(() => {+ }, e.own(MNe(document)), e.own(() => {cl(), U.cancelQueries();- }), e.own(EAe), e.own(pme), e.own(So);+ }), e.own(MAe), e.own(mme), e.own(So);}return X9.owners += 1, X9.effects.resume(), X9;}-function ANe() {+function LNe() {let [e, t] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {- let e = X9 === null, n = kNe(), r = wAe(t);+ let e = X9 === null, n = INe(), r = AAe(t);if (e) try {- P9();+ ONe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, O.jsx)(Ghe, {+ }, []), /* @__PURE__ */ (0, O.jsx)(Jhe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, O.jsx)(ONe, {}) : null+ background: e ? /* @__PURE__ */ (0, O.jsx)(FNe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function jNe(e) {+function RNe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Et.createRoot)(e, Khe);+ let n = (0, Et.createRoot)(e, Yhe);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(ANe, {}))), n;+ }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(LNe, {}))), n;}//#endregion//#region src/react/bootstrap.tsxg();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-jNe($9);+RNe($9);//#endregion-export { xI as $2ec61d1d4f780267$export$a8a3e93435678ff9, PI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, rR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, CT as $72abaeab4d80592f$export$78efe591171d7d45, YR as $76d00c5a4edb230a$export$76ccd210b9029917, KR as $76d00c5a4edb230a$export$816b5d811295e6bc, QR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, ez as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, GR as $76d00c5a4edb230a$export$f850895b287ef28e, Mde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, jde as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ode as $b4f18e3395fe64d7$export$b2539bed5023c21c, iz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Fde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, uw as $ea3928288112382f$export$439d29a4e110a164, gR as $f2ff30fde7b014be$export$3ddf2d174ce01153, CR as $fe21c36db05242bb$export$a98f0dcb43a68a25, wR as $fe21c36db05242bb$export$d7b12c4107be0d61, _fe as $l, BA as ACCENT_CHOICES, fwe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, pwe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, dW as ArtSlot, J as Button, JF as ButtonLink, Efe as Bx, Bt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, pr as COLUMN_SORT, l1 as CONFIGURATION_KEY, tX as CONFIGURATION_URL, mwe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, gi as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, rV as Checkbox, nV as CheckboxGlyph, qB as ChevronSortDown, hZ as Chip, q2 as CloudDownloadDialog, zH as CollapseChevron, RH as CollapseRegion, p$ as CollectionSummary, Gve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, LQ as DIAGNOSTICS_KEY, Hye as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, TY as DUPLICATES_KEY, cY as DataTableFooter, iY as DataTableFrame, sY as DataTableSort, KH as Disclosure, SDe as DownloadsPanel, cfe as E3, Kve as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, bfe as Ea, Lfe as EmptyFocusButton, Iz as EmptyState, WH as ErrorText, ghe as ExternalLink, cr as FEEDS_KEY, lX as FEED_SCHEDULE_KEY, xke as FLOW_LABEL_X, L3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, cX as FOLLOW_SCHEDULE_KEY, vhe as Fact, _he as FactList, GH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, RF as FilterGlass, zF as FilterGlassRows, LF as FilterIconButton, VF as FilterPill, hhe as Footer, bz as Gg, UF as GlassPill, UH as Help, Dz as HintText, pke as IDLE_POLL_MS, Pve as IDLE_REPAIR, MF as IconButton, Mz as Input, jz as InputBase, dA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, MX as JUNK_KEY, X3 as JavHeader, Ove as KEEP_LABELS, ur as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, qY as LINKS_KEY, JY as LINK_CHECK_KEY, mye as LINK_KINDS, YY as LINK_PRUNE_KEY, Cn as LOC, Ez as Label, V$ as LibraryProcessingCard, $z as LibraryShortcuts, xH as LinkButton, NH as LoadingDots, ufe as M6, yye as MEDIA_PROCESSING_KEY, dX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, ZB as MENU_ITEM, QB as MENU_ITEM_INTERACTIVE, XB as MENU_POPOVER_SURFACE, CH as MenuDialog, sG as MixCard, Nz as ModalFrame, Ev as MotionConfigContext, Tz as NR, Fz as Note, Nfe as OA, mX as ORGANIZE_KEY, _X as ORPHAN_RECORDS_KEY, yz as OV, fz as P7, ACe as PHASES, nX as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, mTe as POLICY_COLUMNS, gTe as POLICY_COVER_NOTE, hTe as POLICY_MATRIX, q1 as POLICY_SUMMARY, oY as Pagination, B$ as PathLine, rF as PillTabList, FH as Progress, FY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, SX as RESOURCE_APPLY_KEY, xX as RESOURCE_SCAN_KEY, UCe as RESULT_PANEL, WCe as RESULT_SECTION, Wve as REVIEW_CATEGORIES, jX as REVIEW_COUNTS_KEY, RY as REVIEW_KEY, zY as REVIEW_LABELS, uW as RetryNote, Mfe as Rf, phe as Rows, uwe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, lwe as SCRAPING_SETTINGS_URL, bU as SEGMENT, yU as SEGMENTED_TRACK, sX as SETTINGS_KEY, rX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, c3 as STATS_KEY, fhe as Section, mhe as SectionSkeleton, vU as SegmentedRadioGroup, nge as SegmentedTabList, KU as Segments, aY as Select, dU as Select$1, p1 as SelectField, fU as SelectItem, Ck as SelectionDock, BH as SettingsCard, dhe as SettingsRow, VH as SettingsSectionLabel, She as SiteLabel, TU as SortDirectionIcon, JU as SortKeys, bQ as SourceAvatar, XH as SourceLabel, qH as SourceMark, HH as Stack, z$ as StatusLabel, P2 as Switch, dF as TASKS_KEY, nke as TASTE_REFRESH_KEY, rke as TASTE_WINDOWS, uX as THUMBNAIL_JOBS_KEY, PX as TRASH_KEY, Ile as TRIGGER_LABELS, YJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, IH as TaskProgress, kz as TextField, Oz as TextFieldContext, vz as Un, _$ as WANTS_KEY, r4 as WantMagnets, Jf as WithPromise, pz as Wt, _z as Xc, wz as Xf, ffe as Xt, lfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, jfe as aB, qr as addAlias, Kr as addSource, y$ as addWant, V as apiGet, H as apiSend, iA as appSettingsStore, sbe as applyConfirmText, AX as applyLeftovers, obe as applyPlanText, lbe as applyText, cA as applyTheme, Zg as asNumber, Yye as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, wq as autoResetPageIndex, La as avatarInner, m3 as bandRows, Uye as baseName, Nve as batchOperate, Ok as boundedPreference, Ave as bulkCloudPreferences, Bz as busyProps, Afe as cB, MDe as cachedMagnetStates, Rf as calcGeneratorVelocity, Qve as canApprove, lf as cancelFrame, ebe as candidateText, MH as cardClass, wA as cardRatio, gz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, vye as checkLine, li as checkReceipt, ui as checkSummary, gwe as checkText, pi as checkedText, NW as clickedBlank, Sve as cloudLocations, O0 as cloudProxySkeleton, Dx as clsx, Cfe as cn, Wm as collectMotionValues, rJ as columnVisibilityFeature, WJ as column_getCanSort, BJ as column_getSortFn, Xve as commonReviewSources, sV as configurationSection, ske as configureTasteBrowser, xc as confirmModal, qK as copyInstancePropertiesWithoutMemos, Aa as coverUrl, Jq as createColumnHelper, rwe as createPlaylist, _i as credentialDone, w0 as credentialsSkeleton, sye as currentReviewRow, eF as cx, Sz as dZ, iye as decisionPayload, aye as decisionReceipt, rye as defaultChoice, awe as deletePlaylist, K1 as diagnosticsSkeleton, RCe as discoveryArtwork, w$ as discoveryKey, BTe as discoveryScore, Eve as distinctName, uye as dropReviewRows, si as dropSources, kfe as du, jve as duplicateVictims, vF as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, Sq as expandRowModel, lz as f1, xr as feedIntervalText, e1 as fetchAmaneBridge, zr as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Rr as fetchCredentials, q$ as fetchCustomSources, RQ as fetchDiagnostics, T$ as fetchDiscoveries, DY as fetchDuplicates, jle as fetchEarlier, Sye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, xye as fetchFollowSchedule, IX as fetchJunkSummary, QY as fetchLinkCheck, $Y as fetchLinkPrune, ZY as fetchLinkStats, bye as fetchMediaProcessing, MY as fetchMediaRepair, Vn as fetchMediaSources, hX as fetchOrganize, Fye as fetchOrganizeExample, vX as fetchOrphanRecords, Qr as fetchPending, W$ as fetchPlaylists, IY as fetchQualityGoals, NY as fetchRepairLibraries, Br as fetchResolveJob, wX as fetchResourceApply, CX as fetchResourceScan, WY as fetchReview, FX as fetchReviewCounts, fX as fetchSettings, Q$ as fetchSources, l3 as fetchStats, Vr as fetchSuggestions, pF as fetchTasks, P3 as fetchTaste, cke as fetchTasteJob, Cye as fetchThumbnailJobs, LX as fetchTrashSummary, v$ as fetchWants, Jve as filterReviewRows, xn as firstGrapheme, pK as flexRender, Cke as flowGraph, wke as flowLabel, SOe as fmtCount, hn as fmtDur, _n as fmtSize, Gle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, qle as followupDetail, cf as frame, $de as g4, oJ as getDefaultPaginationState, CA as gridLayout, Ar as groupByAuthor, Wle as groupFollowups, VY as groupReviewRows, ibe as hasChanges, TX as hasResourceRoots, hF as hasResultProblems, mke as historySpan, uz as i2, fke as importTasteExport, T0 as indexersSkeleton, Af as interpolate, x$ as invalidateWants, _F as isActive, br as isBroken, mr as isLayout, hh as isMotionValue, BY as isReviewCategory, Kle as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, gA as javLayout, F0 as javTagSkeleton, mbe as junkBreakdown, owe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, u3 as known, rfe as l7, Ule as latestOfKind, POe as lengthRows, Wn as localTime, ri as lookupFeedActor, ofe as m7, xz as mM, qt as mapLimit, Zr as markItem, h3 as max, MOe as mediumRows, Mle as mergeFinished, g3 as min, fye as mirrorText, Lve as missingToolText, OY as mixedCloudPreferences, EF as momentText, Ry as motion, Km as motionValue, Gye as organizeOutcome, Q0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, YV as peachHistory, YV as peachHistory$1, nye as pendingGenres, wOe as percentText, Rye as pickOrganizeFolder, Wye as planSummary, d3 as playedFor, EOe as playedItemUrl, fF as pollInterval, ds as popCount, nwe as posterUrl, kW as previewLibraryColor, Lye as previewOrganize, Bve as previewUrl, Hle as problemDestination, yF as progressText, YH as providerIcon, _ye as pruneText, DX as purgeCount, Xye as purgeOrphan, Cz as pv, Ofe as qE, U as queryClient, dz as r2, bke as radarRows, kOe as radialArc, AOe as radialBarSize, OOe as radialCeiling, DOe as radialSlices, Bj as randomId, vke as rankDetail, yke as rankShares, p3 as reachedShare, xF as readableErrorHeadline, VTe as recommendationScore, cye as recordGenre, Qye as recordsText, swe as recreatePlaylist, ewe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, dye as reloadReview, yTe as rememberShape, Bye as rememberTemplates, Jr as removeAlias, ti as removeFeed, Gr as removeSource, dke as removeTasteSource, b$ as removeWants, Yr as renameAliasGroup, iwe as renamePlaylist, IOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, IK as require_with_selector, NCe as resetWants, Fn as resolveFollowSort, Wf as resolveStartTime, twe as resumeAssetId, qve as reviewGroupingOptions, pbe as reviewSummary, Yve as reviewWindow, eye as rowEvidence, UY as rowFieldName, pJ as rowPaginationFeature, PJ as rowSelectionFeature, qJ as rowSortingFeature, HY as rowSubject, tye as rowTags, $ve as rowTitle, efe as s5, Xr as saveCredential, abe as scanLine, Oye as schedulePollInterval, FCe as searchNote, Zve as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, dV as settingsPath, Tve as sharedNamePrefix, XV as shellNavigate, y8 as showToast, sn as siteMarkUrl, oq as skipFirstRun, tF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, cbe as sourceMeta, ns as spinnerHtml, Df as spring, Rz as spriteGlyph, Hr as startCheck, hye as startLinkCheck, gye as startLinkPrune, zye as startOrganize, Ur as startResolve, nbe as startResourceApply, tbe as startResourceScan, uke as startTasteRefresh, Rle as statusLabel, Ive as statusLine, yr as statusText, TA as storeJavLayout, oye as submitDecision, OF as summaryItems, Yq as tableFeatures, sq as tableMemo, Mr as tableRows, Vle as taskIssues, F3 as tasteDate, gke as tasteDimensions, hke as tasteHours, N3 as tasteKey, ake as tasteRefetchInterval, oke as tasteTime, Uu as time, gfe as tl, Ir as toggleGroup, I3 as topScores, yfe as uo, AH as useAction, RZ as useBackgroundJob, tu as useConstant, FF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, jW as useLibraryTints, Ct as useMutation, iV as useOverlayScrollbar, St as useQuery, A as useQueryClient, Ay as useReducedMotion, Dye as useRunSchedule, Tye as useSaveFollowSchedule, pX as useSaveSettings, kye as useSaveThumbnailMode, JJ as useTable, dY as useTablePreferences, Mve as victimBytes, PCe as wantName, TOe as watchNote, f3 as watchedShare, Hs as wireHorizontalScroller, Vye as withOrganizeJob };+export { yI as $2ec61d1d4f780267$export$a8a3e93435678ff9, MI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, nR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, yT as $72abaeab4d80592f$export$78efe591171d7d45, JR as $76d00c5a4edb230a$export$76ccd210b9029917, GR as $76d00c5a4edb230a$export$816b5d811295e6bc, ZR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, $R as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, WR as $76d00c5a4edb230a$export$f850895b287ef28e, Nde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Mde as $b4f18e3395fe64d7$export$3e41faf802a29e71, kde as $b4f18e3395fe64d7$export$b2539bed5023c21c, rz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Ide as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, ow as $ea3928288112382f$export$439d29a4e110a164, hR as $f2ff30fde7b014be$export$3ddf2d174ce01153, SR as $fe21c36db05242bb$export$a98f0dcb43a68a25, CR as $fe21c36db05242bb$export$d7b12c4107be0d61, vfe as $l, LA as ACCENT_CHOICES, vwe as AMANE_BRIDGE_CHECK_URL, Q$ as AMANE_BRIDGE_KEY, ywe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, gW as ArtSlot, J as Button, KF as ButtonLink, Dfe as Bx, Bt as CLOUD_LOCATIONS, Q1 as CLOUD_PROXY_HELP, pr as COLUMN_SORT, u1 as CONFIGURATION_KEY, tX as CONFIGURATION_URL, bwe as COOKIE_TEXT_LIMIT, Z$ as COVER_JOB_KEY, gi as CREDENTIAL_STATE, q$ as CUSTOM_SOURCES_KEY, K$ as CUSTOM_SOURCES_URL, nV as Checkbox, tV as CheckboxGlyph, KB as ChevronSortDown, hZ as Chip, J2 as CloudDownloadDialog, RH as CollapseChevron, LH as CollapseRegion, m$ as CollectionSummary, Qve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, RQ as DIAGNOSTICS_KEY, Yye as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, TY as DUPLICATES_KEY, cY as DataTableFooter, iY as DataTableFrame, sY as DataTableSort, GH as Disclosure, ODe as DownloadsPanel, lfe as E3, $ve as ENTITY_REVIEW_KINDS, X1 as ENTRY_LINKS_HELP, Z1 as ENTRY_LINKS_HINT, xfe as Ea, Rfe as EmptyFocusButton, Fz as EmptyState, UH as ErrorText, _he as ExternalLink, cr as FEEDS_KEY, lX as FEED_SCHEDULE_KEY, Dke as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, cX as FOLLOW_SCHEDULE_KEY, yhe as Fact, vhe as FactList, WH as FieldLabel, z$ as Fieldset, R$ as FieldsetTitle, IF as FilterGlass, LF as FilterGlassRows, FF as FilterIconButton, zF as FilterPill, ghe as Footer, yz as Gg, VF as GlassPill, HH as Help, Ez as HintText, yke as IDLE_POLL_MS, Vve as IDLE_REPAIR, AF as IconButton, jz as Input, Az as InputBase, cA as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, MX as JUNK_KEY, Z3 as JavHeader, Fve as KEEP_LABELS, ur as LAYOUTS, Y1 as LIBRARY_FOLDER_HELP, lH as LIBRARY_PROCESSING_KEY, qY as LINKS_KEY, JY as LINK_CHECK_KEY, xye as LINK_KINDS, YY as LINK_PRUNE_KEY, Cn as LOC, Tz as Label, H$ as LibraryProcessingCard, Qz as LibraryShortcuts, bH as LinkButton, MH as LoadingDots, dfe as M6, Eye as MEDIA_PROCESSING_KEY, dX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, XB as MENU_ITEM, ZB as MENU_ITEM_INTERACTIVE, YB as MENU_POPOVER_SURFACE, SH as MenuDialog, fG as MixCard, Mz as ModalFrame, Ev as MotionConfigContext, wz as NR, Pz as Note, Pfe as OA, mX as ORGANIZE_KEY, _X as ORPHAN_RECORDS_KEY, vz as OV, dz as P7, ICe as PHASES, nX as PICK_FOLDER_URL, W$ as PLAYLISTS_KEY, bTe as POLICY_COLUMNS, STe as POLICY_COVER_NOTE, xTe as POLICY_MATRIX, J1 as POLICY_SUMMARY, oY as Pagination, V$ as PathLine, nF as PillTabList, PH as Progress, FY as QUALITY_GOALS_KEY, M$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, SX as RESOURCE_APPLY_KEY, xX as RESOURCE_SCAN_KEY, YCe as RESULT_PANEL, XCe as RESULT_SECTION, Zve as REVIEW_CATEGORIES, jX as REVIEW_COUNTS_KEY, RY as REVIEW_KEY, zY as REVIEW_LABELS, hW as RetryNote, Nfe as Rf, mhe as Rows, gwe as SCRAPING_CHECK_URL, Y$ as SCRAPING_COVER_URL, X$ as SCRAPING_KEY, hwe as SCRAPING_SETTINGS_URL, wU as SEGMENT, CU as SEGMENTED_TRACK, sX as SETTINGS_KEY, rX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, l3 as STATS_KEY, phe as Section, hhe as SectionSkeleton, SU as SegmentedRadioGroup, age as SegmentedTabList, XU as Segments, aY as Select, hU as Select$1, m1 as SelectField, gU as SelectItem, yk as SelectionDock, zH as SettingsCard, fhe as SettingsRow, BH as SettingsSectionLabel, Che as SiteLabel, kU as SortDirectionIcon, $U as SortKeys, xQ as SourceAvatar, YH as SourceLabel, KH as SourceMark, VH as Stack, B$ as StatusLabel, F2 as Switch, uF as TASKS_KEY, cke as TASTE_REFRESH_KEY, lke as TASTE_WINDOWS, uX as THUMBNAIL_JOBS_KEY, PX as TRASH_KEY, Lle as TRIGGER_LABELS, YJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, FH as TaskProgress, Oz as TextField, Dz as TextFieldContext, _z as Un, v$ as WANTS_KEY, i4 as WantMagnets, Jf as WithPromise, fz as Wt, gz as Xc, Cz as Xf, pfe as Xt, ufe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Mfe as aB, qr as addAlias, Kr as addSource, b$ as addWant, V as apiGet, H as apiSend, nA as appSettingsStore, mbe as applyConfirmText, AX as applyLeftovers, pbe as applyPlanText, gbe as applyText, oA as applyTheme, Zg as asNumber, nbe as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, kq as autoResetPageIndex, La as avatarInner, h3 as bandRows, Xye as baseName, Bve as batchOperate, wk as boundedPreference, Lve as bulkCloudPreferences, zz as busyProps, jfe as cB, RDe as cachedMagnetStates, Rf as calcGeneratorVelocity, aye as canApprove, lf as cancelFrame, sbe as candidateText, jH as cardClass, xA as cardRatio, hz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, Tye as checkLine, li as checkReceipt, ui as checkSummary, Swe as checkText, pi as checkedText, RW as clickedBlank, kve as cloudLocations, k0 as cloudProxySkeleton, Cx as clsx, wfe as cn, Wm as collectMotionValues, rJ as columnVisibilityFeature, WJ as column_getCanSort, BJ as column_getSortFn, rye as commonReviewSources, oV as configurationSection, pke as configureTasteBrowser, xc as confirmModal, QK as copyInstancePropertiesWithoutMemos, Aa as coverUrl, Jq as createColumnHelper, lwe as createPlaylist, _i as credentialDone, T0 as credentialsSkeleton, mye as currentReviewRow, $P as cx, xz as dZ, dye as decisionPayload, fye as decisionReceipt, uye as defaultChoice, dwe as deletePlaylist, q1 as diagnosticsSkeleton, WCe as discoveryArtwork, T$ as discoveryKey, KTe as discoveryScore, Nve as distinctName, _ye as dropReviewRows, si as dropSources, Afe as du, Rve as duplicateVictims, _F as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, Dq as expandRowModel, cz as f1, xr as feedIntervalText, t1 as fetchAmaneBridge, zr as fetchCheckJob, d1 as fetchConfiguration, e1 as fetchCoverJob, Rr as fetchCredentials, J$ as fetchCustomSources, zQ as fetchDiagnostics, E$ as fetchDiscoveries, DY as fetchDuplicates, Mle as fetchEarlier, kye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, Oye as fetchFollowSchedule, IX as fetchJunkSummary, QY as fetchLinkCheck, $Y as fetchLinkPrune, ZY as fetchLinkStats, Dye as fetchMediaProcessing, MY as fetchMediaRepair, Vn as fetchMediaSources, hX as fetchOrganize, Hye as fetchOrganizeExample, vX as fetchOrphanRecords, Qr as fetchPending, G$ as fetchPlaylists, IY as fetchQualityGoals, NY as fetchRepairLibraries, Br as fetchResolveJob, wX as fetchResourceApply, CX as fetchResourceScan, WY as fetchReview, FX as fetchReviewCounts, fX as fetchSettings, $$ as fetchSources, u3 as fetchStats, Vr as fetchSuggestions, fF as fetchTasks, F3 as fetchTaste, mke as fetchTasteJob, Aye as fetchThumbnailJobs, LX as fetchTrashSummary, y$ as fetchWants, tye as filterReviewRows, xn as firstGrapheme, vK as flexRender, kke as flowGraph, Ake as flowLabel, OOe as fmtCount, hn as fmtDur, _n as fmtSize, Kle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, Jle as followupDetail, cf as frame, efe as g4, oJ as getDefaultPaginationState, bA as gridLayout, Ar as groupByAuthor, Gle as groupFollowups, VY as groupReviewRows, dbe as hasChanges, TX as hasResourceRoots, mF as hasResultProblems, bke as historySpan, lz as i2, vke as importTasteExport, E0 as indexersSkeleton, Af as interpolate, S$ as invalidateWants, gF as isActive, br as isBroken, mr as isLayout, hh as isMotionValue, BY as isReviewCategory, qle as isRoutine, D0 as javBrowserSkeleton, L0 as javContentSkeleton, pA as javLayout, I0 as javTagSkeleton, xbe as junkBreakdown, fwe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, d3 as known, ife as l7, Wle as latestOfKind, BOe as lengthRows, Wn as localTime, ri as lookupFeedActor, sfe as m7, bz as mM, qt as mapLimit, Zr as markItem, g3 as max, ROe as mediumRows, Nle as mergeFinished, _3 as min, yye as mirrorText, Wve as missingToolText, OY as mixedCloudPreferences, wF as momentText, Fy as motion, Km as motionValue, Qye as organizeOutcome, $0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, JV as peachHistory, JV as peachHistory$1, lye as pendingGenres, AOe as percentText, Gye as pickOrganizeFolder, Zye as planSummary, f3 as playedFor, MOe as playedItemUrl, dF as pollInterval, ds as popCount, cwe as posterUrl, PW as previewLibraryColor, Wye as previewOrganize, qve as previewUrl, Ule as problemDestination, vF as progressText, JH as providerIcon, wye as pruneText, DX as purgeCount, rbe as purgeOrphan, Sz as pv, kfe as qE, U as queryClient, uz as r2, Eke as radarRows, FOe as radialArc, IOe as radialBarSize, POe as radialCeiling, NOe as radialSlices, Rj as randomId, wke as rankDetail, Tke as rankShares, m3 as reachedShare, yF as readableErrorHeadline, qTe as recommendationScore, hye as recordGenre, abe as recordsText, pwe as recreatePlaylist, owe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, vye as reloadReview, TTe as rememberShape, qye as rememberTemplates, Jr as removeAlias, ti as removeFeed, Gr as removeSource, _ke as removeTasteSource, x$ as removeWants, Yr as renameAliasGroup, uwe as renamePlaylist, HOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, VK as require_with_selector, zCe as resetWants, Fn as resolveFollowSort, Wf as resolveStartTime, swe as resumeAssetId, eye as reviewGroupingOptions, bbe as reviewSummary, nye as reviewWindow, sye as rowEvidence, UY as rowFieldName, pJ as rowPaginationFeature, PJ as rowSelectionFeature, qJ as rowSortingFeature, HY as rowSubject, cye as rowTags, oye as rowTitle, tfe as s5, Xr as saveCredential, fbe as scanLine, Fye as schedulePollInterval, VCe as searchNote, iye as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, uV as settingsPath, Mve as sharedNamePrefix, YV as shellNavigate, b8 as showToast, sn as siteMarkUrl, dq as skipFirstRun, eF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, hbe as sourceMeta, ns as spinnerHtml, Df as spring, Lz as spriteGlyph, Hr as startCheck, Sye as startLinkCheck, Cye as startLinkPrune, Kye as startOrganize, Ur as startResolve, lbe as startResourceApply, cbe as startResourceScan, gke as startTasteRefresh, zle as statusLabel, Uve as statusLine, yr as statusText, SA as storeJavLayout, pye as submitDecision, EF as summaryItems, Yq as tableFeatures, fq as tableMemo, Mr as tableRows, Hle as taskIssues, I3 as tasteDate, Ske as tasteDimensions, xke as tasteHours, P3 as tasteKey, dke as tasteRefetchInterval, fke as tasteTime, Uu as time, _fe as tl, Ir as toggleGroup, L3 as topScores, bfe as uo, kH as useAction, RZ as useBackgroundJob, tu as useConstant, NF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, IW as useLibraryTints, Ct as useMutation, rV as useOverlayScrollbar, St as useQuery, A as useQueryClient, Dy as useReducedMotion, Pye as useRunSchedule, Mye as useSaveFollowSchedule, pX as useSaveSettings, Iye as useSaveThumbnailMode, JJ as useTable, dY as useTablePreferences, zve as victimBytes, BCe as wantName, jOe as watchNote, p3 as watchedShare, Hs as wireHorizontalScroller, Jye as withOrganizeJob };-//# debugId=99032ff4-87c0-4448-9107-37f6c03224b8\ No newline at end of file+//# debugId=6713ac8f-6690-4c44-95e6-c20b381b8bc0\ No newline at end of file