Peach: Local-first video metadata scraper and media manager.
feat(web): 换页时顶边亮一条不定进度条,顶替浏览器加载条
longmeidao1fae228800f0
diff --git a/docs/UI_COMPONENT_CONTRACTS.md b/docs/UI_COMPONENT_CONTRACTS.mdindex 0f17135af..b8814d596 100644--- a/docs/UI_COMPONENT_CONTRACTS.md+++ b/docs/UI_COMPONENT_CONTRACTS.md@@ -59,6 +59,7 @@ React 与 BoardUI 的组件、颜色和尺寸采用 [BoardUI 适配](BOARD_UI.md- Spinner 只反馈用户直接触发的动作,触发器统一调用 `setActionBusy()`:写入 `aria-busy=true` 与 `aria-disabled=true`、视觉变灰、拦截重复触发,同时保持可聚焦;请求等待期不得再用原生 `disabled`,它只留给缺输入、无权限等动作确实不可执行的状态。未知时长的后台抓取使用 Loading Dots。整页或大区块首次取数使用 Skeleton 预留最终结构。Spinner/Loading Dots 保留可见状态文字;Skeleton 只保留给辅助技术的状态名,不另画「正在读取」文案。三者都尊重 reduced motion。- 用户写操作只在服务端终态成功后调用共享 `actionReceipt()` 发一条过去时 Toast;可由安全逆操作完整恢复的状态提供 8 秒「撤销」,永久删除、凭据、保存到账本等不伪造撤销。仅打开面板/菜单/Dialog 不算操作完成,不发 Toast;失败除短 Toast 外仍在原位置保留原因与重试入口。- 同一次页面进入只呈现一段等待态;深链启动与页面取数复用同一个 Skeleton,禁止 Spinner 再切换成 Loading Dots 或 Skeleton。+- 页面顶边的换页进度条(`navigation-progress.ts`)顶替单页换页时不再出现的浏览器加载条,属于壳,不算页面的等待态:壳在取某一页首屏、或屏上组件在等第一份数据时亮,200ms 内画完不出现,出现后至少停 400ms。它只是不定进度,不报百分比,也不替代 Skeleton。- Skeleton 只覆盖真正等待的内容区;静态标题、导航和能同步得到的筛选控件立即显示。骨架必须复用最终容器的宽度、列数与对齐方式:卡片网格横向铺满,居中面板仍居中,不得用一列通用占位替代不同页面结构。- 骨架里的占位不接指针、没有任何悬停反馈(`09-skeleton.css` 一处关掉);要等数据才能执行的键用原生 `disabled` 加 `data-skeleton-action`,呈全站共用的禁用面(`--surface` 底、`--border-15` 环、`--muted` 字、not-allowed),不用 opacity,也不伪装成可点的最终档。- 分页末尾、空页和「没有更多内容」是中性终止状态,用可关闭 Note;只有需要恢复或处理的故障才能进入红色 error Note。diff --git a/frontend/src/application/initialize.js b/frontend/src/application/initialize.jsindex ff9ee2757..c7c97c092 100644--- a/frontend/src/application/initialize.js+++ b/frontend/src/application/initialize.js@@ -20,6 +20,7 @@ import { installSearch20, installSearch22 } from './search.js';import { installComposition24 } from './composition.js';import { installChrome25 } from './chrome.js';import { applicationEffects } from './effects';+import { installNavigationProgress } from './../navigation-progress';export function initializeApplication() {installLifecycle1();@@ -50,6 +51,7 @@ export function initializeApplication() {installPreferences23();installComposition24();installChrome25();+ applicationEffects.own(installNavigationProgress());applicationEffects.own(clearCatalogGrid);applicationEffects.own(cancelQueueRequest);}diff --git a/frontend/src/history/managed.ts b/frontend/src/history/managed.tsindex 1154dee1c..e5ed6a983 100644--- a/frontend/src/history/managed.ts+++ b/frontend/src/history/managed.ts@@ -61,7 +61,8 @@ export interface ManagedOpenOptions {* 晚一拍就是一帧空白。为假是就地更新,照常排进下一次渲染。 */type ManagedListener = (entries: readonly ManagedEntry[], sync: boolean) => void;-interface Pending { revision: number; controller: AbortController }+/* `page`:登记键是路径,这一趟是换页;页面内组件与常驻组件的取数不算。 */+interface Pending { revision: number; controller: AbortController; page: boolean }/* 路由树接上取数之前,打开都等在这里;接上的那一份装载失败时,等着的打开跟着失败。 */let connect: (ready: Promise<ManagedPrefetch>) => void = () => {};@@ -77,6 +78,25 @@ const entries = new Map<Element, ManagedEntry>();const pending = new Map<Element, Pending>();let revision = 0;const listeners = new Set<ManagedListener>();+const loadingListeners = new Set<(loading: boolean) => void>();+let loading = false;++/** 有一页还在取首屏:换页进度条(`navigation-progress.ts`)读它。 */+export const managedLoading = (): boolean => loading;++/** 订阅「有一页还在取首屏」的变化,只在真假翻转时通知。 */+export function listenManagedLoading(listener: (loading: boolean) => void): () => void {+ loadingListeners.add(listener);+ return () => { loadingListeners.delete(listener) };+}++/* `pending` 每次增删之后调。 */+function settleLoading(): void {+ const next = [...pending.values()].some((inflight) => inflight.page);+ if (next === loading) return;+ loading = next;+ for (const listener of [...loadingListeners]) listener(loading);+}/** 路由树装载时接上取数。只认第一次。 */export function connectManagedRoutes(ready: Promise<ManagedPrefetch>): void {@@ -111,6 +131,7 @@ export async function openManagedRoute(path: string, props: object, options: Manconst { container } = options;pending.get(container)?.controller.abort();pending.delete(container);+ settleLoading();if (!options.isCurrent()) return false;const previous = entries.get(container);if (options.reuse && previous?.host.isConnected) {@@ -120,8 +141,9 @@ export async function openManagedRoute(path: string, props: object, options: Manreturn true;}revision += 1;- const mine: Pending = { revision, controller: new AbortController() };+ const mine: Pending = { revision, controller: new AbortController(), page: path.startsWith('/') && !options.resident };pending.set(container, mine);+ settleLoading();const load = preload;preload = null;load?.();@@ -137,6 +159,7 @@ export async function openManagedRoute(path: string, props: object, options: Man}if (pending.get(container) !== mine) return false;pending.delete(container);+ settleLoading();if (!options.isCurrent()) return false;options.beforePlace?.();releaseManagedRoute(container);@@ -190,6 +213,7 @@ export function releaseManagedRoute(container: Element, ...more: Element[]): voiif (inflight) {inflight.controller.abort();pending.delete(target);+ settleLoading();}const shown = entries.get(target);if (shown) {diff --git a/frontend/src/navigation-progress.ts b/frontend/src/navigation-progress.tsnew file mode 100644index 000000000..4018ad7ed--- /dev/null+++ b/frontend/src/navigation-progress.ts@@ -0,0 +1,97 @@+/* 换页进度条:页面顶边一条 2px 的细条,顶替浏览器自己的加载条。+ *+ * 换页走 pushState,浏览器不再亮它的加载条;骨架在 100ms 内就铺上,可服务端慢的时候骨架一停十几秒,+ * 用户分不清是在等还是卡死了。这一条只回答「还在取」,不报百分比:取数没有可信的总量,按时间涨的+ * 进度是编的(组件契约「等待与回执」)。+ *+ * 判据两路:壳在取某一页的首屏(`managedLoading`),或者屏上有组件在等它的第一份数据——查询有观察者、+ * 从没取到过、正在取(换筛选时列表保留旧行,新条件那一份就是这一种)。已经有数据的后台重取、+ * 失败后的轮询、没人看的预取都不算,否则轮询会让它隔几秒闪一次。+ *+ * 命中缓存的换页在 200ms 内就画完,这一条不出现;出现了至少停 400ms,结束时铺满再淡出,+ * 不闪一下就没。 */+import type { Query } from '@tanstack/query-core';++import { listenManagedLoading, managedLoading } from './history/managed';+import { queryClient } from './query';++const SHOW_DELAY = 200;+const MIN_SHOWN = 400;+const FADE = 240;++/** 装上进度条,返回卸载函数。 */+export function installNavigationProgress(): () => void {+ const bar = document.createElement('div');+ bar.className = 'navprogress';+ bar.setAttribute('aria-hidden', 'true');+ bar.append(document.createElement('i'));+ document.body.append(bar);++ const waiting = new Set<Query>();+ let showTimer = 0;+ let hideTimer = 0;+ let shownAt = 0;+ let queued = false;++ const busy = () => managedLoading() || waiting.size > 0;+ const settle = () => {+ if (busy()) {+ clearTimeout(hideTimer);+ hideTimer = 0;+ if (bar.dataset.state) {+ bar.dataset.state = 'running';+ return;+ }+ showTimer ||= window.setTimeout(() => {+ showTimer = 0;+ shownAt = performance.now();+ bar.dataset.state = 'running';+ }, SHOW_DELAY);+ return;+ }+ clearTimeout(showTimer);+ showTimer = 0;+ if (bar.dataset.state !== 'running' || hideTimer) return;+ hideTimer = window.setTimeout(() => {+ bar.dataset.state = 'done';+ hideTimer = window.setTimeout(() => {+ hideTimer = 0;+ delete bar.dataset.state;+ }, FADE);+ }, Math.max(0, MIN_SHOWN - (performance.now() - shownAt)));+ };+ /* 壳换页时先中止上一趟、再登记这一趟,同一个任务里会先假后真;攒到微任务再读,这一下不算结束。 */+ const schedule = () => {+ if (queued) return;+ queued = true;+ queueMicrotask(() => {+ queued = false;+ settle();+ });+ };++ /* 没数据的查询重取时 Query 把状态退回 pending,失败后的轮询看着和首取一样;失败过的不算首取。 */+ const track = (query: Query) => {+ const { status, fetchStatus, errorUpdateCount } = query.state;+ if (status === 'pending' && fetchStatus === 'fetching' && !errorUpdateCount && query.getObserversCount() > 0) {+ waiting.add(query);+ }+ else waiting.delete(query);+ };+ const stopQueries = queryClient.getQueryCache().subscribe((event) => {+ if (event.type === 'removed') waiting.delete(event.query);+ else track(event.query);+ schedule();+ });+ const stopManaged = listenManagedLoading(schedule);+ for (const query of queryClient.getQueryCache().getAll()) track(query);+ schedule();++ return () => {+ stopQueries();+ stopManaged();+ clearTimeout(showTimer);+ clearTimeout(hideTimer);+ bar.remove();+ };+}diff --git a/frontend/test/navigation-progress.test.ts b/frontend/test/navigation-progress.test.tsnew file mode 100644index 000000000..ea868e28e--- /dev/null+++ b/frontend/test/navigation-progress.test.ts@@ -0,0 +1,99 @@+import { QueryObserver } from '@tanstack/query-core';+import { afterEach, beforeEach, expect, it, vi } from 'vitest';++let uninstall = () => {};+beforeEach(() => { vi.resetModules(); vi.useFakeTimers({ toFake: ['setTimeout', 'clearTimeout', 'performance'] }); });+afterEach(() => { uninstall(); vi.useRealTimers(); });++async function setup() {+ const managed = await import('../src/history/managed');+ const { installNavigationProgress } = await import('../src/navigation-progress');+ const { queryClient } = await import('../src/query');+ uninstall = installNavigationProgress();+ const bar = document.querySelector<HTMLElement>('.navprogress')!;+ return { managed, queryClient, bar };+}++/* 首屏取数卡在闸门上,`release` 放行。 */+function gated() {+ let release = () => {};+ const gate = new Promise<void>(resolve => { release = resolve; });+ return { gate, release: () => release() };+}++it('换页首屏取数超过 200ms 才亮,取齐后至少亮满 400ms 再淡出', async () => {+ const { managed, bar } = await setup();+ const { gate, release } = gated();+ managed.connectManagedRoutes(Promise.resolve(() => gate));+ const container = document.createElement('div');+ const opened = managed.openManagedRoute('/tags', {}, { container, isCurrent: () => true });+ await vi.advanceTimersByTimeAsync(150);+ expect(bar.dataset.state).toBeUndefined();+ await vi.advanceTimersByTimeAsync(100);+ expect(bar.dataset.state).toBe('running');+ release(); await opened;+ await vi.advanceTimersByTimeAsync(300);+ expect(bar.dataset.state).toBe('running');+ await vi.advanceTimersByTimeAsync(100);+ expect(bar.dataset.state).toBe('done');+ await vi.advanceTimersByTimeAsync(240);+ expect(bar.dataset.state).toBeUndefined();+});++it('200ms 内画完的换页与页面内组件的取数都不亮', async () => {+ const { managed, bar } = await setup();+ const { gate, release } = gated();+ managed.connectManagedRoutes(Promise.resolve((path: string) => path === 'search' ? new Promise<void>(() => {}) : gate));+ const page = managed.openManagedRoute('/stats', {}, { container: document.createElement('div'), isCurrent: () => true });+ await vi.advanceTimersByTimeAsync(120);+ release(); await page;+ await vi.advanceTimersByTimeAsync(1000);+ expect(bar.dataset.state).toBeUndefined();++ void managed.openManagedRoute('search', {}, { container: document.createElement('div'), isCurrent: () => true });+ await vi.advanceTimersByTimeAsync(1000);+ expect(bar.dataset.state).toBeUndefined();+});++it('换到另一页时上一趟被中止,进度条接着亮、不从头再等', async () => {+ const { managed, bar } = await setup();+ const { gate, release } = gated();+ managed.connectManagedRoutes(Promise.resolve(() => gate));+ const container = document.createElement('div');+ void managed.openManagedRoute('/performers/*', {}, { container, isCurrent: () => true });+ await vi.advanceTimersByTimeAsync(150);+ const second = managed.openManagedRoute('/performers/*', {}, { container, isCurrent: () => true });+ await vi.advanceTimersByTimeAsync(60);+ expect(bar.dataset.state).toBe('running');+ release(); await second;+});++it('屏上组件等第一份数据时亮;已有数据的重取、失败后的轮询和没人看的预取都不亮', async () => {+ const { queryClient, bar } = await setup();+ const hold = () => new Promise(() => {});++ void queryClient.prefetchQuery({ queryKey: ['prefetch'], queryFn: hold });+ queryClient.setQueryData(['cached'], 1);+ const refetch = new QueryObserver(queryClient, { queryKey: ['cached'], queryFn: hold, staleTime: 0 });+ const stopRefetch = refetch.subscribe(() => {});+ void refetch.refetch();+ let calls = 0;+ const polling = new QueryObserver(queryClient, { queryKey: ['polling'],+ queryFn: () => calls++ ? hold() : Promise.reject(new Error('offline')) });+ const stopPolling = polling.subscribe(() => {});+ await vi.advanceTimersByTimeAsync(50);+ expect(polling.getCurrentResult().status).toBe('error');+ void polling.refetch();+ await vi.advanceTimersByTimeAsync(1000);+ expect(polling.getCurrentResult().fetchStatus).toBe('fetching');+ expect(bar.dataset.state).toBeUndefined();++ const first = new QueryObserver(queryClient, { queryKey: ['first'], queryFn: hold });+ const stopFirst = first.subscribe(() => {});+ await vi.advanceTimersByTimeAsync(250);+ expect(bar.dataset.state).toBe('running');+ stopFirst();+ await vi.advanceTimersByTimeAsync(700);+ expect(bar.dataset.state).toBeUndefined();+ stopRefetch(); stopPolling();+});diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex e1803d0bf..0d289f1e1 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -129,7 +129,7 @@ class WebUiPolicyTests(unittest.TestCase):TUNGSTEN_ALLOWED_SELECTORS = (":focus", # 焦点环::focus / :focus-visible / :focus-within- ".watchprogress", ".vjs-play-progress", ".vjs-progress-holder", # 进度与数据+ ".watchprogress", ".vjs-play-progress", ".vjs-progress-holder", ".navprogress", # 进度与数据".ptoggle:checked", # Toggle 开态:Geist Toggle 实测轨道 rgb(0,112,243)".flink", ".taste-history-guide-content a", # 真正的链接".vjs-subtitles-control>button[aria-pressed=true]:after", "[data-player-quality-badge]", # 播放器字幕开态与清晰度diff --git a/web/css/09-skeleton.css b/web/css/09-skeleton.cssindex cfdf9df49..974c384be 100644--- a/web/css/09-skeleton.css+++ b/web/css/09-skeleton.css@@ -158,3 +158,17 @@ img.cover:not([data-frame]),img[data-facebox]:not([data-face-framed]){visibility.config-skeleton-card .geist-fieldset-content>.skeleton:first-child{height:24px;width:35%}.config-skeleton-card .geist-fieldset-content>.skeleton:last-child{height:var(--control-h);width:100%}.config-skeleton-card .geist-fieldset-footer>.skeleton{width:100px;height:var(--control-h);margin:0}+/* 换页进度条(`frontend/src/navigation-progress.ts`):顶边一条 2px 的不定进度,顶替单页换页时+ 不再出现的浏览器加载条。一截 40% 宽的蓝条从左扫到右,结束时铺满再淡出;底下垫一条淡蓝轨道,+ 扫动的那一截转回左边、一时不在屏上时,顶边也还亮着。减少动效时不扫,整条静止地亮着,+ 淡入淡出也由全局规则关掉。 */+.navprogress{position:fixed;z-index:2000;top:env(safe-area-inset-top,0px);left:0;right:0;height:2px;+ overflow:hidden;pointer-events:none;opacity:0;transition:opacity .24s ease;+ background:color-mix(in srgb,var(--tungsten) 25%,transparent)}+.navprogress[data-state]{opacity:1;transition-duration:.12s}+.navprogress[data-state=done]{opacity:0;transition-duration:.24s}+.navprogress>i{position:absolute;inset:0 auto 0 0;width:40%;background:var(--tungsten);transform:translateX(-100%)}+.navprogress[data-state=running]>i{animation:navprogress-sweep 1.1s cubic-bezier(.4,0,.2,1) infinite}+.navprogress[data-state=done]>i{width:100%;transform:none}+@keyframes navprogress-sweep{to{transform:translateX(250%)}}+@media (prefers-reduced-motion:reduce){.navprogress[data-state]>i{width:100%;transform:none}}diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 7bfc31edb..f02077911 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5a9bc9b9-3012-4a6c-a6df-be4202ab4bcc", e._sentryDebugIdIdentifier = "sentry-dbid-5a9bc9b9-3012-4a6c-a6df-be4202ab4bcc");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5905c59e-bd37-4f38-bc3c-afe7cd7f4629", e._sentryDebugIdIdentifier = "sentry-dbid-5905c59e-bd37-4f38-bc3c-afe7cd7f4629");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {@@ -15535,53 +15535,66 @@ var tp = () => {}, np = new Promise((e) => {tp = e;});np.catch(() => {});-var rp = null, ip = /* @__PURE__ */ new Map(), ap = /* @__PURE__ */ new Map(), op = 0, sp = /* @__PURE__ */ new Set();-function cp(e) {+var rp = null, ip = /* @__PURE__ */ new Map(), ap = /* @__PURE__ */ new Map(), op = 0, sp = /* @__PURE__ */ new Set(), cp = /* @__PURE__ */ new Set(), lp = !1, up = () => lp;+function dp(e) {+ return cp.add(e), () => {+ cp.delete(e);+ };+}+function fp() {+ let e = [...ap.values()].some((e) => e.page);+ if (e !== lp) {+ lp = e;+ for (let e of [...cp]) e(lp);+ }+}+function pp(e) {tp(e);}-function lp(e) {+function mp(e) {return ip.get(e) ?? null;}-function up(e) {+function hp(e) {return !!e && (ip.has(e) || ap.has(e));}-var dp = () => [...ip.values()];-function fp(e) {+var gp = () => [...ip.values()];+function _p(e) {return sp.add(e), () => {sp.delete(e);};}-function pp(e) {- let t = dp();+function vp(e) {+ let t = gp();for (let n of [...sp]) n(t, e);}-async function mp(e, t, n) {+async function yp(e, t, n) {let { container: r } = n;- if (ap.get(r)?.controller.abort(), ap.delete(r), !n.isCurrent()) return !1;+ if (ap.get(r)?.controller.abort(), ap.delete(r), fp(), !n.isCurrent()) return !1;let i = ip.get(r);if (n.reuse && i?.host.isConnected) return ip.set(r, {...i,path: e,props: t- }), pp(!0), e.startsWith("/") && lm(`managed:${e}`, !0), !0;+ }), vp(!0), e.startsWith("/") && mm(`managed:${e}`, !0), !0;op += 1;let a = {revision: op,- controller: new AbortController()+ controller: new AbortController(),+ page: e.startsWith("/") && !n.resident};- ap.set(r, a);+ ap.set(r, a), fp();let o = rp;rp = null, o?.();let s = await np;if (ap.get(r) !== a) return !1;try {- e.startsWith("/") && um(`managed:${e}`) || await s(e, t, a.controller.signal);+ e.startsWith("/") && hm(`managed:${e}`) || await s(e, t, a.controller.signal);} catch {if (a.controller.signal.aborted) return !1;}- if (ap.get(r) !== a || (ap.delete(r), !n.isCurrent())) return !1;- n.beforePlace?.(), _p(r);- let c = n.place ? n.place(r) : hp(r);+ if (ap.get(r) !== a || (ap.delete(r), fp(), !n.isCurrent())) return !1;+ n.beforePlace?.(), Sp(r);+ let c = n.place ? n.place(r) : bp(r);return ip.set(r, {path: e,props: t,@@ -15589,13 +15602,13 @@ async function mp(e, t, n) {container: r,host: c,resident: !!n.resident- }), pp(!0), e.startsWith("/") && lm(`managed:${e}`, !0), !0;+ }), vp(!0), e.startsWith("/") && mm(`managed:${e}`, !0), !0;}-function hp(e) {+function bp(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.replaceChildren(t), t;}-function gp(e, t) {+function xp(e, t) {let n = e ? ip.get(e) : void 0;n && (ip.set(n.container, {...n,@@ -15603,51 +15616,51 @@ function gp(e, t) {...n.props,...t}- }), pp(!1));+ }), vp(!1));}-function _p(e, ...t) {+function Sp(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {let e = ap.get(r);- e && (e.controller.abort(), ap.delete(r));+ e && (e.controller.abort(), ap.delete(r), fp());let t = ip.get(r);t && (ip.delete(r), n.push(t));}if (n.length) {- pp(!0);+ vp(!0);for (let e of n) e.resident || e.host.remove();}}-function vp() {+function Cp() {let [e, ...t] = /* @__PURE__ */ new Set([...ip.keys(), ...ap.keys()]);- e && _p(e, ...t);+ e && Sp(e, ...t);}-function yp(e, t) {+function wp(e, t) {let n = ip.get(e);n?.revision === t && (ip.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- pp(!1);+ vp(!1);}));}// src/history/index.ts-var bp = ku({ v5Compat: !0 }), xp = 0, Sp = 0, Cp = {- action: bp.action,- location: bp.location,- seq: xp,- openEpoch: Sp,+var Tp = ku({ v5Compat: !0 }), Ep = 0, Dp = 0, Op = {+ action: Tp.action,+ location: Tp.location,+ seq: Ep,+ openEpoch: Dp,claimed: !0-}, wp = /* @__PURE__ */ new Set(), Tp = !1, Ep = !0;-bp.listen(({ action: e, location: t }) => {+}, kp = /* @__PURE__ */ new Set(), Ap = !1, jp = !0;+Tp.listen(({ action: e, location: t }) => {let n = t.pathname + t.search + t.hash, r = Qf(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = bp.location), xp += 1, Tp || (Sp += 1), e !== "REPLACE" && (Ep = !1), Cp = {+ r !== n && (window.history.replaceState(window.history.state, "", r), t = Tp.location), Ep += 1, Ap || (Dp += 1), e !== "REPLACE" && (jp = !1), Op = {action: e,location: t,- seq: xp,- openEpoch: Sp,- claimed: Tp+ seq: Ep,+ openEpoch: Dp,+ claimed: Ap};- for (let e of [...wp]) e(Cp);+ for (let e of [...kp]) e(Op);});-function Dp(e) {+function Mp(e) {if (typeof e == "string") return Qf(new URL(e, window.location.href).href);let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = Qf(t.href);if (n === t.pathname + t.search + t.hash) return e;@@ -15659,42 +15672,42 @@ function Dp(e) {hash: r.hash};}-var Op = {+var Np = {get navigation() {- return Cp;+ return Op;},listen(e) {- return wp.add(e), () => {- wp.delete(e);+ return kp.add(e), () => {+ kp.delete(e);};},- createHref: (e) => bp.createHref(e),- createURL: (e) => bp.createURL(e),- encodeLocation: (e) => bp.encodeLocation(e),- go: (e) => bp.go(e),- push: (e, t) => bp.push(Dp(e), t),- replace: (e, t) => bp.replace(Dp(e), t)+ createHref: (e) => Tp.createHref(e),+ createURL: (e) => Tp.createURL(e),+ encodeLocation: (e) => Tp.encodeLocation(e),+ go: (e) => Tp.go(e),+ push: (e, t) => Tp.push(Mp(e), t),+ replace: (e, t) => Tp.replace(Mp(e), t)};-function kp(e, { replace: t = !1, state: n } = {}) {+function Pp(e, { replace: t = !1, state: n } = {}) {let r = new URL(e, window.location.href), i = Qf(`${r.pathname}${r.search}${r.hash}`);- Tp = !0;+ Ap = !0;try {- t ? bp.replace(i, n) : bp.push(i, n);+ t ? Tp.replace(i, n) : Tp.push(i, n);} finally {- Tp = !1;+ Ap = !1;}}-var Ap = () => Ep;-function jp() {- if (Mf(Cp.location.pathname)) {- let e = Ep ? null : Ff(Cp.location.state);+var Fp = () => jp;+function Ip() {+ if (Mf(Op.location.pathname)) {+ let e = jp ? null : Ff(Op.location.state);return e ? Vf(e.state) || e : null;}- return Ep ? null : Vf(Cp.location.state);+ return jp ? null : Vf(Op.location.state);}// src/ui-kit/anchor-scroll.ts-var Mp = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function Np(e, t) {+var Lp = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function Rp(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -15709,49 +15722,49 @@ async function Np(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: Mp()+ behavior: Lp()});}// src/history/page-navigation.ts-var Pp = /* @__PURE__ */ new Map(), Fp = /* @__PURE__ */ new Map(), Ip = /* @__PURE__ */ new Map(), Lp, Rp, zp = {+var zp = /* @__PURE__ */ new Map(), Bp = /* @__PURE__ */ new Map(), Vp = /* @__PURE__ */ new Map(), Hp, Up, Wp = {left: window.scrollX,top: window.scrollY-}, Bp, Vp = -1, Hp = -1, Up = !1, Wp = !1, Gp, Kp, qp = !1, Jp = !1;-function Yp() {+}, Gp, Kp = -1, qp = -1, Jp = !1, Yp = !1, Xp, Zp, Qp = !1, $p = !1;+function em() {let e = document.documentElement;- Gp ??= e.style.overflowAnchor, Kp ??= e.style.minHeight, e.style.minHeight = `${e.scrollHeight}px`, qp = !1, Jp = !1, e.style.overflowAnchor = "none", e.setAttribute("data-page-navigation-pending", ""), window.scrollTo({+ Xp ??= e.style.overflowAnchor, Zp ??= e.style.minHeight, e.style.minHeight = `${e.scrollHeight}px`, Qp = !1, $p = !1, e.style.overflowAnchor = "none", e.setAttribute("data-page-navigation-pending", ""), window.scrollTo({left: window.scrollX,top: window.scrollY,behavior: "instant"});}-function Xp(e) {- qp && !Jp && Gp !== void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {- if (Op.navigation.seq !== e || !qp || Jp || Gp === void 0) return;+function tm(e) {+ Qp && !$p && Xp !== void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {+ if (Np.navigation.seq !== e || !Qp || $p || Xp === void 0) return;let t = document.documentElement;- t.style.minHeight = Kp, t.style.overflowAnchor = Gp, t.removeAttribute("data-page-navigation-pending"), Kp = void 0, Gp = void 0;+ t.style.minHeight = Zp, t.style.overflowAnchor = Xp, t.removeAttribute("data-page-navigation-pending"), Zp = void 0, Xp = void 0;}));}-function Zp(e) {- Jp = e.behavior === "smooth" && (Math.abs((e.top ?? window.scrollY) - window.scrollY) > .5 || Math.abs((e.left ?? window.scrollX) - window.scrollX) > .5), window.scrollTo(e);+function nm(e) {+ $p = e.behavior === "smooth" && (Math.abs((e.top ?? window.scrollY) - window.scrollY) > .5 || Math.abs((e.left ?? window.scrollX) - window.scrollX) > .5), window.scrollTo(e);}-function Qp(e) {+function rm(e) {if (!e?.getClientRects().length) {- Jp = !1;+ $p = !1;return;}let t = parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop) || 0, n = parseFloat(getComputedStyle(e).scrollMarginTop) || 0, r = Math.max(0, Math.min(e.getBoundingClientRect().top + window.scrollY - t - n, document.documentElement.scrollHeight - window.innerHeight));- Jp = Mp() === "smooth" && Math.abs(r - window.scrollY) > .5;+ $p = Lp() === "smooth" && Math.abs(r - window.scrollY) > .5;}-var $p = (e) => !Bf(e) && !Mf(e) && e !== "/immerse" && e !== "/wall", em = (e) => {+var im = (e) => !Bf(e) && !Mf(e) && e !== "/immerse" && e !== "/wall", am = (e) => {let t = new URLSearchParams(e.search);return `${e.pathname}:${t.get("jav") === "1"}:${t.get("orient") === "竖屏"}`;-}, tm = (e) => {+}, om = (e) => {let t = new URLSearchParams(e.search);return t.delete("edit"), t.sort(), e.pathname + (t.size ? `?${t}` : "") + e.hash;-}, nm = (e) => `${e.key}:${tm(e)}`;-function rm(e) {- if (!$p(e.pathname)) return [];+}, sm = (e) => `${e.key}:${om(e)}`;+function cm(e) {+ if (!im(e.pathname)) return [];if (e.pathname === "/") {let t = new URLSearchParams(e.search);return [t.get("jav") === "1" ? "jav" : t.get("orient") === "竖屏" ? "shorts" : ""];@@ -15759,74 +15772,74 @@ function rm(e) {let t = ep(e.pathname);return [...t?.nav ? [t.nav] : [], ...t?.section ? ["manage", t.section] : []];}-function im(e) {+function lm(e) {let t = e.pathname + e.search + e.hash;if (e.pathname !== "/") return t;let n = new URLSearchParams(e.search);return n.has("q") ? (n.delete("q"), "/" + (n.size ? `?${n}` : "") + e.hash) : t;}-function am() {- let e = Lp.location;- for (let t of rm(e)) Ip.set(t, im(e));+function um() {+ let e = Hp.location;+ for (let t of cm(e)) Vp.set(t, lm(e));}-function om(e) {- return cm(), rm(Lp.location).includes(e) ? im(Lp.location) : Ip.get(e);+function dm(e) {+ return pm(), cm(Hp.location).includes(e) ? lm(Hp.location) : Vp.get(e);}-function sm() {- cm(), Up = !0;+function fm() {+ pm(), Jp = !0;}-function cm() {- Wp || (Wp = !0, Lp = Op.navigation, Rp = Lp.location, window.history.scrollRestoration = "manual", document.addEventListener("scrollend", (e) => {- e.target === document && (Jp = !1, Xp(Op.navigation.seq));- }), Op.listen((e) => {- if (Rp = Lp.location, zp = {+function pm() {+ Yp || (Yp = !0, Hp = Np.navigation, Up = Hp.location, window.history.scrollRestoration = "manual", document.addEventListener("scrollend", (e) => {+ e.target === document && ($p = !1, tm(Np.navigation.seq));+ }), Np.listen((e) => {+ if (Up = Hp.location, Wp = {left: window.scrollX,top: window.scrollY- }, $p(e.location.pathname) ? Yp() : (qp = !0, Jp = !1, Xp(e.seq)), $p(Rp.pathname)) {- let e = Pp.get(nm(Rp)) ?? {- ...zp,+ }, im(e.location.pathname) ? em() : (Qp = !0, $p = !1, tm(e.seq)), im(Up.pathname)) {+ let e = zp.get(sm(Up)) ?? {+ ...Wp,state: /* @__PURE__ */ new Map()};- Object.assign(e, zp), Pp.set(nm(Rp), e), Fp.set(tm(Rp), e), am();+ Object.assign(e, Wp), zp.set(sm(Up), e), Bp.set(om(Up), e), um();}if (e.action === "REPLACE") {- let t = Pp.get(nm(Rp));- t && Pp.set(nm(e.location), {+ let t = zp.get(sm(Up));+ t && zp.set(sm(e.location), {...t,state: new Map(t.state)- }), Bp &&= Pp.get(nm(e.location));- } else Bp = e.action === "POP" ? Pp.get(nm(e.location)) : Fp.get(tm(e.location));- Up && (Bp = void 0), Up = !1, Bp && (Bp = {- ...Bp,- state: new Map(Bp.state)- }, Pp.set(nm(e.location), Bp)), Lp = e;+ }), Gp &&= zp.get(sm(e.location));+ } else Gp = e.action === "POP" ? zp.get(sm(e.location)) : Bp.get(om(e.location));+ Jp && (Gp = void 0), Jp = !1, Gp && (Gp = {+ ...Gp,+ state: new Map(Gp.state)+ }, zp.set(sm(e.location), Gp)), Hp = e;}));}-function lm(e, t) {- if (cm(), !$p(Lp.location.pathname)) return;- let n = Pp.get(nm(Lp.location)) ?? {+function mm(e, t) {+ if (pm(), !im(Hp.location.pathname)) return;+ let n = zp.get(sm(Hp.location)) ?? {left: window.scrollX,top: window.scrollY,state: /* @__PURE__ */ new Map()};- n.state.set(e, t), Pp.set(nm(Lp.location), n), am();+ n.state.set(e, t), zp.set(sm(Hp.location), n), um();}-function um(e) {- return cm(), Bp?.state.get(e);+function hm(e) {+ return pm(), Gp?.state.get(e);}-var dm = () => (cm(), !!Bp);-function fm() {- cm(), Hp = Op.navigation.seq, Vp === Hp && (Hp = -1, Zp({+var gm = () => (pm(), !!Gp);+function _m() {+ pm(), qp = Np.navigation.seq, Kp === qp && (qp = -1, nm({top: 0,- behavior: Mp()+ behavior: Lp()}));}-async function pm(e, t, { pending: n = !1 } = {}) {- cm();- let r = Op.navigation, i = r.seq, a = () => e() && Op.navigation.seq === i;- if ($p(r.location.pathname) && a() && (am(), !(!n && Bp && (await document.fonts?.ready, await new Promise((e) => requestAnimationFrame(() => e())), !a())))) {- if (n || (qp = !0), Vp === i) Xp(i);- else if (!(n && Bp)) {+async function vm(e, t, { pending: n = !1 } = {}) {+ pm();+ let r = Np.navigation, i = r.seq, a = () => e() && Np.navigation.seq === i;+ if (im(r.location.pathname) && a() && (um(), !(!n && Gp && (await document.fonts?.ready, await new Promise((e) => requestAnimationFrame(() => e())), !a())))) {+ if (n || (Qp = !0), Kp === i) tm(i);+ else if (!(n && Gp)) {if (n && r.location.hash) {let e;try {@@ -15836,83 +15849,83 @@ async function pm(e, t, { pending: n = !1 } = {}) {}if (!e?.getClientRects().length || e.closest("[data-skeleton], [data-content-skeleton]")) return;}- if (Vp = i, Hp === i) Hp = -1, Bp = void 0, Zp({+ if (Kp = i, qp === i) qp = -1, Gp = void 0, nm({top: 0,- behavior: Mp()+ behavior: Lp()});- else if (Bp) {- let e = Mp();+ else if (Gp) {+ let e = Lp();e === "smooth" && window.scrollTo({- ...zp,+ ...Wp,behavior: "instant"- }), Zp({- left: Bp.left,- top: Bp.top,+ }), nm({+ left: Gp.left,+ top: Gp.top,behavior: e- }), Bp = void 0;+ }), Gp = void 0;} else if (r.location.hash) {- if (await Np(r.location.hash, a), !a()) return;+ if (await Rp(r.location.hash, a), !a()) return;let e = null;try {e = document.getElementById(decodeURIComponent(r.location.hash.slice(1)));} catch {}- Qp(e);- } else if (r.action === "REPLACE" && em(Rp) === em(r.location)) window.scrollTo({- ...zp,+ rm(e);+ } else if (r.action === "REPLACE" && am(Up) === am(r.location)) window.scrollTo({+ ...Wp,behavior: "instant"});- else if (t?.getClientRects().length && em(Rp) === em(r.location) && Rp.search !== r.location.search) {+ else if (t?.getClientRects().length && am(Up) === am(r.location) && Up.search !== r.location.search) {let e = parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop) || 0;- t.getBoundingClientRect().top < e && (Qp(t), t.scrollIntoView({+ t.getBoundingClientRect().top < e && (rm(t), t.scrollIntoView({block: "start",- behavior: Mp()+ behavior: Lp()}));- } else i > 0 && Zp({+ } else i > 0 && nm({top: 0,- behavior: Mp()+ behavior: Lp()});- Xp(i);+ tm(i);}}}// node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs-var mm = /* @__PURE__ */ (0, F.createContext)({});+var ym = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/utils/use-constant.mjs-function hm(e) {+function bm(e) {let t = (0, F.useRef)(null);return t.current === null && (t.current = e()), t.current;}// node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs-var gm = typeof window < "u" ? F.useLayoutEffect : F.useEffect, _m = /* @__PURE__ */ (0, F.createContext)(null);+var xm = typeof window < "u" ? F.useLayoutEffect : F.useEffect, Sm = /* @__PURE__ */ (0, F.createContext)(null);// node_modules/motion-utils/dist/es/array.mjs-function vm(e, t) {+function Cm(e, t) {e.indexOf(t) === -1 && e.push(t);}-function ym(e, t) {+function wm(e, t) {let n = e.indexOf(t);n > -1 && e.splice(n, 1);}// node_modules/motion-utils/dist/es/clamp.mjs-var bm = (e, t, n) => n > t ? t : n < e ? e : n, xm = {}, Sm = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Cm = (e) => typeof e == "object" && !!e, wm = (e) => /^0[^.\s]+$/u.test(e);+var Tm = (e, t, n) => n > t ? t : n < e ? e : n, Em = {}, Dm = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Om = (e) => typeof e == "object" && !!e, km = (e) => /^0[^.\s]+$/u.test(e);// node_modules/motion-utils/dist/es/memo.mjs/*#__NO_SIDE_EFFECTS__*/-function Tm(e) {+function Am(e) {let t;return () => (t === void 0 && (t = e()), t);}// node_modules/motion-utils/dist/es/noop.mjs-var Em = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Dm = (...e) => e.reduce((e, t) => (n) => t(e(n))), Om = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {+var jm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Mm = (...e) => e.reduce((e, t) => (n) => t(e(n))), Nm = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {let r = t - e;return r ? (n - e) / r : 1;-}, km = class {+}, Pm = class {constructor() {this.subscriptions = [];}add(e) {- return vm(this.subscriptions, e), () => this.remove(e);+ return Cm(this.subscriptions, e), () => this.remove(e);}remove(e) {- ym(this.subscriptions, e);+ wm(this.subscriptions, e);}notify(e, t, n) {let r = this.subscriptions.length;@@ -15930,146 +15943,146 @@ var Em = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Dm = (...e) => e.reduce((e, t) =>clear() {this.subscriptions.length = 0;}-}, Am = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, jm = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Mm = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Nm = (e, t, n) => {+}, Fm = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Im = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Lm = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Rm = (e, t, n) => {let r = t - e;return ((n - e) % r + r) % r + e;-}, Pm = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);+}, zm = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);/*#__NO_SIDE_EFFECTS__*/-function Fm(e, t, n, r) {- return e === t && n === r ? Em : (i) => {+function Bm(e, t, n, r) {+ return e === t && n === r ? jm : (i) => {let a = 0, o = 1, s = i;for (let t = 0;; t++) {s >= a && s <= o || (s = (a + o) / 2);- let r = Pm(s, e, n) - i;+ let r = zm(s, e, n) - i;if (r * r < 1e-28 || t === 40) break;- r > 0 ? o = s : a = s, s -= r * 1e-7 / (Pm(s + 1e-7, e, n) - i - r);+ r > 0 ? o = s : a = s, s -= r * 1e-7 / (zm(s + 1e-7, e, n) - i - r);}- return Pm(s, t, r);+ return zm(s, t, r);};}// node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs-var Im = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Lm = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Rm = /*@__PURE__*/ Fm(.33, 1.53, .69, .99), zm = /*@__PURE__*/ Lm(Rm), Bm = /*@__PURE__*/ Im(zm), Vm = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * zm(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Hm = (e) => 1 - Math.sin(Math.acos(e)), Um = /* @__PURE__ */ Lm(Hm), Wm = /* @__PURE__ */ Im(Hm), Gm = /*@__PURE__*/ Fm(.42, 0, 1, 1), Km = /*@__PURE__*/ Fm(0, 0, .58, 1), qm = /*@__PURE__*/ Fm(.42, 0, .58, 1), Jm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";+var Vm = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Hm = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Um = /*@__PURE__*/ Bm(.33, 1.53, .69, .99), Wm = /*@__PURE__*/ Hm(Um), Gm = /*@__PURE__*/ Vm(Wm), Km = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Wm(e) : .5 * (2 - 2 ** (-10 * (e - 1))), qm = (e) => 1 - Math.sin(Math.acos(e)), Jm = /* @__PURE__ */ Hm(qm), Ym = /* @__PURE__ */ Vm(qm), Xm = /*@__PURE__*/ Bm(.42, 0, 1, 1), Zm = /*@__PURE__*/ Bm(0, 0, .58, 1), Qm = /*@__PURE__*/ Bm(.42, 0, .58, 1), $m = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";// node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs/*#__NO_SIDE_EFFECTS__*/-function Ym(e, t) {- return /* @__PURE__ */ Jm(e) ? e[Nm(0, e.length, t)] : e;+function eh(e, t) {+ return /* @__PURE__ */ $m(e) ? e[Rm(0, e.length, t)] : e;}// node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs-var Xm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Zm = {- linear: Em,- easeIn: Gm,- easeInOut: qm,- easeOut: Km,- circIn: Hm,- circInOut: Wm,- circOut: Um,- backIn: zm,- backInOut: Bm,- backOut: Rm,- anticipate: Vm-}, Qm = (e) => typeof e == "string", $m = (e) => {- if (/* @__PURE__ */ Xm(e)) {+var th = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", nh = {+ linear: jm,+ easeIn: Xm,+ easeInOut: Qm,+ easeOut: Zm,+ circIn: qm,+ circInOut: Ym,+ circOut: Jm,+ backIn: Wm,+ backInOut: Gm,+ backOut: Um,+ anticipate: Km+}, rh = (e) => typeof e == "string", ih = (e) => {+ if (/* @__PURE__ */ th(e)) {let [t, n, r, i] = e;- return /* @__PURE__ */ Fm(t, n, r, i);+ return /* @__PURE__ */ Bm(t, n, r, i);}- return Qm(e) ? Zm[e] : e;-}, eh = {+ return rh(e) ? nh[e] : e;+}, ah = {delta: 0,timestamp: 0,isProcessing: !1-}, th;-function nh() {- th = void 0;+}, oh;+function sh() {+ oh = void 0;}-var rh = {- now: () => (th === void 0 && rh.set(eh.isProcessing || xm.useManualTiming ? eh.timestamp : performance.now()), th),+var ch = {+ now: () => (oh === void 0 && ch.set(ah.isProcessing || Em.useManualTiming ? ah.timestamp : performance.now()), oh),set: (e) => {- th = e, queueMicrotask(nh);+ oh = e, queueMicrotask(sh);}-}, ih = (e) => Math.round(e * 1e5) / 1e5, ah = (e) => (t) => typeof t == "string" && t.startsWith(e), oh = /*@__PURE__*/ ah("--"), sh = /*@__PURE__*/ ah("var(--"), ch = (e) => sh(e) ? lh.test(e.split("/*")[0].trim()) : !1, lh = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;-function uh(e) {+}, lh = (e) => Math.round(e * 1e5) / 1e5, uh = (e) => (t) => typeof t == "string" && t.startsWith(e), dh = /*@__PURE__*/ uh("--"), fh = /*@__PURE__*/ uh("var(--"), ph = (e) => fh(e) ? mh.test(e.split("/*")[0].trim()) : !1, mh = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;+function hh(e) {return typeof e == "string" && e.split("/*")[0].includes("var(--");}// node_modules/motion-dom/dist/es/value/types/numbers/index.mjs-var dh = {+var gh = {test: (e) => typeof e == "number",parse: parseFloat,transform: (e) => e-}, fh = {- ...dh,- transform: (e) => bm(0, 1, e)-}, ph = {- ...dh,+}, _h = {+ ...gh,+ transform: (e) => Tm(0, 1, e)+}, vh = {+ ...gh,default: 1-}, mh = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;+}, yh = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;// node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs-function hh(e) {+function bh(e) {return e == null;}// node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs-var gh = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, _h = (e, t) => (n) => !!(typeof n == "string" && gh.test(n) && n.startsWith(e) || t && !hh(n) && Object.prototype.hasOwnProperty.call(n, t)), vh = (e, t, n) => (r) => {+var xh = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Sh = (e, t) => (n) => !!(typeof n == "string" && xh.test(n) && n.startsWith(e) || t && !bh(n) && Object.prototype.hasOwnProperty.call(n, t)), Ch = (e, t, n) => (r) => {if (typeof r != "string") return r;- let [i, a, o, s] = r.match(mh);+ let [i, a, o, s] = r.match(yh);return {[e]: parseFloat(i),[t]: parseFloat(a),[n]: parseFloat(o),alpha: s === void 0 ? 1 : parseFloat(s)};-}, yh = (e) => bm(0, 255, e), bh = {- ...dh,- transform: (e) => Math.round(yh(e))-}, xh = {- test: /*@__PURE__*/ _h("rgb", "red"),- parse: /*@__PURE__*/ vh("red", "green", "blue"),- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + bh.transform(e) + ", " + bh.transform(t) + ", " + bh.transform(n) + ", " + ih(fh.transform(r)) + ")"-}, Sh = (e, t, n) => {+}, wh = (e) => Tm(0, 255, e), Th = {+ ...gh,+ transform: (e) => Math.round(wh(e))+}, Eh = {+ test: /*@__PURE__*/ Sh("rgb", "red"),+ parse: /*@__PURE__*/ Ch("red", "green", "blue"),+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Th.transform(e) + ", " + Th.transform(t) + ", " + Th.transform(n) + ", " + lh(_h.transform(r)) + ")"+}, Dh = (e, t, n) => {let r = e.substring(1 + t * n, 1 + (t + 1) * n);return n > 1 ? r : r + r;};-function Ch(e) {- let t = e.length > 5 ? 2 : 1, n = Sh(e, 3, t);+function Oh(e) {+ let t = e.length > 5 ? 2 : 1, n = Dh(e, 3, t);return {- red: parseInt(Sh(e, 0, t), 16),- green: parseInt(Sh(e, 1, t), 16),- blue: parseInt(Sh(e, 2, t), 16),+ red: parseInt(Dh(e, 0, t), 16),+ green: parseInt(Dh(e, 1, t), 16),+ blue: parseInt(Dh(e, 2, t), 16),alpha: n ? parseInt(n, 16) / 255 : 1};}-var wh = {- test: /*@__PURE__*/ _h("#"),- parse: Ch,- transform: xh.transform-}, Th = /* @__NO_SIDE_EFFECTS__ */ (e) => ({+var kh = {+ test: /*@__PURE__*/ Sh("#"),+ parse: Oh,+ transform: Eh.transform+}, Ah = /* @__NO_SIDE_EFFECTS__ */ (e) => ({test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), Eh = /*@__PURE__*/ Th("deg"), Dh = /*@__PURE__*/ Th("%"), Oh = /*@__PURE__*/ Th("px"), kh = /*@__PURE__*/ Th("vh"), Ah = /*@__PURE__*/ Th("vw"), jh = {- ...Dh,- parse: (e) => Dh.parse(e) / 100,- transform: (e) => Dh.transform(e * 100)-}, Mh = {- test: /*@__PURE__*/ _h("hsl", "hue"),- parse: /*@__PURE__*/ vh("hue", "saturation", "lightness"),- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Dh.transform(ih(t)) + ", " + Dh.transform(ih(n)) + ", " + ih(fh.transform(r)) + ")"-}, Nh = {- test: (e) => xh.test(e) || wh.test(e) || Mh.test(e),- parse: (e) => xh.test(e) ? xh.parse(e) : Mh.test(e) ? Mh.parse(e) : wh.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? xh.transform(e) : Mh.transform(e),+}), jh = /*@__PURE__*/ Ah("deg"), Mh = /*@__PURE__*/ Ah("%"), Nh = /*@__PURE__*/ Ah("px"), Ph = /*@__PURE__*/ Ah("vh"), Fh = /*@__PURE__*/ Ah("vw"), Ih = {+ ...Mh,+ parse: (e) => Mh.parse(e) / 100,+ transform: (e) => Mh.transform(e * 100)+}, Lh = {+ test: /*@__PURE__*/ Sh("hsl", "hue"),+ parse: /*@__PURE__*/ Ch("hue", "saturation", "lightness"),+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Mh.transform(lh(t)) + ", " + Mh.transform(lh(n)) + ", " + lh(_h.transform(r)) + ")"+}, Rh = {+ test: (e) => Eh.test(e) || kh.test(e) || Lh.test(e),+ parse: (e) => Eh.test(e) ? Eh.parse(e) : Lh.test(e) ? Lh.parse(e) : kh.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Eh.transform(e) : Lh.transform(e),getAnimatableNone: (e) => {- let t = Nh.parse(e);- return t.alpha = 0, Nh.transform(t);+ let t = Rh.parse(e);+ return t.alpha = 0, Rh.transform(t);}-}, Ph = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Fh = /*@__PURE__*/ new RegExp(mh.source), Ih = /*@__PURE__*/ new RegExp(Ph.source, "i");-function Lh(e) {- return isNaN(e) && typeof e == "string" && (Fh.test(e) || Ih.test(e));+}, zh = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Bh = /*@__PURE__*/ new RegExp(yh.source), Vh = /*@__PURE__*/ new RegExp(zh.source, "i");+function Hh(e) {+ return isNaN(e) && typeof e == "string" && (Bh.test(e) || Vh.test(e));}-var Rh = "number", zh = "color", Bh = "var", Vh = "var(", Hh = "${}", Uh = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;-function Wh(e) {+var Uh = "number", Wh = "color", Gh = "var", Kh = "var(", qh = "${}", Jh = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;+function Yh(e) {let t = e.toString();- return Fh.test(t) || Ih.test(t);+ return Bh.test(t) || Vh.test(t);}-function Gh(e) {+function Xh(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -16077,50 +16090,50 @@ function Gh(e) {}, i = [], a = 0;return {values: n,- split: t.replace(Uh, (e) => (Nh.test(e) ? (r.color.push(a), i.push(zh), n.push(Nh.parse(e))) : e.startsWith(Vh) ? (r.var.push(a), i.push(Bh), n.push(e)) : (r.number.push(a), i.push(Rh), n.push(parseFloat(e))), ++a, Hh)).split(Hh),+ split: t.replace(Jh, (e) => (Rh.test(e) ? (r.color.push(a), i.push(Wh), n.push(Rh.parse(e))) : e.startsWith(Kh) ? (r.var.push(a), i.push(Gh), n.push(e)) : (r.number.push(a), i.push(Uh), n.push(parseFloat(e))), ++a, qh)).split(qh),indexes: r,types: i};}-function Kh(e) {- return Gh(e).values;+function Zh(e) {+ return Xh(e).values;}-function qh({ split: e, types: t }) {+function Qh({ split: e, types: t }) {let n = e.length;return (r) => {let i = "";for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {let e = t[a];- i += e === Rh ? ih(r[a]) : e === zh ? Nh.transform(r[a]) : r[a];+ i += e === Uh ? lh(r[a]) : e === Wh ? Rh.transform(r[a]) : r[a];}return i;};}-function Jh(e) {- return qh(Gh(e));+function $h(e) {+ return Qh(Xh(e));}-var Yh = (e) => typeof e == "number" ? 0 : Nh.test(e) ? Nh.getAnimatableNone(e) : e, Xh = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Yh(e);-function Zh(e) {- let t = Gh(e);- return qh(t)(t.values.map((e, n) => Xh(e, t.split[n])));-}-var Qh = {- test: Lh,- parse: Kh,- createTransformer: Jh,- getAnimatableNone: Zh+var eg = (e) => typeof e == "number" ? 0 : Rh.test(e) ? Rh.getAnimatableNone(e) : e, tg = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : eg(e);+function ng(e) {+ let t = Xh(e);+ return Qh(t)(t.values.map((e, n) => tg(e, t.split[n])));+}+var rg = {+ test: Hh,+ parse: Zh,+ createTransformer: $h,+ getAnimatableNone: ng};// node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function $h(e, t, n) {+function ig(e, t, n) {return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;}-function eg({ hue: e, saturation: t, lightness: n, alpha: r }) {+function eee({ hue: e, saturation: t, lightness: n, alpha: r }) {e /= 360, t /= 100, n /= 100;let i = 0, a = 0, o = 0;if (!t) i = a = o = n;else {let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;- i = $h(s, r, e + 1 / 3), a = $h(s, r, e), o = $h(s, r, e - 1 / 3);+ i = ig(s, r, e + 1 / 3), a = ig(s, r, e), o = ig(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -16130,59 +16143,59 @@ function eg({ hue: e, saturation: t, lightness: n, alpha: r }) {};}// node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function tg(e, t) {+function ag(e, t) {return (n) => n > 0 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/number.mjs-var ng = (e, t, n) => e + (t - e) * n, rg = (e, t, n) => {+var og = (e, t, n) => e + (t - e) * n, sg = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);-}, eee = [- wh,- xh,- Mh-], tee = (e) => eee.find((t) => t.test(e));-function ig(e) {- let t = tee(e);+}, tee = [+ kh,+ Eh,+ Lh+], nee = (e) => tee.find((t) => t.test(e));+function cg(e) {+ let t = nee(e);if (!t) return !1;let n = t.parse(e);- return t === Mh && (n = eg(n)), n;+ return t === Lh && (n = eee(n)), n;}-var ag = (e, t) => {- let n = ig(e), r = ig(t);- if (!n || !r) return tg(e, t);+var lg = (e, t) => {+ let n = cg(e), r = cg(t);+ if (!n || !r) return ag(e, t);let i = { ...n };- return (e) => (i.red = rg(n.red, r.red, e), i.green = rg(n.green, r.green, e), i.blue = rg(n.blue, r.blue, e), i.alpha = ng(n.alpha, r.alpha, e), xh.transform(i));-}, og = /* @__PURE__ */ new Set(["none", "hidden"]);-function nee(e, t) {- return og.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return (e) => (i.red = sg(n.red, r.red, e), i.green = sg(n.green, r.green, e), i.blue = sg(n.blue, r.blue, e), i.alpha = og(n.alpha, r.alpha, e), Eh.transform(i));+}, ug = /* @__PURE__ */ new Set(["none", "hidden"]);+function ree(e, t) {+ return ug.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/complex.mjs-function ree(e, t) {- return (n) => ng(e, t, n);+function iee(e, t) {+ return (n) => og(e, t, n);}-function sg(e) {- return typeof e == "number" ? ree : typeof e == "string" ? ch(e) ? tg : Nh.test(e) ? ag : oee : Array.isArray(e) ? cg : typeof e == "object" ? Nh.test(e) ? ag : iee : tg;+function dg(e) {+ return typeof e == "number" ? iee : typeof e == "string" ? ph(e) ? ag : Rh.test(e) ? lg : see : Array.isArray(e) ? fg : typeof e == "object" ? Rh.test(e) ? lg : aee : ag;}-function cg(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => sg(e)(e, t[n]));+function fg(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => dg(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;};}-function iee(e, t) {+function aee(e, t) {let n = {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = sg(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = dg(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;};}-function aee(e, t) {+function oee(e, t) {let n = [], r = {color: 0,var: 0,@@ -16194,28 +16207,28 @@ function aee(e, t) {}return n;}-var oee = (e, t) => {- let n = Gh(e), r = Gh(t);- return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? og.has(e) && !r.values.length || og.has(t) && !n.values.length ? nee(e, t) : Dm(cg(aee(n, r), r.values), qh(r)) : tg(e, t);-}, lg = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function see(e, t) {- let n = lg.exec(e);+var see = (e, t) => {+ let n = Xh(e), r = Xh(t);+ return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? ug.has(e) && !r.values.length || ug.has(t) && !n.values.length ? ree(e, t) : Mm(fg(oee(n, r), r.values), Qh(r)) : ag(e, t);+}, pg = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function cee(e, t) {+ let n = pg.exec(e);if (!n) return;- let r = lg.exec(t);+ let r = pg.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => ih(ng(a, o, e)) + i;+ return (e) => lh(og(a, o, e)) + i;}-function ug(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return ng(e, t, n);+function mg(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return og(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = see(e, t);+ let n = cee(e, t);if (n) return n;}- return sg(e)(e, t);+ return dg(e)(e, t);}// node_modules/motion-dom/dist/es/frameloop/order.mjs-var dg = [+var hg = ["setup","read","resolveKeyframes",@@ -16226,7 +16239,7 @@ var dg = ["postRender"];// node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function cee(e) {+function lee(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a, o = /* @__PURE__ */ new Set(), s = {delta: 0,timestamp: 0,@@ -16256,117 +16269,117 @@ function cee(e) {return l;}// node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var lee = 40;-function fg(e, t, n = {+var uee = 40;+function gg(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = dg.reduce((e, t) => (e[t] = cee(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {- let a = xm.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, lee), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));+ let r = !1, i = !0, a = () => r = !0, o = hg.reduce((e, t) => (e[t] = lee(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let a = Em.useManualTiming, o = a ? n.timestamp : performance.now();+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, uee), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));}, g = () => {r = !0, i = !0, n.isProcessing || e(h);};return {- schedule: dg.reduce((e, t) => {+ schedule: hg.reduce((e, t) => {let n = o[t];return e[t] = (e, t = !1, i = !1) => (r || g(), n.schedule(e, t, i)), e;}, {}),cancel: (e) => {- for (let t = 0; t < dg.length; t++) o[dg[t]].cancel(e);+ for (let t = 0; t < hg.length; t++) o[hg[t]].cancel(e);},state: n,steps: o};}// node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: pg, cancel: mg, steps: hg } = /* @__PURE__ */ fg(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Em, !0, eh), gg = (e) => {+var { schedule: _g, cancel: vg, steps: yg } = /* @__PURE__ */ gg(typeof requestAnimationFrame < "u" ? requestAnimationFrame : jm, !0, ah), bg = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => pg.update(t, e),- stop: () => mg(t),- now: () => eh.isProcessing ? eh.timestamp : rh.now()+ start: (e = !0) => _g.update(t, e),+ stop: () => vg(t),+ now: () => ah.isProcessing ? ah.timestamp : ch.now()};-}, _g = (e, t, n = 10) => {+}, xg = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, vg = 2e4;-function yg(e, t = 50, n = vg, r) {+}, Sg = 2e4;+function Cg(e, t = 50, n = Sg, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}// node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function bg(e, t = 100, n) {+function wg(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(yg(o), vg);+ }), s = Math.min(Cg(o), Sg);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,- duration: /* @__PURE__ */ jm(s)+ duration: /* @__PURE__ */ Im(s)};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var xg = 100, Sg = 10, uee = 1, dee = 800, Cg = .3, fee = .3, pee = .01, mee = 2, wg = .005, hee = .5, gee = .01, _ee = 10, Tg = .05, Eg = (e) => e < 0 ? 1 / Math.max(1 + e, Tg) : Math.max(1 - e, Tg);-function Dg(e, t) {+var Tg = 100, Eg = 10, dee = 1, fee = 800, Dg = .3, pee = .3, mee = .01, hee = 2, gee = .005, _ee = .5, vee = .01, yee = 10, Og = .05, kg = (e) => e < 0 ? 1 / Math.max(1 + e, Og) : Math.max(1 - e, Og);+function Ag(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return kg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Mg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function Og(e, t) {+function jg(e, t) {return e * Math.sqrt(1 - t * t);}-var vee = 12;-function kg(e, t, n) {+var bee = 12;+function Mg(e, t, n) {let r = n;- for (let n = 1; n < vee; n++) r -= e(r) / t(r);+ for (let n = 1; n < bee; n++) r -= e(r) / t(r);return r;}-var Ag = .001;-function yee({ duration: e = dee, bounce: t = Cg }) {- let n, r, i = Eg(t);- e = bm(gee, _ee, /* @__PURE__ */ jm(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = Og(t, i), o = Math.exp(-r);- return Ag - n / a * o;+var Ng = .001;+function xee({ duration: e = fee, bounce: t = Dg }) {+ let n, r, i = kg(t);+ e = Tm(vee, yee, /* @__PURE__ */ Im(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = jg(t, i), o = Math.exp(-r);+ return Ng - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Og(t * t, i);- return (-n(t) + Ag > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = jg(t * t, i);+ return (-n(t) + Ng > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = kg(n, r, a), s = o * Dg(i, o * e), c = s * s;+ let a = 5 / e, o = Mg(n, r, a), s = o * Ag(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),- duration: /* @__PURE__ */ Am(e)+ duration: /* @__PURE__ */ Fm(e)};}-var jg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Mg(e, t) {- if (jg(e, t)) return e;+var Pg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Fg(e, t) {+ if (Pg(e, t)) return e;}-function bee(e) {- let t = Mg(e.stiffness), n = Mg(e.damping, !0), r = Mg(e.mass), i = {+function See(e) {+ let t = Fg(e.stiffness), n = Fg(e.damping, !0), r = Fg(e.mass), i = {...e,- stiffness: t ?? xg,- damping: n ?? Sg,- mass: r ?? uee,+ stiffness: t ?? Tg,+ damping: n ?? Eg,+ mass: r ?? dee,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Eg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Dg(t, 2 * Math.PI / 1.2);+ let t = kg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Ag(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, yee(i)), i.isResolvedFromDuration = !0;- jg(i.stiffness) && jg(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);+ } else Object.assign(i, xee(i)), i.isResolvedFromDuration = !0;+ Pg(i.stiffness) && Pg(i.damping, !0) || (i.stiffness = Tg, i.damping = Eg);}return i;}-function Ng(e = fee, t = Cg) {+function Ig(e = pee, t = Dg) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -16374,7 +16387,7 @@ function Ng(e = fee, t = Cg) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = bee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ jm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ jm(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = See({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Im(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Im(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -16382,12 +16395,12 @@ function Ng(e = fee, t = Cg) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? pee : mee), g.restDelta = n.restDelta || (e ? wg : hee);+ g.restSpeed = n.restSpeed || (e ? mee : hee), g.restDelta = n.restDelta || (e ? gee : _ee);};_();let v, y, b;if (p < 1) {- let e = Og(m, p), t = {+ let e = jg(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -16425,30 +16438,30 @@ function Ng(e = fee, t = Cg) {retarget: (e, t) => {g.target = e[e.length - 1], g.delta = g.target - e[0], g.velocity = f(t), n.restSpeed && n.restDelta || _(), S.calculatedDuration = x, a.done = !1, b();},- velocity: (e) => /* @__PURE__ */ Am(y(e)),+ velocity: (e) => /* @__PURE__ */ Fm(y(e)),next: (e) => {let t = v(e);if (u) a.done = e >= l;else {- let n = /* @__PURE__ */ Am(y(e));+ let n = /* @__PURE__ */ Fm(y(e));a.done = Math.abs(n) <= g.restSpeed && Math.abs(g.target - t) <= g.restDelta;}return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(yg(S), vg), t = _g((t) => S.next(e * t).value, e, 30);+ let e = Math.min(Cg(S), Sg), t = xg((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-var Pg = /* @__PURE__ */ Object.assign(Ng, { applyToOptions: (e) => {- let t = bg(e, 100, Ng);- return e.ease = t.ease, e.duration = /* @__PURE__ */ Am(t.duration), e.type = "keyframes", e;+var Lg = /* @__PURE__ */ Object.assign(Ig, { applyToOptions: (e) => {+ let t = wg(e, 100, Ig);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Fm(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function Rg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d@@ -16458,7 +16471,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Pg({+ p(f.value) && (b = e, x = Lg({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -16476,64 +16489,64 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32};}// node_modules/motion-dom/dist/es/utils/interpolate.mjs-function xee(e, t, n) {- let r = [], i = xm.mix || ug, a = e.length - 1;+function Cee(e, t, n) {+ let r = [], i = Em.mix || mg, a = e.length - 1;for (let o = 0; o < a; o++) {let a = n?.(e[o], e[o + 1]) || i(e[o], e[o + 1]);- t && (a = Dm(Array.isArray(t) ? t[o] || Em : t, a)), r.push(a);+ t && (a = Mm(Array.isArray(t) ? t[o] || jm : t, a)), r.push(a);}return r;}-function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function zg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = xee(t, r, i), c = s.length, l = (n) => {+ let s = Cee(t, r, i), c = s.length, l = (n) => {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);- let i = /* @__PURE__ */ Om(e[r], e[r + 1], n);+ let i = /* @__PURE__ */ Nm(e[r], e[r + 1], n);return s[r](i);};- return n ? (t) => l(bm(e[0], e[a - 1], t)) : l;+ return n ? (t) => l(Tm(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Lg(e, t) {+function Bg(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {- let i = /* @__PURE__ */ Om(0, t, r);- e.push(ng(n, 1, i));+ let i = /* @__PURE__ */ Nm(0, t, r);+ e.push(og(n, 1, i));}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function Rg(e) {+function Vg(e) {let t = [0];- return Lg(t, e.length - 1), t;+ return Bg(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function See(e, t) {+function wee(e, t) {return e.map((e) => e * t);}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function Cee(e, t) {- return e.map(() => t || qm).splice(0, e.length - 1);+function Tee(e, t) {+ return e.map(() => t || Qm).splice(0, e.length - 1);}-function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {- let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ Jm(r) ? r.map($m) : $m(r) || qm, s = {+function Hg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {+ let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ $m(r) ? r.map(ih) : ih(r) || Qm, s = {done: !1,value: t[0]};if (!a && t.length === 2 && !Array.isArray(o) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, i = n === r ? void 0 : (xm.mix || ug)(n, r);+ let [n, r] = t, i = n === r ? void 0 : (Em.mix || mg)(n, r);return {calculatedDuration: e,- next: (t) => (s.value = i ? i(o(e > 0 ? bm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)+ next: (t) => (s.value = i ? i(o(e > 0 ? Tm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)};}- let c = Ig(See(n && n.length === t.length ? n : Rg(t), e), t, {- ease: Array.isArray(o) ? o : Cee(t, o),+ let c = zg(wee(n && n.length === t.length ? n : Vg(t), e), t, {+ ease: Array.isArray(o) ? o : Tee(t, o),mixer: a});return {@@ -16542,48 +16555,48 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",};}// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var wee = 5;-function Tee(e, t, n) {- let r = Math.max(t - wee, 0);- return /* @__PURE__ */ Mm(n - e(r), t - r);+var Eee = 5;+function Dee(e, t, n) {+ let r = Math.max(t - Eee, 0);+ return /* @__PURE__ */ Lm(n - e(r), t - r);}-function Bg(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : Tee((t) => e.next(t).value, t, e.next(t).value);+function Ug(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : Dee((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var Eee = (e) => e !== null;-function Vg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(Eee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var Oee = (e) => e !== null;+function Wg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(Oee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var Dee = {- decay: Fg,- inertia: Fg,- tween: zg,- keyframes: zg,- spring: Pg+var kee = {+ decay: Rg,+ inertia: Rg,+ tween: Hg,+ keyframes: Hg,+ spring: Lg};-function Hg(e) {- typeof e.type == "string" && (e.type = Dee[e.type]);+function Gg(e) {+ typeof e.type == "string" && (e.type = kee[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var Oee = 40, Ug = (e, t) => t - e > Oee && !xm.useManualTiming ? t : e;+var Aee = 40, Kg = (e, t) => t - e > Aee && !Em.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Wg(e, t) {+function qg(e, t) {return {kind: e,animation: t,- timestamp: rh.now(),- frameTimestamp: eh.timestamp,- frameIsProcessing: eh.isProcessing+ timestamp: ch.now(),+ frameTimestamp: ah.timestamp,+ frameIsProcessing: ah.isProcessing};}-function Gg(e, t, n) {+function Jg(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Wg("animation-start", e),+ ...qg("animation-start", e),options: n ? {...t,...n@@ -16591,17 +16604,17 @@ function Gg(e, t, n) {});} catch {}}-function kee(e, t) {+function jee(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...Wg("layout-animation-start", e),+ ...qg("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Kg = class {+var Yg = class {constructor() {this.isResolved = !1;}@@ -16619,21 +16632,21 @@ var Kg = class {then(e, t) {return this.finished.then(e, t);}-}, Aee = (e) => e / 100, qg = (e) => Math.round(e * 1e4) / 1e4, Jg = class extends Kg {+}, Mee = (e) => e / 100, Xg = (e) => Math.round(e * 1e4) / 1e4, Zg = class extends Yg {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,value: void 0}, this.stop = () => {let { motionValue: e } = this.options;- e && e.updatedAt !== rh.now() && this.tick(rh.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Gg(this, this.options);+ e && e.updatedAt !== ch.now() && this.tick(ch.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Jg(this, this.options);}initAnimation() {let { options: e } = this;- Hg(e);- let { type: t = zg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || zg;- this.mixKeyframes = void 0, s !== zg && typeof o[0] != "number" && (this.mixKeyframes = Dm(Aee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);+ Gg(e);+ let { type: t = Hg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Hg;+ this.mixKeyframes = void 0, s !== Hg && typeof o[0] != "number" && (this.mixKeyframes = Mm(Mee, e.mixer?.(o[0], o[1]) || mg(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -16642,7 +16655,7 @@ var Kg = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = yg(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = Cg(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -16653,61 +16666,61 @@ var Kg = class {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = Ug(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = Kg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Fg && (f.value = Vg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== Rg && (f.value = Wg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? qg((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? Xg((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== Fg ? Vg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== Rg ? Wg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;if (c) {let t = Math.min(e, r) / o, n = Math.floor(t), i = t % 1;- !i && t >= 1 && (i = 1), i === 1 && n--, n = Math.min(n, c + 1), n % 2 && (l === "reverse" ? (i = 1 - i, u && (i -= u / o)) : l === "mirror" && (f = a)), d = bm(0, 1, i) * o;+ !i && t >= 1 && (i = 1), i === 1 && n--, n = Math.min(n, c + 1), n % 2 && (l === "reverse" ? (i = 1 - i, u && (i -= u / o)) : l === "mirror" && (f = a)), d = Tm(0, 1, i) * o;}let p;return t ? (this.delayState.value = s[0], p = this.delayState) : p = f.next(d), i && !t && (p.value = i(p.value)), p;}get duration() {- return /* @__PURE__ */ jm(this.calculatedDuration);+ return /* @__PURE__ */ Im(this.calculatedDuration);}get iterationDuration() {- return this.duration + /* @__PURE__ */ jm(this.options.delay ?? 0);+ return this.duration + /* @__PURE__ */ Im(this.options.delay ?? 0);}get time() {- return /* @__PURE__ */ jm(this.currentTime);+ return /* @__PURE__ */ Im(this.currentTime);}set time(e) {- e = /* @__PURE__ */ Am(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));+ e = /* @__PURE__ */ Fm(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return Bg(this.generator, this.currentTime, this.options.velocity);+ return Ug(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;}set speed(e) {let t = this.playbackSpeed !== e;- t && this.driver && this.updateTime(rh.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ jm(this.currentTime));+ t && this.driver && this.updateTime(ch.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Im(this.currentTime));}play() {if (this.isStopped) return;- let { driver: e = gg, startTime: t } = this.options;+ let { driver: e = bg, startTime: t } = this.options;this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();let n = this.driver.now();this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? (this.pendingStartTime = n) : this.startTime = n - this.holdTime / (this.playbackSpeed || 1), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();}pause() {- this.state = "paused", this.updateTime(rh.now()), this.holdTime = this.currentTime;+ this.state = "paused", this.updateTime(ch.now()), this.holdTime = this.currentTime;}complete() {this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;@@ -16727,147 +16740,147 @@ var Kg = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, jee = /* @__PURE__ */ new Set([+}, Nee = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function Mee(e) {+function Pee(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;- let [r] = n.match(mh) || [];+ let [r] = n.match(yh) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!jee.has(t);+ let i = n.replace(r, ""), a = +!!Nee.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {- ...Qh,+var Fee = /\b([a-z-]*)\(.*?\)/gu, Qg = {+ ...rg,getAnimatableNone: (e) => {- let t = e.match(Nee);- return t ? t.map(Mee).join(" ") : e;+ let t = e.match(Fee);+ return t ? t.map(Pee).join(" ") : e;}-}, Xg = {- ...Qh,+}, $g = {+ ...rg,getAnimatableNone: (e) => {- let t = Qh.parse(e);- return Qh.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = rg.parse(e);+ return rg.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, Zg = {- ...dh,+}, e_ = {+ ...gh,transform: Math.round-}, Qg = {- rotate: Eh,- pathRotation: Eh,- rotateX: Eh,- rotateY: Eh,- rotateZ: Eh,- scale: ph,- scaleX: ph,- scaleY: ph,- scaleZ: ph,- skew: Eh,- skewX: Eh,- skewY: Eh,- distance: Oh,- translateX: Oh,- translateY: Oh,- translateZ: Oh,- x: Oh,- y: Oh,- z: Oh,- perspective: Oh,- transformPerspective: Oh,- opacity: fh,- originX: jh,- originY: jh,- originZ: Oh-}, $g = {- borderWidth: Oh,- borderTopWidth: Oh,- borderRightWidth: Oh,- borderBottomWidth: Oh,- borderLeftWidth: Oh,- borderRadius: Oh,- borderTopLeftRadius: Oh,- borderTopRightRadius: Oh,- borderBottomRightRadius: Oh,- borderBottomLeftRadius: Oh,- width: Oh,- maxWidth: Oh,- height: Oh,- maxHeight: Oh,- top: Oh,- right: Oh,- bottom: Oh,- left: Oh,- inset: Oh,- insetBlock: Oh,- insetBlockStart: Oh,- insetBlockEnd: Oh,- insetInline: Oh,- insetInlineStart: Oh,- insetInlineEnd: Oh,- padding: Oh,- paddingTop: Oh,- paddingRight: Oh,- paddingBottom: Oh,- paddingLeft: Oh,- paddingBlock: Oh,- paddingBlockStart: Oh,- paddingBlockEnd: Oh,- paddingInline: Oh,- paddingInlineStart: Oh,- paddingInlineEnd: Oh,- margin: Oh,- marginTop: Oh,- marginRight: Oh,- marginBottom: Oh,- marginLeft: Oh,- marginBlock: Oh,- marginBlockStart: Oh,- marginBlockEnd: Oh,- marginInline: Oh,- marginInlineStart: Oh,- marginInlineEnd: Oh,- fontSize: Oh,- backgroundPositionX: Oh,- backgroundPositionY: Oh,- ...Qg,- zIndex: Zg,- fillOpacity: fh,- strokeOpacity: fh,- numOctaves: Zg-}, Pee = {- ...$g,- color: Nh,- backgroundColor: Nh,- outlineColor: Nh,- fill: Nh,- stroke: Nh,- borderColor: Nh,- borderTopColor: Nh,- borderRightColor: Nh,- borderBottomColor: Nh,- borderLeftColor: Nh,- filter: Yg,- WebkitFilter: Yg,- mask: Xg,- WebkitMask: Xg-}, e_ = (e) => Pee[e], Fee = /*@__PURE__*/ new Set([Yg, Xg]);-function t_(e, t) {- let n = e_(e);- return Fee.has(n) || (n = Qh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+}, t_ = {+ rotate: jh,+ pathRotation: jh,+ rotateX: jh,+ rotateY: jh,+ rotateZ: jh,+ scale: vh,+ scaleX: vh,+ scaleY: vh,+ scaleZ: vh,+ skew: jh,+ skewX: jh,+ skewY: jh,+ distance: Nh,+ translateX: Nh,+ translateY: Nh,+ translateZ: Nh,+ x: Nh,+ y: Nh,+ z: Nh,+ perspective: Nh,+ transformPerspective: Nh,+ opacity: _h,+ originX: Ih,+ originY: Ih,+ originZ: Nh+}, n_ = {+ borderWidth: Nh,+ borderTopWidth: Nh,+ borderRightWidth: Nh,+ borderBottomWidth: Nh,+ borderLeftWidth: Nh,+ borderRadius: Nh,+ borderTopLeftRadius: Nh,+ borderTopRightRadius: Nh,+ borderBottomRightRadius: Nh,+ borderBottomLeftRadius: Nh,+ width: Nh,+ maxWidth: Nh,+ height: Nh,+ maxHeight: Nh,+ top: Nh,+ right: Nh,+ bottom: Nh,+ left: Nh,+ inset: Nh,+ insetBlock: Nh,+ insetBlockStart: Nh,+ insetBlockEnd: Nh,+ insetInline: Nh,+ insetInlineStart: Nh,+ insetInlineEnd: Nh,+ padding: Nh,+ paddingTop: Nh,+ paddingRight: Nh,+ paddingBottom: Nh,+ paddingLeft: Nh,+ paddingBlock: Nh,+ paddingBlockStart: Nh,+ paddingBlockEnd: Nh,+ paddingInline: Nh,+ paddingInlineStart: Nh,+ paddingInlineEnd: Nh,+ margin: Nh,+ marginTop: Nh,+ marginRight: Nh,+ marginBottom: Nh,+ marginLeft: Nh,+ marginBlock: Nh,+ marginBlockStart: Nh,+ marginBlockEnd: Nh,+ marginInline: Nh,+ marginInlineStart: Nh,+ marginInlineEnd: Nh,+ fontSize: Nh,+ backgroundPositionX: Nh,+ backgroundPositionY: Nh,+ ...t_,+ zIndex: e_,+ fillOpacity: _h,+ strokeOpacity: _h,+ numOctaves: e_+}, Iee = {+ ...n_,+ color: Rh,+ backgroundColor: Rh,+ outlineColor: Rh,+ fill: Rh,+ stroke: Rh,+ borderColor: Rh,+ borderTopColor: Rh,+ borderRightColor: Rh,+ borderBottomColor: Rh,+ borderLeftColor: Rh,+ filter: Qg,+ WebkitFilter: Qg,+ mask: $g,+ WebkitMask: $g+}, r_ = (e) => Iee[e], Lee = /*@__PURE__*/ new Set([Qg, $g]);+function i_(e, t) {+ let n = r_(e);+ return Lee.has(n) || (n = rg), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function n_(e) {+function a_(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), Iee = {+var o_ = (e) => e * 180 / Math.PI, s_ = (e) => c_(o_(Math.atan2(e[1], e[0]))), Ree = {x: 4,y: 5,translateX: 4,@@ -16876,44 +16889,44 @@ var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), IscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: i_,- rotateZ: i_,- skewX: (e) => r_(Math.atan(e[1])),- skewY: (e) => r_(Math.atan(e[2])),+ rotate: s_,+ rotateZ: s_,+ skewX: (e) => o_(Math.atan(e[1])),+ skewY: (e) => o_(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, a_ = (e) => (e %= 360, e < 0 && (e += 360), e), o_ = i_, s_ = (e) => Math.hypot(e[0], e[1]), c_ = (e) => Math.hypot(e[4], e[5]), Lee = {+}, c_ = (e) => (e %= 360, e < 0 && (e += 360), e), l_ = s_, u_ = (e) => Math.hypot(e[0], e[1]), d_ = (e) => Math.hypot(e[4], e[5]), zee = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: s_,- scaleY: c_,+ scaleX: u_,+ scaleY: d_,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (s_(e) + c_(e)) / 2,- rotateX: (e) => a_(r_(Math.atan2(e[6], e[5]))),- rotateY: (e) => a_(r_(Math.atan2(-e[2], e[0]))),- rotateZ: o_,- rotate: o_,- skewX: (e) => r_(Math.atan(e[4])),- skewY: (e) => r_(Math.atan(e[1])),+ scale: (e) => (u_(e) + d_(e)) / 2,+ rotateX: (e) => c_(o_(Math.atan2(e[6], e[5]))),+ rotateY: (e) => c_(o_(Math.atan2(-e[2], e[0]))),+ rotateZ: l_,+ rotate: l_,+ skewX: (e) => o_(Math.atan(e[4])),+ skewY: (e) => o_(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function l_(e) {+function f_(e) {return +!!e.includes("scale");}-function u_(e, t) {- if (!e || e === "none") return l_(t);+function p_(e, t) {+ if (!e || e === "none") return f_(t);let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);- if (!n) return l_(t);- let r = (n[1] ? Lee : Iee)[t], i = n[2].split(",").map((e) => parseFloat(e));+ if (!n) return f_(t);+ let r = (n[1] ? zee : Ree)[t], i = n[2].split(",").map((e) => parseFloat(e));return typeof r == "function" ? r(i) : i[r];}-var d_ = (e, t) => {+var m_ = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return u_(n, t);-}, f_ = [+ return p_(n, t);+}, h_ = ["transformPerspective","x","y",@@ -16932,14 +16945,14 @@ var d_ = (e, t) => {"skew","skewX","skewY"-], p_ = /* @__PURE__ */ new Set([...f_, "pathRotation"]), m_ = (e) => e === dh || e === Oh, Ree = /* @__PURE__ */ new Set([+], g_ = /* @__PURE__ */ new Set([...h_, "pathRotation"]), __ = (e) => e === gh || e === Nh, Bee = /* @__PURE__ */ new Set(["x","y","z"-]), zee = /* @__PURE__ */ f_.filter((e) => !Ree.has(e));-function Bee(e) {+]), Vee = /* @__PURE__ */ h_.filter((e) => !Bee.has(e));+function Hee(e) {let t = [];- return zee.forEach((n) => {+ return Vee.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -16948,16 +16961,16 @@ function Bee(e) {}}), t;}-var Vee = /* @__PURE__ */ new Set(["bottom", "right"]);-function h_(e, t, n, r, i, a) {+var Uee = /* @__PURE__ */ new Set(["bottom", "right"]);+function v_(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y"), v_ = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => h_(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => h_(e, i, "y", t, n, r),+var y_ = ({ transform: e }) => p_(e, "x"), b_ = ({ transform: e }) => p_(e, "y"), x_ = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => v_(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => v_(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -16968,20 +16981,20 @@ var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: g_,- y: __,- translateX: g_,- translateY: __-}, y_ = /* @__PURE__ */ new Set(), b_ = !1, x_ = !1, S_ = !1;-function C_() {- if (x_) {+ x: y_,+ y: b_,+ translateX: y_,+ translateY: b_+}, S_ = /* @__PURE__ */ new Set(), C_ = !1, w_ = !1, T_ = !1;+function E_() {+ if (w_) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- y_.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Vee.has(r.name) && n.add(r.element));+ S_.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), Uee.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Bee(e);+ let t = Hee(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -16993,29 +17006,29 @@ function C_() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- x_ = !1, b_ = !1, y_.forEach((e) => e.complete(S_)), y_.clear();+ w_ = !1, C_ = !1, S_.forEach((e) => e.complete(T_)), S_.clear();}-function w_() {- y_.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (x_ = !0);+function D_() {+ S_.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (w_ = !0);});}-function Hee() {- S_ = !0, w_(), C_(), S_ = !1;+function Wee() {+ T_ = !0, D_(), E_(), T_ = !1;}-function Uee(e, t, n) {+function Gee(e, t, n) {if (typeof e == "string") {- if (Sm(e) || wm(e)) return parseFloat(e);- if (!Qh.test(e) && Qh.test(n)) return t_(t, n);+ if (Dm(e) || km(e)) return parseFloat(e);+ if (!rg.test(e) && rg.test(n)) return i_(t, n);}return e ?? void 0;}-var T_ = class {+var O_ = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (y_.add(this), b_ || (b_ = !0, pg.read(w_), pg.resolveKeyframes(C_))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (S_.add(this), C_ || (C_ = !0, _g.read(D_), _g.resolveKeyframes(E_))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -17023,71 +17036,71 @@ var T_ = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = Uee(n.readValue(t, a), t, a);+ let r = Gee(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- n_(e);+ a_(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), y_.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), S_.delete(this);}cancel() {- this.state === "scheduled" && (y_.delete(this), this.state = "pending");+ this.state === "scheduled" && (S_.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, E_ = (e) => e.startsWith("--");+}, k_ = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function D_(e, t, n) {- E_(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function A_(e, t, n) {+ k_(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Wee = {};+var Kee = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function O_(e, t) {- let n = /* @__PURE__ */ Tm(e);- return () => Wee[t] ?? n();+function j_(e, t) {+ let n = /* @__PURE__ */ Am(e);+ return () => Kee[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Gee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), k_ = /*@__PURE__*/ O_(() => {+var qee = /* @__PURE__ */ j_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), M_ = /*@__PURE__*/ j_(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), A_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, j_ = {+}, "linearEasing"), N_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, P_ = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ A_([+ circIn: /*@__PURE__*/ N_([0,.65,.55,1]),- circOut: /*@__PURE__*/ A_([+ circOut: /*@__PURE__*/ N_([.55,0,1,.45]),- backIn: /*@__PURE__*/ A_([+ backIn: /*@__PURE__*/ N_([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ A_([+ backOut: /*@__PURE__*/ N_([.33,1.53,.69,@@ -17095,14 +17108,14 @@ var Gee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTime])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function M_(e, t) {- if (e) return typeof e == "function" ? k_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Xm(e) ? A_(e) : Array.isArray(e) ? e.map((e) => M_(e, t) || j_.easeOut) : j_[e];+function F_(e, t) {+ if (e) return typeof e == "function" ? M_() ? xg(e, t) : "ease-out" : /* @__PURE__ */ th(e) ? N_(e) : Array.isArray(e) ? e.map((e) => F_(e, t) || P_.easeOut) : P_[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Kee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Jee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = M_(s, i);+ let d = F_(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -17115,27 +17128,27 @@ function Kee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function N_(e) {+function I_(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function qee({ type: e, ...t }) {- return N_(e) && k_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Yee({ type: e, ...t }) {+ return I_(e) && M_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var P_ = class extends Kg {+var L_ = class extends Yg {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e;- let c = qee(e);- this.animation = Kee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Yee(e);+ this.animation = Jee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = Vg(r, this.options, o, this.speed);- this.updateMotionValue?.(e), D_(t, n, e), this.animation.cancel();+ let e = Wg(r, this.options, o, this.speed);+ this.updateMotionValue?.(e), A_(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, Gg(this, e, c);+ }, Jg(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -17160,18 +17173,18 @@ var P_ = class extends Kg {}get duration() {let e = this.animation.effect?.getComputedTiming?.().duration || 0;- return /* @__PURE__ */ jm(Number(e));+ return /* @__PURE__ */ Im(Number(e));}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ jm(e);+ return this.duration + /* @__PURE__ */ Im(e);}get time() {- return /* @__PURE__ */ jm(Number(this.animation.currentTime) || 0);+ return /* @__PURE__ */ Im(Number(this.animation.currentTime) || 0);}set time(e) {let t = this.finishedTime !== null;- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Am(e), t && this.animation.pause();+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Fm(e), t && this.animation.pause();}get speed() {return this.animation.playbackRate;@@ -17189,30 +17202,30 @@ var P_ = class extends Kg {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Gee() ? (this.animation.timeline = e, t?.(this.animation), Em) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && qee() ? (this.animation.timeline = e, t?.(this.animation), jm) : n(this);}-}, F_ = {- anticipate: Vm,- backInOut: Bm,- circInOut: Wm+}, R_ = {+ anticipate: Km,+ backInOut: Gm,+ circInOut: Ym};-function Jee(e) {- return e in F_;+function Xee(e) {+ return e in R_;}-function Yee(e) {- typeof e.ease == "string" && Jee(e.ease) && (e.ease = F_[e.ease]);+function Zee(e) {+ typeof e.ease == "string" && Xee(e.ease) && (e.ease = R_[e.ease]);}-var Xee = class extends P_ {+var Qee = class extends L_ {constructor(e) {- Yee(e), Hg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ Zee(e), Gg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {- return this.state === "running" ? (rh.now() - this.startTime) * this.speed : this.time * 1e3;+ return this.state === "running" ? (ch.now() - this.startTime) * this.speed : this.time * 1e3;}sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new Jg({+ this.sampler = new Zg({...o,autoplay: !1}), this.sampler.stop();@@ -17230,40 +17243,40 @@ var Xee = class extends P_ {t.set(e);return;}- let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? bm(0, 10, a) : 0, s = this.sample(a);- n && r && D_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? Tm(0, 10, a) : 0, s = this.sample(a);+ n && r && A_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, I_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Qh.test(e) || e === "0") && !e.startsWith("url("));+}, z_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (rg.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function Zee(e) {+function $ee(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function Qee(e, t, n, r) {+function ete(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = I_(i, t), s = I_(a, t);- return !o || !s ? !1 : Zee(e) || (n === "spring" || N_(n)) && r;+ let a = e[e.length - 1], o = z_(i, t), s = z_(a, t);+ return !o || !s ? !1 : $ee(e) || (n === "spring" || I_(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function L_(e) {+function B_(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var R_ = /* @__PURE__ */ new Set([+var V_ = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform"-]), $ee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function z_(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && $ee.test(e[t])) return !0;+]), tte = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function nte(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && tte.test(e[t])) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/waapi/utils/needs-mixer.mjs-var B_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), V_ = /* @__PURE__ */ new Set([+var H_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), U_ = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -17274,54 +17287,54 @@ var B_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some("borderRightColor","borderBottomColor","borderLeftColor"-]), H_ = () => !xm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");-function ete(e) {+]), W_ = () => !Em.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+function rte(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(R_.has(n) || V_.has(n))) return !1;+ if (!n || !(V_.has(n) || U_.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return H_() && (R_.has(n) || V_.has(n) && z_(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !B_(e);+ return W_() && (V_.has(n) || U_.has(n) && nte(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !H_(e);}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var U_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, tte = {+var G_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, ite = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, nte = f_.length, W_ = {}, G_ = (e, t, n = U_(t, Qg[e])) => (W_[e] || (W_[e] = (tte[e] || e) + "(")) + n + ")", K_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");-function rte(e, t, n) {+}, ate = h_.length, K_ = {}, q_ = (e, t, n = G_(t, t_[e])) => (K_[e] || (K_[e] = (ite[e] || e) + "(")) + n + ")", J_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");+function ote(e, t, n) {let r = "";- for (let i = 0; i < nte; i++) {- let a = f_[i], o = e[a];+ for (let i = 0; i < ate; i++) {+ let a = h_[i], o = e[a];if (o === void 0) continue;- let s = n && (t[a] = U_(o, $g[a]));- K_(a, o) || (r += G_(a, o, s || void 0) + " ");+ let s = n && (t[a] = G_(o, n_[a]));+ J_(a, o) || (r += q_(a, o, s || void 0) + " ");}let i = e.pathRotation;- return i && (r += G_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";+ return i && (r += q_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var q_ = /* @__PURE__ */ new WeakMap(), ite = 200, J_ = .001, ate = .1, ote = .001, ste = 100, cte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Y_ = (e, t) => Math.abs(e - t) <= J_, X_ = (e, t) => e - t, Z_ = (e, t, n) => Rg(Array(n + 1)).map((n) => ng(e, t, n)), Q_ = (e) => e.motionValue.owner, $_ = (e) => q_.get(e), ev = ({ state: e }) => e === "idle" || e === "finished", tv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), lte = ({ name: e, motionValue: t }) => e && f_.includes(e) && t?.owner?.current instanceof HTMLElement && H_() && k_();-function ute(e) {- let t = Q_(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (tv(t, "transform") || "none") === "none" && !tv(t, "pathRotation") && !t.projection?.isProjecting() && !B_(e);+var Y_ = /* @__PURE__ */ new WeakMap(), ste = 200, X_ = .001, cte = .1, lte = .001, ute = 100, dte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Z_ = (e, t) => Math.abs(e - t) <= X_, Q_ = (e, t) => e - t, $_ = (e, t, n) => Vg(Array(n + 1)).map((n) => og(e, t, n)), ev = (e) => e.motionValue.owner, tv = (e) => Y_.get(e), nv = ({ state: e }) => e === "idle" || e === "finished", rv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), fte = ({ name: e, motionValue: t }) => e && h_.includes(e) && t?.owner?.current instanceof HTMLElement && W_() && M_();+function pte(e) {+ let t = ev(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (rv(t, "transform") || "none") === "none" && !rv(t, "pathRotation") && !t.projection?.isProjecting() && !H_(e);}-var dte = class extends Jg {+var mte = class extends Zg {constructor(e) {- let t = Q_(e).current, { driver: n = gg } = e, r, i = ute(e);+ let t = ev(e).current, { driver: n = bg } = e, r, i = pte(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = $_(t);+ let n = tv(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = $_(t);+ let e = tv(t);e && !e.isFinishing && e.release(r);}};@@ -17332,7 +17345,7 @@ var dte = class extends Jg {};}get group() {- return $_(Q_(this.options).current);+ return tv(ev(this.options).current);}get js() {return this.driver?.js;@@ -17349,11 +17362,11 @@ var dte = class extends Jg {return e?.tracks.has(this) && !e.isJS && this.canAccelerate && (t === "running" || t === "paused");}liveValue() {- return this.isAccelerated() ? this.sampleAt(rh.now()) : void 0;+ return this.isAccelerated() ? this.sampleAt(ch.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Xm(n) ? A_(n) : cte(n) && j_[n];- if (o && !i && !r && e.length === 2 && t === zg && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ th(n) ? N_(n) : dte(n) && P_[n];+ if (o && !i && !r && e.length === 2 && t === Hg && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -17363,7 +17376,7 @@ var dte = class extends Jg {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || zg) === zg ? u || Rg(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Hg) === Hg ? u || Vg(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -17379,11 +17392,11 @@ var dte = class extends Jg {return parseFloat(this.sampleAt(e, !0));}sync() {- let e = rh.now();+ let e = ch.now();this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || fte(Q_(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || hte(ev(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -17391,10 +17404,10 @@ var dte = class extends Jg {complete() {super.complete();let { group: e } = this;- e && !e.isJS && this.canAccelerate && this.tick(rh.now());+ e && !e.isJS && this.canAccelerate && this.tick(ch.now());}get time() {- return this.isAccelerated() ? /* @__PURE__ */ jm(bm(0, this.totalDuration, this.at(rh.now()) - (this.options.delay || 0))) : super.time;+ return this.isAccelerated() ? /* @__PURE__ */ Im(Tm(0, this.totalDuration, this.at(ch.now()) - (this.options.delay || 0))) : super.time;}set time(e) {super.time = e, this.isAccelerated() && this.sync();@@ -17403,13 +17416,13 @@ var dte = class extends Jg {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function fte(e) {+function hte(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? f_ : a) {- let a = r.get(s), c = t === void 0 ? tv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? h_ : a) {+ let a = r.get(s), c = t === void 0 ? rv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;@@ -17417,7 +17430,7 @@ function fte(e) {let n = "";for (let r in e) {let i = e[r];- t && K_(r, i) || (n += G_(r, i) + " ");+ t && J_(r, i) || (n += q_(r, i) + " ");}return (t ? n.trim() : n) || "none";}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {@@ -17430,7 +17443,7 @@ function fte(e) {offset: t,end: n};- e.startTime = rh.now() + t, n < Infinity && (e.onfinish = () => {+ e.startTime = ch.now() + t, n < Infinity && (e.onfinish = () => {r.isDone = !0, s.some((e) => e.end === Infinity) && (e.cancel(), s = s.filter((e) => e !== r)), A.schedule(!1);}), e.oncancel = () => s.includes(r) && A.demote(), s.push(r);}, x = (e, t, n) => {@@ -17441,32 +17454,32 @@ function fte(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, S = (e, t, n, r) => {- let i = Math.min(ite, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(ste, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Z_(t, n, i).concat(r).sort(X_), o = (e) => /* @__PURE__ */ Om(t, n, e), s, c;+ let a = $_(t, n, i).concat(r).sort(Q_), o = (e) => /* @__PURE__ */ Nm(t, n, e), s, c;for (let n of e) {- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * J_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * X_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;- else if (l.some((e, t) => !Y_(e, o && s[t]))) return;+ else if (l.some((e, t) => !Z_(e, o && s[t]))) return;}- if (!s || s.every((e, t) => Y_(e, o(a[t])))) return "linear";- let l = [], u = (e, t = c(e)) => l.push(qg(t) + " " + qg(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Z_(e, o(a[t])))) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(Xg(t) + " " + Xg(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, C = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? ote : ate))), o = (t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? lte : cte))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Z_(t, n, Math.ceil((n - t) / 100));+ }, s = $_(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(X_)) e > c && o(c, e, 0), c = e;- return i.sort(X_);+ for (let e of s.sort(Q_)) e > c && o(c, e, 0), c = e;+ return i.sort(Q_);}, w = (e) => {let t;for (let n of e) {@@ -17477,7 +17490,7 @@ function fte(e) {return t;}, T = (e, t, n, r, i = { fill: "both" }, a) => {let o = e.flatMap((e) => e.boundaries(t, n)), s = r || S(e, t, n, o), c = s ? [t, n] : C(e, t, n, o), l = c.map((e) => g(e, a)), u = { transform: l };- return s || (u.offset = c.map((e) => /* @__PURE__ */ Om(t, n, e))), l.every((e) => e === l[0]) && (_(m(t, a)), u = null), y(u, {+ return s || (u.offset = c.map((e) => /* @__PURE__ */ Nm(t, n, e))), l.every((e) => e === l[0]) && (_(m(t, a)), u = null), y(u, {...i,duration: n - t,easing: s || "linear"@@ -17505,10 +17518,10 @@ function fte(e) {d.push(e), c = Math.max(c, n);}}- i = {}, a = f_.filter((t) => {+ i = {}, a = h_.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = tv(e, t);- return n !== void 0 && !K_(t, n);+ let n = i[t] = rv(e, t);+ return n !== void 0 && !J_(t, n);}), v(!1);let m = !l && w(d);try {@@ -17554,18 +17567,18 @@ function fte(e) {r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);}return !0;- }, O = () => !n.size && (u = !0, $_(t) === A && q_.delete(t), A.isJS || v(), !0), k = () => {- let t = rh.now();+ }, O = () => !n.size && (u = !0, tv(t) === A && Y_.delete(t), A.isJS || v(), !0), k = () => {+ let t = ch.now();if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {let [r, a] = n.timing();- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = tv(e, n.name), o.has(n) || (c = !0));- }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => ev(e) && n.delete(e)), O())) return;+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = rv(e, n.name), o.has(n) || (c = !0));+ }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => nv(e) && n.delete(e)), O())) return;for (let e of n) if (!e.canAccelerate) return A.demote(!0);A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));let r = c, a = d;if (c = d = !1, r || !D(t)) {if (a) {- if (t - f < ste) return A.demote();+ if (t - f < ute) return A.demote();f = t;}if (!E(t)) return A.demote();@@ -17575,14 +17588,14 @@ function fte(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- u || (c ||= e, d ||= !!t, l || (l = !0, eh.isProcessing ? pg.render(k, !1, !0) : queueMicrotask(k)));+ u || (c ||= e, d ||= !!t, l || (l = !0, ah.isProcessing ? _g.render(k, !1, !0) : queueMicrotask(k)));},release(e) {- ev(e) && n.delete(e), O() || A.schedule(!0);+ nv(e) && n.delete(e), O() || A.schedule(!0);},check() {if (!A.isJS) {- for (let t in i) if (tv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);+ for (let t in i) if (rv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);}},demote(e) {@@ -17591,40 +17604,40 @@ function fte(e) {}), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;}};- return q_.set(t, A), A;+ return Y_.set(t, A), A;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var pte = class extends Kg {+var gte = class extends Yg {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();- }, this.createdAt = rh.now();+ }, this.createdAt = ch.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || T_;+ let o = i?.KeyframeResolver || O_;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {this.keyframeResolver = void 0;let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;- this.resolvedAt = rh.now();- let u = Qee(e, i, a, o);- u || ((xm.instantAnimations || !s) && l?.(Vg(e, n, t)), e[0] = e[e.length - 1], L_(n), n.repeat = 0);+ this.resolvedAt = ch.now();+ let u = ete(e, i, a, o);+ u || ((Em.instantAnimations || !s) && l?.(Wg(e, n, t)), e[0] = e[e.length - 1], B_(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && ete(n), p = !f && lte(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Ug(this.createdAt, this.resolvedAt));+ let f = u && !c && rte(n), p = !f && fte(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Kg(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new Xee(n);+ m = new Qee(n);} catch {- m = new Jg(n);+ m = new Zg(n);}- } else m = p ? new dte(n) : new Jg(n);+ } else m = p ? new mte(n) : new Zg(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -17637,7 +17650,7 @@ var pte = class extends Kg {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), Hee()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), Wee()), this._animation;}get duration() {return this.animation.duration;@@ -17678,7 +17691,7 @@ var pte = class extends Kg {cancel() {this._animation?.cancel(), this.keyframeResolver?.cancel();}-}, mte = class {+}, _te = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -17718,10 +17731,10 @@ var pte = class extends Kg {return this.getAll("startTime");}get duration() {- return nv(this.animations, "duration");+ return iv(this.animations, "duration");}get iterationDuration() {- return nv(this.animations, "iterationDuration");+ return iv(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -17739,7 +17752,7 @@ var pte = class extends Kg {this.runAll("complete");}};-function nv(e, t) {+function iv(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -17748,30 +17761,30 @@ function nv(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var rv = class extends mte {+var av = class extends _te {then(e, t) {return this.finished.finally(e).then(() => {});}-}, iv = /* @__PURE__ */ new WeakMap(), hte = (e, t = "") => `${e}:${t}`;-function gte(e) {- let t = iv.get(e);- return t || (t = /* @__PURE__ */ new Map(), iv.set(e, t)), t;+}, ov = /* @__PURE__ */ new WeakMap(), vte = (e, t = "") => `${e}:${t}`;+function yte(e) {+ let t = ov.get(e);+ return t || (t = /* @__PURE__ */ new Map(), ov.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function av(e, t, n, r = 0, i = 1) {+function sv(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}// node_modules/motion-dom/dist/es/value/index.mjs-var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv = class {+var cv = 30, bte = (e) => !isNaN(parseFloat(e)), lv = { current: void 0 }, uv = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {- let t = rh.now();+ let t = ch.now();if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.dirty(), this.dependents)) for (let e of this.dependents) e.dirty();}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = rh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = _te(this.current));+ this.current = e, this.updatedAt = ch.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = bte(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -17781,16 +17794,16 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =}on(e, t) {var n;- return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new km())).add(t);+ return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Pm())).add(t);}onChangeSubscribe(e) {let { events: t } = this;- return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new km(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {+ return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Pm(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {this.changeSubscriber === e ? this.changeSubscriber = void 0 : t.change?.remove(e), this.stopIfUnobserved();};}stopIfUnobserved() {- pg.read(() => {+ _g.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -17808,7 +17821,7 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =this.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;}jump(e, t = !0) {- t && (this.updatedAt = rh.now(), this.stop()), this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, this.stopPassiveEffect?.();+ t && (this.updatedAt = ch.now(), this.stop()), this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, this.stopPassiveEffect?.();}dirty() {let { current: e, changeSubscriber: t } = this;@@ -17821,7 +17834,7 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =this.dependents?.delete(e);}get() {- sv.current?.push(this);+ lv.current?.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -17832,10 +17845,10 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =return this.prev;}getVelocity() {- let e = rh.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ov) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, ov);- return /* @__PURE__ */ Mm(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);+ let e = ch.now();+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > cv) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, cv);+ return /* @__PURE__ */ Lm(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {return this.stop(), new Promise((t) => {@@ -17856,11 +17869,11 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();}};-function lv(e, t) {- return new cv(e, t);+function dv(e, t) {+ return new uv(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function uv(e, t) {+function fv(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -17871,25 +17884,25 @@ function uv(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function dv(e, t) {+function pv(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : uv(n, e);+ return n === e ? n : fv(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var vte = {+var xte = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, yte = (e) => ({+}, Ste = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), bte = {+}), Cte = {type: "keyframes",duration: .8-}, xte = {+}, wte = {type: "keyframes",ease: [.25,@@ -17898,7 +17911,7 @@ var vte = {1],duration: .3-}, Ste = (e, { keyframes: t }) => t.length > 2 ? bte : p_.has(e) ? e.startsWith("scale") ? yte(t[1]) : vte : xte, Cte = /* @__PURE__ */ new Set([+}, Tte = (e, { keyframes: t }) => t.length > 2 ? Cte : g_.has(e) ? e.startsWith("scale") ? Ste(t[1]) : xte : wte, Ete = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -17912,14 +17925,14 @@ var vte = {"out","mixer"]);-function wte(e) {- for (let t in e) if (!Cte.has(t)) return !0;+function Dte(e) {+ for (let t in e) if (!Ete.has(t)) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var fv = (e, t, n, r = {}, i, a) => (o) => {- let s = dv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;- l -= /* @__PURE__ */ Am(c);+var mv = (e, t, n, r = {}, i, a) => (o) => {+ let s = pv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+ l -= /* @__PURE__ */ Fm(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],ease: "easeOut",@@ -17937,195 +17950,195 @@ var fv = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- wte(s) || Object.assign(u, Ste(e, u)), u.duration &&= /* @__PURE__ */ Am(u.duration), u.repeatDelay &&= /* @__PURE__ */ Am(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ Dte(s) || Object.assign(u, Tte(e, u)), u.duration &&= /* @__PURE__ */ Fm(u.duration), u.repeatDelay &&= /* @__PURE__ */ Fm(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (L_(u), u.delay === 0 && (d = !0)), (xm.instantAnimations || xm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, L_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = Vg(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (B_(u), u.delay === 0 && (d = !0)), (Em.instantAnimations || Em.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, B_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = Wg(u.keyframes, s);if (e !== void 0) {- pg.update(() => {+ _g.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new Jg(u) : new pte(u);-}, Tte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function Ete(e) {- let t = Tte.exec(e);+ return s.isSync ? new Zg(u) : new gte(u);+}, Ote = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function kte(e) {+ let t = Ote.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function pv(e, t, n = 1) {- let [r, i] = Ete(e);+function hv(e, t, n = 1) {+ let [r, i] = kte(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();- return Sm(e) ? parseFloat(e) : e;+ return Dm(e) ? parseFloat(e) : e;}- return ch(i) ? pv(i, t, n + 1) : i;+ return ph(i) ? hv(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function Dte(e) {+function Ate(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function mv(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Dte(r)) : t;+function gv(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ate(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function hv(e, t, n) {- return mv(e.getProps(), t, n, e);+function _v(e, t, n) {+ return gv(e.getProps(), t, n, e);}-var gv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, _v = /* @__PURE__ */ new Set([+var vv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, yv = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...f_-]), Ote = (e) => Array.isArray(e);+ ...h_+]), jte = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjs-function kte(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, lv(n));+function bv(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, dv(n));}-function Ate(e) {- return Ote(e) ? e[e.length - 1] || 0 : e;+function Mte(e) {+ return jte(e) ? e[e.length - 1] || 0 : e;}-function jte(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = hv(e, t) || {};+function Nte(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = _v(e, t) || {};i = {...i,...n};- for (let t in i) kte(e, t, Ate(i[t]));+ for (let t in i) bv(e, t, Mte(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var vv = (e) => !!(e && e.getVelocity);+var xv = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjs-function Mte(e) {- return !!(vv(e) && e.add);+function Pte(e) {+ return !!(xv(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function yv(e, t) {+function Sv(e, t) {let n = e.getValue("willChange");- if (Mte(n)) return n.add(t);- if (!n && xm.WillChange) {- let n = new xm.WillChange("auto");+ if (Pte(n)) return n.add(t);+ if (!n && Em.WillChange) {+ let n = new Em.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var bv = "data-framer-appear-id";+var Cv = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function xv(e) {- return e.props[bv];+function wv(e) {+ return e.props[Cv];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Nte = typeof window < "u";-function Pte({ protectedKeys: e, needsAnimating: t }, n) {+var Fte = typeof window < "u";+function Ite({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Sv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function Tv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? uv(a, c) : c;+ a = a ? fv(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && Pte(f, t)) continue;+ if (i === void 0 || f && Ite(f, t)) continue;let o = {delay: n,- ...dv(f?.out[t] || a || {}, t)+ ...pv(f?.out[t] || a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- pg.update(() => r.set(i));+ _g.update(() => r.set(i));continue;}let p = !1;- if (Nte && window.MotionHandoffAnimation) {- let n = xv(e);+ if (Fte && window.MotionHandoffAnimation) {+ let n = wv(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, pg);+ let e = window.MotionHandoffAnimation(n, t, _g);e !== null && (o.startTime = e, p = !0);}}- yv(e, t);+ Sv(e, t);let m = l ?? e.shouldReduceMotion;- r.start(fv(t, r, i, m && _v.has(t) ? { type: !1 } : o, e, p));+ r.start(mv(t, r, i, m && yv.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => pg.update(() => {- o && jte(e, o);+ let t = () => _g.update(() => {+ o && Nte(e, o);});d.length ? Promise.all(d).then(t) : t();}return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function Cv(e, t, n = {}) {- let r = hv(e, t, gv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Sv(e, r, n) : []), o = (r = 0) => {+function Ev(e, t, n = {}) {+ let r = _v(e, t, vv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Tv(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(Cv(e, t, {+ e.notify("AnimationStart", t), l.push(Ev(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + av(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + sv(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function Fte(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Cv(e, t, n))) : typeof t == "string" ? Cv(e, t, n) : Promise.all(Sv(e, hv(e, t, n.custom), n))).then(() => {+function Lte(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Ev(e, t, n))) : typeof t == "string" ? Ev(e, t, n) : Promise.all(Tv(e, _v(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}// node_modules/motion-dom/dist/es/value/types/auto.mjs-var Ite = {+var Rte = {test: (e) => e === "auto",parse: (e) => e-}, Lte = (e) => (t) => t.test(e), Rte = [- dh,- Oh,- Dh,- Eh,- Ah,- kh,- Ite-], wv = (e) => Rte.find(Lte(e));+}, zte = (e) => (t) => t.test(e), Bte = [+ gh,+ Nh,+ Mh,+ jh,+ Fh,+ Ph,+ Rte+], Dv = (e) => Bte.find(zte(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function zte(e) {- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || wm(e);+function Vte(e) {+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || km(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var Bte = /* @__PURE__ */ new Set([+var Hte = /* @__PURE__ */ new Set(["auto","none","0"]);-function Vte(e, t, n) {+function Ute(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !Bte.has(t) && Wh(t) && (i = e[r]), r++;+ typeof t == "string" && !Hte.has(t) && Yh(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = t_(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = i_(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var Tv = class extends T_ {+var Ov = class extends O_ {constructor() {super(...arguments), this.isAsync = !0;}@@ -18136,7 +18149,7 @@ var Tv = class extends T_ {canReadNow() {let { unresolvedKeyframes: e, element: t, motionValue: n } = this, r = e[0] ?? n?.get();if (!t?.current || r === void 0) return !1;- for (let t = 0; t < e.length; t++) if (uh(t ? e[t] : r)) return !1;+ for (let t = 0; t < e.length; t++) if (hh(t ? e[t] : r)) return !1;return !0;}readKeyframes() {@@ -18145,32 +18158,32 @@ var Tv = class extends T_ {super.readKeyframes();for (let n = 0; n < e.length; n++) {let r = e[n];- if (typeof r == "string" && (r = r.trim(), ch(r))) {- let i = pv(r, t.current);+ if (typeof r == "string" && (r = r.trim(), ph(r))) {+ let i = hv(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !_v.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !yv.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = wv(r), o = wv(i);- if (uh(r) !== uh(i) && v_[n]) this.needsMeasurement = !0;+ let a = Dv(r), o = Dv(i);+ if (hh(r) !== hh(i) && x_[n]) this.needsMeasurement = !0;else if (a !== o) {- if (m_(a) && m_(o)) for (let t = 0; t < e.length; t++) {+ if (__(a) && __(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else v_[n] && (this.needsMeasurement = !0);+ else x_[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || zte(e[t])) && n.push(t);- n.length && Vte(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || Vte(e[t])) && n.push(t);+ n.length && Ute(e, n, t);}measure() {let { element: e, name: t } = this;- return v_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return x_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -18186,19 +18199,19 @@ var Tv = class extends T_ {let n = t.length - 1, r = t[n];t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();}-}, Ev = [+}, kv = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], Hte = /* @__PURE__ */ new Set([+], Wte = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...Ev,+ ...kv,"width","maxWidth","height",@@ -18241,21 +18254,21 @@ var Tv = class extends T_ {"backgroundPositionY"]);// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Ute(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Hte.has(t) && (e[n] = e[n] + "px");+function Gte(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Wte.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var Dv = [];-function Wte(e) {- Ov(e), Dv.unshift(e);+var Av = [];+function Kte(e) {+ jv(e), Av.unshift(e);}-function Ov(e) {- ym(Dv, e);+function jv(e) {+ wm(Av, e);}-function Gte(e) {- return Dv.find((t) => t.test(e));+function qte(e) {+ return Av.find((t) => t.test(e));}-function kv(e, t, n = {}, r) {+function Mv(e, t, n = {}, r) {let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));for (let o in t) {@@ -18263,62 +18276,62 @@ function kv(e, t, n = {}, r) {let c = t[o];if (c === void 0) continue;let l = e(o), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(fv(o, l, c, s && _v.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? _g.update(() => l.set(c)) : (l.start(mv(o, l, c, s && yv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {- let t = () => pg.update(() => {+ let t = () => _g.update(() => {for (let t in c) e(t).set(c[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function Av(e, t, n, r, i) {- return kv((r) => {+function Nv(e, t, n, r, i) {+ return Mv((r) => {let a = e.get(t, r);if (!a) {let o;if (!i) {let i = n[r];- o = Kte(i) ?? e.read(t, r, i);+ o = Jte(i) ?? e.read(t, r, i);}- a = lv(o, { owner: i }), e(t, { [r]: a });+ a = dv(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function Kte(e) {+function Jte(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function jv(e) {- return Cm(e) && "offsetHeight" in e && !("ownerSVGElement" in e);+function Pv(e) {+ return Om(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function Mv(e) {- return Cm(e) && "ownerSVGElement" in e;+function Fv(e) {+ return Om(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjs-var Nv = {};-function Pv(e) {- return Nv.current?.add(e), e;+var Iv = {};+function Lv(e) {+ return Iv.current?.add(e), e;}-var Fv = (e) => Nv.current ? Nv.current.bind(e) : e;+var Rv = (e) => Iv.current ? Iv.current.bind(e) : e;// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Iv(e, t, n) {+function zv(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : Nv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : Iv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);return i ? Array.from(i) : [];}return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var qte = class {- constructor(e = pg.render) {+var Yte = class {+ constructor(e = _g.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;this.numPending = 0;@@ -18361,10 +18374,10 @@ var qte = class {}};// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function Lv(e, { step: t, ...n } = {}) {+function Bv(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new qte(t);+ let a = r.get(n) ?? new Yte(t);r.set(n, a);let o = [];for (let t in i) {@@ -18381,83 +18394,83 @@ function Lv(e, { step: t, ...n } = {}) {});}// node_modules/motion-dom/dist/es/effects/style/transform.mjs-function Jte(e) {+function Xte(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (K_(i, a) || (t += (t && " ") + G_(i, a)));+ a !== void 0 && (J_(i, a) || (t += (t && " ") + q_(i, a)));}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + G_("rotate", i)), t || "none";+ return i && (t += (t && " ") + q_("rotate", i)), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjs-var Rv = /* @__PURE__ */ new Set([+var Vv = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), zv = (e, t) => U_(e.get(t)?.get(), $g[t]), Bv = (e, t, n, r) => {+]), Hv = (e, t) => G_(e.get(t)?.get(), n_[t]), Uv = (e, t, n, r) => {let i, a;- if (p_.has(n)) {+ if (g_.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => f_.indexOf(e) - f_.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => h_.indexOf(e) - h_.indexOf(t)));}- t.get("transform") || (!jv(e) && !t.get("transformBox") && Bv(e, t, "transformBox", new cv("fill-box")), t.set("transform", new cv("none"), () => {- q_.get(e)?.check(), e.style.transform = Jte(t);+ t.get("transform") || (!Pv(e) && !t.get("transformBox") && Uv(e, t, "transformBox", new uv("fill-box")), t.set("transform", new uv("none"), () => {+ Y_.get(e)?.check(), e.style.transform = Xte(t);})), a = t.get("transform");- } else Rv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new cv(""), () => {- let n = zv(t, "originX") ?? "50%", r = zv(t, "originY") ?? "50%", i = zv(t, "originZ") ?? 0;+ } else Vv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new uv(""), () => {+ let n = Hv(t, "originX") ?? "50%", r = Hv(t, "originY") ?? "50%", i = Hv(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = E_(n) ? () => {+ }), a = t.get("transformOrigin")) : i = k_(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = U_(r.getCurrent(), $g[n]);+ e.style[n] = G_(r.getCurrent(), n_[n]);};return t.set(n, r, i, a);-}, Yte = (e) => jv(e) || Mv(e), Vv = (e, t) => {- if (p_.has(t)) return d_(e, t);- let n = getComputedStyle(e), r = E_(t) ? n.getPropertyValue(t) : n[t];+}, Zte = (e) => Pv(e) || Fv(e), Wv = (e, t) => {+ if (g_.has(t)) return m_(e, t);+ let n = getComputedStyle(e), r = k_(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, Xte = /*@__PURE__*/ Lv(Bv, {- test: Yte,- read: Vv+}, Qte = /*@__PURE__*/ Bv(Uv, {+ test: Zte,+ read: Wv});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function Hv(e) {+function Gv(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function Uv(e, t, n) {+function Kv(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (p_.has(e)) o = !0;- else if (oh(e)) i[e] = n;+ if (g_.has(e)) o = !0;+ else if (dh(e)) i[e] = n;else {- let t = U_(n, $g[e]);+ let t = G_(n, n_[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = rte(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = ote(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}}// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs-var Zte = {+var $te = {offset: "stroke-dashoffset",array: "stroke-dasharray"-}, Qte = {+}, ene = {offset: "strokeDashoffset",array: "strokeDasharray"};-function $te(e, t, n = 1, r = 0, i = !0) {+function tne(e, t, n = 1, r = 0, i = !0) {e.pathLength = 1;- let a = i ? Zte : Qte;+ let a = i ? $te : ene;e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;}// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var Wv = [+var qv = ["transform","opacity","clipPath",@@ -18467,55 +18480,55 @@ var Wv = ["offsetRotate","offsetAnchor"];-function Gv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (Uv(e, s, l), c) {+function Jv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (Kv(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;- for (let e of Wv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && $te(d, i, a, o, !1);+ for (let e of qv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && tne(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs-function ene(e, t) {+function nne(e, t) {if (!(t in e)) return !1;let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var Kv = (e, t, n, r, i = n) => {- let a = ene(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Hv(i));- let o = $g[n] || $g[i], s = a ? () => {- e[i] = U_(r.get(), $g[n]);+var Yv = (e, t, n, r, i = n) => {+ let a = nne(e, i);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Gv(i));+ let o = n_[n] || n_[i], s = a ? () => {+ e[i] = G_(r.get(), n_[n]);} : () => {- let t = U_(r.get(), o);+ let t = G_(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);};// node_modules/motion-dom/dist/es/effects/svg/index.mjs-function tne(e, t, n, r) {- return pg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+function rne(e, t, n, r) {+ return _g.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new cv("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new uv("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var nne = /*@__PURE__*/ Lv((e, t, n, r) => n.startsWith("path") && !p_.has(n) ? tne(e, t, n, r) : n.startsWith("attr") ? Kv(e, t, n, r, qv(n)) : n === "d" ? t.set(n, r, () => {+var ine = /*@__PURE__*/ Bv((e, t, n, r) => n.startsWith("path") && !g_.has(n) ? rne(e, t, n, r) : n.startsWith("attr") ? Yv(e, t, n, r, Xv(n)) : n === "d" ? t.set(n, r, () => {let t = r.get()?.replace(/path\(|["')]/g, "");t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);-}) : (p_.has(n) || Rv.has(n) || E_(n) || n in e.style ? Bv : Kv)(e, t, n, r), {- test: Mv,- read: (e, t) => p_.has(t) ? $g[t]?.default || 0 : E_(t) || Wv.includes(t) ? Vv(e, t) || e.getAttribute(Hv(t)) || 0 : (t = qv(t), e.getAttribute(Hv(t)) ?? e.getAttribute(t) ?? void 0)+}) : (g_.has(n) || Vv.has(n) || k_(n) || n in e.style ? Uv : Yv)(e, t, n, r), {+ test: Fv,+ read: (e, t) => g_.has(t) ? n_[t]?.default || 0 : k_(t) || qv.includes(t) ? Wv(e, t) || e.getAttribute(Gv(t)) || 0 : (t = Xv(t), e.getAttribute(Gv(t)) ?? e.getAttribute(t) ?? void 0)});-function qv(e) {+function Xv(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function Jv({ top: e, left: t, right: n, bottom: r }) {+function Zv({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -18527,7 +18540,7 @@ function Jv({ top: e, left: t, right: n, bottom: r }) {}};}-function rne({ x: e, y: t }) {+function ane({ x: e, y: t }) {return {top: t.min,right: e.max,@@ -18535,7 +18548,7 @@ function rne({ x: e, y: t }) {left: e.min};}-function ine(e, t) {+function one(e, t) {if (!t) return e;let n = t({x: e.left,@@ -18552,13 +18565,13 @@ function ine(e, t) {};}// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function Yv(e) {+function Qv(e) {return e === void 0 || e === 1;}-function Xv({ scale: e, scaleX: t, scaleY: n }) {- return !Yv(e) || !Yv(t) || !Yv(n);+function $v({ scale: e, scaleX: t, scaleY: n }) {+ return !Qv(e) || !Qv(t) || !Qv(n);}-var Zv = [+var ey = ["rotate","rotateX","rotateY",@@ -18566,67 +18579,67 @@ var Zv = ["skewX","skewY"];-function Qv(e) {- return Xv(e) || ey(e) || $v(e);+function ty(e) {+ return $v(e) || ry(e) || ny(e);}-function $v(e) {+function ny(e) {return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;}-function ey(e) {- return ty(e.x) || ty(e.y);+function ry(e) {+ return iy(e.x) || iy(e.y);}-function ty(e) {+function iy(e) {return e && e !== "0%";}// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function ny(e, t, n) {+function ay(e, t, n) {return n + t * (e - n);}-function ry(e, t, n, r, i) {- return i !== void 0 && (e = ny(e, i, r)), ny(e, n, r) + t;+function oy(e, t, n, r, i) {+ return i !== void 0 && (e = ay(e, i, r)), ay(e, n, r) + t;}-function iy(e, t = 0, n = 1, r, i) {- e.min = ry(e.min, t, n, r, i), e.max = ry(e.max, t, n, r, i);+function sy(e, t = 0, n = 1, r, i) {+ e.min = oy(e.min, t, n, r, i), e.max = oy(e.max, t, n, r, i);}-function ay(e, { x: t, y: n }) {- iy(e.x, t.translate, t.scale, t.originPoint), iy(e.y, n.translate, n.scale, n.originPoint);+function cy(e, { x: t, y: n }) {+ sy(e.x, t.translate, t.scale, t.originPoint), sy(e.y, n.translate, n.scale, n.originPoint);}-var oy = .999999999999, sy = 1.0000000000001;-function ane(e, t, n, r = !1) {+var ly = .999999999999, uy = 1.0000000000001;+function sne(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;let a, o;- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (cy(e.x, -a.scroll.offset.x), cy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ay(e, o)), r && (r.path?.[s] || r) !== a && Qv(a.latestValues) && dy(e, a.latestValues, a.layout?.layoutBox));- t.x < sy && t.x > oy && (t.x = 1), t.y < sy && t.y > oy && (t.y = 1);+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (dy(e.x, -a.scroll.offset.x), dy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, cy(e, o)), r && (r.path?.[s] || r) !== a && ty(a.latestValues) && my(e, a.latestValues, a.layout?.layoutBox));+ t.x < uy && t.x > ly && (t.x = 1), t.y < uy && t.y > ly && (t.y = 1);}-function cy(e, t) {+function dy(e, t) {e.min += t, e.max += t;}-function ly(e, t, n, r, i = .5) {- iy(e, t, n, ng(e.min, e.max, i), r);+function fy(e, t, n, r, i = .5) {+ sy(e, t, n, og(e.min, e.max, i), r);}-function uy(e, t) {+function py(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function dy(e, t, n) {+function my(e, t, n) {let r = n ?? e;- ly(e.x, uy(t.x, r.x), t.scaleX, t.scale, t.originX), ly(e.y, uy(t.y, r.y), t.scaleY, t.scale, t.originY);+ fy(e.x, py(t.x, r.x), t.scaleX, t.scale, t.originX), fy(e.y, py(t.y, r.y), t.scaleY, t.scale, t.originY);}// node_modules/motion-dom/dist/es/projection/utils/measure.mjs-function fy(e, t) {- return Jv(ine(e.getBoundingClientRect(), t));+function hy(e, t) {+ return Zv(one(e.getBoundingClientRect(), t));}-function one(e, t, n) {- let r = fy(e, n), { scroll: i } = t;- return i && (cy(r.x, i.offset.x), cy(r.y, i.offset.y)), r;+function cne(e, t, n) {+ let r = hy(e, n), { scroll: i } = t;+ return i && (dy(r.x, i.offset.x), dy(r.y, i.offset.y)), r;}-var sne = () => ({+var lne = () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0-}), cne = {}, lne = (e) => Mv(e) ? nne : Xte, une = class {+}), une = {}, dne = (e) => Fv(e) ? ine : Qte, fne = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = Tv;+ this.effect = e, this.current = t, this.KeyframeResolver = Ov;}getValue(e) {return this.effect.get(this.current, e);@@ -18638,207 +18651,207 @@ var sne = () => ({this.effect.flush(this.current);}measureViewportBox() {- return fy(this.current);+ return hy(this.current);}getProps() {- return cne;+ return une;}};-function dne(e, t, n, r) {- if (Nv.current?.track(e), r) return kv((e) => r.getValue(e, null), t, n, r);- let i = lne(e);- return Av(i, e, t, n, new une(i, e));+function pne(e, t, n, r) {+ if (Iv.current?.track(e), r) return Mv((e) => r.getValue(e, null), t, n, r);+ let i = dne(e);+ return Nv(i, e, t, n, new fne(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var fne = /*@__PURE__*/ Lv((e, t, n, r) => t.set(n, r, () => {+var mne = /*@__PURE__*/ Bv((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {- test: (e) => Cm(e),+ test: (e) => Om(e),read: (e, t) => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: py, cancel: pne } = /* @__PURE__ */ fg(queueMicrotask, !1);+}), { schedule: gy, cancel: hne } = /* @__PURE__ */ gg(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function my(e, t, n) {- let r = vv(e) ? e : lv(e);- return r.start(fv("", r, t, n)), r.animation;+function _y(e, t, n) {+ let r = xv(e) ? e : dv(e);+ return r.start(mv("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var hy = {}, gy = {+var vy = {}, yy = {value: null,addProjectionMetrics: null,countProjection: void 0};// node_modules/motion-dom/dist/es/utils/delay.mjs-function mne(e, t) {- let n = rh.now();- e = Fv(e);+function gne(e, t) {+ let n = ch.now();+ e = Rv(e);let r = ({ timestamp: i }) => {let a = i - n;- a >= t && (mg(r), e(a - t));+ a >= t && (vg(r), e(a - t));};- return pg.setup(r, !0), Pv(() => mg(r));+ return _g.setup(r, !0), Lv(() => vg(r));}// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs-function hne(e) {+function _ne(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function gne(e) {- return Mv(e) && e.tagName === "svg";+function vne(e) {+ return Fv(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function _y(e) {- return vv(e) ? e.get() : e;+function by(e) {+ return xv(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var vy = (e) => typeof e == "number" ? e : parseFloat(e), _ne = Ev.length, yy = (e) => typeof e == "number" || Oh.test(e);-function vne(e, t, n, r, i, a) {- i ? (e.opacity = ng(0, n.opacity ?? 1, yne(r)), e.opacityExit = ng(t.opacity ?? 1, 0, bne(r))) : a && (e.opacity = ng(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < _ne; i++) {- let a = Ev[i], o = by(t, a), s = by(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || yy(o) === yy(s) ? (e[a] = Math.max(ng(vy(o), vy(s), r), 0), (Dh.test(s) || Dh.test(o)) && (e[a] += "%")) : e[a] = s);+var xy = (e) => typeof e == "number" ? e : parseFloat(e), yne = kv.length, Sy = (e) => typeof e == "number" || Nh.test(e);+function bne(e, t, n, r, i, a) {+ i ? (e.opacity = og(0, n.opacity ?? 1, xne(r)), e.opacityExit = og(t.opacity ?? 1, 0, Sne(r))) : a && (e.opacity = og(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < yne; i++) {+ let a = kv[i], o = Cy(t, a), s = Cy(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Sy(o) === Sy(s) ? (e[a] = Math.max(og(xy(o), xy(s), r), 0), (Mh.test(s) || Mh.test(o)) && (e[a] += "%")) : e[a] = s);}- for (let i = 0; i < Zv.length; i++) {- let a = Zv[i];- (t[a] || n[a]) && (e[a] = ng(t[a] || 0, n[a] || 0, r));+ for (let i = 0; i < ey.length; i++) {+ let a = ey[i];+ (t[a] || n[a]) && (e[a] = og(t[a] || 0, n[a] || 0, r));}}-function by(e, t) {+function Cy(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var yne = /*@__PURE__*/ xy(0, .5, Um), bne = /*@__PURE__*/ xy(.5, .95, Em);-function xy(e, t, n) {- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Om(e, t, r));+var xne = /*@__PURE__*/ wy(0, .5, Jm), Sne = /*@__PURE__*/ wy(.5, .95, jm);+function wy(e, t, n) {+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Nm(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function Sy(e, t) {+function Ty(e, t) {e.min = t.min, e.max = t.max;}-function Cy(e, t) {- Sy(e.x, t.x), Sy(e.y, t.y);+function Ey(e, t) {+ Ty(e.x, t.x), Ty(e.y, t.y);}-function wy(e, t) {+function Dy(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var xne = .9999, Sne = 1.0001, Cne = -.01, wne = .01;-function Ty(e) {+var Cne = .9999, wne = 1.0001, Tne = -.01, Ene = .01;+function Oy(e) {return e.max - e.min;}-function Tne(e, t, n) {+function Dne(e, t, n) {return Math.abs(e - t) <= n;}-function Ey(e, t, n, r = .5) {- e.origin = r, e.originPoint = ng(t.min, t.max, e.origin), e.scale = Ty(n) / Ty(t), e.translate = ng(n.min, n.max, e.origin) - e.originPoint, (e.scale >= xne && e.scale <= Sne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Cne && e.translate <= wne || isNaN(e.translate)) && (e.translate = 0);+function ky(e, t, n, r = .5) {+ e.origin = r, e.originPoint = og(t.min, t.max, e.origin), e.scale = Oy(n) / Oy(t), e.translate = og(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Cne && e.scale <= wne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Tne && e.translate <= Ene || isNaN(e.translate)) && (e.translate = 0);}-function Dy(e, t, n, r) {- Ey(e.x, t.x, n.x, r?.originX), Ey(e.y, t.y, n.y, r?.originY);+function Ay(e, t, n, r) {+ ky(e.x, t.x, n.x, r?.originX), ky(e.y, t.y, n.y, r?.originY);}-function Oy(e, t, n, r = 0) {- e.min = (r ? ng(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Ty(t);+function jy(e, t, n, r = 0) {+ e.min = (r ? og(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Oy(t);}-function Ene(e, t, n, r) {- Oy(e.x, t.x, n.x, r?.x), Oy(e.y, t.y, n.y, r?.y);+function One(e, t, n, r) {+ jy(e.x, t.x, n.x, r?.x), jy(e.y, t.y, n.y, r?.y);}-function ky(e, t, n, r = 0) {- let i = r ? ng(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + Ty(t);+function My(e, t, n, r = 0) {+ let i = r ? og(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + Oy(t);}-function Ay(e, t, n, r) {- ky(e.x, t.x, n.x, r?.x), ky(e.y, t.y, n.y, r?.y);+function Ny(e, t, n, r) {+ My(e.x, t.x, n.x, r?.x), My(e.y, t.y, n.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function jy(e, t, n, r, i) {- return e -= t, e = ny(e, 1 / n, r), i !== void 0 && (e = ny(e, 1 / i, r)), e;+function Py(e, t, n, r, i) {+ return e -= t, e = ay(e, 1 / n, r), i !== void 0 && (e = ay(e, 1 / i, r)), e;}-function Dne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (Dh.test(t) && (t = parseFloat(t), t = ng(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = ng(a.min, a.max, r);- e === a && (s -= t), e.min = jy(e.min, t, n, s, i), e.max = jy(e.max, t, n, s, i);+function kne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (Mh.test(t) && (t = parseFloat(t), t = og(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = og(a.min, a.max, r);+ e === a && (s -= t), e.min = Py(e.min, t, n, s, i), e.max = Py(e.max, t, n, s, i);}-function My(e, t, [n, r, i], a, o) {- Dne(e, t[n], t[r], t[i], t.scale, a, o);+function Fy(e, t, [n, r, i], a, o) {+ kne(e, t[n], t[r], t[i], t.scale, a, o);}-var Ny = [+var Ane = ["x","scaleX","originX"-], One = [+], Iy = ["y","scaleY","originY"];-function Py(e, t, n, r) {- My(e.x, t, Ny, n?.x, r?.x), My(e.y, t, One, n?.y, r?.y);+function Ly(e, t, n, r) {+ Fy(e.x, t, Ane, n?.x, r?.x), Fy(e.y, t, Iy, n?.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/round.mjs-var Fy = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Iy = Fy("applewebkit/") && !Fy("chrome/") ? Math.round : Em;-function Ly(e) {- e.min = Iy(e.min), e.max = Iy(e.max);+var Ry = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), zy = Ry("applewebkit/") && !Ry("chrome/") ? Math.round : jm;+function By(e) {+ e.min = zy(e.min), e.max = zy(e.max);}-function kne(e) {- Ly(e.x), Ly(e.y);+function jne(e) {+ By(e.x), By(e.y);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var Ry = () => ({+var Vy = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0-}), zy = () => ({- x: Ry(),- y: Ry()-}), By = () => ({+}), Hy = () => ({+ x: Vy(),+ y: Vy()+}), Uy = () => ({min: 0,max: 0-}), Vy = () => ({- x: By(),- y: By()+}), Wy = () => ({+ x: Uy(),+ y: Uy()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function Hy(e) {+function Gy(e) {return e.translate === 0 && e.scale === 1;}-function Uy(e) {- return Hy(e.x) && Hy(e.y);+function Ky(e) {+ return Gy(e.x) && Gy(e.y);}-function Wy(e, t) {+function qy(e, t) {return e.min === t.min && e.max === t.max;}-function Ane(e, t) {- return Wy(e.x, t.x) && Wy(e.y, t.y);+function Mne(e, t) {+ return qy(e.x, t.x) && qy(e.y, t.y);}-function Gy(e, t) {+function Jy(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function Ky(e, t) {- return Gy(e.x, t.x) && Gy(e.y, t.y);+function Yy(e, t) {+ return Jy(e.x, t.x) && Jy(e.y, t.y);}-function qy(e) {- return Ty(e.x) / Ty(e.y);+function Xy(e) {+ return Oy(e.x) / Oy(e.y);}-function Jy(e, t) {+function Zy(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}// node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var jne = class {+var Nne = class {constructor() {this.members = [];}add(e) {- vm(this.members, e);+ Cm(this.members, e);for (let t = this.members.length - 1; t >= 0; t--) {let n = this.members[t];if (n === e || n === this.lead || n === this.prevLead) continue;let r = n.instance;- r && r.isConnected !== !1 || n.snapshot || (ym(this.members, n), n.unmount());+ r && r.isConnected !== !1 || n.snapshot || (wm(this.members, n), n.unmount());}e.scheduleRender();}remove(e) {- if (ym(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {+ if (wm(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {let e = this.members[this.members.length - 1];e && this.promote(e);}@@ -18871,39 +18884,39 @@ var jne = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function Yy(e, t) {+function Qy(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var Xy = { correct: (e, t) => {+var $y = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {- if (Oh.test(e)) e = parseFloat(e);+ if (Nh.test(e)) e = parseFloat(e);else return e;}- return `${Yy(e, t.target.x)}% ${Yy(e, t.target.y)}%`;-} }, Mne = {- borderRadius: /* @__PURE__ */ Object.assign({}, Xy, { applyTo: /* @__PURE__ */ Ev.slice() }),- borderTopLeftRadius: Xy,- borderTopRightRadius: Xy,- borderBottomLeftRadius: Xy,- borderBottomRightRadius: Xy,+ return `${Qy(e, t.target.x)}% ${Qy(e, t.target.y)}%`;+} }, Pne = {+ borderRadius: /* @__PURE__ */ Object.assign({}, $y, { applyTo: /* @__PURE__ */ kv.slice() }),+ borderTopLeftRadius: $y,+ borderTopRightRadius: $y,+ borderBottomLeftRadius: $y,+ borderBottomRightRadius: $y,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = Qh.parse(e);+ let r = e, i = rg.parse(e);if (i.length > 5) return r;- let a = Qh.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = rg.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;i[0 + o] /= s, i[1 + o] /= c;- let l = ng(s, c, .5);+ let l = og(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Nne(e, t, n) {+function Fne(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e } = n;e && (r = `perspective(${e}px) ${r}`);- for (let e = 0; e < Zv.length; e++) {- let t = Zv[e], i = n[t];+ for (let e = 0; e < ey.length; e++) {+ let t = ey[e], i = n[t];i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);}}@@ -18911,62 +18924,62 @@ function Nne(e, t, n) {return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function Zy(e) {+function eb(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var Pne = (e, t) => e.depth - t.depth, Fne = class {+var Ine = (e, t) => e.depth - t.depth, Lne = class {constructor() {this.children = [], this.isDirty = !1;}add(e) {- vm(this.children, e), this.isDirty = !0;+ Cm(this.children, e), this.isDirty = !0;}remove(e) {- ym(this.children, e), this.isDirty = !0;+ wm(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(Pne), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Ine), this.isDirty = !1, this.children.forEach(e);}-}, Qy = {+}, tb = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, $y = [+}, nb = ["z","skew","skewZ"-], Ine = 1e3, Lne = 0;-function eb(e, t, n, r) {+], Rne = 1e3, zne = 0;+function rb(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var tb = (e) => e.instance && q_.get(e.instance)?.demote() && e.resetSkewAndRotation();-function nb(e) {+var ib = (e) => e.instance && Y_.get(e.instance)?.demote() && e.resetSkewAndRotation();+function ab(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = xv(t);+ let n = wv(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", pg, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", _g, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && nb(r);+ r && !r.hasCheckedOptimisedAppear && ab(r);}-function rb(e) {- if (e) return e.options.allowProjection === !1 ? rb(e.parent) : e.projection;+function ob(e) {+ if (e) return e.options.allowProjection === !1 ? ob(e.parent) : e.projection;}-function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {- return Object.assign(hy, {- ...Mne,- ...hy+function sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return Object.assign(vy, {+ ...Pne,+ ...vy}), class {static create(e, t, n) {- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : rb(e.parent));+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : ob(e.parent));d.setOptions({layoutId: r,layout: i,- alwaysMeasureLayout: !!a || o && hne(o),+ alwaysMeasureLayout: !!a || o && _ne(o),visualElement: e,animationType: typeof i == "string" ? i : "both",initialPromotionConfig: n,@@ -18979,19 +18992,19 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkf && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());}constructor(e = {}, n = t?.()) {- this.id = Lne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = zne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, this.nodes.forEach(Bne), this.nodes.forEach(Jne), this.nodes.forEach(Yne), this.nodes.forEach(Vne), gy.countProjection?.();+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Hne), this.nodes.forEach(Xne), this.nodes.forEach(Zne), this.nodes.forEach(Une), yy.countProjection?.();}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new Fne());+ this.root === this && (this.nodes = new Lne());}addEventListener(e, t) {- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new km()), this.eventHandlers.get(e).add(t);+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Pm()), this.eventHandlers.get(e).add(t);}notifyListeners(e, ...t) {this.eventHandlers.get(e)?.notify(...t);@@ -19001,15 +19014,15 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = Mv(t) && !gne(t), this.instance = t;+ this.isSVG = Fv(t) && !vne(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- pg.read(() => {+ _g.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = mne(i, 250), Qy.hasAnimatedSinceResize && (Qy.hasAnimatedSinceResize = !1, this.nodes.forEach(sb)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = gne(i, 250), tb.hasAnimatedSinceResize && (tb.hasAnimatedSinceResize = !1, this.nodes.forEach(ub)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -19021,21 +19034,21 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || $ne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Ky(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || tre, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Yy(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...dv(a, "layout"),+ ...pv(a, "layout"),onPlay: o,onComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || sb(this), this.isLead() && this.options.onExitComplete?.();+ } else t || ub(this), this.isLead() && this.options.onExitComplete?.();this.targetLayout = i;}));}unmount() {- this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, mg(this.updateProjection);+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, vg(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -19047,7 +19060,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Xne), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Qne), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -19058,11 +19071,11 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete?.();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && nb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- tb(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && ab(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ ib(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, tb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, ib(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -19072,39 +19085,39 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Une), this.nodes.forEach(ab);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Gne), this.nodes.forEach(cb);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(ob);+ this.nodes.forEach(lb);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Gne), this.nodes.forEach(Kne), this.nodes.forEach(qne), this.nodes.forEach(Rne), this.nodes.forEach(zne)) : this.nodes.forEach(ob), this.clearAllSnapshots();- let e = rh.now();- eh.delta = bm(0, 1e3 / 60, e - eh.timestamp), eh.timestamp = e, eh.isProcessing = !0, hg.update.process(eh), hg.preRender.process(eh), hg.render.process(eh), eh.isProcessing = !1;+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(qne), this.nodes.forEach(Jne), this.nodes.forEach(Yne), this.nodes.forEach(Bne), this.nodes.forEach(Vne)) : this.nodes.forEach(lb), this.clearAllSnapshots();+ let e = ch.now();+ ah.delta = Tm(0, 1e3 / 60, e - ah.timestamp), ah.timestamp = e, ah.isProcessing = !0, yg.update.process(ah), yg.preRender.process(ah), yg.render.process(ah), ah.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, py.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, gy.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Hne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));+ this.nodes.forEach(Wne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, pg.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, _g.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- pg.postRender(() => {+ _g.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Ty(this.snapshot.measuredBox.x) && !Ty(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Oy(this.snapshot.measuredBox.x) && !Oy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= Vy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= Wy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);}@@ -19124,13 +19137,13 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && tb(this);- let t = this.projectionDelta && !Uy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || Qv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && ib(this);+ let t = this.projectionDelta && !Ky(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || ty(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), kne(n), {+ return e && (n = this.removeTransform(n)), jne(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -19140,42 +19153,42 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return Vy();+ if (!e) return Wy();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(ere))) {+ if (!(this.scroll?.wasRoot || this.path.some(nre))) {let { scroll: e } = this.root;- e && (cy(t.x, e.offset.x), cy(t.y, e.offset.y));+ e && (dy(t.x, e.offset.x), dy(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = Vy();- if (Cy(t, e), this.scroll?.wasRoot) return t;+ let t = Wy();+ if (Ey(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && Cy(t, e), cy(t.x, i.offset.x), cy(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Ey(t, e), dy(t.x, i.offset.x), dy(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n, r, i = 0) {- let a = n || Vy();- Cy(a, e);+ let a = n || Wy();+ Ey(a, e);for (let e = i; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (cy(a.x, -n.scroll.offset.x), cy(a.y, -n.scroll.offset.y)), Qv(n.latestValues) && dy(a, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (dy(a.x, -n.scroll.offset.x), dy(a.y, -n.scroll.offset.y)), ty(n.latestValues) && my(a, n.latestValues, n.layout?.layoutBox);}- return !r && Qv(this.latestValues) && dy(a, this.latestValues, this.layout?.layoutBox), a;+ return !r && ty(this.latestValues) && my(a, this.latestValues, this.layout?.layoutBox), a;}removeTransform(e) {- let t = Vy();- Cy(t, e);+ let t = Wy();+ Ey(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!Qv(n.latestValues)) continue;+ if (!ty(n.latestValues)) continue;let r;- n.instance && (Xv(n.latestValues) && n.updateSnapshot(), r = Vy(), Cy(r, n.measurePageBox())), Py(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && ($v(n.latestValues) && n.updateSnapshot(), r = Wy(), Ey(r, n.measurePageBox())), Ly(t, n.latestValues, n.snapshot?.layoutBox, r);}- return Qv(this.latestValues) && Py(t, this.latestValues), t;+ return ty(this.latestValues) && Ly(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -19191,7 +19204,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;}forceRelativeParentToResolveTarget() {- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== eh.timestamp && this.relativeParent.resolveTargetDelta(!0);+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== ah.timestamp && this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(e = !1) {let t = this.getLead();@@ -19200,32 +19213,32 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;let { layout: r, layoutId: i } = this.options;if (!this.layout || !(r || i)) return;- this.resolvedRelativeTargetAt = eh.timestamp;+ this.resolvedRelativeTargetAt = ah.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 = Vy(), this.targetWithTransforms = Vy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Ene(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Cy(this.target, this.layout.layoutBox), ay(this.target, this.targetDelta)) : Cy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), gy.countProjection?.(1));+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Wy(), this.targetWithTransforms = Wy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), One(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Ey(this.target, this.layout.layoutBox), cy(this.target, this.targetDelta)) : Ey(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), yy.countProjection?.(1));}getClosestProjectingParent() {- if (!(!this.parent || Xv(this.parent.latestValues) || ey(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || $v(this.parent.latestValues) || ry(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Vy(), this.relativeTargetOrigin = Vy(), Ay(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Cy(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Wy(), this.relativeTargetOrigin = Wy(), Ny(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Ey(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;}calcProjection() {let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === eh.timestamp && (n = !1), n) return;+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === ah.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- Cy(this.layoutCorrected, this.layout.layoutBox);+ Ey(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- ane(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Vy());+ sne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Wy());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (wy(this.prevProjectionDelta.x, this.projectionDelta.x), wy(this.prevProjectionDelta.y, this.projectionDelta.y)), Dy(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Jy(this.projectionDelta.x, this.prevProjectionDelta.x) && Jy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), gy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Dy(this.prevProjectionDelta.x, this.projectionDelta.x), Dy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ay(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Zy(this.projectionDelta.x, this.prevProjectionDelta.x) && Zy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), yy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -19237,22 +19250,22 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = zy(), this.projectionDelta = zy(), this.projectionDeltaWithTransform = zy();+ this.prevProjectionDelta = Hy(), this.projectionDelta = Hy(), this.projectionDeltaWithTransform = Hy();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = zy();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Hy();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = Vy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Qne));+ let s = Wy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(ere));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- cb(o.x, e.x, n), cb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ay(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Zne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ane(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Vy(), Cy(f, this.relativeTarget)), c && (this.animationValues = a, vne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ db(o.x, e.x, n), db(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ny(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), $ne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Mne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Wy(), Ey(f, this.relativeTarget)), c && (this.animationValues = a, bne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (mg(this.pendingAnimation), void 0), this.pendingAnimation = pg.update(() => {- Qy.hasAnimatedSinceResize = !0, this.motionValue ||= lv(0), this.motionValue.jump(0, !1), this.currentAnimation = my(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (vg(this.pendingAnimation), void 0), this.pendingAnimation = _g.update(() => {+ tb.hasAnimatedSinceResize = !0, this.motionValue ||= dv(0), this.motionValue.jump(0, !1), this.currentAnimation = _y(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -19262,7 +19275,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), kee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), jee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -19271,20 +19284,20 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta?.(Ine), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta?.(Rne), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && db(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ if (this !== e && this.layout && n && mb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {let { layoutBox: e } = this.layout, t = i;- i = this.target || Vy(), ub(i.x, t.x, e.x), ub(i.y, t.y, e.y);+ i = this.target || Wy(), pb(i.x, t.x, e.x), pb(i.y, t.y, e.y);}- Cy(t, i), dy(t, r), Dy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ Ey(t, i), my(t, r), Ay(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new jne()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Nne()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n?.transition,@@ -19317,10 +19330,10 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { visualElement: e } = this.options;if (!e) return;let { latestValues: t } = e;- if (!$v(t)) return;+ if (!ny(t)) return;let n = {};- for (let t = 0; t < $y.length; t++) eb($y[t], e, n, this.animationValues);- for (let t = 0; t < Zv.length; t++) eb(Zv[t], e, n, this.animationValues);+ for (let t = 0; t < nb.length; t++) rb(nb[t], e, n, this.animationValues);+ for (let t = 0; t < ey.length; t++) rb(ey[t], e, n, this.animationValues);e.render();for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);e.scheduleRender();@@ -19334,70 +19347,70 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let r = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = _y(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = by(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";return;}if (!this.projectionDelta || !this.layout || !n.target) {- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = _y(t?.pointerEvents) || ""), this.hasProjected && !Qv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = by(t?.pointerEvents) || ""), this.hasProjected && !ty(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";let i = n.animationValues || n.latestValues;this.applyTransformsToTarget();- let a = Nne(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = Fne(this.projectionDeltaWithTransform, this.treeScale, i);r && (a = r(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in hy) {+ for (let t in vy) {if (i[t] === void 0) continue;- let { correct: r, applyTo: o, isCSSVariable: s } = hy[t], c = a === "none" ? i[t] : r(i[t], n);+ let { correct: r, applyTo: o, isCSSVariable: s } = vy[t], c = a === "none" ? i[t] : r(i[t], n);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = n === this ? _y(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = n === this ? by(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ab), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(cb), this.root.sharedNodes.clear();}};}-function Rne(e) {- e.updateLayout(), Wne(e);+function Bne(e) {+ e.updateLayout(), Kne(e);}-function zne(e) {+function Vne(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {- if (i === "size") Zy((e) => {- let t = Ty(r[e]);+ if (i === "size") eb((e) => {+ let t = Oy(r[e]);r[e].min = a[e].min, r[e].max = r[e].min + t;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- Sy(r[e], a[e]);- } else db(i, t.layoutBox, n) && Zy((t) => {- let n = Ty(a[t]);+ Ty(r[e], a[e]);+ } else mb(i, t.layoutBox, n) && eb((t) => {+ let n = Oy(a[t]);r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);});}, s = a ? t.measuredBox : t.layoutBox;o(s, n);- let c = zy();- Dy(c, n, t.layoutBox);- let l = zy();- Dy(l, a ? e.applyTransform(r, !0) : n, s);- let u = !Uy(c), d = !1, f = e.getClosestProjectingParent();+ let c = Hy();+ Ay(c, n, t.layoutBox);+ let l = Hy();+ Ay(l, a ? e.applyTransform(r, !0) : n, s);+ let u = !Ky(c), d = !1, f = e.getClosestProjectingParent();if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {let { snapshot: r, layout: i } = f;if (r && i) {- let s = e.options.layoutAnchor || void 0, c = Vy();- Ay(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);- let l = Vy();- Ay(l, n, i.layoutBox, s), a && o(c, l), Ky(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);+ let s = e.options.layoutAnchor || void 0, c = Wy();+ Ny(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);+ let l = Wy();+ Ny(l, n, i.layoutBox, s), a && o(c, l), Yy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);}}e.notifyListeners("didUpdate", {@@ -19411,65 +19424,65 @@ function zne(e) {} else e.isLead() && e.options.onExitComplete?.();e.options.transition = void 0;}-function Bne(e) {- gy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);+function Hne(e) {+ yy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}-function Vne(e) {+function Une(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function Hne(e) {+function Wne(e) {e.clearSnapshot();}-function ab(e) {+function cb(e) {e.clearMeasurements();}-function Une(e) {+function Gne(e) {e.isLayoutDirty = !0, e.updateLayout();}-function ob(e) {+function lb(e) {e.isLayoutDirty = !1;}-function Wne(e) {+function Kne(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- Zy((e) => cy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ eb((e) => dy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function Gne(e) {+function qne(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function Kne(e) {+function Jne(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function qne(e) {+function Yne(e) {let { visualElement: t } = e.options;t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function sb(e) {+function ub(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function Jne(e) {+function Xne(e) {e.resolveTargetDelta();}-function Yne(e) {+function Zne(e) {e.calcProjection();}-function Xne(e) {+function Qne(e) {e.resetSkewAndRotation();}-function cb(e, t, n) {- e.translate = ng(t.translate, 0, n), e.scale = ng(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+function db(e, t, n) {+ e.translate = og(t.translate, 0, n), e.scale = og(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function lb(e, t, n, r) {- e.min = ng(t.min, n.min, r), e.max = ng(t.max, n.max, r);+function fb(e, t, n, r) {+ e.min = og(t.min, n.min, r), e.max = og(t.max, n.max, r);}-function Zne(e, t, n, r) {- lb(e.x, t.x, n.x, r), lb(e.y, t.y, n.y, r);+function $ne(e, t, n, r) {+ fb(e.x, t.x, n.x, r), fb(e.y, t.y, n.y, r);}-function Qne(e) {+function ere(e) {return e.animationValues?.opacityExit !== void 0;}-var $ne = {+var tre = {duration: .45,ease: [.4,@@ -19478,51 +19491,51 @@ var $ne = {1]};-function ub(e, t, n) {- e.max = Ty(n) + (e.min = t.min);+function pb(e, t, n) {+ e.max = Oy(n) + (e.min = t.min);}-function db(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Tne(qy(t), qy(n), .2);+function mb(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Dne(Xy(t), Xy(n), .2);}-function ere(e) {+function nre(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function fb(e, t, n, r = { passive: !0 }) {+function hb(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var tre = /* @__PURE__ */ ib({- attachResizeListener: (e, t) => fb(e, "resize", t),- measureScroll: sne,+var rre = /* @__PURE__ */ sb({+ attachResizeListener: (e, t) => hb(e, "resize", t),+ measureScroll: lne,checkIsScrollRoot: () => !0-}), pb = { current: void 0 }, mb = /* @__PURE__ */ ib({+}), gb = { current: void 0 }, _b = /* @__PURE__ */ sb({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!pb.current) {- let e = new tre({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), pb.current = e;+ if (!gb.current) {+ let e = new rre({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), gb.current = e;}- return pb.current;+ return gb.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), hb = /* @__PURE__ */ new WeakMap();+}), vb = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function gb(e) {+function yb(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function _b(e) {+function bb(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var vb = [+var xb = ["animate","whileInView","whileFocus",@@ -19530,29 +19543,29 @@ var vb = ["whileTap","whileDrag","exit"-], yb = /* @__PURE__ */ ["initial"].concat(vb);+], Sb = /* @__PURE__ */ ["initial"].concat(xb);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function bb(e) {- if (gb(e.animate)) return !0;- for (let t = 0; t < yb.length; t++) if (_b(e[yb[t]])) return !0;+function Cb(e) {+ if (yb(e.animate)) return !0;+ for (let t = 0; t < Sb.length; t++) if (bb(e[Sb[t]])) return !0;return !1;}-function xb(e) {- return !!(bb(e) || e.variants);+function wb(e) {+ return !!(Cb(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function nre(e, t, n) {+function ire(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (vv(i)) e.addValue(r, i);- else if (vv(a)) e.addValue(r, lv(i, { owner: e }));+ if (xv(i)) e.addValue(r, i);+ else if (xv(a)) e.addValue(r, dv(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, lv(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, dv(t === void 0 ? i : t, { owner: e }));}}}@@ -19560,17 +19573,17 @@ function nre(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var Sb = { current: null }, Cb = { current: !1 }, rre = typeof window < "u";-function wb() {- if (Cb.current = !0, rre) {+var Tb = { current: null }, Eb = { current: !1 }, are = typeof window < "u";+function Db() {+ if (Eb.current = !0, are) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Sb.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Tb.current = e.matches;e.addEventListener("change", t), t();- } else Sb.current = !1;+ } else Tb.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var Tb = [+var Ob = ["AnimationStart","AnimationComplete","Update",@@ -19578,35 +19591,35 @@ var Tb = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], Eb = {};-function Db(e) {- Eb = e;+], kb = {};+function Ab(e) {+ kb = e;}-function ire() {- return Eb;+function ore() {+ return kb;}-var are = class {+var sre = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = T_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = O_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {- let e = rh.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, pg.render(this.render, !1, !0));+ let e = ch.now();+ this.renderScheduledAt < e && (this.renderScheduledAt = e, _g.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = bb(t), this.isVariantNode = xb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Cb(t), this.isVariantNode = wb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && vv(t) && t.set(c[e]);+ c[e] !== void 0 && xv(t) && t.set(c[e]);}}mount(e) {if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, hb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, vb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -19616,10 +19629,10 @@ var are = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Cb.current || wb(), this.shouldReduceMotion = Sb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Eb.current || Db(), this.shouldReduceMotion = Tb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection?.unmount(), mg(this.notifyUpdate), mg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);+ this.projection?.unmount(), vg(this.notifyUpdate), vg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);for (let e in this.events) this.events[e].clear();for (let e in this.features) {let t = this.features[e];@@ -19634,24 +19647,24 @@ var are = class {this.children.delete(e), this.enteringChildren?.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.get(e)?.(), t.accelerate && R_.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new P_({+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && V_.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new L_({element: this.current,name: e,keyframes: r,times: i,ease: a,- duration: /* @__PURE__ */ Am(o)+ duration: /* @__PURE__ */ Fm(o)}), c = n(s);this.valueSubscriptions.set(e, () => {c(), s.cancel();});return;}- let n = p_.has(e);+ let n = g_.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), q_.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && _g.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Y_.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i?.();@@ -19662,8 +19675,8 @@ var are = class {}updateFeatures() {let e = "animation";- for (e in Eb) {- let t = Eb[e];+ for (e in kb) {+ let t = kb[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -19676,7 +19689,7 @@ var are = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Vy();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Wy();}getStaticValue(e) {return this.latestValues[e];@@ -19686,14 +19699,14 @@ var are = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && q_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < Tb.length; t++) {- let n = Tb[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Y_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < Ob.length; t++) {+ let n = Ob[t];this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = nre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();+ this.prevMotionValues = ire(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();}getProps() {return this.props;@@ -19723,27 +19736,27 @@ var are = class {}getValue(e, t) {let n = this.props.values?.[e];- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = lv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = dv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (Sm(n) || wm(n)) ? n = parseFloat(n) : typeof n != "number" && !Qh.test(n) && Qh.test(t) && (n = t_(e, t)), this.setBaseTarget(e, vv(n) ? n.get() : n)), vv(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (Dm(n) || km(n)) ? n = parseFloat(n) : typeof n != "number" && !rg.test(n) && rg.test(t) && (n = i_(e, t)), this.setBaseTarget(e, xv(n) ? n.get() : n)), xv(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;}on(e, t) {- return (this.events[e] || (this.events[e] = new km())).add(t);+ return (this.events[e] || (this.events[e] = new Pm())).add(t);}notify(e, ...t) {this.events[e]?.notify(...t);}scheduleRenderMicrotask() {- py.render(this.render);+ gy.render(this.render);}-}, Ob = class extends are {+}, jb = class extends sre {constructor() {- super(...arguments), this.KeyframeResolver = Tv;+ super(...arguments), this.KeyframeResolver = Ov;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -19758,105 +19771,105 @@ var are = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- vv(e) && (this.childSubscription = e.on("change", (e) => {+ xv(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function kb(e, { style: t, vars: n }, r, i) {+function Mb(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function Ab(e, { layout: t, layoutId: n }) {- return p_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!hy[e] || e === "opacity");+function Nb(e, { layout: t, layoutId: n }) {+ return g_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!vy[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function jb(e, t, n) {+function Pb(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (vv(r[t]) || i && vv(i[t]) || Ab(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (xv(r[t]) || i && xv(i[t]) || Nb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function ore(e) {+function cre(e) {return window.getComputedStyle(e);}-var sre = class extends Ob {+var lre = class extends jb {constructor() {- super(...arguments), this.type = "html", this.renderInstance = kb;+ super(...arguments), this.type = "html", this.renderInstance = Mb;}mount(e) {super.mount(e);}readValueFromInstance(e, t) {- if (p_.has(t)) return this.projection?.isProjecting ? l_(t) : d_(e, t);+ if (g_.has(t)) return this.projection?.isProjecting ? f_(t) : m_(e, t);{- let n = ore(e), r = (oh(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = cre(e), r = (dh(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}measureInstanceViewportBox(e, { transformPagePoint: t }) {- return fy(e, t);+ return hy(e, t);}build(e, t, n) {- Uv(e, t, n.transformTemplate);+ Kv(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return jb(e, t, n);+ return Pb(e, t, n);}-}, Mb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, Fb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function Nb(e) {+function Ib(e) {return { point: {x: e.pageX,y: e.pageY} };}-var cre = (e) => (t) => Mb(t) && e(t, Nb(t));+var ure = (e) => (t) => Fb(t) && e(t, Ib(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function Pb(e, t, n, r) {- return fb(e, t, cre(n), r);+function Lb(e, t, n, r) {+ return hb(e, t, ure(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Fb = /* @__PURE__ */ new WeakMap(), Ib, Lb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Mv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], lre = /*@__PURE__*/ Lb("inline", "width", "offsetWidth"), ure = /*@__PURE__*/ Lb("block", "height", "offsetHeight");-function dre({ target: e, borderBoxSize: t }) {- Fb.get(e)?.forEach((n) => {+var Rb = /* @__PURE__ */ new WeakMap(), zb, Bb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Fv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], dre = /*@__PURE__*/ Bb("inline", "width", "offsetWidth"), fre = /*@__PURE__*/ Bb("block", "height", "offsetHeight");+function pre({ target: e, borderBoxSize: t }) {+ Rb.get(e)?.forEach((n) => {n(e, {get width() {- return lre(e, t);+ return dre(e, t);},get height() {- return ure(e, t);+ return fre(e, t);}});});}-function fre(e) {- e.forEach(dre);+function mre(e) {+ e.forEach(pre);}-function pre() {- typeof ResizeObserver < "u" && (Ib = new ResizeObserver(fre));+function hre() {+ typeof ResizeObserver < "u" && (zb = new ResizeObserver(mre));}-function mre(e, t) {- Ib || pre();- let n = Iv(e);+function gre(e, t) {+ zb || hre();+ let n = zv(e);return n.forEach((e) => {- let n = Fb.get(e);- n || (n = /* @__PURE__ */ new Set(), Fb.set(e, n)), n.add(t), Ib?.observe(e);+ let n = Rb.get(e);+ n || (n = /* @__PURE__ */ new Set(), Rb.set(e, n)), n.add(t), zb?.observe(e);}), () => {n.forEach((e) => {- let n = Fb.get(e);- n?.delete(t), n?.size || Ib?.unobserve(e);+ let n = Rb.get(e);+ n?.delete(t), n?.size || zb?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var Rb = /* @__PURE__ */ new Set(), zb;-function hre() {- zb = () => {+var Vb = /* @__PURE__ */ new Set(), Hb;+function _re() {+ Hb = () => {let e = {get width() {return window.innerWidth;@@ -19865,26 +19878,26 @@ function hre() {return window.innerHeight;}};- Rb.forEach((t) => t(e));- }, window.addEventListener("resize", zb);+ Vb.forEach((t) => t(e));+ }, window.addEventListener("resize", Hb);}-function gre(e) {- return Rb.add(e), zb || hre(), () => {- Rb.delete(e), !Rb.size && typeof zb == "function" && (window.removeEventListener("resize", zb), zb = void 0);+function vre(e) {+ return Vb.add(e), Hb || _re(), () => {+ Vb.delete(e), !Vb.size && typeof Hb == "function" && (window.removeEventListener("resize", Hb), Hb = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function Bb(e, t) {- return Pv(typeof e == "function" ? gre(e) : mre(e, t));+function Ub(e, t) {+ return Lv(typeof e == "function" ? vre(e) : gre(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var Vb = (e, t) => Math.abs(e - t);-function _re(e, t) {- let n = Vb(e.x, t.x), r = Vb(e.y, t.y);+var Wb = (e, t) => Math.abs(e - t);+function yre(e, t) {+ let n = Wb(e.x, t.x), r = Wb(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var Hb = /*#__PURE__*/ new Set(["auto", "scroll"]), Ub = class {+var Gb = /*#__PURE__*/ new Set(["auto", "scroll"]), Kb = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19892,8 +19905,8 @@ var Hb = /*#__PURE__*/ new Set(["auto", "scroll"]), Ub = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Gb(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = qb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = _re(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Jb(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Xb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = yre(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19901,99 +19914,99 @@ var Hb = /*#__PURE__*/ new Set(["auto", "scroll"]), Ub = class {let { point: r } = e;this.history.push({...r,- timestamp: rh.now()+ timestamp: ch.now()});let { onStart: i, onMove: a } = this.handlers;t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Gb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Jb(t, this.transformPagePoint), this.hasPendingMove = !0, _g.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = qb(e.type === "pointercancel" ? this.lastMoveEventInfo : Gb(t, this.transformPagePoint), this.history);+ let a = Xb(e.type === "pointercancel" ? this.lastMoveEventInfo : Jb(t, this.transformPagePoint), this.history);this.startEvent && n?.(e, a), r?.(e, a);- }, !Mb(e)) return;+ }, !Fb(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Gb(Nb(e), this.transformPagePoint), { point: c } = s;+ let s = Jb(Ib(e), this.transformPagePoint), { point: c } = s;this.history = [{...c,- timestamp: rh.now()+ timestamp: ch.now()}];let { onSessionStart: l } = t;- l && l(e, qb(s, this.history));+ l && l(e, Xb(s, this.history));let u = {passive: !0,capture: !0};- this.removeListeners = Dm(Pb(this.contextWindow, "pointermove", this.handlePointerMove, u), Pb(this.contextWindow, "pointerup", this.handlePointerUp, u), Pb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);+ this.removeListeners = Mm(Lb(this.contextWindow, "pointermove", this.handlePointerMove, u), Lb(this.contextWindow, "pointerup", this.handlePointerUp, u), Lb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (Hb.has(e.overflowX) || Hb.has(e.overflowY)) && this.scrollPositions.set(t, Wb(t)), t = t.parentElement;+ (Gb.has(e.overflowX) || Gb.has(e.overflowY)) && this.scrollPositions.set(t, qb(t)), t = t.parentElement;}- this.scrollPositions.set(window, Wb(window)), this.removeScrollListeners = Dm(fb(window, "scroll", this.onElementScroll, { capture: !0 }), fb(window, "scroll", this.onWindowScroll, {}));+ this.scrollPositions.set(window, qb(window)), this.removeScrollListeners = Mm(hb(window, "scroll", this.onElementScroll, { capture: !0 }), hb(window, "scroll", this.onWindowScroll, {}));}handleScroll(e) {let t = this.scrollPositions.get(e);if (!t) return;- let n = e === window, r = Wb(e), i = {+ let n = e === window, r = qb(e), i = {x: r.x - t.x,y: r.y - t.y};- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), pg.update(this.updatePoint, !0));+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), _g.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), mg(this.updatePoint);+ this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), vg(this.updatePoint);}-}, Wb = (e) => e === window ? {+}, qb = (e) => e === window ? {x: window.scrollX,y: window.scrollY} : {x: e.scrollLeft,y: e.scrollTop};-function Gb(e, t) {+function Jb(e, t) {return t ? { point: t(e.point) } : e;}-function Kb(e, t) {+function Yb(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function qb({ point: e }, t) {+function Xb({ point: e }, t) {return {point: e,- delta: Kb(e, Jb(t)),- offset: Kb(e, vre(t)),- velocity: yre(t, .1)+ delta: Yb(e, Zb(t)),+ offset: Yb(e, bre(t)),+ velocity: xre(t, .1)};}-function vre(e) {+function bre(e) {return e[0];}-function Jb(e) {+function Zb(e) {return e[e.length - 1];}-function yre(e, t) {+function xre(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Jb(e);- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Am(t)));) n--;+ let n = e.length - 1, r = null, i = Zb(e);+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Fm(t)));) n--;if (!r) return {x: 0,y: 0};- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Am(t) * 2 && (r = e[1]);- let a = /* @__PURE__ */ jm(i.timestamp - r.timestamp);+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Fm(t) * 2 && (r = e[1]);+ let a = /* @__PURE__ */ Im(i.timestamp - r.timestamp);if (a === 0) return {x: 0,y: 0@@ -20005,95 +20018,95 @@ function yre(e, t) {return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs-var bre = /* @__PURE__ */ new Set([+var Sre = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function xre(e) {- return bre.has(e.tagName) || e.isContentEditable === !0;+function Cre(e) {+ return Sre.has(e.tagName) || e.isContentEditable === !0;}-var Sre = /* @__PURE__ */ new Set([+var wre = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function Cre(e) {- return Sre.has(e.tagName) || e.isContentEditable === !0;+function Tre(e) {+ return wre.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Yb = {+var Qb = {x: !1,y: !1};-function Xb() {- return Yb.x || Yb.y;+function $b() {+ return Qb.x || Qb.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function wre(e) {- return e === "x" || e === "y" ? Yb[e] ? null : (Yb[e] = !0, () => {- Yb[e] = !1;- }) : Yb.x || Yb.y ? null : (Yb.x = Yb.y = !0, () => {- Yb.x = Yb.y = !1;+function Ere(e) {+ return e === "x" || e === "y" ? Qb[e] ? null : (Qb[e] = !0, () => {+ Qb[e] = !1;+ }) : Qb.x || Qb.y ? null : (Qb.x = Qb.y = !0, () => {+ Qb.x = Qb.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function Tre(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? ng(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ng(n, e, r.max) : Math.min(e, n)), e;+function Dre(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? og(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? og(n, e, r.max) : Math.min(e, n)), e;}-function Zb(e, t, n) {+function ex(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 Ere(e, { top: t, left: n, bottom: r, right: i }) {+function Ore(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Zb(e.x, n, i),- y: Zb(e.y, t, r)+ x: ex(e.x, n, i),+ y: ex(e.y, t, r)};}-function Qb(e, t) {+function tx(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 Dre(e, t) {+function kre(e, t) {return {- x: Qb(e.x, t.x),- y: Qb(e.y, t.y)+ x: tx(e.x, t.x),+ y: tx(e.y, t.y)};}-function Ore(e, t) {- let n = .5, r = Ty(e), i = Ty(t);- return i > r ? n = /* @__PURE__ */ Om(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Om(e.min, e.max - i, t.min)), bm(0, 1, n);+function Are(e, t) {+ let n = .5, r = Oy(e), i = Oy(t);+ return i > r ? n = /* @__PURE__ */ Nm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Nm(e.min, e.max - i, t.min)), Tm(0, 1, n);}-function kre(e, t) {+function jre(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 $b = .35;-function Are(e = $b) {- return e === !1 ? e = 0 : e === !0 && (e = $b), {- x: ex(e, "left", "right"),- y: ex(e, "top", "bottom")+var nx = .35;+function Mre(e = nx) {+ return e === !1 ? e = 0 : e === !0 && (e = nx), {+ x: rx(e, "left", "right"),+ y: rx(e, "top", "bottom")};}-function ex(e, t, n) {+function rx(e, t, n) {return {- min: tx(e, t),- max: tx(e, n)+ min: ix(e, t),+ max: ix(e, n)};}-function tx(e, t) {+function ix(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-function nx(e) {+function ax(e) {let t = "";for (let n of e.path) {n.scroll = void 0, n.updateScroll();@@ -20102,12 +20115,12 @@ function nx(e) {}return t;}-var jre = /* @__PURE__ */ new WeakMap(), Mre = class {+var Nre = /* @__PURE__ */ new WeakMap(), Pre = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Vy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Wy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {if (this.visualElement.presenceContext?.isPresent === !1) return;@@ -20115,28 +20128,28 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {t && this.snapToCursor(e), this.stopAnimation();}, i = (e, t) => {let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();- if (n && !i && (this.openDragLock?.(), this.openDragLock = wre(n), !this.openDragLock)) return;+ if (n && !i && (this.openDragLock?.(), this.openDragLock = Ere(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();let { projection: o } = this.visualElement;- o && (o.isAnimationBlocked = !0, o.target = void 0), Zy((e) => {+ o && (o.isAnimationBlocked = !0, o.target = void 0), eb((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (ch(t) && (t = pv(t, this.visualElement.current) || 0), Oh.test(t)) t = parseFloat(t);- else if (Dh.test(t)) {+ if (ph(t) && (t = hv(t, this.visualElement.current) || 0), Nh.test(t)) t = parseFloat(t);+ else if (Mh.test(t)) {let n = o?.layout?.layoutBox[e];- n && (t = Ty(n) * (parseFloat(t) / 100));+ n && (t = Oy(n) * (parseFloat(t) / 100));}this.originPoint[e] = t;- }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), yv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);+ }), this.point = typeof r == "function" && r(this), a && _g.update(() => a(e, t), !1, !0), Sv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);}, a = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t;let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = Pre(o), this.currentDirection === null) return;+ if (this.currentDirection = Ire(o), this.currentDirection === null) return;i && i(this.currentDirection);}- this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && pg.update(() => a(e, t), !1, !0);+ this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && _g.update(() => a(e, t), !1, !0);}, o = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, s = () => {@@ -20146,7 +20159,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {y: 0});}, { dragSnapToOrigin: c } = this.getProps();- this.panSession = new Ub(e, {+ this.panSession = new Kb(e, {onSessionStart: r,onStart: i,onMove: a,@@ -20166,7 +20179,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {let { velocity: o } = i;this.startAnimation(o, n);let { onDragEnd: s } = this.getProps();- s && pg.postRender(() => s(r, i));+ s && _g.postRender(() => s(r, i));}cancel() {this.isDragging = !1;@@ -20178,26 +20191,26 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {}updateAxis(e, t) {let { drag: n } = this.readProps();- if (!t || !ox(e, n, this.currentDirection)) return;+ if (!t || !lx(e, n, this.currentDirection)) return;let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];- a && (i = Tre(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);+ a && (i = Dre(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;- rx(e) ? this.constraints && this.scroll === nx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Ere(r.layoutBox, e) : !1, this.elastic = Are(t), i !== this.constraints && !rx(e) && r && this.constraints && !this.hasMutatedConstraints && Zy((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = kre(r.layoutBox[e], this.constraints[e]));+ ox(e) ? this.constraints && this.scroll === ax(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Ore(r.layoutBox, e) : !1, this.elastic = Mre(t), i !== this.constraints && !ox(e) && r && this.constraints && !this.hasMutatedConstraints && eb((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = jre(r.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!rx(e)) return !1;- let n = ix(e), { projection: r } = this.visualElement;+ if (!ox(e)) return !1;+ let n = sx(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;- this.scroll = nx(r);- let i = one(n, r.root, this.visualElement.getTransformPagePoint()), a = Dre(r.layout.layoutBox, r.removeElementScroll(i));+ this.scroll = ax(r);+ let i = cne(n, r.root, this.visualElement.getTransformPagePoint()), a = kre(r.layout.layoutBox, r.removeElementScroll(i));if (t) {- let e = t(rne(a));- this.hasMutatedConstraints = !!e, e && (a = Jv(e));+ let e = t(ane(a));+ this.hasMutatedConstraints = !!e, e && (a = Zv(e));}return a;}@@ -20209,13 +20222,13 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {restDelta: 1,restSpeed: 10,...a- }, l = (i) => r && !(this.point && o) && ox(i, t || n, this.currentDirection) ? e[i] : 0;+ }, l = (i) => r && !(this.point && o) && lx(i, t || n, this.currentDirection) ? e[i] : 0;if (this.point && !o) return this.point.release({x: l("x"),y: l("y")}, c).then(s);- let u = this.constraints || {}, d = Zy((e) => {- if (!ox(e, t || n, this.currentDirection)) return;+ let u = this.constraints || {}, d = eb((e) => {+ if (!lx(e, t || n, this.currentDirection)) return;let r = u[e] || {};(o === !0 || o === e) && (r = {min: 0,@@ -20233,10 +20246,10 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return yv(this.visualElement, e), n.start(fv(e, n, 0, t, this.visualElement, !1));+ return Sv(this.visualElement, e), n.start(mv(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- Zy((e) => this.getAxisMotionValue(e).stop());+ eb((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -20247,50 +20260,50 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- Zy((e) => {- if (!ox(e, n, this.currentDirection)) return;+ eb((e) => {+ if (!lx(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - ng(r, o, .5));+ t.set((t.get() || 0) + i[e] - og(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!rx(t) || !n || !this.constraints) return;+ if (!ox(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- Zy((e) => {+ eb((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = Ore({+ i[e] = Are({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Zy((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), eb((t) => {let n = this.getAxisMotionValue(t);- if (!ox(t, e, null) || !n.get()) return;+ if (!lx(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(ng(r, a, i[t]));+ n.set(og(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- jre.set(this.visualElement, this);- let e = this.visualElement.current, t = Pb(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Cre(i);+ Nre.set(this.visualElement, this);+ let e = this.visualElement.current, t = Lb(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Tre(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = rx(t) && ix(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= Nre(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = ox(t) && sx(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= Fre(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i.layout || (i.root?.updateScroll(), i.updateLayout()), pg.read(r);- let o = fb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (Zy((t) => {- if (!ox(t, this.getProps().drag, this.currentDirection)) return;+ i.layout || (i.root?.updateScroll(), i.updateLayout()), _g.read(r);+ let o = hb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (eb((t) => {+ if (!lx(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());@@ -20300,7 +20313,7 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {};}getProps() {- let e = this.readProps(), { dragElastic: t = $b, dragMomentum: n = !0 } = e;+ let e = this.readProps(), { dragElastic: t = nx, dragMomentum: n = !0 } = e;return {...e,dragElastic: t,@@ -20308,32 +20321,32 @@ var jre = /* @__PURE__ */ new WeakMap(), Mre = class {};}};-function rx(e) {+function ox(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var ix = (e) => "current" in e ? e.current : e;-function ax(e) {+var sx = (e) => "current" in e ? e.current : e;+function cx(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Nre(e, t, n) {- let r = Bb(e, ax(n)), i = Bb(t, ax(n));+function Fre(e, t, n) {+ let r = Ub(e, cx(n)), i = Ub(t, cx(n));return () => {r(), i();};}-function ox(e, t, n) {+function lx(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Pre(e, t = 10) {+function Ire(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function sx(e, t) {- let n = Iv(e), r = new AbortController();+function ux(e, t) {+ let n = zv(e), r = new AbortController();return [n,{@@ -20341,16 +20354,16 @@ function sx(e, t) {...t,signal: r.signal},- Pv(() => r.abort())+ Lv(() => r.abort())];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Fre(e) {- return !(e.pointerType === "touch" || Xb());+function Lre(e) {+ return !(e.pointerType === "touch" || $b());}-function Ire(e, t, n = {}) {- t = Fv(t);- let [r, i, a] = sx(e, n);+function Rre(e, t, n = {}) {+ t = Rv(t);+ let [r, i, a] = ux(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -20364,7 +20377,7 @@ function Ire(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Fre(n)) return;+ if (!Lre(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -20372,71 +20385,71 @@ function Ire(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var cx = (e, t) => t ? e === t || cx(e, t.parentElement) : !1, lx = /* @__PURE__ */ new WeakSet();+var dx = (e, t) => t ? e === t || dx(e, t.parentElement) : !1, fx = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function ux(e) {+function px(e) {return (t) => {t.key === "Enter" && e(t);};}-function dx(e, t) {+function mx(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var Lre = (e, t) => {- let n = !1, r = ux(() => {- lx.has(e) || (n = !0, dx(e, "down"));- }), i = ux(() => {- n && (n = !1, dx(e, "up"));+var zre = (e, t) => {+ let n = !1, r = px(() => {+ fx.has(e) || (n = !0, mx(e, "down"));+ }), i = px(() => {+ n && (n = !1, mx(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && dx(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && mx(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function fx(e) {- return Mb(e) && !Xb();+function hx(e) {+ return Fb(e) && !$b();}-var px = /* @__PURE__ */ new WeakSet();-function Rre(e, t, n = {}) {- t = Fv(t);- let [r, i, a] = sx(e, n), o = (e) => {+var gx = /* @__PURE__ */ new WeakSet();+function Bre(e, t, n = {}) {+ t = Rv(t);+ let [r, i, a] = ux(e, n), o = (e) => {let r = e.currentTarget;- if (!fx(e) || px.has(e)) return;- lx.add(r), n.stopPropagation && px.add(e);+ if (!hx(e) || gx.has(e)) return;+ fx.add(r), n.stopPropagation && gx.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), lx.has(r) && lx.delete(r), fx(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), fx.has(r) && fx.delete(r), hx(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || cx(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || dx(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), jv(e) && (e.addEventListener("focus", () => Lre(e, i), i), !xre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Pv(e) && (e.addEventListener("focus", () => zre(e, i), i), !Cre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function mx(e, t) {+function _x(e, t) {let n = window.getComputedStyle(e);- return E_(t) ? n.getPropertyValue(t) : n[t];+ return k_(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var hx = class {+var vx = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, gx = /* @__PURE__ */ new Set([+}, yx = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -20460,58 +20473,58 @@ var hx = class {"startOffset","textLength","lengthAdjust"-]), _x = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), bx = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function zre(e, t, n, r) {- kb(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(gx.has(n) ? n : Hv(n), t.attrs[n]);+function Vre(e, t, n, r) {+ Mb(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(yx.has(n) ? n : Gv(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function vx(e, t, n) {- let r = jb(e, t, n);- for (let n in e) if (n !== "children" && (vv(e[n]) || vv(t[n]))) {- let t = f_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function xx(e, t, n) {+ let r = Pb(e, t, n);+ for (let n in e) if (n !== "children" && (xv(e[n]) || xv(t[n]))) {+ let t = h_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Bre = class extends Ob {+var Hre = class extends jb {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Vy;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Wy;}getBaseTargetFromProps(e, t) {- return p_.has(t) ? super.getBaseTargetFromProps(e, t) ?? l_(t) : e[t];+ return g_.has(t) ? super.getBaseTargetFromProps(e, t) ?? f_(t) : e[t];}getDefaultValue(e) {- return p_.has(e) ? this.latestValues[e] ?? l_(e) : void 0;+ return g_.has(e) ? this.latestValues[e] ?? f_(e) : void 0;}readValueFromInstance(e, t) {- if (p_.has(t)) {- let e = e_(t);+ if (g_.has(t)) {+ let e = r_(t);return e && e.default || 0;}- if (Wv.includes(t)) {+ if (qv.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = gx.has(t) ? t : Hv(t), e.getAttribute(t);+ return t = yx.has(t) ? t : Gv(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return vx(e, t, n);+ return xx(e, t, n);}build(e, t, n) {- Gv(e, t, this.isSVGTag, n.transformTemplate, n.style);+ Jv(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- zre(e, t, n, r);+ Vre(e, t, n, r);}mount(e) {- this.isSVGTag = _x(e.tagName), super.mount(e);+ this.isSVGTag = bx(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function yx(e, t) {+function Sx(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -20519,18 +20532,18 @@ function yx(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Vre = [...vb].reverse(), bx = (e) => e?.out === !0 ? e : e?.out;-function Hre(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Fte(e, t, n))), n = xx(), r = !0, i = !1;+var Ure = [...xb].reverse(), Cx = (e) => e?.out === !0 ? e : e?.out;+function Wre(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Lte(e, t, n))), n = wx(), r = !0, i = !1;function a(a) {- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && hv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && _v(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;dog = g.props.inherit !== !1 && g.parent;while (g && !g.isControllingVariants);- let _ = u && bx(f(l ?? (g && g.props.initial))?.transition);- if (Vre.forEach((t, r) => {- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? _b(f) || f === !1 ? f : void 0 : l, y = _b(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || gb(v) || typeof v == "boolean") return;+ let _ = u && Cx(f(l ?? (g && g.props.initial))?.transition);+ if (Ure.forEach((t, r) => {+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? bb(f) || f === !1 ? f : void 0 : l, y = bb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || yb(v) || typeof v == "boolean") return;if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {m = {...m,@@ -20538,14 +20551,14 @@ function Hre(e) {};return;}- let S = Ure(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;+ let S = Gre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;if (b !== !1) for (let n of T) {- let { transition: r, transitionEnd: i, ...a } = hv(e, n, gv(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = _v(e, n, vv(e, t)) || {};E = {...E,...a,...i- }, D = bx(r) || D;+ }, D = Cx(r) || D;}let { prevResolvedValues: O } = i;for (let t in {@@ -20553,7 +20566,7 @@ function Hre(e) {...E}) {if (t in m) continue;- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !yx(n, r) || S : n !== r, o;+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !Sx(n, r) || S : n !== r, o;if (a && n == null) p.has(t) || p.set(t, i.prevOut);else if (a || n !== void 0 && p.has(t)) {C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;@@ -20568,8 +20581,8 @@ function Hre(e) {}), C && (!(x && S) || w)) for (let n of T) {let r = { type: t };if (typeof n == "string" && u && c && s?.enteringChildren) {- let t = hv(s, n)?.transition?.delayChildren;- r.delay = av(s.enteringChildren, e, t);+ let t = _v(s, n)?.transition?.delayChildren;+ r.delay = sv(s.enteringChildren, e, t);}d.push({animation: n,@@ -20586,7 +20599,7 @@ function Hre(e) {let s = e.getValue(a);s && (s.liveStyle = !0);let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);- t[a] = (c === void 0 ? u !== void 0 && !vv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;+ t[a] = (c === void 0 ? u !== void 0 && !xv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;}), r && (t.transition = r), d.push({ animation: t });}let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -20607,16 +20620,16 @@ function Hre(e) {},getState: () => n,reset: () => {- n = xx(), i = !0;+ n = wx(), i = !0;}};}-function Ure(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !yx(t, e) : !1;+function Gre(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !Sx(t, e) : !1;}-function xx() {+function wx() {let e = {};- for (let t of vb) e[t] = {+ for (let t of xb) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -20626,55 +20639,55 @@ function xx() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var Sx = /* @__PURE__ */ (0, F.createContext)({+var Tx = /* @__PURE__ */ (0, F.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function Cx(e, t) {+function Ex(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Wre(...e) {+function Kre(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = Cx(e, t);+ let r = Ex(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : Cx(e[t], null);+ typeof n == "function" ? n() : Ex(e[t], null);}};};}-function Gre(...e) {- return F.useCallback(Wre(...e), e);+function qre(...e) {+ return F.useCallback(Kre(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var wx = (e) => {+var Dx = (e) => {let { width: t, height: n } = e?.getBoundingClientRect() || {};return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];-}, Tx = (e) => {+}, Ox = (e) => {let { left: t, top: n } = e.getBoundingClientRect(), r = e;for (; r = r.parentElement || r.parentNode?.host;) {let { scrollLeft: e, scrollTop: i } = r;if (e || i) {- let [a, o] = wx(r);+ let [a, o] = Dx(r);t += e * a, n += i * o;}if (getComputedStyle(r).position === "fixed") break;}- let [i, a] = wx(e.offsetParent);+ let [i, a] = Dx(e.offsetParent);return [t / i, n / a];-}, Kre = class extends F.Component {+}, Jre = class extends F.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();- if (jv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = jv(e) && e.offsetWidth || 0, r = jv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Tx(t);+ if (Pv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = Pv(e) && e.offsetWidth || 0, r = Pv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Ox(t);}return null;}@@ -20683,7 +20696,7 @@ var wx = (e) => {return this.props.children;}};-function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function Yre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({width: 0,height: 0,@@ -20692,7 +20705,7 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, F.useContext)(Sx), d = Gre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {+ }), { nonce: u } = (0, F.useContext)(Tx), d = qre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);};@@ -20705,10 +20718,10 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:let d = i ?? o.head;d.appendChild(c), p(c.sheet);let m = 0, h = 0;- return py.setup(() => {- let [e, t] = Tx(r);+ return gy.setup(() => {+ let [e, t] = Ox(r);m = l.current.point[0] - e, h = l.current.point[1] - t;- }), py.read(() => {+ }), gy.read(() => {let { sheet: e } = c;if (!e || !m && !h) return;let t = l.current;@@ -20716,7 +20729,7 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}), () => {r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);};- }, [t]), (0, I.jsx)(Kre, {+ }, [t]), (0, I.jsx)(Jre, {isPresent: t,getElement: f,sizeRef: l,@@ -20725,9 +20738,9 @@ function qre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Jre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = hm(Yre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);- gm(() => {+var Xre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = bm(Zre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);+ xm(() => {p.current = n, m.current = r;});let h = !0, g = (0, F.useMemo)(() => (h = !1, {@@ -20752,7 +20765,7 @@ var Jre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), F.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, I.jsx)(qre, {+ }, [n]), e = (0, I.jsx)(Yre, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -20760,17 +20773,17 @@ var Jre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iroot: l,popNode: f,children: e- }), (0, I.jsx)(_m.Provider, {+ }), (0, I.jsx)(Sm.Provider, {value: g,children: e});};-function Yre() {+function Zre() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function Ex(e = !0) {- let t = (0, F.useContext)(_m);+function kx(e = !0) {+ let t = (0, F.useContext)(Sm);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();(0, F.useEffect)(() => {@@ -20783,24 +20796,24 @@ function Ex(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function Dx() {- return Xre((0, F.useContext)(_m));+function Ax() {+ return Qre((0, F.useContext)(Sm));}-function Xre(e) {+function Qre(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Ox = (e) => e.key || "";-function kx(e) {+var jx = (e) => e.key || "";+function Mx(e) {let t = [];return F.Children.forEach(e, (e) => {(0, F.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = Ex(o), f = (0, F.useMemo)(() => kx(e), [e]), p = o && !u ? [] : f.map(Ox), m = (0, F.useRef)(!0), h = hm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);- gm(() => {+var Nx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = kx(o), f = (0, F.useMemo)(() => Mx(e), [e]), p = o && !u ? [] : f.map(jx), m = (0, F.useRef)(!0), h = bm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);+ xm(() => {o && !u && !y.length && d?.();}, [u,@@ -20812,10 +20825,10 @@ var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence(0, F.useEffect)(() => () => {let e = x.current;x.current = void 0, e?.();- }, [y]), gm(() => {+ }, [y]), xm(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Ox(y[e]);+ let t = jx(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -20827,15 +20840,15 @@ var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(Ox(n));+ let r = p.indexOf(jx(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(Ox(e))) ? e = f : a === "wait" && (e = S), b(kx(e)), v(f), null;+ return S.every((e) => h.get(jx(e))) ? e = f : a === "wait" && (e = S), b(Mx(e)), v(f), null;}- let { forceRender: C } = (0, F.useContext)(mm);+ let { forceRender: C } = (0, F.useContext)(ym);return (0, I.jsx)(I.Fragment, { children: y.map((e) => {- let _ = Ox(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, I.jsx)(Jre, {+ let _ = jx(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, I.jsx)(Xre, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -20856,8 +20869,8 @@ var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, jx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Mx = {- animation: ["variants", ...vb],+}, Px = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Fx = {+ animation: ["variants", ...xb],exit: ["exit"],drag: ["drag", "dragControls"],focus: ["whileFocus"],@@ -20884,32 +20897,32 @@ var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Nx = !1;-function Zre() {- if (Nx) return;+}, Ix = !1;+function $re() {+ if (Ix) return;let e = {};- for (let t in Mx) e[t] = { isEnabled: (e) => Mx[t].some((t) => !!e[t]) };- Db(e), Nx = !0;+ for (let t in Fx) e[t] = { isEnabled: (e) => Fx[t].some((t) => !!e[t]) };+ Ab(e), Ix = !0;}-function Px() {- return Zre(), ire();+function Lx() {+ return $re(), ore();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function Qre(e) {- let t = Px();+function eie(e) {+ let t = Lx();for (let n in e) t[n] = {...t[n],...e[n]};- Db(t);+ Ab(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function $re({ children: e, ...t }) {- let n = (0, F.useContext)(Sx);+function tie({ children: e, ...t }) {+ let n = (0, F.useContext)(Tx);t = {...n,...t- }, t.transition = uv(t.transition, n.transition), t.isStatic = hm(() => t.isStatic);+ }, t.transition = fv(t.transition, n.transition), t.isStatic = bm(() => t.isStatic);let r = (0, F.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -20917,77 +20930,77 @@ function $re({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, I.jsx)(Sx.Provider, {+ return (0, I.jsx)(Tx.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Fx = /* @__PURE__ */ (0, F.createContext)({});+var Rx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function eie(e, t) {- if (bb(e)) {+function nie(e, t) {+ if (Cb(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || _b(t) ? t : void 0,- animate: _b(n) ? n : void 0+ initial: t === !1 || bb(t) ? t : void 0,+ animate: bb(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function tie(e) {- let { initial: t, animate: n } = eie(e, (0, F.useContext)(Fx));+function rie(e) {+ let { initial: t, animate: n } = nie(e, (0, F.useContext)(Rx));return (0, F.useMemo)(() => ({initial: t,animate: n- }), [Ix(t), Ix(n)]);+ }), [zx(t), zx(n)]);}-function Ix(e) {+function zx(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var Lx = () => ({+var Bx = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Rx(e, t, n) {- for (let r in t) !vv(t[r]) && !Ab(r, n) && (e[r] = t[r]);+function Vx(e, t, n) {+ for (let r in t) !xv(t[r]) && !Nb(r, n) && (e[r] = t[r]);}-function nie({ transformTemplate: e }, t) {+function iie({ transformTemplate: e }, t) {return (0, F.useMemo)(() => {- let n = Lx();- return Uv(n, t, e), Object.assign({}, n.vars, n.style);+ let n = Bx();+ return Kv(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function rie(e, t) {+function aie(e, t) {let n = e.style || {}, r = {};- return Rx(r, n, e), Object.assign(r, nie(e, t)), r;+ return Vx(r, n, e), Object.assign(r, iie(e, t)), r;}-function iie(e, t) {- let n = {}, r = rie(e, t);+function oie(e, t) {+ let n = {}, r = aie(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var zx = () => ({- ...Lx(),+var Hx = () => ({+ ...Bx(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function aie(e, t, n, r) {+function sie(e, t, n, r) {let i = (0, F.useMemo)(() => {- let n = zx();- return Gv(n, t, _x(r), e.transformTemplate, e.style), {+ let n = Hx();+ return Jv(n, t, bx(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return Rx(t, e.style, e), {+ return Vx(t, e.style, e), {...i,style: {...t,@@ -20998,21 +21011,21 @@ function aie(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var oie = /* @__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 Bx(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || oie.has(e);+var cie = /* @__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 Ux(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || cie.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function sie(e, t) {- return e.startsWith("on") ? !Bx(e) : t?.(e) ?? !Bx(e);+function lie(e, t) {+ return e.startsWith("on") ? !Ux(e) : t?.(e) ?? !Ux(e);}-function cie(e, t, n, r) {+function uie(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || vv(e[a]) || (sie(a, r) || n === !0 && Bx(a) || !t && !Bx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || xv(e[a]) || (lie(a, r) || n === !0 && Ux(a) || !t && !Ux(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var lie = [+var die = ["animate","circle","defs",@@ -21040,40 +21053,40 @@ var lie = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Vx(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(lie.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Wx(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(die.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function uie(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Vx(e) ? aie : iie)(t, r, i, e), l = cie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {+function fie(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Wx(e) ? sie : oie)(t, r, i, e), l = uie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, F.useMemo)(() => vv(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, F.useMemo)(() => xv(d) ? d.get() : d, [d]);return (0, F.createElement)(e, {...u,children: f});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function die({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function pie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: fie(n, r, i, e),+ latestValues: mie(n, r, i, e),renderState: t()};}-function fie(e, t, n, r) {+function mie(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = _y(a[e]);- let { initial: o, animate: s } = e, c = bb(e), l = xb(e);+ for (let e in a) i[e] = by(a[e]);+ let { initial: o, animate: s } = e, c = Cb(e), l = wb(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !gb(d)) {+ if (d && typeof d != "boolean" && !yb(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = mv(e, t[n]);+ let r = gv(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -21090,18 +21103,18 @@ function fie(e, t, n, r) {}return i;}-var Hx = (e) => (t, n) => {- let r = (0, F.useContext)(Fx), i = (0, F.useContext)(_m), a = () => die(e, t, r, i);- return n ? a() : hm(a);-}, pie = /*@__PURE__*/ Hx({- scrapeMotionValuesFromProps: jb,- createRenderState: Lx-}), mie = /*@__PURE__*/ Hx({- scrapeMotionValuesFromProps: vx,- createRenderState: zx-}), hie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+var Gx = (e) => (t, n) => {+ let r = (0, F.useContext)(Rx), i = (0, F.useContext)(Sm), a = () => pie(e, t, r, i);+ return n ? a() : bm(a);+}, hie = /*@__PURE__*/ Gx({+ scrapeMotionValuesFromProps: Pb,+ createRenderState: Bx+}), gie = /*@__PURE__*/ Gx({+ scrapeMotionValuesFromProps: xx,+ createRenderState: Hx+}), _ie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function gie(e, t, n) {+function vie(e, t, n) {let r = (0, F.useRef)(n);(0, F.useInsertionEffect)(() => {r.current = n;@@ -21119,10 +21132,10 @@ function gie(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Ux = /* @__PURE__ */ (0, F.createContext)({});+var Kx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function _ie(e, t, n, r, i, a) {- let { visualElement: o } = (0, F.useContext)(Fx), s = (0, F.useContext)(jx), c = (0, F.useContext)(_m), l = (0, F.useContext)(Sx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);+function yie(e, t, n, r, i, a) {+ let { visualElement: o } = (0, F.useContext)(Rx), s = (0, F.useContext)(Px), c = (0, F.useContext)(Sm), l = (0, F.useContext)(Tx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -21133,14 +21146,14 @@ function _ie(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, F.useContext)(Ux);+ let m = f.current, h = (0, F.useContext)(Kx);m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[bv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));- return gm(() => {+ let g = n[Cv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ return xm(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);- }, []), gm(() => {+ }, []), xm(() => {p.current = !0, m && (window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), _.current && m.animationState && m.animationState.animateChanges());}), (0, F.useEffect)(() => {m && (!_.current && m.animationState && m.animationState.animateChanges(), _.current &&= (queueMicrotask(() => {@@ -21149,46 +21162,46 @@ function _ie(e, t, n, r, i, a) {}), m;}// node_modules/framer-motion/dist/es/motion/index.mjs-function Wx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && Qre(r);- let a = n ? n === "svg" : Vx(e), o = a ? mie : pie;+function qx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && eie(r);+ let a = n ? n === "svg" : Wx(e), o = a ? gie : hie;function s(n, s) {- let c, l = vie(n);- hm(() => !!pb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = bie(n);+ bm(() => !!gb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, F.useContext)(Sx),+ ...(0, F.useContext)(Tx),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = tie(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = rie(n), m = o(n, d);if (!d && typeof window < "u") {- yie(u, r);- let t = bie(u);- p.visualElement = _ie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);+ xie(u, r);+ let t = Sie(u);+ p.visualElement = yie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, I.jsxs)(Fx.Provider, {+ return (0, I.jsxs)(Rx.Provider, {value: p,children: [c && p.visualElement ? (0, I.jsx)(c, {visualElement: p.visualElement,...u- }) : null, uie(e, n, gie(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, fie(e, n, vie(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, F.forwardRef)(s);- return c[hie] = e, c;+ return c[_ie] = e, c;}-function vie({ layoutId: e }) {- let t = (0, F.useContext)(mm).id;+function bie({ layoutId: e }) {+ let t = (0, F.useContext)(ym).id;return t && e !== void 0 ? t + "-" + e : e;}-function yie(e, t) {- (0, F.useContext)(jx).strict;+function xie(e, t) {+ (0, F.useContext)(Px).strict;}-function bie(e) {- let { drag: t, layout: n } = Px();+function Sie(e) {+ let { drag: t, layout: n } = Lx();if (!t && !n) return {};let r = {...t,@@ -21201,19 +21214,19 @@ function bie(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function xie(e, t) {- if (typeof Proxy > "u") return Wx;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Wx(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Wx(a, void 0, e, t)), n.get(a)) });+function Cie(e, t) {+ if (typeof Proxy > "u") return qx;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => qx(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, qx(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjection: e !== F.Fragment }), Cie = class extends hx {+var wie = (e, t) => t.isSVG ?? Wx(e) ? new Hre(t) : new lre(t, { allowProjection: e !== F.Fragment }), Tie = class extends vx {constructor(e) {- super(e), e.animationState ||= Hre(e);+ super(e), e.animationState ||= Wre(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- gb(e) && (this.unmountControls = e.subscribe(this.node));+ yb(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -21224,11 +21237,11 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, wie = 0, Tie = {- animation: { Feature: Cie },- exit: { Feature: class extends hx {+}, Eie = 0, Die = {+ animation: { Feature: Tie },+ exit: { Feature: class extends vx {constructor() {- super(...arguments), this.id = wie++;+ super(...arguments), this.id = Eie++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -21239,7 +21252,7 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = hv(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = _v(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -21258,13 +21271,13 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjection}unmount() {}} }-}, Eie = class extends hx {+}, Oie = class extends vx {constructor(e) {- super(e), this.removeGroupControls = Em, this.removeListeners = Em, this.controls = new Mre(e);+ super(e), this.removeGroupControls = jm, this.removeListeners = jm, this.controls = new Pre(e);}mount() {let { dragControls: e } = this.node.getProps();- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Em;+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || jm;}update() {let { dragControls: e, drag: t } = this.node.getProps(), { dragControls: n, drag: r } = this.node.prevProps || {};@@ -21273,14 +21286,14 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Gx = (e) => (t, n) => {- e && pg.update(() => e(t, n), !1, !0);-}, Die = class extends hx {+}, Jx = (e) => (t, n) => {+ e && _g.update(() => e(t, n), !1, !0);+}, kie = class extends vx {constructor() {- super(...arguments), this.removePointerDownListener = Em;+ super(...arguments), this.removePointerDownListener = jm;}onPointerDown(e) {- this.session = new Ub(e, this.createPanHandlers(), {+ this.session = new Kb(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),contextWindow: this.node.current?.ownerDocument.defaultView});@@ -21288,16 +21301,16 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectioncreatePanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Gx(e),- onStart: Gx(t),- onMove: Gx(n),+ onSessionStart: Jx(e),+ onStart: Jx(t),+ onMove: Jx(n),onEnd: (e, t) => {- delete this.session, r && pg.postRender(() => r(e, t));+ delete this.session, r && _g.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Pb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Lb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session?.updateHandlers(this.createPanHandlers());@@ -21305,12 +21318,12 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session?.end();}-}, Kx = !1, qx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({+}, Yx = !1, Xx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), Jx = (e, t) => {+}), Zx = (e, t) => {let { snapshot: n } = e, r = e.getStack();r?.remove(e);let i = r?.lead;@@ -21319,33 +21332,33 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectionlet { resumeFrom: t } = e;t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);};-}, Oie = class extends F.Component {+}, Aie = class extends F.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group?.add(i), r && n?.register?.(i), Kx && i.root.didUpdate(), i.options.layoutId !== r && Jx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Yx && i.root.didUpdate(), i.options.layoutId !== r && Zx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...qx(this.props),+ ...Xx(this.props),onExitComplete: () => this.safeToRemove()- })), Qy.hasEverUpdated = !0;+ })), tb.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Jx(o, n)), o.setOptions({+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Zx(o, n)), o.setOptions({...o.options,- ...qx(this.props)- }), Kx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {+ ...Xx(this.props)+ }), Yx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || _g.postRender(() => {o.getStack()?.members.length || this.safeToRemove();}))), null;}componentDidUpdate() {let { projection: e } = this.props.visualElement;- e && (this.takeOver?.(), e.root.didUpdate(), py.postRender(() => {+ e && (this.takeOver?.(), e.root.didUpdate(), gy.postRender(() => {!e.currentAnimation && e.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Kx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));+ Yx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {this.props.safeToRemove?.();@@ -21354,39 +21367,39 @@ var Sie = (e, t) => t.isSVG ?? Vx(e) ? new Bre(t) : new sre(t, { allowProjectionreturn null;}};-function Yx(e) {- let [t, n] = Ex(), r = (0, F.useContext)(mm);- return (0, I.jsx)(Oie, {+function Qx(e) {+ let [t, n] = kx(), r = (0, F.useContext)(ym);+ return (0, I.jsx)(Aie, {...e,layoutGroup: r,- switchLayoutGroup: (0, F.useContext)(Ux),+ switchLayoutGroup: (0, F.useContext)(Kx),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var kie = {- pan: { Feature: Die },+var jie = {+ pan: { Feature: kie },drag: {- Feature: Eie,- ProjectionNode: mb,- MeasureLayout: Yx+ Feature: Oie,+ ProjectionNode: _b,+ MeasureLayout: Qx}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Xx(e, t, n, r) {+function $x(e, t, n, r) {let { props: i } = e, a = "while" + n;e.animationState && i[a] && e.animationState.setActive(a, r === "Start");let o = i["on" + n + r];- o && pg.postRender(() => o(t, Nb(t)));+ o && _g.postRender(() => o(t, Ib(t)));}-var Aie = class extends hx {+var Mie = class extends vx {mount() {let { current: e } = this.node;- e && (this.unmount = Ire(e, (e, t) => (Xx(this.node, t, "Hover", "Start"), (e) => Xx(this.node, e, "Hover", "End"))));+ e && (this.unmount = Rre(e, (e, t) => ($x(this.node, t, "Hover", "Start"), (e) => $x(this.node, e, "Hover", "End"))));}unmount() {}-}, jie = class extends hx {+}, Nie = class extends vx {constructor() {super(...arguments), this.isActive = !1;}@@ -21403,51 +21416,51 @@ var Aie = class extends hx {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Dm(fb(this.node.current, "focus", () => this.onFocus()), fb(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Mm(hb(this.node.current, "focus", () => this.onFocus()), hb(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Zx(e, t, n) {- e.current instanceof HTMLButtonElement && e.current.disabled || Xx(e, t, "Tap", n);+function eS(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || $x(e, t, "Tap", n);}-var Mie = class extends hx {+var Pie = class extends vx {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Rre(e, (e, t) => (Zx(this.node, t, "Start"), (e, { success: t }) => Zx(this.node, e, t ? "" : "Cancel")), {+ this.unmount = Bre(e, (e, t) => (eS(this.node, t, "Start"), (e, { success: t }) => eS(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Qx = /* @__PURE__ */ new WeakMap(), $x = /* @__PURE__ */ new WeakMap(), Nie = (e) => {- let t = Qx.get(e.target);+}, tS = /* @__PURE__ */ new WeakMap(), nS = /* @__PURE__ */ new WeakMap(), Fie = (e) => {+ let t = tS.get(e.target);t && t(e);-}, Pie = (e) => {- e.forEach(Nie);+}, Iie = (e) => {+ e.forEach(Fie);};-function Fie({ root: e, ...t }) {+function Lie({ root: e, ...t }) {let n = e || document;- $x.has(n) || $x.set(n, {});- let r = $x.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(Pie, {+ nS.has(n) || nS.set(n, {});+ let r = nS.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Iie, {root: e,...t})), r[i];}-function Iie(e, t, n) {- let r = Fie(t);- return Qx.set(e, n), r.observe(e), () => {- Qx.delete(e), r.unobserve(e);+function Rie(e, t, n) {+ let r = Lie(t);+ return tS.set(e, n), r.observe(e), () => {+ tS.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var Lie = {+var zie = {some: 0,all: 1-}, Rie = class extends hx {+}, Bie = class extends vx {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -21456,7 +21469,7 @@ var Lie = {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 : Lie[r]+ threshold: typeof r == "number" ? r : zie[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -21464,7 +21477,7 @@ var Lie = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = Iie(this.node.current, a, o);+ this.stopObserver = Rie(this.node.current, a, o);}mount() {this.startObserver();@@ -21476,81 +21489,81 @@ var Lie = {"amount","margin","root"- ].some(zie(e, t)) && this.startObserver();+ ].some(Vie(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function zie({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Vie({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Bie = /*@__PURE__*/ xie(/* @__PURE__ */ Object.assign({}, Tie, {- inView: { Feature: Rie },- tap: { Feature: Mie },- focus: { Feature: jie },- hover: { Feature: Aie }-}, kie, { layout: {- ProjectionNode: mb,- MeasureLayout: Yx-} }), Sie);+var Hie = /*@__PURE__*/ Cie(/* @__PURE__ */ Object.assign({}, Die, {+ inView: { Feature: Bie },+ tap: { Feature: Pie },+ focus: { Feature: Nie },+ hover: { Feature: Mie }+}, jie, { layout: {+ ProjectionNode: _b,+ MeasureLayout: Qx+} }), wie);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function eS() {- !Cb.current && wb();- let [e] = (0, F.useState)(Sb.current);+function rS() {+ !Eb.current && Db();+ let [e] = (0, F.useState)(Tb.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function tS(e) {+function iS(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function nS(e, t, n, r) {- return e == null ? [] : typeof e == "string" && tS(t) ? Iv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function aS(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && iS(t) ? zv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Vie(e, t, n) {+function Uie(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function rS(e, t) {+function oS(e, t) {if (t.has(e)) return t.get(e);let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;}-function Hie(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))) : rS(t, r) ?? e;+function Wie(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))) : oS(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Uie(e, t, n) {+function Gie(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];- i.at > t && i.at < n && (ym(e, i), r--);+ i.at > t && i.at < n && (wm(e, i), r--);}}-function Wie(e, t, n, r, i, a) {- Uie(e, i, a);+function Kie(e, t, n, r, i, a) {+ Gie(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: ng(i, a, r[o]),- easing: /* @__PURE__ */ Ym(n, o)+ at: og(i, a, r[o]),+ easing: /* @__PURE__ */ eh(n, o)});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Gie(e, t, n = 0) {+function qie(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Kie(e, t) {+function Jie(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}// node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var qie = "easeInOut", Jie = 20;-function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {+var Yie = "easeInOut", Xie = 20;+function Zie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {- let a = n, s = (e) => typeof e == "number" ? n + e : Hie(f, e, d, u);+ let a = n, s = (e) => typeof e == "number" ? n + e : Wie(f, e, d, u);for (let n = 0; n < e.length; n++) {let h = e[n];if (typeof h == "string") {@@ -21565,12 +21578,12 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let [g, _, v = {}] = h;v.at !== void 0 && (f = s(v.at));let y = 0, b = (e, n, r, a = 0, s = 0) => {- let c = Xie(e), { delay: l = 0, times: u = Rg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;+ let c = Qie(e), { delay: l = 0, times: u = Vg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;r.mixer ||= n.mixer;- let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = N_(d) ? d : i?.[d || "keyframes"];+ let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = I_(d) ? d : i?.[d || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && $ie(c)) {+ if (S === 2 && tae(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -21578,40 +21591,40 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {...t,..._};- b !== void 0 && (n.duration = /* @__PURE__ */ Am(b));- let r = bg(n, e, C);+ b !== void 0 && (n.duration = /* @__PURE__ */ Fm(b));+ let r = wg(n, e, C);v = r.ease, b = r.duration;}b ??= o;let w = f + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Lg(u, T), c.length === 1 && c.unshift(null), m && m < Jie) {+ if (T > 0 && Bg(u, T), c.length === 1 && c.unshift(null), m && m < Xie) {let e = b > 0 ? g / b : 0;- b = Vie(b, m, g);+ b = Uie(b, m, g);let t = [...c], n = [...u];v = Array.isArray(v) ? [...v] : [v];let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;- i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Lm(e) : e)));+ i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Hm(e) : e)));for (let s = 0; s < m; s++) {let l = i && s % 2 == 0, d = l ? a : t, f = l ? o : r, p = (s + 1) * (1 + e);e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);- for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Ym(f, e - 1));+ for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ eh(f, e - 1));}- Gie(u, m, e);+ qie(u, m, e);}let E = w + b;- Wie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);+ Kie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);};- if (vv(g)) {- let e = iS(g, c);- b(_, v, aS("default", e));+ if (xv(g)) {+ let e = sS(g, c);+ b(_, v, cS("default", e));} else {- let e = nS(g, _, r, l), t = e.length;+ let e = aS(g, _, r, l), t = e.length;for (let n = 0; n < t; n++) {_ = _, v = v;- let r = e[n], i = iS(r, c);- for (let e in _) b(_[e], Zie(v, e), aS(e, i), n, t);+ let r = e[n], i = sS(r, c);+ for (let e in _) b(_[e], $ie(v, e), cS(e, i), n, t);}}d = f, f += y, a = Math.max(a, f);@@ -21621,13 +21634,13 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Kie);+ a.sort(Jie);let o = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];- o.push(n), c.push(/* @__PURE__ */ Om(0, p, t)), l.push(r || "easeOut");+ o.push(n), c.push(/* @__PURE__ */ Nm(0, p, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(qie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Yie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},transition: {}});@@ -21645,45 +21658,45 @@ function Yie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {}}), s;}-function iS(e, t) {+function sS(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function aS(e, t) {+function cS(e, t) {return t[e] || (t[e] = []), t[e];}-function Xie(e) {+function Qie(e) {return Array.isArray(e) ? e : [e];}-function Zie(e, t) {+function $ie(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Qie = (e) => typeof e == "number", $ie = (e) => e.every(Qie);+var eae = (e) => typeof e == "number", tae = (e) => e.every(eae);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function eae(e, t) {- return vv(e) || typeof e == "number" || typeof e == "string" && !tS(t);+function nae(e, t) {+ return xv(e) || typeof e == "number" || typeof e == "string" && !iS(t);}-function oS(e, t, n, r) {+function lS(e, t, n, r) {let i = [];- if (eae(e, t)) i.push(my(e, tS(t) && t.default || t, n && (n.default || n)));+ if (nae(e, t)) i.push(_y(e, iS(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = nS(e, t, r), o = a.length;+ let a = aS(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(...dne(r, t, s, hb.get(r))) : i.push(...Av(Gte(r) ?? fne, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...pne(r, t, s, vb.get(r))) : i.push(...Nv(qte(r) ?? mne, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function tae(e, t, n, r) {+function rae(e, t, n, r) {let i = [];- return Yie(e.map((e) => {+ return Zie(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = lv(0);+ let t = e[0], n = dv(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -21695,33 +21708,33 @@ function tae(e, t, n, r) {];}return e;- }), t, n, { spring: Pg }, r).forEach(({ keyframes: e, transition: t }, n) => {- i.push(...oS(n, e, t));+ }), t, n, { spring: Lg }, r).forEach(({ keyframes: e, transition: t }, n) => {+ i.push(...lS(n, e, t));}), i;}// node_modules/framer-motion/dist/es/animation/timeline/index.mjs-var sS = 0;-function nae(e, t) {+var uS = 0;+function iae(e, t) {let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;return n[r] = {...n[r],at: t}, n;}-var cS = (e, t) => t === void 0 ? e : {+var dS = (e, t) => t === void 0 ? e : {name: e,at: t};-function lS(e) {+function fS(e) {e.pause(), e.time = 0, e.stop();}-var uS = class e {+var pS = class e {constructor(e = [], t = {}, n) {- this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Nv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Iv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {this.flush(), this.group?.stop();- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new rv(n), this.watch()) : (this.invalidate(), this.flush());+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new av(n), this.watch()) : (this.invalidate(), this.flush());let { scope: r } = t;- r && (r.animations.push(this), this.finished.then(() => ym(r.animations, this)));+ r && (r.animations.push(this), this.finished.then(() => wm(r.animations, this)));}add(t, n) {return t instanceof e && t.adopt(this), this.push({@@ -21734,7 +21747,7 @@ var uS = class e {item: e,at: t,marker: {- name: "_m" + sS++,+ name: "_m" + uS++,time: 0,callback: e}@@ -21745,7 +21758,7 @@ var uS = class e {item: t || {},at: e,marker: {- name: "_m" + sS++,+ name: "_m" + uS++,time: 0,callback: t,pause: !0@@ -21839,50 +21852,50 @@ var uS = class e {this.isDirty && !this.parent && !this.isKilled && this.build();}adopt(e) {- this.group &&= (lS(this.group), void 0), this.isDirty = !1, this.parent = e;+ this.group &&= (fS(this.group), void 0), this.isDirty = !1, this.parent = e;}build() {this.isDirty = !1, this.isWrapped = !1;let e = this.group, t = 0;- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, lS(e)), this.isRebuilding = !1);+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, fS(e)), this.isRebuilding = !1);let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);- let d = /* @__PURE__ */ new Map(), f = {}, p = Nv.current;- Nv.current = this.motionScope;+ let d = /* @__PURE__ */ new Map(), f = {}, p = Iv.current;+ Iv.current = this.motionScope;let m;try {- m = tae(this.toSequence(d), {+ m = rae(this.toSequence(d), {defaultTransition: n,...u}, c, f);} finally {- Nv.current = p;+ Iv.current = p;}let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {- let e = this.clock = lv(0);- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = my(e, [0, g], {+ let e = this.clock = dv(0);+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = _y(e, [0, g], {...u,duration: g,ease: "linear"}));}- let v = this.group = new rv(m);+ let v = this.group = new av(m);t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();}toSequence(t) {- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), cS(i.name, r)) : n instanceof e ? {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), dS(i.name, r)) : n instanceof e ? {sequence: n.toSequence(t),at: r- } : typeof n == "string" ? cS(n, r) : r === void 0 ? n : Array.isArray(n) ? nae(n, r) : {+ } : typeof n == "string" ? dS(n, r) : r === void 0 ? n : Array.isArray(n) ? iae(n, r) : {...n,at: r});}resolve(e) {- return this.flush(), typeof e == "number" ? e : rS(e, this.labels) ?? this.time;+ return this.flush(), typeof e == "number" ? e : oS(e, this.labels) ?? this.time;}currentRepeat() {let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;@@ -21930,16 +21943,16 @@ var uS = class e {}};// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function rae(e) {+function aae(e) {return Array.isArray(e) && e.some(Array.isArray);}-function iae(e = {}) {+function oae(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {- let o = Nv.current?.transition, s = {};+ let o = Iv.current?.transition, s = {};n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);let c;- if (rae(e)) {+ if (aae(e)) {let n = {...s,...i,@@ -21948,14 +21961,14 @@ function iae(e = {}) {o && (n.defaultTransition = {...o,...n.defaultTransition- }), c = new uS(e, n);+ }), c = new pS(e, n);} else {let { onComplete: n, ...r } = a || {}, l = {...s,...o,...r}, { onUpdate: u } = r;- c = new uS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ c = new pS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [u || (() => {}),Array.isArray(i) ? i : [e, i],{@@ -21970,29 +21983,29 @@ function iae(e = {}) {...s,onComplete: n,scope: t- }, oS(e, i, l, t));+ }, lS(e, i, l, t));}return c;}return i;}-var dS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ iae(), {- addEffect: Wte,- removeEffect: Ov+var mS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ oae(), {+ addEffect: Kte,+ removeEffect: jv});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function aae(e, t, n, r) {+function sae(e, t, n, r) {if (e == null) return [];- let i = Iv(e, r), a = i.length, o = [];+ let i = zv(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...dv(s, e) };- i.duration &&= /* @__PURE__ */ Am(i.duration), i.delay &&= /* @__PURE__ */ Am(i.delay);- let a = gte(r), c = hte(e, i.pseudoElement || ""), l = a.get(c);+ let i = { ...pv(s, e) };+ i.duration &&= /* @__PURE__ */ Fm(i.duration), i.delay &&= /* @__PURE__ */ Fm(i.delay);+ let a = yte(r), c = vte(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -22008,21 +22021,21 @@ function aae(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = mx(r, i)), n_(t), Ute(t, i), !a && t.length < 2 && t.unshift(mx(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = _x(r, i)), a_(t), Gte(t, i), !a && t.length < 2 && t.unshift(_x(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new P_(r);+ let { map: t, key: n, options: r } = o[e], i = new L_(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var oae = /*@__PURE__*/ ((e) => {+var cae = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new rv(aae(t, n, r, e));+ return new av(sae(t, n, r, e));}return t;-})(), fS = Bie, pS = class {+})(), hS = Hie, gS = 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;}@@ -22037,22 +22050,22 @@ var oae = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, mS = class extends pS {+}, _S = class extends gS {filter(e, t, n) {- let [r, i] = vS(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = xS(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends pS {+(class extends gS {static {this.type = "header";}});-var hS = class extends pS {+var vS = class extends gS {static {this.type = "loader";}-}, gS = class extends mS {+}, yS = class extends _S {static {this.type = "item";}@@ -22063,7 +22076,7 @@ var hS = class extends pS {}return null;}-}, sae = class extends mS {+}, lae = class extends _S {static {this.type = "section";}@@ -22075,7 +22088,7 @@ var hS = class extends pS {}return null;}-}, _S = class {+}, bS = class {get size() {return this.itemCount;}@@ -22150,14 +22163,14 @@ var hS = class extends pS {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = vS(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = xS(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 vS(e, t, n, r) {+function xS(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -22171,7 +22184,7 @@ function vS(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var yS = class {+var SS = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -22252,7 +22265,7 @@ var yS = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, bS = class e extends yS {+}, CS = class e extends SS {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -22303,7 +22316,7 @@ var yS = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, cae = class extends yS {+}, uae = class extends SS {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;}@@ -22311,7 +22324,7 @@ var yS = class {return !0;}createElement(e) {- return new bS(e, this);+ return new CS(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -22333,8 +22346,8 @@ var yS = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof bS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof bS ? (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 CS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof CS ? (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() {@@ -22352,13 +22365,13 @@ var yS = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function xS(e) {+function wS(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, F.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = lae(a) ? a : null, o = n ? s.get(n) : null;+ let n = dae(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -22383,7 +22396,7 @@ function xS(e) {i]);}-function lae(e) {+function dae(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -22392,24 +22405,24 @@ function lae(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function SS(e) {+function TS(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var CS = (e) => uae(e) ? e.document : dae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), wS = (e) => CS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function TS(e) {+var ES = (e) => fae(e) ? e.document : pae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), DS = (e) => ES(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function OS(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function uae(e) {+function fae(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function dae(e) {- return TS(e) && e.nodeType === 9;+function pae(e) {+ return OS(e) && e.nodeType === 9;}-function ES(e) {- return TS(e) && e.nodeType === 11 && "host" in e;+function kS(e) {+ return OS(e) && e.nodeType === 11 && "host" in e;}-function DS(e, t, n, r) {+function AS(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);@@ -22417,7 +22430,7 @@ function DS(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function OS(e, t, n, r) {+function jS(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -22431,70 +22444,70 @@ function OS(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var fae = !1;-function kS() {- return fae;+var mae = !1;+function MS() {+ return mae;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function AS(e, t) {- if (!kS()) return t && e ? e.contains(t) : !1;+function NS(e, t) {+ if (!MS()) 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 : ES(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : kS(n) ? n.host : n.parentNode;}return !1;}-var jS = (e = document) => {- if (!kS()) return e.activeElement;+var PS = (e = document) => {+ if (!MS()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function G(e) {- if (kS() && e.target instanceof Element && e.target.shadowRoot) {+ if (MS() && 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 MS(e, t) {+function FS(e, t) {if (t === null) return [];- t ??= wS(e);+ t ??= DS(e);let n = [t];- if (!kS() || !e || e === t) return n;+ if (!MS() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; ES(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; kS(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function NS(e) {+function IS(e) {if (!e) return !1;- let t = e.getRootNode(), n = wS(e);+ let t = e.getRootNode(), n = DS(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}// node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var pae = typeof Element < "u" && "checkVisibility" in Element.prototype;-function mae(e) {- let t = wS(e);+var hae = typeof Element < "u" && "checkVisibility" in Element.prototype;+function gae(e) {+ let t = DS(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 } = wS(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = DS(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function hae(e, t) {+function _ae(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 PS(e, t) {- return pae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && mae(e) && hae(e, t) && (!e.parentElement || PS(e.parentElement, e));+function LS(e, t) {+ return hae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && gae(e) && _ae(e, t) && (!e.parentElement || LS(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var FS = [+var RS = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -22509,39 +22522,39 @@ var FS = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], gae = FS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-FS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var _ae = FS.join(":not([hidden]):not([tabindex=\"-1\"]),");-function IS(e, t) {- return e.matches(gae) && !RS(e) && (t?.skipVisibilityCheck || PS(e));+], vae = RS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+RS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var yae = RS.join(":not([hidden]):not([tabindex=\"-1\"]),");+function zS(e, t) {+ return e.matches(vae) && !VS(e) && (t?.skipVisibilityCheck || LS(e));}-function LS(e) {- return e.matches(_ae) && PS(e) && !RS(e);+function BS(e) {+ return e.matches(yae) && LS(e) && !VS(e);}-function RS(e) {+function VS(e) {let t = e;for (; t != null;) {- if (t instanceof wS(t).HTMLElement && t.inert) return !0;+ if (t instanceof DS(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var zS = typeof document < "u" ? F.useLayoutEffect : () => {};+var HS = typeof document < "u" ? F.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function BS(e) {+function US(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function VS(e, t) {+function WS(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function HS(e) {+function GS(e) {let t = (0, F.useRef)({isFocused: !1,observer: null});- return zS(() => {+ return HS(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -22553,14 +22566,14 @@ function HS(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = BS(r);+ let t = US(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 === jS() ? null : jS();+ let e = n === PS() ? null : PS();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -22573,80 +22586,80 @@ function HS(e) {}}, [e]);}-var US = !1;-function vae(e) {- for (; e && !IS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = jS(wS(e).document);+var KS = !1;+function bae(e) {+ for (; e && !zS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = PS(DS(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && ES(n) ? n : wS(e), i = (t) => t === e || TS(t) && AS(e, t), a = (e) => e === t || t != null && TS(e) && AS(t, e);- US = !0;+ let n = e?.getRootNode(), r = n != null && kS(n) ? n : DS(e), i = (t) => t === e || OS(t) && NS(e, t), a = (e) => e === t || t != null && OS(e) && NS(t, e);+ KS = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, SS(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, TS(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, SS(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, TS(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), US = !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), KS = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function WS(e) {+function qS(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 GS(e) {+function JS(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function KS(e) {+function YS(e) {let t = null;return () => (t ??= e(), t);}-var qS = KS(function() {- return GS(/^Mac/i);-}), yae = KS(function() {- return GS(/^iPhone/i);-}), JS = KS(function() {- return GS(/^iPad/i) || qS() && navigator.maxTouchPoints > 1;-}), YS = KS(function() {- return yae() || JS();-}), bae = KS(function() {- return qS() || YS();-}), XS = KS(function() {- return WS(/AppleWebKit/i) && (YS() || !ZS());-}), ZS = KS(function() {- return WS(/Chrome|CriOS|CrMo/i);-}), QS = KS(function() {- return WS(/Android/i);+var XS = YS(function() {+ return JS(/^Mac/i);+}), xae = YS(function() {+ return JS(/^iPhone/i);+}), ZS = YS(function() {+ return JS(/^iPad/i) || XS() && navigator.maxTouchPoints > 1;+}), QS = YS(function() {+ return xae() || ZS();+}), Sae = YS(function() {+ return XS() || QS();+}), $S = YS(function() {+ return qS(/AppleWebKit/i) && (QS() || !eC());+}), eC = YS(function() {+ return qS(/Chrome|CriOS|CrMo/i);+}), tC = YS(function() {+ return qS(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function $S(e) {- return e.pointerType === "" && e.isTrusted ? !0 : QS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function nC(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : tC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function xae(e) {- return !QS() && e.width === 0 && e.height === 0 || QS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Cae(e) {+ return !tC() && e.width === 0 && e.height === 0 || tC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjs-var Sae = /*#__PURE__*/ (0, F.createContext)({+var wae = /*#__PURE__*/ (0, F.createContext)({isNative: !0,- open: Tae,+ open: Dae,useHref: (e) => e});-function eC() {- return (0, F.useContext)(Sae);+function rC() {+ return (0, F.useContext)(wae);}-function Cae(e, t) {+function Tae(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 tC(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = XS() && qS() && !JS() ? new KeyboardEvent("keydown", {+function iC(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = $S() && XS() && !ZS() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -22661,21 +22674,21 @@ function tC(e, t, n = !0) {bubbles: !0,cancelable: !0});- tC.isOpening = n, SS(e), e.dispatchEvent(s), tC.isOpening = !1;+ iC.isOpening = n, TS(e), e.dispatchEvent(s), iC.isOpening = !1;}-tC.isOpening = !1;-function wae(e, t) {+iC.isOpening = !1;+function Eae(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 Tae(e, t) {- wae(e, (e) => tC(e, t));+function Dae(e, t) {+ Eae(e, (e) => iC(e, t));}-function nC(e) {- let t = eC().useHref(e.href ?? "");+function aC(e) {+ let t = rC().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -22685,8 +22698,8 @@ function nC(e) {"data-referrer-policy": e.referrerPolicy};}-function rC(e) {- let t = eC().useHref(e?.href ?? ""), n = {};+function oC(e) {+ let t = rC().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -22697,138 +22710,138 @@ function rC(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function Eae(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Cae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Oae(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Tae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var iC = {+var sC = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, aC = /*#__PURE__*/ F.createContext(iC), Dae = /*#__PURE__*/ F.createContext(!1);+}, cC = /*#__PURE__*/ F.createContext(sC), kae = /*#__PURE__*/ F.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var oC = /* @__PURE__ */ new WeakMap();-function Oae(e = !1) {- let t = (0, F.useContext)(aC), n = (0, F.useRef)(null);+var lC = /* @__PURE__ */ new WeakMap();+function Aae(e = !1) {+ let t = (0, F.useContext)(cC), n = (0, F.useRef)(null);if (n.current === null && !e) {let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = oC.get(e);- n == null ? oC.set(e, {+ let n = lC.get(e);+ n == null ? lC.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, oC.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, lC.delete(e));}n.current = ++t.current;}return n.current;}-function kae(e) {- let t = (0, F.useContext)(aC), n = Oae(!!e), r = `react-aria${t.prefix}`;+function jae(e) {+ let t = (0, F.useContext)(cC), n = Aae(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Aae(e) {- let t = F.useId(), [n] = (0, F.useState)(cC()), r = n ? "react-aria" : `react-aria${iC.prefix}`;+function Mae(e) {+ let t = F.useId(), [n] = (0, F.useState)(uC()), r = n ? "react-aria" : `react-aria${sC.prefix}`;return e || `${r}-${t}`;}-var jae = typeof F.useId == "function" ? Aae : kae;-function Mae() {+var Nae = typeof F.useId == "function" ? Mae : jae;+function Pae() {return !1;}-function Nae() {+function Fae() {return !0;}-function sC(e) {+function Iae(e) {return () => {};}-function cC() {- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(sC, Mae, Nae) : (0, F.useContext)(Dae);+function uC() {+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(Iae, Pae, Fae) : (0, F.useContext)(kae);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var lC = null, uC = /* @__PURE__ */ new Set(), dC = /* @__PURE__ */ new Map(), fC = !1, pC = !1, Pae = {+var dC = null, fC = /* @__PURE__ */ new Set(), pC = /* @__PURE__ */ new Map(), mC = !1, hC = !1, Lae = {Tab: !0,Escape: !0};-function mC(e, t) {- for (let n of uC) n(e, t);-}-function Fae(e) {- return !(e.metaKey || !qS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function gC(e, t) {+ for (let n of fC) n(e, t);}-function hC(e) {- fC = !0, !tC.isOpening && Fae(e) && (lC = "keyboard", mC("keyboard", e));-}-function gC(e) {- lC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (fC = !0, mC("pointer", e));+function Rae(e) {+ return !(e.metaKey || !XS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function _C(e) {- !tC.isOpening && $S(e) && (fC = !0, lC = "virtual");+ mC = !0, !iC.isOpening && Rae(e) && (dC = "keyboard", gC("keyboard", e));}function vC(e) {- if (US) return;- let t = G(e), n = wS(t), r = CS(t);- t === n ? pC = !0 : t !== r && e.isTrusted && (!fC && !pC && (lC = "virtual", mC("virtual", e)), fC = !1, pC = !1);+ dC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (mC = !0, gC("pointer", e));}-function yC() {- US || (fC = !1, pC = !0);+function yC(e) {+ !iC.isOpening && nC(e) && (mC = !0, dC = "virtual");}function bC(e) {- let t = jS(CS(G(e)));+ if (KS) return;+ let t = G(e), n = DS(t), r = ES(t);+ t === n ? hC = !0 : t !== r && e.isTrusted && (!mC && !hC && (dC = "virtual", gC("virtual", e)), mC = !1, hC = !1);+}+function xC() {+ KS || (mC = !1, hC = !0);+}+function SC(e) {+ let t = PS(ES(G(e)));queueMicrotask(() => {- jS(CS(G(e))) !== t && TC("keyboard");+ PS(ES(G(e))) !== t && DC("keyboard");});}-function xC(e) {+function CC(e) {if (typeof window > "u" || typeof document > "u") return;- let t = wS(e), n = CS(e);- if (dC.get(t)) return;+ let t = DS(e), n = ES(e);+ if (pC.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- fC = !0, r.apply(this, arguments);+ mC = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", hC, !0), n.addEventListener("keyup", hC, !0), n.addEventListener("click", _C, !0), n.addEventListener("invalid", bC, !0), t.addEventListener("focus", vC, !0), t.addEventListener("blur", yC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", gC, !0), n.addEventListener("pointermove", gC, !0), n.addEventListener("pointerup", gC, !0)), t.addEventListener("beforeunload", () => {- SC(e);- }, { once: !0 }), dC.set(t, { focus: r });+ }), n.addEventListener("keydown", _C, !0), n.addEventListener("keyup", _C, !0), n.addEventListener("click", yC, !0), n.addEventListener("invalid", SC, !0), t.addEventListener("focus", bC, !0), t.addEventListener("blur", xC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", vC, !0), n.addEventListener("pointermove", vC, !0), n.addEventListener("pointerup", vC, !0)), t.addEventListener("beforeunload", () => {+ wC(e);+ }, { once: !0 }), pC.set(t, { focus: r });}-var SC = (e, t) => {- let n = wS(e), r = CS(e);- t && r.removeEventListener("DOMContentLoaded", t), dC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var wC = (e, t) => {+ let n = DS(e), r = ES(e);+ t && r.removeEventListener("DOMContentLoaded", t), pC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: dC.get(n).focus- }), r.removeEventListener("keydown", hC, !0), r.removeEventListener("keyup", hC, !0), r.removeEventListener("click", _C, !0), r.removeEventListener("invalid", bC, !0), n.removeEventListener("focus", vC, !0), n.removeEventListener("blur", yC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", gC, !0), r.removeEventListener("pointermove", gC, !0), r.removeEventListener("pointerup", gC, !0)), dC.delete(n));+ value: pC.get(n).focus+ }), r.removeEventListener("keydown", _C, !0), r.removeEventListener("keyup", _C, !0), r.removeEventListener("click", yC, !0), r.removeEventListener("invalid", SC, !0), n.removeEventListener("focus", bC, !0), n.removeEventListener("blur", xC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", vC, !0), r.removeEventListener("pointermove", vC, !0), r.removeEventListener("pointerup", vC, !0)), pC.delete(n));};-function Iae(e) {- let t = CS(e), n;+function zae(e) {+ let t = ES(e), n;return t.readyState === "loading" ? (n = () => {- xC(e);- }, t.addEventListener("DOMContentLoaded", n)) : xC(e), () => SC(e, n);+ CC(e);+ }, t.addEventListener("DOMContentLoaded", n)) : CC(e), () => wC(e, n);}-typeof document < "u" && Iae();-function CC() {- return lC !== "pointer";+typeof document < "u" && zae();+function TC() {+ return dC !== "pointer";}-function wC() {- return lC;+function EC() {+ return dC;}-function TC(e) {- lC = e, mC(e, null);+function DC(e) {+ dC = e, gC(e, null);}-function EC() {- xC();- let [e, t] = (0, F.useState)(lC);+function OC() {+ CC();+ let [e, t] = (0, F.useState)(dC);return (0, F.useEffect)(() => {let e = () => {- t(lC);+ t(dC);};- return uC.add(e), () => {- uC.delete(e);+ return fC.add(e), () => {+ fC.delete(e);};- }, []), cC() ? null : e;+ }, []), uC() ? null : e;}-var Lae = /* @__PURE__ */ new Set([+var Bae = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22839,107 +22852,107 @@ var Lae = /* @__PURE__ */ new Set(["submit","reset"]);-function Rae(e, t, n) {- let r = n ? G(n) : void 0, i = CS(r), a = wS(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 = jS(i);- return e = e || u instanceof o && !Lae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Pae[n.key]);+function Vae(e, t, n) {+ let r = n ? G(n) : void 0, i = ES(r), a = DS(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 = PS(i);+ return e = e || u instanceof o && !Bae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Lae[n.key]);}-function DC(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || CC());- return OC((e) => {+function kC(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || TC());+ return AC((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function OC(e, t, n) {- xC(), (0, F.useEffect)(() => {+function AC(e, t, n) {+ CC(), (0, F.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Rae(!!n?.isTextInput, t, r) && e(CC());+ Vae(!!n?.isTextInput, t, r) && e(TC());};- return uC.add(t), () => {- uC.delete(t);+ return fC.add(t), () => {+ fC.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var kC = /* @__PURE__ */ new Map(), AC = /* @__PURE__ */ new Set();-function jC(e) {+var jC = /* @__PURE__ */ new Map(), MC = /* @__PURE__ */ new Set();+function NC(e) {return "propertyName" in e;}-function zae(e) {+function Hae(e) {let t = G(e);- if (!jC(e) || !t) return;- let n = kC.get(t);- n || (n = /* @__PURE__ */ new Set(), kC.set(t, n), t.addEventListener("transitioncancel", MC, { once: !0 })), n.add(e.propertyName);+ if (!NC(e) || !t) return;+ let n = jC.get(t);+ n || (n = /* @__PURE__ */ new Set(), jC.set(t, n), t.addEventListener("transitioncancel", PC, { once: !0 })), n.add(e.propertyName);}-function MC(e) {+function PC(e) {let t = G(e);- if (!jC(e) || !t) return;- let n = kC.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", MC), kC.delete(t)), kC.size === 0)) for (let e of AC) e(!0), AC.delete(e);+ if (!NC(e) || !t) return;+ let n = jC.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", PC), jC.delete(t)), jC.size === 0)) for (let e of MC) e(!0), MC.delete(e);}-function NC() {- DS(document, "transitionrun", zae), DS(document, "transitionend", MC);+function FC() {+ AS(document, "transitionrun", Hae), AS(document, "transitionend", PC);}-function Bae() {- for (let [e] of kC) "isConnected" in e && !e.isConnected && kC.delete(e);+function Uae() {+ for (let [e] of jC) "isConnected" in e && !e.isConnected && jC.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? DS(document, "DOMContentLoaded", NC) : NC());-function PC(e) {+typeof document < "u" && (document.readyState === "loading" ? AS(document, "DOMContentLoaded", FC) : FC());+function IC(e) {let t = window.requestAnimationFrame(() => {- if (Bae(), kC.size === 0) return e(!1);- AC.add(e);+ if (Uae(), jC.size === 0) return e(!1);+ MC.add(e);});return () => {- window.cancelAnimationFrame(t), AC.delete(e);+ window.cancelAnimationFrame(t), MC.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function FC(e) {+function LC(e) {if (!e.isConnected) return;- let t = CS(e);- if (wC() === "virtual") {- let n = jS(t);- PC(() => {- let r = jS(t);- (r === n || r === t.body) && e.isConnected && SS(e);+ let t = ES(e);+ if (EC() === "virtual") {+ let n = PS(t);+ IC(() => {+ let r = PS(t);+ (r === n || r === t.body) && e.isConnected && TS(e);});- } else SS(e);+ } else TS(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function IC(...e) {+function RC(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Vae(e) {+function Wae(e) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.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 zS(() => {+ return HS(() => {r.current = t, i.current && a.current();}), [t, (0, F.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var Hae = !!(typeof window < "u" && window.document && window.document.createElement), LC = /* @__PURE__ */ new Map(), RC;-typeof FinalizationRegistry < "u" && (RC = new FinalizationRegistry((e) => {- LC.delete(e);+var Gae = !!(typeof window < "u" && window.document && window.document.createElement), zC = /* @__PURE__ */ new Map(), BC;+typeof FinalizationRegistry < "u" && (BC = new FinalizationRegistry((e) => {+ zC.delete(e);}));-var zC = /* @__PURE__ */ new WeakMap();-function BC(e) {- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = jae(t), a = (0, F.useRef)(null), o = zC.get(a);- if (RC && o !== i && (o != null && RC.unregister(a), RC.register(a, i, a), zC.set(a, i)), Hae) {- let e = LC.get(i);- e && !e.includes(r) ? e.push(r) : LC.set(i, [r]);- }- return zS(() => {+var VC = /* @__PURE__ */ new WeakMap();+function HC(e) {+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Nae(t), a = (0, F.useRef)(null), o = VC.get(a);+ if (BC && o !== i && (o != null && BC.unregister(a), BC.register(a, i, a), VC.set(a, i)), Gae) {+ let e = zC.get(i);+ e && !e.includes(r) ? e.push(r) : zC.set(i, [r]);+ }+ return HS(() => {let e = i;return () => {- RC && (RC.unregister(a), zC.delete(a)), LC.delete(e);+ BC && (BC.unregister(a), VC.delete(a)), zC.delete(e);};}, [i]), (0, F.useEffect)(() => {let e = r.current;@@ -22948,57 +22961,57 @@ function BC(e) {};}), i;}-function Uae(e, t) {+function Kae(e, t) {if (e === t) return e;- let n = LC.get(e);+ let n = zC.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = LC.get(t);+ let r = zC.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function VC(e = []) {- let t = BC(), [n, r] = Vae(t), i = (0, F.useCallback)(() => {+function UC(e = []) {+ let t = HC(), [n, r] = Wae(t), i = (0, F.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return zS(i, [+ return HS(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function HC(...e) {+function WC(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = UC(e, t);+ let r = GC(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : UC(e[n], null);+ typeof t == "function" ? t() : GC(e[n], null);});};};}-function UC(e, t) {+function GC(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function WC(e) {+function KC(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 = WC(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = KC(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function GC() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = WC(e)) && (r && (r += " "), r += t);+function qC() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = KC(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -23008,17 +23021,17 @@ function K(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = IC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = GC(n, i) : e === "id" && n && i ? t.id = Uae(n, i) : e === "ref" && n && i ? t.ref = HC(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] = RC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = qC(n, i) : e === "id" && n && i ? t.id = Kae(n, i) : e === "ref" && n && i ? t.ref = WC(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function KC(e) {+function JC(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = HS(a), s = (0, F.useCallback)((e) => {- let t = G(e), r = CS(t), a = r ? jS(r) : jS();+ }, [r, i]), o = GS(a), s = (0, F.useCallback)((e) => {+ let t = G(e), r = ES(t), a = r ? PS(r) : PS();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -23031,7 +23044,7 @@ function KC(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function qC(e) {+function YC(e) {if (e) return (t) => {let n = !0;e({@@ -23055,33 +23068,33 @@ function qC(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Wae = /* @__PURE__ */ new Set([+var qae = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Gae = [+]), Jae = ["Alt","Control","Meta","Shift"];-function Kae(e) {+function Yae(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(qS() ? "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(XS() ? "Meta" : "Control"), t;}-function qae(e) {+function Xae(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 JC(e) {- return Gae.filter((t) => e.has(t));+function XC(e) {+ return Jae.filter((t) => e.has(t));}-function Jae(e) {+function Zae(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Wae.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 qae.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,@@ -23093,10 +23106,10 @@ function Jae(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 YC(e) {+function ZC(e) {return e.toLowerCase();}-var Yae = {+var Qae = {space: " ",esc: "escape",del: "delete",@@ -23108,26 +23121,26 @@ var Yae = {pageup: "pageup",pagedown: "pagedown"};-function Xae(e) {- let t = YC(e);- return Yae[t] ?? t;+function $ae(e) {+ let t = ZC(e);+ return Qae[t] ?? t;}-function Zae(e) {- let t = JC(Kae(e)), n = Xae(e.key);+function eoe(e) {+ let t = XC(Yae(e)), n = $ae(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Qae(e) {- let t = JC(qae(e)), n = YC(e.key);+function toe(e) {+ let t = XC(Xae(e)), n = ZC(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function $ae(e) {+function noe(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Jae(n);- t.set(Zae(e), r);+ let e = Zae(n);+ t.set(eoe(e), r);}return (e) => {- let n = Qae(e), r = t.get(n), i = r?.(e);+ let n = toe(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -23138,23 +23151,23 @@ function $ae(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function XC(e) {+function QC(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = $ae(t), s = qC((e) => {- AS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = qC((e) => {- AS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = noe(t), s = YC((e) => {+ NS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = YC((e) => {+ NS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? IC(e.onKeyDown, s) : s, a = e.onKeyUp ? IC(e.onKeyUp, c) : c;- } else i = qC(e.onKeyDown), a = qC(e.onKeyUp);+ i = e.onKeyDown ? RC(e.onKeyDown, s) : s, a = e.onKeyUp ? RC(e.onKeyUp, c) : c;+ } else i = YC(e.onKeyDown), a = YC(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function ZC(e) {+function $C(e) {let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -23176,25 +23189,25 @@ function ZC(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function QC(e, t) {- zS(() => {+function ew(e, t) {+ HS(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};});}// node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var $C = /*#__PURE__*/ F.createContext(null);-function eoe(e) {- let t = (0, F.useContext)($C) || {};- QC(t, e);+var tw = /*#__PURE__*/ F.createContext(null);+function roe(e) {+ let t = (0, F.useContext)(tw) || {};+ ew(t, e);let { ref: n, ...r } = t;return r;}-function ew(e, t) {- let { focusProps: n } = KC(e), { keyboardProps: r } = XC(e), i = K(n, r), a = eoe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);+function nw(e, t) {+ let { focusProps: n } = JC(e), { keyboardProps: r } = QC(e), i = K(n, r), a = roe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);(0, F.useEffect)(() => {- s.current && t.current && FC(t.current), s.current = !1;+ s.current && t.current && LC(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -23228,21 +23241,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var tw = /*#__PURE__*/ (0, F.createContext)(!1);-function toe(e) {- if ((0, F.useContext)(tw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);- let t = /*#__PURE__*/ F.createElement(tw.Provider, { value: !0 }, e.children);+var rw = /*#__PURE__*/ (0, F.createContext)(!1);+function ioe(e) {+ if ((0, F.useContext)(rw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);+ let t = /*#__PURE__*/ F.createElement(rw.Provider, { value: !0 }, e.children);return /*#__PURE__*/ F.createElement("template", null, t);}-function nw(e) {- let t = (t, n) => (0, F.useContext)(tw) ? null : e(t, n);+function iw(e) {+ let t = (t, n) => (0, F.useContext)(rw) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);}-function rw() {- return (0, F.useContext)(tw);+function aw() {+ return (0, F.useContext)(rw);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var noe = /* @__PURE__ */ o(((e) => {+var aoe = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -23280,47 +23293,47 @@ var noe = /* @__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;-})), iw = /* @__PURE__ */ o(((e, t) => {- t.exports = noe();-})), roe = iw(), aw = /*#__PURE__*/ (0, F.createContext)(!1), ow = /*#__PURE__*/ (0, F.createContext)(null);-function sw(e) {- if ((0, F.useContext)(ow)) return e.content;- let { collection: t, document: n } = soe(e.createCollection);- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(toe, null, /*#__PURE__*/ F.createElement(ow.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(ioe, {+})), ow = /* @__PURE__ */ o(((e, t) => {+ t.exports = aoe();+})), ooe = ow(), sw = /*#__PURE__*/ (0, F.createContext)(!1), cw = /*#__PURE__*/ (0, F.createContext)(null);+function lw(e) {+ if ((0, F.useContext)(cw)) return e.content;+ let { collection: t, document: n } = uoe(e.createCollection);+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(ioe, null, /*#__PURE__*/ F.createElement(cw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(soe, {render: e.children,collection: t}));}-function ioe({ collection: e, render: t }) {+function soe({ collection: e, render: t }) {return t(e);}-function aoe(e, t, n) {- let r = cC(), i = (0, F.useRef)(r);+function coe(e, t, n) {+ let r = uC(), i = (0, F.useRef)(r);i.current = r;let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, roe.useSyncExternalStore)(e, a);+ return (0, ooe.useSyncExternalStore)(e, a);}-var ooe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : aoe;-function soe(e) {- let [t] = (0, F.useState)(() => new cae(e?.() || new _S()));+var loe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : coe;+function uoe(e) {+ let [t] = (0, F.useState)(() => new uae(e?.() || new bS()));return {- collection: ooe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {+ collection: loe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var cw = /*#__PURE__*/ (0, F.createContext)(null);-function coe(e) {- return class extends pS {+var uw = /*#__PURE__*/ (0, F.createContext)(null);+function doe(e) {+ return class extends gS {static {this.type = e;}};}-function lw(e, t, n, r, i, a) {- typeof e == "string" && (e = coe(e));+function dw(e, t, n, r, i, a) {+ typeof e == "string" && (e = doe(e));let o = (0, F.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -23329,82 +23342,82 @@ function lw(e, t, n, r, i, a) {r,a,e- ]), s = (0, F.useContext)(cw);+ ]), s = (0, F.useContext)(uw);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__*/ F.createElement(cw.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__*/ F.createElement(uw.Provider, { value: o }, i) : null;}return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);}-function uw(e, t) {+function fw(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {- let a = (0, F.useContext)($C);- if (!(0, F.useContext)(aw)) {+ let a = (0, F.useContext)(tw);+ if (!(0, F.useContext)(sw)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return lw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement($C.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));+ return dw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(tw.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function dw(e, t, n = fw) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => lw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));+function pw(e, t, n = mw) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => dw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));return i.displayName = t.name, i;}-function fw(e) {- return xS({+function mw(e) {+ return wS({...e,addIdAndValue: !0});}-var pw = /*#__PURE__*/ (0, F.createContext)(null);-function mw(e) {- let t = (0, F.useContext)(pw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = fw({+var hw = /*#__PURE__*/ (0, F.createContext)(null);+function gw(e) {+ let t = (0, F.useContext)(hw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = mw({...e,idScope: r,dependencies: n});- return (0, F.useContext)(ow) && (i = /*#__PURE__*/ F.createElement(loe, null, i)), t = (0, F.useMemo)(() => ({+ return (0, F.useContext)(cw) && (i = /*#__PURE__*/ F.createElement(foe, null, i)), t = (0, F.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ F.createElement(pw.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ F.createElement(hw.Provider, { value: t }, i);}-function loe({ children: e }) {- let t = (0, F.useContext)(ow), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(ow.Provider, { value: null }, /*#__PURE__*/ F.createElement(aw.Provider, { value: !0 }, e)), [e]);- return cC() ? /*#__PURE__*/ F.createElement(cw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);+function foe({ children: e }) {+ let t = (0, F.useContext)(cw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(cw.Provider, { value: null }, /*#__PURE__*/ F.createElement(sw.Provider, { value: !0 }, e)), [e]);+ return uC() ? /*#__PURE__*/ F.createElement(uw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var uoe = "react-aria-clear-focus", doe = "react-aria-focus";+var poe = "react-aria-clear-focus", moe = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function hw(e) {- let t = poe(CS(e));- t !== e && (t && foe(t, e), e && gw(e, t));+function _w(e) {+ let t = goe(ES(e));+ t !== e && (t && hoe(t, e), e && vw(e, t));}-function foe(e, t) {+function hoe(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function gw(e, t) {+function vw(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function poe(e) {- let t = jS(e), n = t?.getAttribute("aria-activedescendant");+function goe(e) {+ let t = PS(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function _w(e, t) {- let n = wS(t), r = CS(t);+function yw(e, t) {+ let n = DS(t), r = ES(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}// node_modules/react-aria/dist/private/utils/keyboard.mjs-var vw = 100, yw = 600, bw = {+var bw = 100, xw = 600, Sw = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -23414,7 +23427,7 @@ var vw = 100, yw = 600, bw = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, moe = /* @__PURE__ */ new Set([+}, _oe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -23425,7 +23438,7 @@ var vw = 100, yw = 600, bw = {"submit","reset"]);-function xw() {+function Cw() {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,@@ -23433,58 +23446,58 @@ function xw() {angle: window.screen.orientation?.angle ?? 0};}-function hoe(e) {- bw.resizeTimeStamp <= e.timeStamp + 50 && (bw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(bw.resizeTimeout), bw.resizeTimeout = window.setTimeout(Sw, 150));-}-function Sw() {- let e = _w("viewport");- if (QS() && e?.includes("overlays-content")) return;- let t = performance.now(), n = xw(), r = t - bw.startTimeStamp, i = bw.screenHeight - n.height, a = bw.screenAngle - n.angle;- Math.abs(a) % 180 && bw.screenWidth - n.height < vw && (bw.screenWidth = n.width, bw.screenHeight = n.height, bw.screenAngle = n.angle, i = 0), r > yw && (window.clearTimeout(bw.screenTimeout), bw.screenTimeout = window.setTimeout(() => {- let e = Tw(document.hasFocus() ? jS() : null), t = xw();- Math.abs(bw.screenAngle - t.angle) % 180 || bw.isOpen && e || (bw.screenWidth = t.width, bw.screenHeight = t.height, bw.screenAngle = t.angle, bw.isOpen = !1);- }, yw)), r <= yw && i >= vw && (bw.endTimeStamp = t), bw.isOpen = i >= vw;-}-function goe() {- let e = xw(), t = bw.screenAngle - e.angle;- if (Math.abs(t) % 180 && !bw.isOpen) {- let e = bw.screenWidth;- bw.screenWidth = bw.screenHeight, bw.screenHeight = e;- }- bw.isOpen || (bw.screenAngle = e.angle);-}-function _oe(e) {- let t = Tw(G(e)), n = performance.now(), r = xw(), i = bw.screenHeight - r.height;- i < vw && t && (bw.screenWidth = r.width, bw.screenHeight = r.height, bw.screenAngle = r.angle, bw.startTimeStamp = n), t && window.clearTimeout(bw.screenTimeout), i >= vw && t && (bw.endTimeStamp = n);+function voe(e) {+ Sw.resizeTimeStamp <= e.timeStamp + 50 && (Sw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Sw.resizeTimeout), Sw.resizeTimeout = window.setTimeout(ww, 150));}-function Cw() {- let e = xw();- DS(window.visualViewport, "resize", XS() ? Sw : hoe), DS(window.screen.orientation, "change", goe), DS(window, "focus", _oe, {+function ww() {+ let e = yw("viewport");+ if (tC() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = Cw(), r = t - Sw.startTimeStamp, i = Sw.screenHeight - n.height, a = Sw.screenAngle - n.angle;+ Math.abs(a) % 180 && Sw.screenWidth - n.height < bw && (Sw.screenWidth = n.width, Sw.screenHeight = n.height, Sw.screenAngle = n.angle, i = 0), r > xw && (window.clearTimeout(Sw.screenTimeout), Sw.screenTimeout = window.setTimeout(() => {+ let e = Dw(document.hasFocus() ? PS() : null), t = Cw();+ Math.abs(Sw.screenAngle - t.angle) % 180 || Sw.isOpen && e || (Sw.screenWidth = t.width, Sw.screenHeight = t.height, Sw.screenAngle = t.angle, Sw.isOpen = !1);+ }, xw)), r <= xw && i >= bw && (Sw.endTimeStamp = t), Sw.isOpen = i >= bw;+}+function yoe() {+ let e = Cw(), t = Sw.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !Sw.isOpen) {+ let e = Sw.screenWidth;+ Sw.screenWidth = Sw.screenHeight, Sw.screenHeight = e;+ }+ Sw.isOpen || (Sw.screenAngle = e.angle);+}+function boe(e) {+ let t = Dw(G(e)), n = performance.now(), r = Cw(), i = Sw.screenHeight - r.height;+ i < bw && t && (Sw.screenWidth = r.width, Sw.screenHeight = r.height, Sw.screenAngle = r.angle, Sw.startTimeStamp = n), t && window.clearTimeout(Sw.screenTimeout), i >= bw && t && (Sw.endTimeStamp = n);+}+function Tw() {+ let e = Cw();+ AS(window.visualViewport, "resize", $S() ? ww : voe), AS(window.screen.orientation, "change", yoe), AS(window, "focus", boe, {capture: !0,passive: !0- }), bw.screenWidth = e.width, bw.screenHeight = e.height, bw.screenAngle = e.angle;+ }), Sw.screenWidth = e.width, Sw.screenHeight = e.height, Sw.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? DS(document, "DOMContentLoaded", Cw) : Cw());-function ww() {- let e = _w("viewport");- return QS() && e?.includes("overlays-content") ? !1 : bw.isOpen ? !0 : bw.startTimeStamp ? bw.endTimeStamp >= bw.startTimeStamp ? !0 : performance.now() - bw.startTimeStamp <= yw ? bw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? AS(document, "DOMContentLoaded", Tw) : Tw());+function Ew() {+ let e = yw("viewport");+ return tC() && e?.includes("overlays-content") ? !1 : Sw.isOpen ? !0 : Sw.startTimeStamp ? Sw.endTimeStamp >= Sw.startTimeStamp ? !0 : performance.now() - Sw.startTimeStamp <= xw ? Sw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Tw(e) {- if (!(e instanceof Element) || !IS(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !moe.has(e.type);+function Dw(e) {+ if (!(e instanceof Element) || !zS(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !_oe.has(e.type);return t || n || r;}-function Ew(e) {- return qS() ? e.metaKey : e.ctrlKey;+function Ow(e) {+ return XS() ? e.metaKey : e.ctrlKey;}-function Dw() {- return bw.isOpen;+function kw() {+ return Sw.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var voe = F.useInsertionEffect ?? zS;-function Ow(e) {+var xoe = F.useInsertionEffect ?? HS;+function Aw(e) {let t = (0, F.useRef)(null);- return voe(() => {+ return xoe(() => {t.current = e;}, [e]), (0, F.useCallback)((...e) => {let n = t.current;@@ -23492,10 +23505,10 @@ function Ow(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function kw(e, t, n, r) {- let i = Ow(n), a = n == null;+function jw(e, t, n, r) {+ let i = Aw(n), a = n == null;(0, F.useEffect)(() => {- if (!(a || e.current == null)) return DS(e.current, t, i, r);+ if (!(a || e.current == null)) return AS(e.current, t, i, r);}, [e,t,@@ -23504,16 +23517,16 @@ function kw(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function Aw(e, t) {+function Mw(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = BC(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 = HC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i};}// node_modules/react-aria/dist/private/i18n/utils.mjs-var yoe = /* @__PURE__ */ new Set([+var Soe = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -23524,7 +23537,7 @@ var yoe = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), boe = /* @__PURE__ */ new Set([+]), Coe = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -23545,19 +23558,19 @@ var yoe = /* @__PURE__ */ new Set(["ur","yi"]);-function xoe(e) {+function woe(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 yoe.has(t.script);+ if (t.script) return Soe.has(t.script);}let t = e.split("-")[0];- return boe.has(t);+ return Coe.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var jw = Symbol.for("react-aria.i18n.locale");-function Mw() {- let e = typeof window < "u" && window[jw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Nw = Symbol.for("react-aria.i18n.locale");+function Pw() {+ let e = typeof window < "u" && window[Nw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -23565,31 +23578,31 @@ function Mw() {}return {locale: e,- direction: xoe(e) ? "rtl" : "ltr"+ direction: woe(e) ? "rtl" : "ltr"};}-var Nw = Mw(), Pw = /* @__PURE__ */ new Set();-function Fw() {- Nw = Mw();- for (let e of Pw) e(Nw);+var Fw = Pw(), Iw = /* @__PURE__ */ new Set();+function Lw() {+ Fw = Pw();+ for (let e of Iw) e(Fw);}-function Soe() {- let e = cC(), [t, n] = (0, F.useState)(Nw);- return (0, F.useEffect)(() => (Pw.size === 0 && window.addEventListener("languagechange", Fw), Pw.add(n), () => {- Pw.delete(n), Pw.size === 0 && window.removeEventListener("languagechange", Fw);+function Toe() {+ let e = uC(), [t, n] = (0, F.useState)(Fw);+ return (0, F.useEffect)(() => (Iw.size === 0 && window.addEventListener("languagechange", Lw), Iw.add(n), () => {+ Iw.delete(n), Iw.size === 0 && window.removeEventListener("languagechange", Lw);}), []), e ? {- locale: typeof window < "u" && window[jw] || "en-US",+ locale: typeof window < "u" && window[Nw] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Coe = /*#__PURE__*/ F.createContext(null);-function Iw() {- let e = Soe();- return (0, F.useContext)(Coe) || e;+var Eoe = /*#__PURE__*/ F.createContext(null);+function Rw() {+ let e = Toe();+ return (0, F.useContext)(Eoe) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var woe = Symbol.for("react-aria.i18n.locale"), Toe = Symbol.for("react-aria.i18n.strings"), Lw = void 0, Rw = class e {+var Doe = Symbol.for("react-aria.i18n.locale"), Ooe = Symbol.for("react-aria.i18n.strings"), zw = void 0, Bw = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -23600,38 +23613,38 @@ var woe = Symbol.for("react-aria.i18n.locale"), Toe = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Eoe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = koe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[woe];- if (Lw === void 0) {- let t = window[Toe];+ let n = window[Doe];+ if (zw === void 0) {+ let t = window[Ooe];if (!t) return null;- Lw = {};- for (let r in t) Lw[r] = new e({ [n]: t[r] }, n);+ zw = {};+ for (let r in t) zw[r] = new e({ [n]: t[r] }, n);}- let r = Lw?.[t];+ let r = zw?.[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 Eoe(e, t, n = "en-US") {+function koe(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Doe(e), i = Ooe(e);+ let r = Aoe(e), i = joe(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 Doe(e) {+function Aoe(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Ooe(e) {+function joe(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var zw = /* @__PURE__ */ new Map(), Bw = /* @__PURE__ */ new Map(), koe = class {+var Vw = /* @__PURE__ */ new Map(), Hw = /* @__PURE__ */ new Map(), Moe = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -23642,36 +23655,36 @@ var zw = /* @__PURE__ */ new Map(), Bw = /* @__PURE__ */ new Map(), koe = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = zw.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), zw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Vw.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Vw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = Bw.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), Bw.set(this.locale, t)), t.format(e);+ let t = Hw.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), Hw.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Vw = /* @__PURE__ */ new WeakMap();-function Aoe(e) {- let t = Vw.get(e);- return t || (t = new Rw(e), Vw.set(e, t)), t;+}, Uw = /* @__PURE__ */ new WeakMap();+function Noe(e) {+ let t = Uw.get(e);+ return t || (t = new Bw(e), Uw.set(e, t)), t;}-function joe(e, t) {- return t && Rw.getGlobalDictionaryForPackage(t) || Aoe(e);+function Poe(e, t) {+ return t && Bw.getGlobalDictionaryForPackage(t) || Noe(e);}-function Hw(e, t) {- let { locale: n } = Iw(), r = joe(e, t);- return (0, F.useMemo)(() => new koe(n, r), [n, r]);+function Ww(e, t) {+ let { locale: n } = Rw(), r = Poe(e, t);+ return (0, F.useMemo)(() => new Moe(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Moe = /* @__PURE__ */ new Set(["id"]), Noe = /* @__PURE__ */ new Set([+var Foe = /* @__PURE__ */ new Set(["id"]), Ioe = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Poe = /* @__PURE__ */ new Set([+]), Loe = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -23679,60 +23692,60 @@ var Moe = /* @__PURE__ */ new Set(["id"]), Noe = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), Foe = /* @__PURE__ */ new Set([+]), Roe = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), Uw = /* @__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(".")), Ioe = /^(data-.*)$/;-function Ww(e, t = {}) {+]), Gw = /* @__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(".")), zoe = /^(data-.*)$/;+function Kw(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) && (Moe.has(t) || n && Noe.has(t) || r && Poe.has(t) || i && Foe.has(t) || a && (Uw.has(t) || t.endsWith("Capture") && Uw.has(t.slice(0, -7))) || o?.has(t) || Ioe.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Foe.has(t) || n && Ioe.has(t) || r && Loe.has(t) || i && Roe.has(t) || a && (Gw.has(t) || t.endsWith("Capture") && Gw.has(t.slice(0, -7))) || o?.has(t) || zoe.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var Gw = "default", Kw = "", qw = /* @__PURE__ */ new WeakMap();-function Jw(e) {- if (YS() && XS()) {- if (Gw === "default") {- let t = CS(e);- Kw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- Gw = "disabled";+var qw = "default", Jw = "", Yw = /* @__PURE__ */ new WeakMap();+function Xw(e) {+ if (QS() && $S()) {+ if (qw === "default") {+ let t = ES(e);+ Jw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ qw = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- qw.set(e, e.style[t]), e.style[t] = "none";+ Yw.set(e, e.style[t]), e.style[t] = "none";}}-function Yw(e) {- if (YS() && XS()) {- if (Gw !== "disabled") return;- Gw = "restoring", setTimeout(() => {- PC(() => {- if (Gw === "restoring") {- let t = CS(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Kw || ""), Kw = "", Gw = "default";+function Zw(e) {+ if (QS() && $S()) {+ if (qw !== "disabled") return;+ qw = "restoring", setTimeout(() => {+ IC(() => {+ if (qw === "restoring") {+ let t = ES(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Jw || ""), Jw = "", qw = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && qw.has(e)) {- let t = qw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), qw.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Yw.has(e)) {+ let t = Yw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Yw.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var Xw = /* @__PURE__ */ new WeakMap();-function Zw(e) {- let t = CS(e), n = Xw.get(t);- return n ??= _w("csp-nonce", t), n !== void 0 && Xw.set(t, n), n;+var Qw = /* @__PURE__ */ new WeakMap();+function $w(e) {+ let t = ES(e), n = Qw.get(t);+ return n ??= yw("csp-nonce", t), n !== void 0 && Qw.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var Qw = F.createContext({ register: () => {} });-Qw.displayName = "PressResponderContext";+var eT = F.createContext({ register: () => {} });+eT.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function $w() {+function tT() {let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -23758,15 +23771,15 @@ function $w() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function Loe(e) {- let t = (0, F.useContext)(Qw);+function Boe(e) {+ let t = (0, F.useContext)(eT);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return QC(t, e.ref), e;+ return ew(t, e.ref), e;}-var eT = class {+var nT = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -23779,9 +23792,9 @@ var eT = class {get shouldStopPropagation() {return this.#e;}-}, tT = Symbol("linkClicked"), nT = "react-aria-pressable-style", rT = "data-react-aria-pressable";-function iT(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 } = Loe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({+}, rT = Symbol("linkClicked"), iT = "react-aria-pressable-style", aT = "data-react-aria-pressable";+function oT(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 } = Boe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -23791,12 +23804,12 @@ function iT(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = $w(), y = (0, F.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = tT(), y = (0, F.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new eT("pressstart", t, e);+ let n = new nT("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -23810,11 +23823,11 @@ function iT(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new eT("pressend", r, e);+ let t = new nT("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new eT("press", r, e);+ let n = new nT("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -23823,19 +23836,19 @@ function iT(e) {i,n,t- ]), x = Ow(b), S = Ow((0, F.useCallback)((e, t) => {+ ]), x = Aw(b), S = Aw((0, F.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new eT("pressup", t, e);+ let r = new nT("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, F.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(sT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Yw(t.target);+ t.didFirePressStart && t.pointerType != null && b(lT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Zw(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -23843,7 +23856,7 @@ function iT(e) {d,v,b- ]), w = Ow(C);+ ]), w = Aw(C);(0, F.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -23860,39 +23873,39 @@ function iT(e) {}, [s, o]), D = (0, F.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- VS(n, t), o(BS(n));+ WS(n, t), o(US(n));}}, [s, o]), O = (0, F.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (oT(t.nativeEvent, t.currentTarget) && AS(t.currentTarget, G(t))) {- cT(G(t), t.key) && t.preventDefault();+ if (cT(t.nativeEvent, t.currentTarget) && NS(t.currentTarget, G(t))) {+ uT(G(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(CS(t.currentTarget), "keyup", IC((t) => {- oT(t, i) && !t.repeat && AS(i, G(t)) && e.target && S(sT(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && qS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(ES(t.currentTarget), "keyup", RC((t) => {+ cT(t, i) && !t.repeat && NS(i, G(t)) && e.target && S(lT(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && XS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || AS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !tC.isOpening) {+ if ((!t || NS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !iC.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || $S(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || nC(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(sT(t.currentTarget, t), r), a = x(sT(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(lT(t.currentTarget, t), r), a = x(lT(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 && oT(t, e.target)) {- cT(G(t), t.key) && t.preventDefault();- let n = G(t), r = AS(e.target, n);- x(sT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && aT(e.target) && AS(e.target, n) && !t[tT] && (t[tT] = !0, tC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && cT(t, e.target)) {+ uT(G(t), t.key) && t.preventDefault();+ let n = G(t), r = NS(e.target, n);+ x(lT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && sT(e.target) && NS(e.target, n) && !t[rT] && (t[rT] = !0, iC(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;@@ -23901,39 +23914,39 @@ function iT(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !AS(t.currentTarget, G(t))) return;- if (xae(t.nativeEvent)) {+ if (t.button !== 0 || !NS(t.currentTarget, G(t))) return;+ if (Cae(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 || Jw(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Xw(e.target), i = y(t, e.pointerType);let a = G(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(CS(t.currentTarget), "pointerup", n, !1), _(CS(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(ES(t.currentTarget), "pointerup", n, !1), _(ES(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (AS(t.currentTarget, G(t)) && t.button === 0) {+ if (NS(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = vae(t.target);+ let n = bae(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- AS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ NS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(sT(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(lT(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(sT(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(lT(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (AS(e.target, G(t)) && e.pointerType != null) {+ if (NS(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (SS(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (TS(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -23943,7 +23956,7 @@ function iT(e) {w(e);};t.onDragStart = (e) => {- AS(e.currentTarget, G(e)) && w(e);+ NS(e.currentTarget, G(e)) && w(e);};}return t;@@ -23960,14 +23973,14 @@ function iT(e) {]);return (0, F.useEffect)(() => {if (!f) return;- let e = CS(f.current);- if (!e || !e.head || e.getElementById(nT)) return;+ let e = ES(f.current);+ if (!e || !e.head || e.getElementById(iT)) return;let t = e.createElement("style");- t.id = nT;- let n = Zw(e);+ t.id = iT;+ let n = $w(e);n && (t.nonce = n), t.textContent = `@layer {- [${rT}] {+ [${aT}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -23975,23 +23988,23 @@ function iT(e) {}, [f]), (0, F.useEffect)(() => {let e = g.current;return () => {- d || Yw(e.target ?? void 0);+ d || Zw(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [rT]: !0 })+ pressProps: K(p, O, { [aT]: !0 })};}-function aT(e) {+function sT(e) {return e.tagName === "A" && e.hasAttribute("href");}-function oT(e, t) {+function cT(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof wS(i).HTMLInputElement && !lT(i, n) || i instanceof wS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && aT(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof DS(i).HTMLInputElement && !dT(i, n) || i instanceof DS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && sT(i)) && n !== "Enter");}-function sT(e, t) {+function lT(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -24004,13 +24017,13 @@ function sT(e, t) {key: t.key};}-function Roe(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !aT(e);+function Voe(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !sT(e);}-function cT(e, t) {- return qS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !lT(e, t) : Roe(e);+function uT(e, t) {+ return XS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !dT(e, t) : Voe(e);}-var zoe = /* @__PURE__ */ new Set([+var Hoe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -24021,11 +24034,11 @@ var zoe = /* @__PURE__ */ new Set(["submit","reset"]);-function lT(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : zoe.has(e.type);+function dT(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Hoe.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function Boe(e, t) {+function Uoe(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,@@ -24047,7 +24060,7 @@ function Boe(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = iT({+ let { pressProps: _, isPressed: v } = oT({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -24057,9 +24070,9 @@ function Boe(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = ew(e, t);+ }), { focusableProps: y } = nw(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, Ww(e, { labelable: !0 }));+ let b = K(y, _, Kw(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -24073,7 +24086,7 @@ function Boe(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Voe = class {+var Woe = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -24098,7 +24111,7 @@ var Voe = class {return this._currentNode;}set currentNode(e) {- if (!AS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!NS(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 });@@ -24112,7 +24125,7 @@ var Voe = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return AS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return NS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -24176,44 +24189,44 @@ var Voe = class {return null;}};-function uT(e, t, n, r) {- return kS() ? new Voe(e, t, n, r) : e.createTreeWalker(t, n, r);+function fT(e, t, n, r) {+ return MS() ? new Woe(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var dT = /*#__PURE__*/ F.createContext(null), fT = "react-aria-focus-scope-restore", pT = null;-function mT(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(dT) || {}, l = (0, F.useMemo)(() => new DT({ scopeRef: s }), [s]);- zS(() => {- let e = c || OT.root;- if (OT.getTreeNode(e.scopeRef) && pT && !bT(pT, e.scopeRef)) {- let t = OT.getTreeNode(pT);+var pT = /*#__PURE__*/ F.createContext(null), mT = "react-aria-focus-scope-restore", hT = null;+function gT(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(pT) || {}, l = (0, F.useMemo)(() => new kT({ scopeRef: s }), [s]);+ HS(() => {+ let e = c || AT.root;+ if (AT.getTreeNode(e.scopeRef) && hT && !ST(hT, e.scopeRef)) {+ let t = AT.getTreeNode(hT);t && (e = t);}- e.addChild(l), OT.addNode(l);- }, [l, c]), zS(() => {- let e = OT.getTreeNode(s);+ e.addChild(l), AT.addNode(l);+ }, [l, c]), HS(() => {+ let e = AT.getTreeNode(s);e && (e.contain = !!n);- }, [n]), zS(() => {+ }, [n]), HS(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(fT, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(mT, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(fT, n);+ for (let e of t) e.removeEventListener(mT, n);};- }, [t]), Joe(s, r, n), Goe(s, n), Yoe(s, r, n), qoe(s, i), (0, F.useEffect)(() => {- let e = jS(CS(s.current ? s.current[0] : void 0)), t = null;- if (vT(e, s.current)) {- for (let n of OT.traverse()) n.scopeRef && vT(e, n.scopeRef.current) && (t = n);- t === OT.getTreeNode(s) && (pT = t.scopeRef);- }- }, [s]), zS(() => () => {- let e = OT.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== pT && !bT(s, pT) || e && !OT.getTreeNode(e) || (pT = e), OT.removeTreeNode(s);+ }, [t]), Zoe(s, r, n), Joe(s, n), Qoe(s, r, n), Xoe(s, i), (0, F.useEffect)(() => {+ let e = PS(ES(s.current ? s.current[0] : void 0)), t = null;+ if (bT(e, s.current)) {+ for (let n of AT.traverse()) n.scopeRef && bT(e, n.scopeRef.current) && (t = n);+ t === AT.getTreeNode(s) && (hT = t.scopeRef);+ }+ }, [s]), HS(() => () => {+ let e = AT.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== hT && !ST(s, hT) || e && !AT.getTreeNode(e) || (hT = e), AT.removeTreeNode(s);}, [s]);- let u = (0, F.useMemo)(() => Hoe(s), []), d = (0, F.useMemo)(() => ({+ let u = (0, F.useMemo)(() => Goe(s), []), d = (0, F.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ F.createElement(dT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {+ return /*#__PURE__*/ F.createElement(pT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -24223,154 +24236,154 @@ function mT(e) {ref: o}));}-function Hoe(e) {+function Goe(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jS(CS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = ET(hT(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || PS(ES(n[0] ?? void 0)), c = n[0].previousElementSibling, l = OT(_T(n), {tabbable: i,accept: o}, n);- l.currentNode = vT(s, n) ? s : c;+ l.currentNode = bT(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && xT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && CT(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jS(CS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = ET(hT(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || PS(ES(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = OT(_T(n), {tabbable: i,accept: o}, n);- l.currentNode = vT(s, n) ? s : c;+ l.currentNode = bT(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && xT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && CT(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = ET(hT(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = OT(_T(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && xT(o, !0), o;+ return o && CT(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = ET(hT(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = OT(_T(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && xT(o, !0), o;+ return o && CT(o, !0), o;}};}-function hT(e) {+function _T(e) {return e[0].parentElement;}-function gT(e) {- let t = OT.getTreeNode(pT);+function vT(e) {+ let t = AT.getTreeNode(hT);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Uoe(e) {- if (!e.form) return Array.from(CS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = wS(e);+function Koe(e) {+ if (!e.form) return Array.from(ES(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = DS(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Woe(e) {+function qoe(e) {if (e.checked) return !0;- let t = Uoe(e);+ let t = Koe(e);return t.length > 0 && !t.some((e) => e.checked);}-function Goe(e, t) {+function Joe(e, t) {let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);- zS(() => {+ HS(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = CS(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !gT(e) || t.isComposing) return;- let n = jS(a), r = e.current;- if (!r || !vT(n, r)) return;- let i = ET(hT(r), { tabbable: !0 }, r);+ let a = ES(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !vT(e) || t.isComposing) return;+ let n = PS(a), r = e.current;+ if (!r || !bT(n, r)) return;+ let i = OT(_T(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 && (xT(o, !0), o instanceof wS(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 && (CT(o, !0), o instanceof DS(o).HTMLInputElement && o.select());}, s = (t) => {- (!pT || bT(pT, e)) && vT(G(t), e.current) ? (pT = e, n.current = G(t)) : gT(e) && !yT(G(t), e) ? n.current ? xT(n.current) : pT && pT.current && CT(pT.current) : gT(e) && (n.current = G(t));+ (!hT || ST(hT, e)) && bT(G(t), e.current) ? (hT = e, n.current = G(t)) : vT(e) && !xT(G(t), e) ? n.current ? CT(n.current) : hT && hT.current && TT(hT.current) : vT(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = wC(), i = (r === "virtual" || r === null) && QS() && ZS(), o = jS(a);- if (!i && o && gT(e) && !yT(o, e)) {- pT = e;+ let r = EC(), i = (r === "virtual" || r === null) && tC() && eC(), o = PS(a);+ if (!i && o && vT(e) && !xT(o, e)) {+ hT = e;let r = G(t);- r && r.isConnected ? (n.current = r, xT(n.current)) : pT.current && CT(pT.current);+ r && r.isConnected ? (n.current = r, CT(n.current)) : hT.current && TT(hT.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]), zS(() => () => {+ }, [e, t]), HS(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function _T(e) {- return yT(e);+function yT(e) {+ return xT(e);}-function vT(e, t) {- return !e || !t ? !1 : t.some((t) => AS(t, e));+function bT(e, t) {+ return !e || !t ? !1 : t.some((t) => NS(t, e));}-function yT(e, t = null) {+function xT(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of OT.traverse(OT.getTreeNode(t))) if (n && vT(e, n.current)) return !0;+ for (let { scopeRef: n } of AT.traverse(AT.getTreeNode(t))) if (n && bT(e, n.current)) return !0;return !1;}-function Koe(e) {- return yT(e, pT);+function Yoe(e) {+ return xT(e, hT);}-function bT(e, t) {- let n = OT.getTreeNode(t)?.parent;+function ST(e, t) {+ let n = AT.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function xT(e, t = !1) {+function CT(e, t = !1) {if (e != null && !t) try {- FC(e);+ LC(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function ST(e, t = !0) {- let n = e[0].previousElementSibling, r = hT(e), i = ET(r, { tabbable: t }, e);+function wT(e, t = !0) {+ let n = e[0].previousElementSibling, r = _T(e), i = OT(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = hT(e), i = ET(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = _T(e), i = OT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function CT(e, t = !0) {- xT(ST(e, t));+function TT(e, t = !0) {+ CT(wT(e, t));}-function qoe(e, t) {+function Xoe(e, t) {let n = F.useRef(t);(0, F.useEffect)(() => {- n.current && (pT = e, !vT(jS(CS(e.current ? e.current[0] : void 0)), pT.current) && e.current && CT(e.current)), n.current = !1;+ n.current && (hT = e, !bT(PS(ES(e.current ? e.current[0] : void 0)), hT.current) && e.current && TT(e.current)), n.current = !1;}, [e]);}-function Joe(e, t, n) {- zS(() => {+function Zoe(e, t, n) {+ HS(() => {if (t || n) return;- let r = e.current, i = CS(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = ES(r ? r[0] : void 0), a = (t) => {let n = G(t);- vT(n, e.current) ? pT = e : _T(n) || (pT = null);+ bT(n, e.current) ? hT = e : yT(n) || (hT = 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));@@ -24381,43 +24394,43 @@ function Joe(e, t, n) {n]);}-function wT(e) {- let t = OT.getTreeNode(pT);+function ET(e) {+ let t = AT.getTreeNode(hT);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Yoe(e, t, n) {- let r = (0, F.useRef)(typeof document < "u" ? jS(CS(e.current ? e.current[0] : void 0)) : null);- zS(() => {- let r = e.current, i = CS(r ? r[0] : void 0);+function Qoe(e, t, n) {+ let r = (0, F.useRef)(typeof document < "u" ? PS(ES(e.current ? e.current[0] : void 0)) : null);+ HS(() => {+ let r = e.current, i = ES(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!pT || bT(pT, e)) && vT(jS(i), e.current) && (pT = e);+ (!hT || ST(hT, e)) && bT(PS(i), e.current) && (hT = 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]), zS(() => {- let r = CS(e.current ? e.current[0] : void 0);+ }, [e, n]), HS(() => {+ let r = ES(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !gT(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !vT(e) || t.isComposing) return;let n = r.activeElement;- if (!yT(n, e) || !wT(e)) return;- let i = OT.getTreeNode(e);+ if (!xT(n, e) || !ET(e)) return;+ let i = AT.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = ET(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = OT(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 || !yT(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !xT(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (yT(s, e));- t.preventDefault(), t.stopPropagation(), s ? xT(s, !0) : _T(a) ? xT(a, !0) : n.blur();+ while (xT(s, e));+ t.preventDefault(), t.stopPropagation(), s ? CT(s, !0) : yT(a) ? CT(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -24427,31 +24440,31 @@ function Yoe(e, t, n) {e,t,n- ]), zS(() => {- let n = CS(e.current ? e.current[0] : void 0);+ ]), HS(() => {+ let n = ES(e.current ? e.current[0] : void 0);if (!t) return;- let i = OT.getTreeNode(e);+ let i = AT.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = OT.getTreeNode(e);+ let r = AT.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = jS(n);- if (t && i && (a && yT(a, e) || a === n.body && wT(e))) {- let t = OT.clone();+ let i = r.nodeToRestore, a = PS(n);+ if (t && i && (a && xT(a, e) || a === n.body && ET(e))) {+ let t = AT.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- TT(n.nodeToRestore);+ DT(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && OT.getTreeNode(n.scopeRef)) {- let e = ST(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && AT.getTreeNode(n.scopeRef)) {+ let e = wT(n.scopeRef.current, !0);if (e) {- TT(e);+ DT(e);return;}}@@ -24463,21 +24476,21 @@ function Yoe(e, t, n) {};}, [e, t]);}-function TT(e) {- e.dispatchEvent(new CustomEvent(fT, {+function DT(e) {+ e.dispatchEvent(new CustomEvent(mT, {bubbles: !0,cancelable: !0- })) && xT(e);+ })) && CT(e);}-function ET(e, t, n) {- let r = t?.tabbable ? LS : IS, i = CS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = uT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return AS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Woe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || vT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function OT(e, t, n) {+ let r = t?.tabbable ? BS : zS, i = ES(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = fT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return NS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!qoe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || bT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Xoe = class e {+var $oe = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new DT({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new kT({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -24488,7 +24501,7 @@ var Xoe = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new DT({ scopeRef: e });+ let i = new kT({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -24499,7 +24512,7 @@ var Xoe = 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 && vT(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 && bT(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);}@@ -24511,7 +24524,7 @@ var Xoe = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, DT = class {+}, kT = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -24521,13 +24534,13 @@ var Xoe = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, OT = new Xoe(), kT = 7e3, AT = null;-function jT(e, t = "assertive", n = kT) {- AT ? AT.announce(e, t, n) : (AT = new Zoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? AT.announce(e, t, n) : setTimeout(() => {- AT?.isAttached() && AT?.announce(e, t, n);+}, AT = new $oe(), jT = 7e3, MT = null;+function NT(e, t = "assertive", n = jT) {+ MT ? MT.announce(e, t, n) : (MT = new ese(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? MT.announce(e, t, n) : setTimeout(() => {+ MT?.isAttached() && MT?.announce(e, t, n);}, 100));}-var Zoe = class {+var ese = 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,@@ -24552,7 +24565,7 @@ var Zoe = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = kT) {+ announce(e, t = "assertive", n = jT) {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(() => {@@ -24564,8 +24577,8 @@ var Zoe = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function MT(e, t) {- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Ow(e);+function PT(e, t) {+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Aw(e);(0, F.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, F.useEffect)(() => {@@ -24574,30 +24587,30 @@ function MT(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function NT(e, t) {+function FT(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}// node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function PT(e, t) {+function IT(e, t) {let n = e;- for (NT(n, t) && (n = n.parentElement); n && !NT(n, t);) n = n.parentElement;+ for (FT(n, t) && (n = n.parentElement); n && !FT(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function FT(e, t) {+function LT(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (NT(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (FT(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function IT(e, t, n = {}) {- e !== t && Qoe(e, t, t.getBoundingClientRect(), n);+function RT(e, t, n = {}) {+ e !== t && tse(e, t, t.getBoundingClientRect(), n);}-function Qoe(e, t, n, r = {}) {+function tse(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;- YS() && XS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);+ QS() && $S() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);let ie = k < ne || A > re, ae = j < F || M > I;if (ie && i === "start") o += k - ne;else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;@@ -24618,7 +24631,7 @@ function Qoe(e, t, n, r = {}) {top: o});}-function LT(e, t = {}) {+function zT(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -24631,45 +24644,45 @@ function LT(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = FT(e, !0);- for (let t of i) IT(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = LT(e, !0);+ for (let t of i) RT(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? FT(n, !0) : [];- for (let e of i) IT(e, n, {+ i = n ? LT(n, !0) : [];+ for (let e of i) RT(e, n, {block: "center",inline: "center"});- for (let t of FT(e, !0)) IT(t, e);+ for (let t of LT(e, !0)) RT(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var $oe = 0, RT = /* @__PURE__ */ new Map();-function zT(e) {+var nse = 0, BT = /* @__PURE__ */ new Map();+function VT(e) {let [t, n] = (0, F.useState)();- return zS(() => {+ return HS(() => {if (!e) return;- let t = RT.get(e);+ let t = BT.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${$oe++}`;+ let r = `react-aria-description-${nse++}`;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- }, RT.set(e, t);+ }, BT.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), RT.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), BT.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function BT(e, t, n) {- let r = Ow((e) => {+function HT(e, t, n) {+ let r = Aw((e) => {n && !e.defaultPrevented && n(t);});(0, F.useEffect)(() => {@@ -24680,21 +24693,21 @@ function BT(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function VT(e, t, n) {+function UT(e, t, n) {let { validationBehavior: r, focus: i } = e;- zS(() => {+ HS(() => {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(tse(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(ise(n.current));}});- let a = (0, F.useRef)(!1), o = Ow(() => {+ let a = (0, F.useRef)(!1), o = Aw(() => {a.current || t.resetValidation();- }), s = Ow((e) => {+ }), s = Aw((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && nse(r) === n.current && (i ? i() : n.current?.focus(), TC("keyboard")), e.preventDefault();- }), c = Ow(() => {+ !e.defaultPrevented && n && r && ase(r) === n.current && (i ? i() : n.current?.focus(), DC("keyboard")), e.preventDefault();+ }), c = Aw(() => {t.commitValidation();});(0, F.useEffect)(() => {@@ -24708,7 +24721,7 @@ function VT(e, t, n) {};}, [n, r]);}-function ese(e) {+function rse(e) {let t = e.validity;return {badInput: t.badInput,@@ -24724,14 +24737,14 @@ function ese(e) {valid: t.valid};}-function tse(e) {+function ise(e) {return {isInvalid: !e.validity.valid,- validationDetails: ese(e),+ validationDetails: rse(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function nse(e) {+function ase(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -24739,23 +24752,23 @@ function nse(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function rse(e = !0) {+function ose(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return zS(() => {+ return HS(() => {r.current || n(!1);}, []), [i, t];}-function HT(e = !0) {- let t = BC(), [n, r] = rse(e);+function WT(e = !0) {+ let t = HC(), [n, r] = ose(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var UT = {+var GT = {badInput: !1,customError: !1,patternMismatch: !1,@@ -24767,18 +24780,18 @@ var UT = {typeMismatch: !1,valueMissing: !1,valid: !0-}, WT = {- ...UT,+}, KT = {+ ...GT,customError: !0,valid: !1-}, GT = {+}, qT = {isInvalid: !1,- validationDetails: UT,+ validationDetails: GT,validationErrors: []-}, ise = (0, F.createContext)({}), KT = "__reactAriaFormValidationState";-function qT(e) {+}, sse = (0, F.createContext)({}), JT = "__reactAriaFormValidationState";+function YT(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[KT];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[JT];return {realtimeValidation: t,displayValidation: n,@@ -24787,70 +24800,70 @@ function qT(e) {commitValidation: a};}- return ase(e);+ return cse(e);}-function ase(e) {+function cse(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: WT- }, l = (0, F.useMemo)(() => !o || i == null ? null : YT(ose(o, i)), [o, i]);+ validationDetails: KT+ }, l = (0, F.useMemo)(() => !o || i == null ? null : ZT(lse(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, F.useContext)(ise), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => JT(u[e])) : JT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);+ let u = (0, F.useContext)(sse), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => XT(u[e])) : XT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, F.useMemo)(() => YT(m ? [] : d), [m, d]), _ = (0, F.useRef)(GT), [v, y] = (0, F.useState)(GT), b = (0, F.useRef)(GT), x = () => {+ let g = (0, F.useMemo)(() => ZT(m ? [] : d), [m, d]), _ = (0, F.useRef)(qT), [v, y] = (0, F.useState)(qT), b = (0, F.useRef)(qT), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- XT(e, b.current) || (b.current = e, y(e));+ QT(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, F.useState)(!1);return (0, F.useEffect)(x), {- realtimeValidation: c || g || l || a || GT,+ realtimeValidation: c || g || l || a || qT,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !XT(v, e) ? y(e) : _.current = e;+ s === "aria" && !QT(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = GT;- XT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = qT;+ QT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function JT(e) {+function XT(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function ose(e, t) {+function lse(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return JT(n);+ if (n && typeof n != "boolean") return XT(n);}return [];}-function YT(e) {+function ZT(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: WT+ validationDetails: KT} : null;}-function XT(e, t) {+function QT(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}// node_modules/react-aria/dist/private/toggle/useToggle.mjs-function ZT(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 = qT({+function $T(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 = YT({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- VT(e, b, n);+ UT(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = iT({+ }, { pressProps: T, isPressed: E } = oT({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -24858,7 +24871,7 @@ function ZT(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = iT({+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = oT({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -24875,13 +24888,13 @@ function ZT(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [KT]: i } = e, { commitValidation: a } = i || b;+ let { [JT]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = ew(e, n), j = K(T, A), M = Ww(e, { labelable: !0 });- BT(n, t.defaultSelected, t.setSelected);- let ee = HT(), N = HT();+ }), { focusableProps: A } = nw(e, n), j = K(T, A), M = Kw(e, { labelable: !0 });+ HT(n, t.defaultSelected, t.setSelected);+ let ee = WT(), N = WT();return {labelProps: K(k, { onClick: (e) => e.preventDefault() }),inputProps: K(M, {@@ -24917,8 +24930,8 @@ function ZT(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function QT(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 } = ZT(e, t, n), { isIndeterminate: m } = e;+function eE(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 } = $T(e, t, n), { isIndeterminate: m } = e;return (0, F.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -24936,17 +24949,17 @@ function QT(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var sse = /* @__PURE__ */ new WeakMap();+var use = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function $T(e) {+function tE(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = BC(t);- let o = BC(), s = {};+ t = HC(t);+ let o = HC(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Aw({+ let c = Mw({id: t,"aria-label": i,"aria-labelledby": r@@ -24957,13 +24970,13 @@ function $T(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function eE(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = $T(e), s = VC([+function nE(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = tE(e), s = UC([!!t,!!n,r,i- ]), c = VC([+ ]), c = UC([!!t,!!n,r,@@ -24981,26 +24994,26 @@ function eE(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function tE(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = $w(), c = (0, F.useCallback)((e) => {- AS(e.currentTarget, G(e)) && a.current.isFocusWithin && !AS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function rE(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = tT(), c = (0, F.useCallback)((e) => {+ NS(e.currentTarget, G(e)) && a.current.isFocusWithin && !NS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = HS(c), u = (0, F.useCallback)((e) => {- if (!AS(e.currentTarget, G(e))) return;- let t = G(e), n = CS(t), s = jS(n);+ ]), l = GS(c), u = (0, F.useCallback)((e) => {+ if (!NS(e.currentTarget, G(e))) return;+ let t = G(e), n = ES(t), s = PS(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = G(e);- if (a.current.isFocusWithin && !AS(t, r)) {+ if (a.current.isFocusWithin && !NS(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- VS(e, t);- let i = BS(e);+ WS(e, t);+ let i = US(e);c(i);}}, { capture: !0 });@@ -25021,14 +25034,14 @@ function tE(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var cse = F.useInsertionEffect ?? F.useLayoutEffect;-function nE(e, t, n) {+var dse = F.useInsertionEffect ?? F.useLayoutEffect;+function iE(e, t, n) {let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;(0, F.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- cse(() => {+ dse(() => {a.current = c;});let [, l] = (0, F.useReducer)(() => ({}), {});@@ -25038,8 +25051,8 @@ function nE(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function rE(e = {}) {- let { isReadOnly: t } = e, [n, r] = nE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);+function aE(e = {}) {+ let { isReadOnly: t } = e, [n, r] = iE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);function a(e) {t || r(e);}@@ -25054,26 +25067,26 @@ function rE(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function lse(e, t, n) {- let r = rE({+function fse(e, t, n) {+ let r = aE({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 } = sse.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = use.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = qT({+ let { realtimeValidation: l } = YT({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, F.useRef)(GT), d = () => {+ }), u = (0, F.useRef)(qT), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, F.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = QT({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = eE({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -25081,7 +25094,7 @@ function lse(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [KT]: {+ [JT]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -25104,10 +25117,10 @@ function lse(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function iE(e, t = -Infinity, n = Infinity) {+function oE(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function aE(e, t) {+function sE(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 {@@ -25120,23 +25133,23 @@ function aE(e, t) {}return n;}-function oE(e, t, n, r) {+function cE(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = aE(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(aE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(aE((n - t) / r, r)) * r), a = aE(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = sE(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(sE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(sE((n - t) / r, r)) * r), a = sE(a, r), a;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var sE = /* @__PURE__ */ new Map(), cE = !1;+var lE = /* @__PURE__ */ new Map(), uE = !1;try {- cE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ uE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var use = class {+var pse = class {constructor(e, t = {}) {- this.numberFormatter = dse(e, t), this.options = t;+ this.numberFormatter = mse(e, t), this.options = t;}format(e) {let t = "";- return t = !cE && this.options.signDisplay != null ? fse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !uE && this.options.signDisplay != null ? hse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -25168,21 +25181,21 @@ var use = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !cE && this.options.signDisplay != null && (e = {+ return !uE && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function dse(e, t = {}) {+function mse(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 (sE.has(r)) return sE.get(r);+ if (lE.has(r)) return lE.get(r);let i = new Intl.NumberFormat(e, t);- return sE.set(r, i), i;+ return lE.set(r, i), i;}-function fse(e, t, n) {+function hse(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -25195,12 +25208,12 @@ function fse(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function lE(e) {+function dE(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = $w(), s = Ow((0, F.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = tT(), s = Aw((0, F.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -25222,8 +25235,8 @@ function lE(e) {t,n,i- ])), c = Ow((0, F.useCallback)((e, t) => {- Yw(), i.current.didMove && r?.({+ ])), c = Aw((0, F.useCallback)((e, t) => {+ Zw(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -25234,7 +25247,7 @@ function lE(e) {}, [r, i]));return { moveProps: (0, F.useMemo)(() => {let e = {}, t = () => {- Jw(), i.current.didMove = !1;+ Xw(), i.current.didMove = !1;};{let n = (e) => {@@ -25249,7 +25262,7 @@ function lE(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = wS(G(e));+ let a = DS(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -25259,7 +25272,7 @@ function lE(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = wS(G(e));+ let o = DS(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -25292,7 +25305,7 @@ function lE(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var uE = {+var fE = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -25304,37 +25317,37 @@ var uE = {width: "1px",whiteSpace: "nowrap"};-function dE(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = tE({+function pE(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = rE({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, F.useMemo)(() => r ? t : t ? {- ...uE,+ ...fE,...t- } : uE, [r]);+ } : fE, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function fE(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = dE(e);+function mE(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = pE(e);return /*#__PURE__*/ F.createElement(n, K(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function pse(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = nE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ew(e, t), d = qT({+function gse(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = iE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = nw(e, t), d = YT({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = eE({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = nE({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = Ww(e, { labelable: !0 }), b = {+ }), y = Kw(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, F.useState)(c);- return BT(t, e.defaultValue ?? x, l), VT(e, d, t), {+ return HT(t, e.defaultValue ?? x, l), UT(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -25380,26 +25393,26 @@ function pse(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function mse(e = {}) {- let { locale: t } = Iw();- return (0, F.useMemo)(() => new use(t, e), [t, e]);+function _se(e = {}) {+ let { locale: t } = Rw();+ return (0, F.useMemo)(() => new pse(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var pE = /* @__PURE__ */ new WeakMap();-function mE(e, t) {- let n = pE.get(e);+var hE = /* @__PURE__ */ new WeakMap();+function gE(e, t) {+ let n = hE.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function hse(e, t, n) {- let { labelProps: r, fieldProps: i } = $T(e), a = e.orientation === "vertical";- pE.set(t, {+function vse(e, t, n) {+ let { labelProps: r, fieldProps: i } = tE(e), a = e.orientation === "vertical";+ hE.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = Iw(), { addGlobalListener: s, removeGlobalListener: c } = $w(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = lE({+ let { direction: o } = Rw(), { addGlobalListener: s, removeGlobalListener: c } = tT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = dE({onMoveStart() {d.current = null;},@@ -25409,7 +25422,7 @@ function hse(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 = iE(d.current / s, 0, 1);+ let e = oE(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -25433,7 +25446,7 @@ function hse(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(mE(t, 0))?.focus(), TC("keyboard");+ document.getElementById(gE(t, 0))?.focus(), DC("keyboard");}), {labelProps: r,groupProps: {@@ -25456,26 +25469,26 @@ function hse(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => mE(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => gE(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function gse(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 } = Iw(), { addGlobalListener: m, removeGlobalListener: h } = $w(), g = pE.get(t), { labelProps: _, fieldProps: v } = $T({+function yse(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 } = Rw(), { addGlobalListener: m, removeGlobalListener: h } = tT(), g = hE.get(t), { labelProps: _, fieldProps: v } = tE({...e,- id: mE(t, n),+ id: gE(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, F.useCallback)(() => {- s.current && SS(s.current);+ s.current && TS(s.current);}, [s]), x = t.focusedThumb === n;(0, F.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = XC({+ }, { keyboardProps: T } = QC({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -25491,7 +25504,7 @@ function gse(e, t) {})},allowRepeats: !0- }), { moveProps: E } = lE({+ }), { moveProps: E } = dE({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -25502,7 +25515,7 @@ function gse(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, iE(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, oE(C.current / g, 0, 1));}},onMoveEnd() {@@ -25510,7 +25523,7 @@ function gse(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = ew(K(e, {+ let { focusableProps: D } = nw(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, F.useRef)(void 0), k = (e) => {@@ -25530,7 +25543,7 @@ function gse(e, t) {k(e.changedTouches[0].identifier);}});- return BT(s, t.defaultValues[n], (e) => {+ return HT(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(D, v, {@@ -25570,42 +25583,42 @@ function gse(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var _se = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function hE(e) {+var bse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function _E(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var gE = /* @__PURE__ */ new WeakMap(), _E = [];-function vE(e, t) {- let n = wS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && _se, 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 vE = /* @__PURE__ */ new WeakMap(), yE = [];+function bE(e, t) {+ let n = DS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && bse, 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 (kS()) {+ if (MS()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; ES(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; kS(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 (AS(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (NS(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = uT(CS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = fT(ES(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 = gE.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), gE.set(e, t + 1));+ let t = vE.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), vE.set(e, t + 1));};- _E.length && _E[_E.length - 1].disconnect(), d(i);+ yE.length && yE[yE.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) => AS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && hE(e) ? o.add(e) : e instanceof Element && d(e);- if (kS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => NS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _E(e) ? o.add(e) : e instanceof Element && d(e);+ if (MS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25618,11 +25631,11 @@ function vE(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (kS()) for (let e of u) {+ if (MS()) 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) => AS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && hE(e) ? o.add(e) : e instanceof Element && d(e);- if (kS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => NS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _E(e) ? o.add(e) : e instanceof Element && d(e);+ if (MS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25648,56 +25661,56 @@ function vE(e, t) {p.disconnect();}};- return _E.push(h), () => {- if (p.disconnect(), kS()) for (let e of m) e.disconnect();+ return yE.push(h), () => {+ if (p.disconnect(), MS()) for (let e of m) e.disconnect();for (let e of s) {- let t = gE.get(e);- t != null && (t === 1 ? (l(e, !1), gE.delete(e)) : gE.set(e, t - 1));+ let t = vE.get(e);+ t != null && (t === 1 ? (l(e, !1), vE.delete(e)) : vE.set(e, t - 1));}- h === _E[_E.length - 1] ? (_E.pop(), _E.length && _E[_E.length - 1].observe()) : _E.splice(_E.indexOf(h), 1);+ h === yE[yE.length - 1] ? (yE.pop(), yE.length && yE[yE.length - 1].observe()) : yE.splice(yE.indexOf(h), 1);};}-function yE(e) {- let t = _E[_E.length - 1];+function xE(e) {+ let t = yE[yE.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}// node_modules/react-aria/dist/private/listbox/utils.mjs-var bE = /* @__PURE__ */ new WeakMap();-function vse(e) {+var SE = /* @__PURE__ */ new WeakMap();+function xse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function yse(e, t) {- let n = bE.get(e);+function Sse(e, t) {+ let n = SE.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${vse(t)}`;+ return `${n.id}-option-${xse(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function xE(e) {- return bae() ? e.altKey : e.ctrlKey;+function CE(e) {+ return Sae() ? e.altKey : e.ctrlKey;}-function SE(e, t) {+function wE(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 CE = /* @__PURE__ */ new WeakMap();-function bse(e) {- let t = BC();- return CE.set(e, t), t;+var TE = /* @__PURE__ */ new WeakMap();+function Cse(e) {+ let t = HC();+ return TE.set(e, t), t;}-function xse(e) {- return CE.get(e);+function wse(e) {+ return TE.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var wE = class {+var EE = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : SE(this.ref, e);+ let n = e == null ? null : wE(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -25723,12 +25736,12 @@ var wE = class {height: e?.clientHeight ?? 0};}-}, TE = class {+}, DE = 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 wE(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 wE(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 EE(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 EE(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -25768,14 +25781,14 @@ var wE = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = SE(this.ref, e);+ let t = this.getNextKey(e), n = wE(this.ref, e);if (t != null) {- let e = SE(this.ref, t);+ let e = wE(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = SE(this.ref, r);+ let e = wE(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -25809,7 +25822,7 @@ var wE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !NT(t)) return this.getFirstKey();+ if (t && !FT(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -25824,7 +25837,7 @@ var wE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !NT(t)) return this.getLastKey();+ if (t && !FT(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);@@ -25847,149 +25860,149 @@ var wE = class {}return null;}-}, EE = {};-EE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, OE = {};+OE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var DE = {};-DE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var kE = {};+kE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var OE = {};-OE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var AE = {};+AE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var kE = {};-kE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var jE = {};+jE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var AE = {};-AE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var ME = {};+ME = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var jE = {};-jE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var NE = {};+NE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };// node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var ME = {};-ME = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var PE = {};+PE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var NE = {};-NE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var FE = {};+FE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var PE = {};-PE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var IE = {};+IE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var FE = {};-FE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var LE = {};+LE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var IE = {};-IE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var RE = {};+RE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var LE = {};-LE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var zE = {};+zE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var RE = {};-RE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var BE = {};+BE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var zE = {};-zE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var VE = {};+VE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var BE = {};-BE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var HE = {};+HE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var VE = {};-VE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var UE = {};+UE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var HE = {};-HE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var WE = {};+WE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var UE = {};-UE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var GE = {};+GE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var WE = {};-WE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var KE = {};+KE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var GE = {};-GE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var qE = {};+qE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var KE = {};-KE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var JE = {};+JE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var qE = {};-qE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var YE = {};+YE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var JE = {};-JE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var XE = {};+XE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var YE = {};-YE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var ZE = {};+ZE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var XE = {};-XE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var QE = {};+QE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var ZE = {};-ZE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var $E = {};+$E = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var QE = {};-QE = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var eD = {};+eD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var $E = {};-$E = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var tD = {};+tD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var eD = {};-eD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var nD = {};+nD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var tD = {};-tD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var rD = {};+rD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var nD = {};-nD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var iD = {};+iD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var rD = {};-rD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var aD = {};+aD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var iD = {};-iD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var oD = {};+oD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var aD = {};-aD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var sD = {};+sD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };// node_modules/react-aria/dist/private/menu/intlStrings.mjs-var oD = {};-oD = {- "ar-AE": EE,- "bg-BG": DE,- "cs-CZ": OE,- "da-DK": kE,- "de-DE": AE,- "el-GR": jE,- "en-US": ME,- "es-ES": NE,- "et-EE": PE,- "fi-FI": FE,- "fr-FR": IE,- "he-IL": LE,- "hr-HR": RE,- "hu-HU": zE,- "it-IT": BE,- "ja-JP": VE,- "ko-KR": HE,- "lt-LT": UE,- "lv-LV": WE,- "nb-NO": GE,- "nl-NL": KE,- "pl-PL": qE,- "pt-BR": JE,- "pt-PT": YE,- "ro-RO": XE,- "ru-RU": ZE,- "sk-SK": QE,- "sl-SI": $E,- "sr-SP": eD,- "sv-SE": tD,- "tr-TR": nD,- "uk-UA": rD,- "zh-CN": iD,- "zh-TW": aD+var cD = {};+cD = {+ "ar-AE": OE,+ "bg-BG": kE,+ "cs-CZ": AE,+ "da-DK": jE,+ "de-DE": ME,+ "el-GR": NE,+ "en-US": PE,+ "es-ES": FE,+ "et-EE": IE,+ "fi-FI": LE,+ "fr-FR": RE,+ "he-IL": zE,+ "hr-HR": BE,+ "hu-HU": VE,+ "it-IT": HE,+ "ja-JP": UE,+ "ko-KR": WE,+ "lt-LT": GE,+ "lv-LV": KE,+ "nb-NO": qE,+ "nl-NL": JE,+ "pl-PL": YE,+ "pt-BR": XE,+ "pt-PT": ZE,+ "ro-RO": QE,+ "ru-RU": $E,+ "sk-SK": eD,+ "sl-SI": tD,+ "sr-SP": nD,+ "sv-SE": rD,+ "tr-TR": iD,+ "uk-UA": aD,+ "zh-CN": oD,+ "zh-TW": sD};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Sse = 500;-function sD(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Sse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = $w(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = iT({+var Tse = 500;+function lD(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Tse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = tT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = oT({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -25997,12 +26010,12 @@ function sD(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), CS(e.target).activeElement !== e.target && SS(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), ES(e.target).activeElement !== e.target && TS(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 = wS(e.target);+ let t = DS(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -26017,11 +26030,11 @@ function sD(e) {});}});- return { longPressProps: K(f, zT(a && !t ? s : void 0)) };+ return { longPressProps: K(f, VT(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function Cse(e) {- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = sD({+function Ese(e) {+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = lD({onLongPressStart() {n.current = !1;},@@ -26033,7 +26046,7 @@ function Cse(e) {});}});- return t ? { contextMenuProps: K(YS() ? r : {}, {+ return t ? { contextMenuProps: K(QS() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -26044,7 +26057,7 @@ function Cse(e) {});},onKeyDown(e) {- if (qS() && e.ctrlKey && e.key === "Enter") {+ if (XS() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -26063,13 +26076,13 @@ function Cse(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var cD = /* @__PURE__ */ new WeakMap();-function wse(e) {+var uD = /* @__PURE__ */ new WeakMap();+function Dse(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, F.useEffect)(() => !n || r === null ? void 0 : DS(MS(t.current), "scroll", (e) => {+ (0, F.useEffect)(() => !n || r === null ? void 0 : AS(FS(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !AS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || cD.get(t.current);+ if (!t.current || n instanceof Node && !NS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || uD.get(t.current);i && i();}, !0), [n,@@ -26078,14 +26091,14 @@ function wse(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Tse(e, t, n) {+function Ose(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, F.useEffect)(() => {- n && n.current && cD.set(n.current, t.close);+ n && n.current && uD.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = BC();+ let o = HC();return {triggerProps: {"aria-haspopup": a,@@ -26097,14 +26110,14 @@ function Tse(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Ese(e) {+function kse(e) {return e && e.__esModule ? e.default : e;}-function lD(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = BC(), { triggerProps: s, overlayProps: c } = Tse({ type: r }, t, n), l = (e, n, r = "first") => {+function dD(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = HC(), { triggerProps: s, overlayProps: c } = Ose({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = XC({+ }, { keyboardProps: u } = QC({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -26116,7 +26129,7 @@ function lD(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = Hw(Ese(oD), "@react-aria/menu"), { longPressProps: f } = sD({+ }), d = Ww(kse(cD), "@react-aria/menu"), { longPressProps: f } = lD({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -26128,14 +26141,14 @@ function lD(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (SS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (TS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (SS(e.target), t.toggle());+ e.pointerType === "touch" && !i && (TS(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = Cse({ onContextMenu(e) {+ let { contextMenuProps: m } = Ese({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -26179,8 +26192,8 @@ function lD(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var uD = 1e3;-function dD(e) {+var fD = 1e3;+function pD(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({search: "",timeout: void 0@@ -26199,12 +26212,12 @@ function dD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, uD);+ }, fD);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Dse(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !AS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Ase(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !NS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -26215,32 +26228,32 @@ function dD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, uD);+ }, fD);}} : void 0} };}-function Dse(e) {+function Ase(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function fD(e, t) {+function mD(e, t) {let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);- zS(() => (n.current = !0, () => {+ HS(() => (n.current = !0, () => {n.current = !1;- }), []), zS(() => {+ }), []), HS(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function pD(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 } = Iw(), _ = eC(), v = (e, n, i) => {+function hD(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 } = Rw(), _ = rC(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !xE(e)) {+ if (t.isLink(n) && m === "selection" && l && !CE(e)) {(0, Rt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = SE(r, n), o = t.getItemProps(n);+ let a = wE(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -26252,7 +26265,7 @@ function pD(e) {t.extendSelection(n);return;}- if (l && !xE(e)) {+ if (l && !CE(e)) {t.replaceSelection(n);return;}@@ -26279,9 +26292,9 @@ function pD(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Ew(e));+ let r = n.getFirstKey(t.focusedKey, Ow(e));if (t.setFocusedKey(r), r != null) {- if (Ew(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Ow(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26313,9 +26326,9 @@ function pD(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Ew(e));+ let r = n.getLastKey(t.focusedKey, Ow(e));if (t.setFocusedKey(r), r != null) {- if (Ew(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Ow(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26346,12 +26359,12 @@ function pD(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = ET(r.current, { tabbable: !0 }), t, n;+ let e = OT(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = jS();- t && (!NS(t) || i && !LS(i)) && SS(t);+ let i = PS();+ t && (!IS(t) || i && !BS(i)) && TS(t);}return {shouldContinuePropagation: !0,@@ -26361,11 +26374,11 @@ function pD(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [qS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [XS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [qS() ? e + "+Alt" : e + "+Control"]: t,+ [XS() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = XC({+ }), { keyboardProps: M } = QC({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -26375,7 +26388,7 @@ function pD(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = XC({ shortcuts: {+ }), { keyboardProps: ee } = QC({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -26386,7 +26399,7 @@ function pD(e) {top: 0,left: 0});- kw(p, "scroll", () => {+ jw(p, "scroll", () => {N.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -26394,11 +26407,11 @@ function pD(e) {});let te = (e) => {if (t.isFocused) {- AS(e.currentTarget, G(e)) || t.setFocused(!1);+ NS(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!AS(e.currentTarget, G(e))) return;- let i = wC();+ if (!NS(e.currentTarget, G(e))) return;+ let i = EC();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -26409,27 +26422,27 @@ function pD(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 = N.current.top, p.current.scrollLeft = N.current.left);if (t.focusedKey != null && p.current) {- let e = SE(r, t.focusedKey);- e instanceof HTMLElement && (!NS(e) && !d && SS(e), (i === "keyboard" || h && i === "virtual") && LT(e, { containingElement: r.current }));+ let e = wE(r, t.focusedKey);+ e instanceof HTMLElement && (!IS(e) && !d && TS(e), (i === "keyboard" || h && i === "virtual") && zT(e, { containingElement: r.current }));}}, P = (e) => {- AS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ NS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, ne = (0, F.useRef)(!1);- kw(r, doe, d ? (e) => {+ jw(r, moe, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);} : void 0);let re = n.getFirstKey?.() ?? null;- fD(() => {+ mD(() => {if (ne.current) {if (re == null) {- let e = jS();- hw(r.current), gw(e, null), t.collection.size > 0 && (ne.current = !1);+ let e = PS();+ _w(r.current), vw(e, null), t.collection.size > 0 && (ne.current = !1);} else t.setFocusedKey(re), ne.current = !1;}- }, [re, t.collection.size]), fD(() => {+ }, [re, t.collection.size]), mD(() => {t.collection.size > 0 && (ne.current = !1);- }, [t.focusedKey]), kw(r, uoe, d ? (e) => {+ }, [t.focusedKey]), jw(r, poe, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);@@ -26444,22 +26457,22 @@ function pD(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && FC(r.current), t.collection.size > 0 && (I.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 && LC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);}});let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = wC(), n = SE(r, t.focusedKey);+ let e = EC(), n = wE(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (IT(p.current, n), e !== "virtual" && LT(n, { containingElement: r.current }));+ p.current && (RT(p.current, n), e !== "virtual" && zT(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && FC(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && LC(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, F.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), kw(r, "react-aria-focus-scope-restore", (e) => {+ }, []), jw(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {@@ -26469,27 +26482,27 @@ function pD(e) {onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: ce } = dD({+ }, { typeSelectProps: ce } = pD({keyboardDelegate: n,selectionManager: t});u || (se = K(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);- let ue = bse(t.collection);+ let ue = Cse(t.collection);return { collectionProps: K(se, {tabIndex: le,"data-collection": ue}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function mD(e, t) {+function gD(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function hD(e) {- return gD(e, 0);+function _D(e) {+ return vD(e, 0);}-function gD(e, t) {+function vD(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -26497,106 +26510,106 @@ function gD(e, t) {n++;}}-function _D(e) {+function yD(e) {let t;for (let n of e) t = n;return t;}-function vD(e, t, n) {+function bD(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...yD(e, t), t], i = [...yD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...xD(e, t), t], i = [...xD(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 yD(e, t) {+function xD(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}// node_modules/react-stately/dist/private/collections/getItemCount.mjs-var bD = /* @__PURE__ */ new WeakMap();-function xD(e) {- let t = bD.get(e);+var SD = /* @__PURE__ */ new WeakMap();+function CD(e) {+ let t = SD.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(mD(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(gD(i, e)) : i.type === "item" && n++;};- return r(e), bD.set(e, n), n;+ return r(e), SD.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var SD = /* @__PURE__ */ new Map();-function CD(e) {- let { locale: t } = Iw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (SD.has(n)) return SD.get(n);+var wD = /* @__PURE__ */ new Map();+function TD(e) {+ let { locale: t } = Rw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (wD.has(n)) return wD.get(n);let r = new Intl.Collator(t, e);- return SD.set(n, r), r;+ return wD.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Ose = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {- let r = (0, F.useRef)(!1), i = (0, F.useContext)(Qw), a = K(i || {}, {+var jse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(eT), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = ZC(n || i?.ref), QC(i, a.ref), (0, F.useEffect)(() => {+ return a.ref = $C(n || i?.ref), ew(i, a.ref), (0, F.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ F.createElement(Qw.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ F.createElement(eT.Provider, { value: a }, e);});-function kse({ children: e }) {+function Mse({ children: e }) {let t = (0, F.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ F.createElement(Qw.Provider, { value: t }, e);+ return /*#__PURE__*/ F.createElement(eT.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var wD = /*#__PURE__*/ (0, F.createContext)({});-function TD(e) {- let { getContainer: t } = e, { getContainer: n } = ED();- return /*#__PURE__*/ F.createElement(wD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var ED = /*#__PURE__*/ (0, F.createContext)({});+function DD(e) {+ let { getContainer: t } = e, { getContainer: n } = OD();+ return /*#__PURE__*/ F.createElement(ED.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function ED() {- return (0, F.useContext)(wD) ?? {};+function OD() {+ return (0, F.useContext)(ED) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var DD = /*#__PURE__*/ F.createContext(null);-function OD(e) {- let t = cC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({+var kD = /*#__PURE__*/ F.createContext(null);+function AD(e) {+ let t = uC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = ED();+ }), [i, a]), { getContainer: s } = OD();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(mT, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(gT, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ F.createElement(DD.Provider, { value: o }, /*#__PURE__*/ F.createElement(kse, null, /*#__PURE__*/ F.createElement($C.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ F.createElement(kD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Mse, null, /*#__PURE__*/ F.createElement(tw.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);}-function kD() {- let e = (0, F.useContext)(DD)?.setContain;- zS(() => {+function jD() {+ let e = (0, F.useContext)(kD)?.setContain;+ HS(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Ase(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = VC();+function Nse(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = UC();i = e["aria-label"] ? void 0 : i;- let a = VC();+ let a = UC();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, F.useRef)(!1);(0, F.useEffect)(() => {- if (!r && t.current && !NS(t.current)) {- FC(t.current);+ if (!r && t.current && !IS(t.current)) {+ LC(t.current);let e = setTimeout(() => {- (jS() === t.current || jS() === document.body) && (o.current = !0, t.current && (t.current.blur(), FC(t.current)), o.current = !1);+ (PS() === t.current || PS() === document.body) && (o.current = !0, t.current && (t.current.blur(), LC(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), kD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});+ }, [t, r]), jD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...Ww(e, { labelable: !0 }),+ ...Kw(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -26610,23 +26623,23 @@ function Ase(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function AD(e = {}) {+function MD(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({isFocused: !1,- isFocusVisible: t || CC()+ isFocusVisible: t || TC()}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = CC(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = TC(), o(e), l();}, [l]);- OC((e) => {+ AC((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = KC({+ let { focusProps: d } = JC({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = tE({+ }), { focusWithinProps: f } = rE({isDisabled: !r,onFocusWithinChange: u});@@ -26637,41 +26650,41 @@ function AD(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function jse(e = {}) {- let { locale: t } = Iw();+function Pse(e = {}) {+ let { locale: t } = Rw();return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var jD = !1, MD = 0;-function Mse() {- jD = !0, setTimeout(() => {- jD = !1;+var ND = !1, PD = 0;+function Fse() {+ ND = !0, setTimeout(() => {+ ND = !1;}, 500);}-function ND(e) {- e.pointerType === "touch" && Mse();+function FD(e) {+ e.pointerType === "touch" && Fse();}-function Nse() {- let e = CS(null);- if (e !== void 0) return MD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ND), MD++, () => {- MD--, !(MD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ND);+function Ise() {+ let e = ES(null);+ if (e !== void 0) return PD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", FD), PD++, () => {+ PD--, !(PD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", FD);};}-function PD(e) {+function ID(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, F.useEffect)(Nse, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = $w(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {+ (0, F.useEffect)(Ise, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = tT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !AS(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !NS(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(CS(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !AS(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(ES(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !NS(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -26686,9 +26699,9 @@ function PD(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- jD && t.pointerType === "mouse" || e(t, t.pointerType);+ ND && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && AS(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && NS(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -26710,22 +26723,22 @@ function PD(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Pse(e) {+function Lse(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Ow((e) => {- n && FD(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Ow((e) => {+ }), o = Aw((e) => {+ n && LD(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Aw((e) => {n && n(e);});(0, F.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = CS(n);+ let n = t.current, i = ES(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && FD(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && LD(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);@@ -26733,28 +26746,28 @@ function Pse(e) {}}, [t, r]);}-function FD(e, t) {+function LD(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !AS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !NS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}// node_modules/react-aria/dist/private/gridlist/utils.mjs-var ID = /* @__PURE__ */ new WeakMap();-function LD(e, t) {- let { id: n } = ID.get(e) ?? {};+var RD = /* @__PURE__ */ new WeakMap();+function zD(e, t) {+ let { id: n } = RD.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${Fse(t)}`;+ return `${n}-${Rse(t)}`;}-function Fse(e) {+function Rse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var RD = {};-RD = {+var BD = {};+BD = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -26767,8 +26780,8 @@ RD = {selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var zD = {};-zD = {+var VD = {};+VD = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -26781,8 +26794,8 @@ zD = {selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var BD = {};-BD = {+var HD = {};+HD = {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",@@ -26795,8 +26808,8 @@ BD = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var VD = {};-VD = {+var UD = {};+UD = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -26809,8 +26822,8 @@ VD = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var HD = {};-HD = {+var WD = {};+WD = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -26823,8 +26836,8 @@ HD = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var UD = {};-UD = {+var GD = {};+GD = {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: "Επιλογή",@@ -26837,8 +26850,8 @@ UD = {selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var WD = {};-WD = {+var KD = {};+KD = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -26851,8 +26864,8 @@ WD = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var GD = {};-GD = {+var qD = {};+qD = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -26865,8 +26878,8 @@ GD = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var KD = {};-KD = {+var JD = {};+JD = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -26879,8 +26892,8 @@ KD = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var qD = {};-qD = {+var YD = {};+YD = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -26893,8 +26906,8 @@ qD = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var JD = {};-JD = {+var XD = {};+XD = {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",@@ -26907,8 +26920,8 @@ JD = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var YD = {};-YD = {+var ZD = {};+ZD = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -26921,8 +26934,8 @@ YD = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var XD = {};-XD = {+var QD = {};+QD = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -26935,8 +26948,8 @@ XD = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var ZD = {};-ZD = {+var $D = {};+$D = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -26949,8 +26962,8 @@ ZD = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var QD = {};-QD = {+var eO = {};+eO = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -26963,8 +26976,8 @@ QD = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var $D = {};-$D = {+var tO = {};+tO = {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: "選択",@@ -26977,8 +26990,8 @@ $D = {selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var eO = {};-eO = {+var nO = {};+nO = {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: "선택",@@ -26991,8 +27004,8 @@ eO = {selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var tO = {};-tO = {+var rO = {};+rO = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -27005,8 +27018,8 @@ tO = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var nO = {};-nO = {+var iO = {};+iO = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -27019,8 +27032,8 @@ nO = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var rO = {};-rO = {+var aO = {};+aO = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -27033,8 +27046,8 @@ rO = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var iO = {};-iO = {+var oO = {};+oO = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -27047,8 +27060,8 @@ iO = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var aO = {};-aO = {+var sO = {};+sO = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -27061,8 +27074,8 @@ aO = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var oO = {};-oO = {+var cO = {};+cO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -27075,8 +27088,8 @@ oO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var sO = {};-sO = {+var lO = {};+lO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -27089,8 +27102,8 @@ sO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var cO = {};-cO = {+var uO = {};+uO = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -27103,8 +27116,8 @@ cO = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var lO = {};-lO = {+var dO = {};+dO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -27117,8 +27130,8 @@ lO = {selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var uO = {};-uO = {+var fO = {};+fO = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -27131,8 +27144,8 @@ uO = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var dO = {};-dO = {+var pO = {};+pO = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -27145,8 +27158,8 @@ dO = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var fO = {};-fO = {+var mO = {};+mO = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -27159,8 +27172,8 @@ fO = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var pO = {};-pO = {+var hO = {};+hO = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -27173,8 +27186,8 @@ pO = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var mO = {};-mO = {+var gO = {};+gO = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -27187,8 +27200,8 @@ mO = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var hO = {};-hO = {+var _O = {};+_O = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -27201,8 +27214,8 @@ hO = {selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var gO = {};-gO = {+var vO = {};+vO = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -27215,8 +27228,8 @@ gO = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var _O = {};-_O = {+var yO = {};+yO = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -27229,54 +27242,54 @@ _O = {selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};// node_modules/react-aria/dist/private/grid/intlStrings.mjs-var vO = {};-vO = {- "ar-AE": RD,- "bg-BG": zD,- "cs-CZ": BD,- "da-DK": VD,- "de-DE": HD,- "el-GR": UD,- "en-US": WD,- "es-ES": GD,- "et-EE": KD,- "fi-FI": qD,- "fr-FR": JD,- "he-IL": YD,- "hr-HR": XD,- "hu-HU": ZD,- "it-IT": QD,- "ja-JP": $D,- "ko-KR": eO,- "lt-LT": tO,- "lv-LV": nO,- "nb-NO": rO,- "nl-NL": iO,- "pl-PL": aO,- "pt-BR": oO,- "pt-PT": sO,- "ro-RO": cO,- "ru-RU": lO,- "sk-SK": uO,- "sl-SI": dO,- "sr-SP": fO,- "sv-SE": pO,- "tr-TR": mO,- "uk-UA": hO,- "zh-CN": gO,- "zh-TW": _O+var bO = {};+bO = {+ "ar-AE": BD,+ "bg-BG": VD,+ "cs-CZ": HD,+ "da-DK": UD,+ "de-DE": WD,+ "el-GR": GD,+ "en-US": KD,+ "es-ES": qD,+ "et-EE": JD,+ "fi-FI": YD,+ "fr-FR": XD,+ "he-IL": ZD,+ "hr-HR": QD,+ "hu-HU": $D,+ "it-IT": eO,+ "ja-JP": tO,+ "ko-KR": nO,+ "lt-LT": rO,+ "lv-LV": iO,+ "nb-NO": aO,+ "nl-NL": oO,+ "pl-PL": sO,+ "pt-BR": cO,+ "pt-PT": lO,+ "ro-RO": uO,+ "ru-RU": dO,+ "sk-SK": fO,+ "sl-SI": pO,+ "sr-SP": mO,+ "sv-SE": hO,+ "tr-TR": gO,+ "uk-UA": _O,+ "zh-CN": vO,+ "zh-TW": yO};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Ise(e) {+function zse(e) {return e && e.__esModule ? e.default : e;}-function yO(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Hw(Ise(vO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {+function xO(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Ww(zse(bO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = bO(i, a.current), o = bO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = SO(i, a.current), o = SO(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)) {@@ -27296,7 +27309,7 @@ function yO(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 && jT(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 && NT(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -27307,7 +27320,7 @@ function yO(e, t) {n,r]);- MT(() => {+ PT(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -27315,20 +27328,20 @@ function yO(e, t) {}}, [i, t.selectionManager.isFocused]);}-function bO(e, t) {+function SO(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);return n;}// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function xO(e, t) {+function CO(e, t) {let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);- return zS(() => {+ return HS(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = ET(e.current, { tabbable: !0 });+ let t = OT(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -27346,12 +27359,12 @@ function xO(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Lse(e) {+function Bse(e) {return e && e.__esModule ? e.default : e;}-function SO(e) {- let t = Hw(Lse(vO), "@react-aria/grid"), n = EC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return zT((0, F.useMemo)(() => {+function wO(e) {+ let t = Ww(Bse(bO), "@react-aria/grid"), n = OC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return VT((0, F.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;}, [@@ -27363,11 +27376,11 @@ function SO(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function CO(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = CD({+function TO(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = TD({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new TE({+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new DE({collection: n,disabledKeys: r,disabledBehavior: l,@@ -27384,7 +27397,7 @@ function CO(e) {c,l,s- ]), { collectionProps: d } = pD({+ ]), { collectionProps: d } = hD({...e,ref: i,selectionManager: t,@@ -27393,10 +27406,10 @@ function CO(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Rse(e, t, n) {+function Vse(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 } = CO({+ let { listProps: f } = TO({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -27411,30 +27424,30 @@ function Rse(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = BC(e.id);- ID.set(t, {+ }), p = HC(e.id);+ RD.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = SO({+ let m = wO({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = xO(n, { isDisabled: t.collection.size !== 0 }), g = K(Ww(e, { labelable: !0 }), {+ }), h = CO(n, { isDisabled: t.collection.size !== 0 }), g = K(Kw(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), yO({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), xO({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function wO(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 = eC();- t = BC(t);+function EO(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 = rC();+ t = HC(t);let p = (e) => {- if (e.pointerType === "keyboard" && xE(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && CE(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -27445,11 +27458,11 @@ function wO(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 && (Ew(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 && (Ow(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, F.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? hw(i.current) : s ? s() : jS() !== i.current && i.current && FC(i.current));+ r === n.focusedKey && n.isFocused && (o ? _w(i.current) : s ? s() : PS() !== i.current && i.current && LC(i.current));}, [i,r,@@ -27477,22 +27490,22 @@ function wO(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);}, k = { ref: i };a ? (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || EO(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || OO(e.key)) && p(e);}, u ? (k.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, k.onPress = b ? O : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : k.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !TO(e.key)) return;+ if (e.pointerType === "keyboard" && !DO(e.key)) return;O(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || EO(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || OO(e.key))) && p(e);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && TO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && DO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = xse(n.collection);+ let A = wse(n.collection);if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -27507,10 +27520,10 @@ function wO(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = IC(k[e], D[e]));- let { pressProps: j, isPressed: M } = iT(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = RC(k[e], D[e]));+ let { pressProps: j, isPressed: M } = oT(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: N } = sD({+ } : void 0, { longPressProps: N } = lD({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -27518,7 +27531,7 @@ function wO(e) {}), te = (e) => {C.current === "touch" && T.current && e.preventDefault();}, P = d !== "none" && n.isLink(r) ? (e) => {- tC.isOpening || e.preventDefault();+ iC.isOpening || e.preventDefault();} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {onDoubleClick: ee,onDragStartCapture: te,@@ -27531,7 +27544,7 @@ function wO(e) {if (e != null) return e !== A;t = t.parentElement;}- return LS(e);+ return BS(e);}, I = ne.onPointerDown;ne.onPointerDown = (e) => {let t = G(e);@@ -27551,14 +27564,14 @@ function wO(e) {hasAction: S};}-function TO(e) {+function DO(e) {return e === "Enter";}-function EO(e) {+function OO(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var DO = {+var kO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -27568,18 +27581,18 @@ var DO = {rtl: "ArrowRight"}};-function zse(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Iw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = ID.get(t), f = VC(), p = (0, F.useRef)(null), m = () => {+function Hse(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Rw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = RD.get(t), f = UC(), p = (0, F.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (NS(n.current) && n.current !== jS(CS(n.current))) return;- let e = ET(n.current, { tabbable: !0 }).firstChild();+ if (IS(n.current) && n.current !== PS(ES(n.current))) return;+ let e = OT(n.current, { tabbable: !0 }).firstChild();if (e) {- FC(e), LT(e, { containingElement: PT(e) });+ LC(e), zT(e, { containingElement: IT(e) });return;}}- (p.current != null && r.key !== p.current || !NS(n.current)) && FC(n.current);+ (p.current != null && r.key !== p.current || !IS(n.current)) && LC(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -27589,7 +27602,7 @@ function zse(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = Bse(e, t.collection);+ let n = Use(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;@@ -27600,75 +27613,75 @@ function zse(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = wO({+ let { itemProps: v, ...y } = EO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? IC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? RC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = jS(CS(n.current));- if (!AS(e.currentTarget, G(e)) || !n.current || !i) return;- let a = ET(n.current);- if (a.currentNode = i, !OO(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = PS(ES(n.current));+ if (!NS(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = OT(n.current);+ if (a.currentNode = i, !AO(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(), FC(t), LT(t, { containingElement: PT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") FC(n.current), LT(n.current, { containingElement: PT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), LC(t), zT(t, { containingElement: IT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") LC(n.current), zT(n.current, { containingElement: IT(n.current) });else {a.currentNode = n.current;- let e = kO(a);- e && (FC(e), LT(e, { containingElement: PT(n.current) }));+ let e = jO(a);+ e && (LC(e), zT(e, { containingElement: IT(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), FC(t), LT(t, { containingElement: PT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") FC(n.current), LT(n.current, { containingElement: PT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), LC(t), zT(t, { containingElement: IT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") LC(n.current), zT(n.current, { containingElement: IT(n.current) });else {a.currentNode = n.current;- let e = kO(a);- e && (FC(e), LT(e, { containingElement: PT(n.current) }));+ let e = jO(a);+ e && (LC(e), zT(e, { containingElement: IT(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && AS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && NS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && AS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && jS(CS(n.current)) === n.current && m();- }) : CC() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && NS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && PS(ES(n.current)) === n.current && m();+ }) : TC() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = jS(CS(n.current));- if (AS(e.currentTarget, G(e)) && n.current && i) {+ let i = PS(ES(n.current));+ if (NS(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (OO(e, t, r, g, s, i, n.current, o)) return;+ if (AO(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = ET(n.current, { tabbable: !0 });+ let t = OT(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = nC(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = aC(r.props), w = K(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,"aria-label": r["aria-label"] || r.textValue || void 0,"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${LD(t, r.key)} ${f}` : void 0,- id: LD(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${zD(t, r.key)} ${f}` : void 0,+ id: zD(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -27689,66 +27702,66 @@ function zse(e, t, n) {...y};}-function OO(e, t, n, r, i, a, o, s) {+function AO(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === DO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === DO.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === kO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === kO.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 kO(e) {+function jO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function Bse(e, t) {+function Use(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Vse(e) {+function Wse(e) {return e && e.__esModule ? e.default : e;}-function AO(e, t) {- let { key: n } = e, r = t.selectionManager, i = BC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function MO(e, t) {+ let { key: n } = e, r = t.selectionManager, i = HC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": Hw(Vse(vO), "@react-aria/grid").format("select"),+ "aria-label": Ww(Wse(bO), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Hse(e, t) {- let { key: n } = e, { checkboxProps: r } = AO(e, t);+function Gse(e, t) {+ let { key: n } = e, { checkboxProps: r } = MO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${LD(t, n)}`+ "aria-labelledby": `${r.id} ${zD(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Use(e, t, n) {- let r = Ww(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Kse(e, t, n) {+ let r = Kw(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 } = CO({+ let { listProps: s } = TO({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = tE({+ }), { focusWithinProps: c } = rE({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = BC(e.id);- bE.set(t, {+ }), l = HC(e.id);+ SE.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -27758,7 +27771,7 @@ function Use(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = $T({+ let { labelProps: u, fieldProps: d } = tE({...e,id: l,labelElementType: "span"@@ -27773,8 +27786,8 @@ function Use(e, t, n) {};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Wse(e) {- let { heading: t, "aria-label": n } = e, r = BC();+function qse(e) {+ let { heading: t, "aria-label": n } = e, r = HC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27792,8 +27805,8 @@ function Wse(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function Gse(e, t, n) {- let { key: r } = e, i = bE.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 = VC(), f = VC(), p = {+function Jse(e, t, n) {+ let { key: r } = e, i = SE.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 = UC(), f = UC(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -27803,9 +27816,9 @@ function Gse(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"] = xD(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = CD(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = yse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = wO({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Sse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = EO({selectionManager: t.selectionManager,key: r,ref: n,@@ -27814,18 +27827,18 @@ function Gse(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? IC(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? RC(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = PD({+ }), { hoverProps: S } = ID({isDisabled: a || !c,onHoverStart() {- CC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ TC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = Ww(m?.props);+ }), C = Kw(m?.props);delete C.id;- let w = rC(m?.props);+ let w = oC(m?.props);return {optionProps: {...p,@@ -27835,7 +27848,7 @@ function Gse(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && CC(),+ isFocusVisible: y && t.selectionManager.isFocused && TC(),isSelected: o,isDisabled: a,isPressed: v,@@ -27844,12 +27857,12 @@ function Gse(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var jO = /* @__PURE__ */ new WeakMap();+var NO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function Kse(e, t, n) {+function Yse(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = Ww(e, { labelable: !0 }), { listProps: c } = CO({+ let s = Kw(e, { labelable: !0 }), { listProps: c } = TO({...o,ref: n,selectionManager: t.selectionManager,@@ -27858,7 +27871,7 @@ function Kse(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return jO.set(t, {+ return NO.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -27874,15 +27887,15 @@ function Kse(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function qse(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = jO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = eC(), M = () => {+function Xse(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = NO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = rC(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let N = VC(), te = VC(), P = VC(), ne = {+ let N = UC(), te = UC(), P = UC(), ne = {id: r,"aria-disabled": E || void 0,role: ee,@@ -27899,17 +27912,17 @@ function qse(e, t, n) {};if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {let e = Number(k?.index);- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = xD(t.collection);+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = CD(t.collection);}let re = (0, F.useRef)(!1), I = (e) => {f?.(e), re.current = e;}, ie = (0, F.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), M(), Eae(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), Oae(e, j, k.props.href, k?.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, A && !w && t && A(), ie.current = null;- }, { itemProps: se, isFocused: ce } = wO({+ }, { itemProps: se, isFocused: ce } = EO({id: r,selectionManager: C,key: i,@@ -27918,27 +27931,27 @@ function qse(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = iT({+ }), { pressProps: le, isPressed: ue } = oT({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: I,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = PD({+ }), { hoverProps: de } = ID({isDisabled: E,onHoverStart(e) {- !CC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !TC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = XC({+ }), { keyboardProps: fe } = QC({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), TC("keyboard");+ }, G(e).click(), DC("keyboard");},Enter: (e) => {ie.current = {@@ -27946,8 +27959,8 @@ function qse(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), TC("keyboard");- else return TC("keyboard"), {+ if (t.tagName !== "A") t.click(), DC("keyboard");+ else return DC("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -27955,13 +27968,13 @@ function qse(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = ew({+ }), { focusableProps: pe } = nw({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = Ww(k?.props);+ }, n), me = Kw(k?.props);delete me.id;- let he = rC(k?.props);+ let he = oC(k?.props);return {menuItemProps: {...ne,@@ -27976,15 +27989,15 @@ function qse(e, t, n) {descriptionProps: { id: te },keyboardShortcutProps: { id: P },isFocused: ce,- isFocusVisible: ce && C.isFocused && CC() && !T,+ isFocusVisible: ce && C.isFocused && TC() && !T,isSelected: D,isPressed: ue,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Jse(e) {- let { heading: t, "aria-label": n } = e, r = BC();+function Zse(e) {+ let { heading: t, "aria-label": n } = e, r = HC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27999,15 +28012,15 @@ function Jse(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Yse() {+function Qse() {return window.ResizeObserver !== void 0;}-function MO(e) {- let { ref: t, box: n, onResize: r } = e, i = Ow(r);+function PO(e) {+ let { ref: t, box: n, onResize: r } = e, i = Aw(r);(0, F.useEffect)(() => {let e = t?.current;if (e) {- if (Yse()) {+ if (Qse()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -28022,154 +28035,154 @@ function MO(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var NO = {};-NO = { dismiss: "تجاهل" };+var FO = {};+FO = { dismiss: "تجاهل" };// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var PO = {};-PO = { dismiss: "Отхвърляне" };+var IO = {};+IO = { dismiss: "Отхвърляне" };// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var FO = {};-FO = { dismiss: "Odstranit" };+var LO = {};+LO = { dismiss: "Odstranit" };// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var IO = {};-IO = { dismiss: "Luk" };+var RO = {};+RO = { dismiss: "Luk" };// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var LO = {};-LO = { dismiss: "Schließen" };+var zO = {};+zO = { dismiss: "Schließen" };// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var RO = {};-RO = { dismiss: "Απόρριψη" };+var BO = {};+BO = { dismiss: "Απόρριψη" };// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var zO = {};-zO = { dismiss: "Dismiss" };+var VO = {};+VO = { dismiss: "Dismiss" };// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var BO = {};-BO = { dismiss: "Descartar" };+var HO = {};+HO = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var VO = {};-VO = { dismiss: "Lõpeta" };+var UO = {};+UO = { dismiss: "Lõpeta" };// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var HO = {};-HO = { dismiss: "Hylkää" };+var WO = {};+WO = { dismiss: "Hylkää" };// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var UO = {};-UO = { dismiss: "Rejeter" };+var GO = {};+GO = { dismiss: "Rejeter" };// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var WO = {};-WO = { dismiss: "התעלם" };+var KO = {};+KO = { dismiss: "התעלם" };// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var GO = {};-GO = { dismiss: "Odbaci" };+var qO = {};+qO = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var KO = {};-KO = { dismiss: "Elutasítás" };+var JO = {};+JO = { dismiss: "Elutasítás" };// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var qO = {};-qO = { dismiss: "Ignora" };+var YO = {};+YO = { dismiss: "Ignora" };// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var JO = {};-JO = { dismiss: "閉じる" };+var XO = {};+XO = { dismiss: "閉じる" };// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var YO = {};-YO = { dismiss: "무시" };+var ZO = {};+ZO = { dismiss: "무시" };// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var XO = {};-XO = { dismiss: "Atmesti" };+var QO = {};+QO = { dismiss: "Atmesti" };// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var ZO = {};-ZO = { dismiss: "Nerādīt" };+var $O = {};+$O = { dismiss: "Nerādīt" };// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var QO = {};-QO = { dismiss: "Lukk" };+var ek = {};+ek = { dismiss: "Lukk" };// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var $O = {};-$O = { dismiss: "Negeren" };+var tk = {};+tk = { dismiss: "Negeren" };// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var ek = {};-ek = { dismiss: "Zignoruj" };+var nk = {};+nk = { dismiss: "Zignoruj" };// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var tk = {};-tk = { dismiss: "Descartar" };+var rk = {};+rk = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var nk = {};-nk = { dismiss: "Dispensar" };+var ik = {};+ik = { dismiss: "Dispensar" };// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var rk = {};-rk = { dismiss: "Revocare" };+var ak = {};+ak = { dismiss: "Revocare" };// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var ik = {};-ik = { dismiss: "Пропустить" };+var ok = {};+ok = { dismiss: "Пропустить" };// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var ak = {};-ak = { dismiss: "Zrušiť" };+var sk = {};+sk = { dismiss: "Zrušiť" };// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var ok = {};-ok = { dismiss: "Opusti" };+var ck = {};+ck = { dismiss: "Opusti" };// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var sk = {};-sk = { dismiss: "Odbaci" };+var lk = {};+lk = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var ck = {};-ck = { dismiss: "Avvisa" };+var uk = {};+uk = { dismiss: "Avvisa" };// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var lk = {};-lk = { dismiss: "Kapat" };+var dk = {};+dk = { dismiss: "Kapat" };// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var uk = {};-uk = { dismiss: "Скасувати" };+var fk = {};+fk = { dismiss: "Скасувати" };// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var dk = {};-dk = { dismiss: "取消" };+var pk = {};+pk = { dismiss: "取消" };// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var fk = {};-fk = { dismiss: "關閉" };+var mk = {};+mk = { dismiss: "關閉" };// node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var pk = {};-pk = {- "ar-AE": NO,- "bg-BG": PO,- "cs-CZ": FO,- "da-DK": IO,- "de-DE": LO,- "el-GR": RO,- "en-US": zO,- "es-ES": BO,- "et-EE": VO,- "fi-FI": HO,- "fr-FR": UO,- "he-IL": WO,- "hr-HR": GO,- "hu-HU": KO,- "it-IT": qO,- "ja-JP": JO,- "ko-KR": YO,- "lt-LT": XO,- "lv-LV": ZO,- "nb-NO": QO,- "nl-NL": $O,- "pl-PL": ek,- "pt-BR": tk,- "pt-PT": nk,- "ro-RO": rk,- "ru-RU": ik,- "sk-SK": ak,- "sl-SI": ok,- "sr-SP": sk,- "sv-SE": ck,- "tr-TR": lk,- "uk-UA": uk,- "zh-CN": dk,- "zh-TW": fk+var hk = {};+hk = {+ "ar-AE": FO,+ "bg-BG": IO,+ "cs-CZ": LO,+ "da-DK": RO,+ "de-DE": zO,+ "el-GR": BO,+ "en-US": VO,+ "es-ES": HO,+ "et-EE": UO,+ "fi-FI": WO,+ "fr-FR": GO,+ "he-IL": KO,+ "hr-HR": qO,+ "hu-HU": JO,+ "it-IT": YO,+ "ja-JP": XO,+ "ko-KR": ZO,+ "lt-LT": QO,+ "lv-LV": $O,+ "nb-NO": ek,+ "nl-NL": tk,+ "pl-PL": nk,+ "pt-BR": rk,+ "pt-PT": ik,+ "ro-RO": ak,+ "ru-RU": ok,+ "sk-SK": sk,+ "sl-SI": ck,+ "sr-SP": lk,+ "sv-SE": uk,+ "tr-TR": dk,+ "uk-UA": fk,+ "zh-CN": pk,+ "zh-TW": mk};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Xse(e) {+function $se(e) {return e && e.__esModule ? e.default : e;}-function mk(e) {- let { onDismiss: t, ...n } = e, r = Aw(n, Hw(Xse(pk), "@react-aria/overlays").format("dismiss")), i = () => {+function gk(e) {+ let { onDismiss: t, ...n } = e, r = Mw(n, Ww($se(hk), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ F.createElement(fE, null, /*#__PURE__*/ F.createElement("button", {+ return /*#__PURE__*/ F.createElement(mE, null, /*#__PURE__*/ F.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -28180,35 +28193,35 @@ function mk(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var hk = [];-function gk(e, t) {+var _k = [];+function vk(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);(0, F.useEffect)(() => {- if (i && !hk.includes(t)) return hk.push(t), () => {- let e = hk.indexOf(t);- e >= 0 && hk.splice(e, 1);+ if (i && !_k.includes(t)) return _k.push(t), () => {+ let e = _k.indexOf(t);+ e >= 0 && _k.splice(e, 1);};}, [i, t]);let l = () => {- hk[hk.length - 1] === t && n && n();+ _k[_k.length - 1] === t && n && n();}, u = (e) => {- let n = hk[hk.length - 1];+ let n = _k[_k.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (hk[hk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = XC({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (_k[_k.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = QC({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Pse({+ Lse({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = tE({+ let { focusWithinProps: p } = rE({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !Koe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !Yoe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -28220,87 +28233,87 @@ function gk(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Zse = 200, Qse = 50, $se = 600, _k = /* @__PURE__ */ new WeakMap(), vk = /* @__PURE__ */ new Set(), yk = /* @__PURE__ */ new Set();-function ece(e, t) {- let n = Dw();- if (e !== n || t.aborted) for (let e of yk) e(n), yk.delete(e);- if (!e && n && XS() && !t.aborted) window.clearInterval(_k.get(window)), _k.set(window, bk(Zse));+var ece = 200, tce = 50, nce = 600, yk = /* @__PURE__ */ new WeakMap(), bk = /* @__PURE__ */ new Set(), xk = /* @__PURE__ */ new Set();+function rce(e, t) {+ let n = kw();+ if (e !== n || t.aborted) for (let e of xk) e(n), xk.delete(e);+ if (!e && n && $S() && !t.aborted) window.clearInterval(yk.get(window)), yk.set(window, Sk(ece));else {- if (e !== n || t.aborted) for (let e of vk) e(n), vk.delete(e);- (yk.size + vk.size <= 0 || t.aborted) && (window.clearInterval(_k.get(window)), _k.delete(window));+ if (e !== n || t.aborted) for (let e of bk) e(n), bk.delete(e);+ (xk.size + bk.size <= 0 || t.aborted) && (window.clearInterval(yk.get(window)), yk.delete(window));}}-function bk(e = $se) {- return window.setInterval(ece, Qse, Dw(), AbortSignal.timeout(e));+function Sk(e = nce) {+ return window.setInterval(rce, tce, kw(), AbortSignal.timeout(e));}-function xk(e) {- if (!ww()) return e(!1), () => {};+function Ck(e) {+ if (!Ew()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Tw(document.hasFocus() ? jS() : null);- if (Dw() === t || Dw() && !t) return e(t);- yk.add(e), _k.has(window) || _k.set(window, bk());+ let t = Dw(document.hasFocus() ? PS() : null);+ if (kw() === t || kw() && !t) return e(t);+ xk.add(e), yk.has(window) || yk.set(window, Sk());});});return () => {- window.cancelAnimationFrame(t), yk.delete(e);+ window.cancelAnimationFrame(t), xk.delete(e);};}-function tce(e) {- if (!ww()) return e(!1), () => {};+function ice(e) {+ if (!Ew()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Tw(document.hasFocus() ? jS() : null);- if (Dw() === t) return e(t);- vk.add(e), _k.has(window) || _k.set(window, bk());+ let t = Dw(document.hasFocus() ? PS() : null);+ if (kw() === t) return e(t);+ bk.add(e), yk.has(window) || yk.set(window, Sk());});});return () => {- window.cancelAnimationFrame(t), vk.delete(e);+ window.cancelAnimationFrame(t), bk.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var Sk = typeof document < "u" && window.visualViewport, Ck = 0, wk;-function Tk(e = {}) {+var wk = typeof document < "u" && window.visualViewport, Tk = 0, Ek;+function Dk(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- zS(() => {- if (!t) return Ck++, Ck === 1 && (wk = YS() && XS() ? rce() : nce(n)), () => {- Ck--, Ck === 0 && wk();+ HS(() => {+ if (!t) return Tk++, Tk === 1 && (Ek = QS() && $S() ? oce() : ace(n)), () => {+ Tk--, Tk === 0 && Ek();};}, [t, n]);}-function nce(e) {+function ace(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return IC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? OS(document.documentElement, "scrollbar-gutter", "stable") : OS(document.documentElement, "padding-right", `${t}px`)), OS(document.documentElement, "overflow", "hidden"), e && Dk(), e && ww() && Ek());+ return RC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? jS(document.documentElement, "scrollbar-gutter", "stable") : jS(document.documentElement, "padding-right", `${t}px`)), jS(document.documentElement, "overflow", "hidden"), e && kk(), e && Ew() && Ok());}-function rce() {- let e = OS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function oce() {+ let e = jS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = NT(r, !0) ? r : PT(r, !0), n = !1;+ t = FT(r, !0) ? r : IT(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 = Zw();+ }, i = document.createElement("style"), a = $w();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 = Dk(), c = IC(DS(document, "touchstart", r, {+ }, s = kk(), c = RC(AS(document, "touchstart", r, {passive: !1,capture: !0- }), DS(document, "touchmove", o, {+ }), AS(document, "touchmove", o, {passive: !1,capture: !0- }), Ek());+ }), Ok());return () => {e(), c(), i.remove(), s();};}-function Ek() {- return DS(document, "blur", (e) => {+function Ok() {+ return AS(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && Tw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && Dw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function Dk() {+function kk() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -28311,9 +28324,9 @@ function Dk() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- jS() === this && ice(this);+ PS() === this && sce(this);};- xk((t) => t ? e() : tce(() => e()));+ Ck((t) => t ? e() : ice(() => e()));}}}), () => {@@ -28324,15 +28337,15 @@ function Dk() {});};}-function ice(e) {+function sce(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = PT(n);+ let e = IT(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;- Sk && (n = Math.min(n, Sk.offsetTop + Sk.height));+ wk && (n = Math.min(n, wk.offsetTop + wk.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)),@@ -28344,19 +28357,19 @@ function ice(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function ace(e, t, n) {- let { overlayProps: r, underlayProps: i } = gk({+function cce(e, t, n) {+ let { overlayProps: r, underlayProps: i } = vk({...e,isOpen: t.isOpen,onClose: t.close}, n);- Tk({+ Dk({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), kD();+ }), jD();let { isEntering: a } = e;return (0, F.useEffect)(() => {- if (t.isOpen && n.current) return a ? yE(n.current) : vE([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? xE(n.current) : bE([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -28367,33 +28380,33 @@ function ace(e, t, n) {};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var Ok = {+var Ak = {top: "top",bottom: "top",left: "left",right: "left"-}, kk = {+}, jk = {top: "bottom",bottom: "top",left: "right",right: "left"-}, oce = {+}, lce = {top: "left",left: "top"-}, Ak = {+}, Mk = {top: "height",left: "width"-}, jk = {+}, Nk = {width: "totalWidth",height: "totalHeight"-}, Mk = {}, sce = () => typeof document < "u" ? window.visualViewport : null;-function Nk(e, t) {+}, Pk = {}, uce = () => typeof document < "u" ? window.visualViewport : null;+function Fk(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} = zk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return XS() && (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} = Vk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return $S() && (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,@@ -28403,7 +28416,7 @@ function Nk(e, t) {left: s};}-function cce(e) {+function dce(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -28411,11 +28424,11 @@ function cce(e) {height: e.scrollHeight};}-function Pk(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[Ak[e]], l = o[e] + r.scroll[Ok[e]] + a, u = o[e] + r.scroll[Ok[e]] + c - a, d = t - s + r.scroll[Ok[e]] + o[e] - r[Ok[e]], f = t - s + n + r.scroll[Ok[e]] + o[e] - r[Ok[e]];+function Ik(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[Mk[e]], l = o[e] + r.scroll[Ak[e]] + a, u = o[e] + r.scroll[Ak[e]] + c - a, d = t - s + r.scroll[Ak[e]] + o[e] - r[Ak[e]], f = t - s + n + r.scroll[Ak[e]] + o[e] - r[Ak[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function lce(e) {+function fce(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -28424,55 +28437,55 @@ function lce(e) {right: parseInt(t.marginRight, 10) || 0};}-function Fk(e) {- if (Mk[e]) return Mk[e];- let [t, n] = e.split(" "), r = Ok[t] || "right", i = oce[r];- Ok[n] || (n = "center");- let a = Ak[r], o = Ak[i];- return Mk[e] = {+function Lk(e) {+ if (Pk[e]) return Pk[e];+ let [t, n] = e.split(" "), r = Ak[t] || "right", i = lce[r];+ Ak[n] || (n = "center");+ let a = Mk[r], o = Mk[i];+ return Pk[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, Mk[e];+ }, Pk[e];}-function Ik(e, t, n, r, i, a, o, s, c, l, u) {+function Rk(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] = iE(_[m], v, y), d === p) {- let t = s ? u[h] : u[jk[h]];- _[kk[p]] = Math.floor(t - e[p] + i);+ if (_[m] = oE(_[m], v, y), d === p) {+ let t = s ? u[h] : u[Nk[h]];+ _[jk[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function uce(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[jk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function pce(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[Nk.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 Lk(e, t, n, r, i, a, o, s) {+function zk(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[kk[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[kk[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[jk[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[jk[l]] - i);}-function dce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = Fk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Ik(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Lk(s, l, t, i, a + u, v, c, g);+function mce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = Lk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Rk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = zk(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = Fk(`${kk[S]} ${C}`), r = Ik(t, s, n, e, u, d, l, f, m, h, c);- Lk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = Lk(`${jk[S]} ${C}`), r = Rk(t, s, n, e, u, d, l, f, m, h, c);+ zk(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 = Pk(b, w[b], n[x], s, c, a, l);+ let O = Ik(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = uce(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Ik(t, s, n, v, T, d, l, f, m, h, c), O = Pk(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[Ok[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Ok[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;- A[b] = iE(iE(M, t[b] + m / 2 - (w[b] + i[Ok[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ok[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = pce(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Rk(t, s, n, v, T, d, l, f, m, h, c), O = Ik(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[Ak[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Ak[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;+ A[b] = oE(oE(M, t[b] + m / 2 - (w[b] + i[Ak[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ak[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let P = S === "left" || S === "top" ? n[y] : 0, ne = {x: S === "top" || S === "bottom" ? j : P,y: S === "left" || S === "right" ? j : P@@ -28486,17 +28499,17 @@ function dce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: ne};}-function fce(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 = sce(), h = r instanceof HTMLElement ? pce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? zk(n, !1, p) : Bk(n, h, !1, p);+function hce(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 = uce(), h = r instanceof HTMLElement ? gce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Vk(n, !1, p) : Hk(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 = zk(r, !0), x = lce(r);+ let b = Vk(r, !0), x = fce(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = cce(i), C = Nk(s, m), w = Nk(h, m), T;+ let S = dce(i), C = Fk(s, m), w = Fk(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = Rk(h, !1);+ let e = Bk(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -28508,11 +28521,11 @@ function fce(e) {left: 0,width: 0,height: 0- } : Bk(s, h, !1);- let E = AS(s, h);- return dce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : Hk(s, h, !1);+ let E = NS(s, h);+ return mce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function Rk(e, t) {+function Bk(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,@@ -28521,8 +28534,8 @@ function Rk(e, t) {height: a};}-function zk(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || Rk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function Vk(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || Bk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -28530,29 +28543,29 @@ function zk(e, t, n) {height: o};}-function Bk(e, t, n, r) {+function Hk(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || Rk(e, n);+ if (i.position === "fixed") a = r || Bk(e, n);else {- a = zk(e, n, r);- let i = zk(t, n), o = window.getComputedStyle(t);+ a = Vk(e, n, r);+ let i = Vk(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 pce(e) {+function gce(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Vk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Vk(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Uk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Uk(t);) t = t.parentElement;return t || document.documentElement;}-function Vk(e) {+function Uk(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var Hk = typeof document < "u" ? window.visualViewport : null;-function mce(e) {- let { direction: t } = Iw(), { 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, F.useState)(null), x = [+var Wk = typeof document < "u" ? window.visualViewport : null;+function _ce(e) {+ let { direction: t } = Rw(), { 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, F.useState)(null), x = [p,s,i.current,@@ -28569,15 +28582,15 @@ function mce(e) {g,_,n- ], S = (0, F.useRef)(Hk?.scale);+ ], S = (0, F.useRef)(Wk?.scale);(0, F.useEffect)(() => {- m && (S.current = Hk?.scale);+ m && (S.current = Wk?.scale);}, [m]);let C = (0, F.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || Hk?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || Wk?.scale !== S.current) return;let e = null;- if (o.current && NS(o.current)) {- let t = jS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && IS(o.current)) {+ let t = PS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -28585,8 +28598,8 @@ function mce(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 = fce({- placement: gce(s, t),+ let y = hce({+ placement: yce(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -28596,28 +28609,28 @@ function mce(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? Rk(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? Bk(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 = jS();+ let x = PS();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);- zS(C, x), hce(C), MO({+ HS(C, x), vce(C), PO({ref: i,onResize: C- }), MO({+ }), PO({ref: r,onResize: C});let w = (0, F.useRef)(!1);- zS(() => {+ HS(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -28625,16 +28638,16 @@ function mce(e) {}, n = () => {w.current && t();};- Hk?.addEventListener("resize", t), Hk?.addEventListener("scroll", n);- let r = DS(MS(window), "scroll", n);+ Wk?.addEventListener("resize", t), Wk?.addEventListener("scroll", n);+ let r = AS(FS(window), "scroll", n);return () => {- Hk?.removeEventListener("resize", t), Hk?.removeEventListener("scroll", n), r();+ Wk?.removeEventListener("resize", t), Wk?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, F.useCallback)(() => {w.current || h?.();}, [h, w]);- return wse({+ return Dse({triggerRef: r,isOpen: m,onClose: h && T@@ -28660,24 +28673,24 @@ function mce(e) {updatePosition: C};}-function hce(e) {- zS(() => (window.addEventListener("resize", e, !1), () => {+function vce(e) {+ HS(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function gce(e, t) {+function yce(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}// node_modules/react-aria/dist/private/overlays/usePopover.mjs-function _ce(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 } = gk({+function bce(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 } = vk({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 } = mce({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = _ce({...c,targetRef: n,overlayRef: r,@@ -28685,15 +28698,15 @@ function _ce(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)});- Tk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {- if (t.isOpen && r.current) return a ? yE(i?.current ?? r.current) : vE([i?.current ?? r.current], { shouldUseInert: !0 });+ Dk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {+ if (t.isOpen && r.current) return a ? xE(i?.current ?? r.current) : bE([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = tE(e);+ let { focusWithinProps: g } = rE(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -28703,12 +28716,12 @@ function _ce(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var Uk = /* @__PURE__ */ new WeakMap();+var Gk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function vce(e, t, n) {+function xce(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: _ } = iT({+ }, { pressProps: g, isPressed: _ } = oT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28716,7 +28729,7 @@ function vce(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = iT({+ }), { pressProps: v, isPressed: y } = oT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28726,11 +28739,11 @@ function vce(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = ew(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Ww(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = nw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Kw(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Uk.get(t);- BT(n, t.defaultSelectedValue, t.setSelectedValue), VT({ validationBehavior: O }, t, n);- let k = HT();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Gk.get(t);+ HT(n, t.defaultSelectedValue, t.setSelectedValue), UT({ validationBehavior: O }, t, n);+ let k = WT();return {labelProps: K(v, (0, F.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -28761,13 +28774,13 @@ function vce(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function yce(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Iw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = eE({+function Sce(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Rw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = nE({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = Ww(e, { labelable: !0 }), { focusWithinProps: v } = tE({+ }), _ = Kw(e, { labelable: !0 }), { focusWithinProps: v } = rE({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -28775,13 +28788,13 @@ function yce(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = ET(n.currentTarget, {+ let r = OT(n.currentTarget, {from: G(n),- accept: (e) => e instanceof wS(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof DS(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 } = XC({+ let { keyboardProps: b } = QC({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -28789,8 +28802,8 @@ function yce(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = BC(n);- return Uk.set(t, {+ }), x = HC(n);+ return Gk.set(t, {name: x,form: r,descriptionId: h.id,@@ -28818,21 +28831,21 @@ function yce(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var Wk = /* @__PURE__ */ new WeakMap();-function bce(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = CD({+var Kk = /* @__PURE__ */ new WeakMap();+function Cce(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = TD({usage: "search",sensitivity: "base"- }), u = (0, F.useMemo)(() => r || new TE(t.collection, t.disabledKeys, n, l), [+ }), u = (0, F.useMemo)(() => r || new DE(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = lD({+ ]), { menuTriggerProps: d, menuProps: f } = dD({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = XC({+ }, t, n), { keyboardProps: p } = QC({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -28848,21 +28861,21 @@ function bce(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = dD({+ }), { typeSelectProps: m } = pD({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 } = eE({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = nE({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = Ww(e, { labelable: !0 }), C = K(m, d, y), w = BC();- return Wk.set(t, {+ let S = Kw(e, { labelable: !0 }), C = K(m, d, y), w = HC();+ return Kk.set(t, {isDisabled: i,isRequired: a,name: o,@@ -28872,13 +28885,13 @@ function bce(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), TC("keyboard"));+ e.isDisabled || (n.current?.focus(), DC("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: IC(C.onKeyDown, p.onKeyDown),+ onKeyDown: RC(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -28902,7 +28915,7 @@ function bce(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- AS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ NS(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(" ")},@@ -28922,13 +28935,13 @@ function bce(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function xce(e, t, n) {- let r = Wk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = dE({ style: {+function wce(e, t, n) {+ let r = Kk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = pE({ style: {position: "fixed",top: 0,left: 0} });- BT(e.selectRef, t.defaultValue, t.setValue), VT({+ HT(e.selectRef, t.defaultValue, t.setValue), UT({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -28958,8 +28971,8 @@ function xce(e, t, n) {}};}-function Sce(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = xce({+function Tce(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = wce({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -28983,7 +28996,7 @@ function Sce(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = Wk.get(t) || {};+ let { validationBehavior: e } = Kk.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -29013,8 +29026,8 @@ function Sce(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function Cce(e) {- let t = Ww(e, { labelable: !0 }), n;+function Ece(e) {+ let t = Kw(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -29022,8 +29035,8 @@ function Cce(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function wce(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = ZT(e, t, n);+function Dce(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = $T(e, t, n);return {labelProps: r,inputProps: {@@ -29036,10 +29049,10 @@ function wce(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var Gk = class {+var qk = 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 Tce(e.layout) : new wE(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Oce(e.layout) : new EE(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -29075,7 +29088,7 @@ var Gk = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of mD(n, this.collection)) {+ for (let e of gD(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -29109,13 +29122,13 @@ var Gk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = mD(t, this.collection);- return (this.direction === "rtl" ? _D(e)?.key : hD(e)?.key) ?? null;+ let e = gD(t, this.collection);+ return (this.direction === "rtl" ? yD(e)?.key : _D(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = mD(n, this.collection), i = (this.direction === "rtl" ? gD(r, t.index - 1) : gD(r, t.index + 1)) ?? null;+ let r = gD(n, this.collection), i = (this.direction === "rtl" ? vD(r, t.index - 1) : vD(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;@@ -29124,13 +29137,13 @@ var Gk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = mD(t, this.collection);- return (this.direction === "rtl" ? hD(e)?.key : _D(e)?.key) ?? null;+ let e = gD(t, this.collection);+ return (this.direction === "rtl" ? _D(e)?.key : yD(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = mD(n, this.collection), i = (this.direction === "rtl" ? gD(r, t.index + 1) : gD(r, t.index - 1)) ?? null;+ let r = gD(n, this.collection), i = (this.direction === "rtl" ? vD(r, t.index + 1) : vD(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;@@ -29141,13 +29154,13 @@ var Gk = 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 ? hD(mD(e, this.collection))?.key ?? null : null;+ return e ? _D(gD(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 = hD(mD(e, this.collection))?.key ?? null;+ n = _D(gD(e, this.collection))?.key ?? null;}return n;}@@ -29157,13 +29170,13 @@ var Gk = 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 ? _D(mD(e, this.collection))?.key ?? null : null;+ return e ? yD(gD(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 = _D(mD(e, this.collection))?.key ?? null;+ n = yD(gD(e, this.collection))?.key ?? null;}return n;}@@ -29199,13 +29212,13 @@ var Gk = 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" ? hD(mD(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? _D(gD(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;}-}, Tce = class {+}, Oce = class {constructor(e) {this.layout = e;}@@ -29218,15 +29231,15 @@ var Gk = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, Kk = /* @__PURE__ */ new WeakMap();+}, Jk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function Ece(e, t, n) {+function kce(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 = CD({+ let h = TD({usage: "search",sensitivity: "base"- }), { direction: g } = Iw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Gk({+ }), { direction: g } = Rw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new qk({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -29243,7 +29256,7 @@ function Ece(e, t, n) {g,h,o- ]), { collectionProps: y } = pD({+ ]), { collectionProps: y } = hD({ref: n,selectionManager: m,keyboardDelegate: v,@@ -29251,8 +29264,8 @@ function Ece(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = BC(e.id);- Kk.set(t, {+ }), b = HC(e.id);+ Jk.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -29261,42 +29274,42 @@ function Ece(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = SO({+ let x = wO({selectionManager: m,hasItemActions: !!(l || u)- }), S = Ww(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {- m.isFocused ? AS(e.currentTarget, G(e)) || m.setFocused(!1) : AS(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = Kw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {+ m.isFocused ? NS(e.currentTarget, G(e)) || m.setFocused(!1) : NS(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, F.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = xO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = CO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), yO({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), xO({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var qk = /* @__PURE__ */ new WeakMap();-function Jk(e) {+var Yk = /* @__PURE__ */ new WeakMap();+function Xk(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Yk(e, t) {- let n = qk.get(e);+function Zk(e, t) {+ let n = Yk.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${Jk(t)}`;+ return `${n}-${Xk(t)}`;}-function Xk(e, t, n) {- let r = qk.get(e);+function Qk(e, t, n) {+ let r = Yk.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${Jk(t)}-${Jk(n)}`;+ return `${r}-${Xk(t)}-${Xk(n)}`;}-function Zk(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => Xk(e, t, n)).join(" ");+function $k(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => Qk(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var Qk = {};-Qk = {+var eA = {};+eA = {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: "طي",@@ -29310,8 +29323,8 @@ Qk = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var $k = {};-$k = {+var tA = {};+tA = {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: "Свиване",@@ -29325,8 +29338,8 @@ $k = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var eA = {};-eA = {+var nA = {};+nA = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -29340,8 +29353,8 @@ eA = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var tA = {};-tA = {+var rA = {};+rA = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -29355,8 +29368,8 @@ tA = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var nA = {};-nA = {+var iA = {};+iA = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -29370,8 +29383,8 @@ nA = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var rA = {};-rA = {+var aA = {};+aA = {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: "Σύμπτυξη",@@ -29385,8 +29398,8 @@ rA = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var iA = {};-iA = {+var oA = {};+oA = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -29400,8 +29413,8 @@ iA = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var aA = {};-aA = {+var sA = {};+sA = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -29415,8 +29428,8 @@ aA = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var oA = {};-oA = {+var cA = {};+cA = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -29430,8 +29443,8 @@ oA = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var sA = {};-sA = {+var lA = {};+lA = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -29445,8 +29458,8 @@ sA = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var cA = {};-cA = {+var uA = {};+uA = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -29460,8 +29473,8 @@ cA = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var lA = {};-lA = {+var dA = {};+dA = {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: "כווץ",@@ -29475,8 +29488,8 @@ lA = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var uA = {};-uA = {+var fA = {};+fA = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -29490,8 +29503,8 @@ uA = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var dA = {};-dA = {+var pA = {};+pA = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -29505,8 +29518,8 @@ dA = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var fA = {};-fA = {+var mA = {};+mA = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -29520,8 +29533,8 @@ fA = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var pA = {};-pA = {+var hA = {};+hA = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -29535,8 +29548,8 @@ pA = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var mA = {};-mA = {+var gA = {};+gA = {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: "접기",@@ -29550,8 +29563,8 @@ mA = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var hA = {};-hA = {+var _A = {};+_A = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -29565,8 +29578,8 @@ hA = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var gA = {};-gA = {+var vA = {};+vA = {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",@@ -29580,8 +29593,8 @@ gA = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var _A = {};-_A = {+var yA = {};+yA = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -29595,8 +29608,8 @@ _A = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var vA = {};-vA = {+var bA = {};+bA = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -29610,8 +29623,8 @@ vA = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var yA = {};-yA = {+var xA = {};+xA = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -29625,8 +29638,8 @@ yA = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var bA = {};-bA = {+var SA = {};+SA = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -29640,8 +29653,8 @@ bA = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var xA = {};-xA = {+var CA = {};+CA = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -29655,8 +29668,8 @@ xA = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var SA = {};-SA = {+var wA = {};+wA = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -29670,8 +29683,8 @@ SA = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var CA = {};-CA = {+var TA = {};+TA = {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: "Свернуть",@@ -29685,8 +29698,8 @@ CA = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var wA = {};-wA = {+var EA = {};+EA = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -29700,8 +29713,8 @@ wA = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var TA = {};-TA = {+var DA = {};+DA = {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",@@ -29715,8 +29728,8 @@ TA = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var EA = {};-EA = {+var OA = {};+OA = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -29730,8 +29743,8 @@ EA = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var DA = {};-DA = {+var kA = {};+kA = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -29745,8 +29758,8 @@ DA = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var OA = {};-OA = {+var AA = {};+AA = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -29760,8 +29773,8 @@ OA = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var kA = {};-kA = {+var jA = {};+jA = {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: "Згорнути",@@ -29775,8 +29788,8 @@ kA = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var AA = {};-AA = {+var MA = {};+MA = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -29790,8 +29803,8 @@ AA = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var jA = {};-jA = {+var NA = {};+NA = {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: "收合",@@ -29805,45 +29818,45 @@ jA = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var MA = {};-MA = {- "ar-AE": Qk,- "bg-BG": $k,- "cs-CZ": eA,- "da-DK": tA,- "de-DE": nA,- "el-GR": rA,- "en-US": iA,- "es-ES": aA,- "et-EE": oA,- "fi-FI": sA,- "fr-FR": cA,- "he-IL": lA,- "hr-HR": uA,- "hu-HU": dA,- "it-IT": fA,- "ja-JP": pA,- "ko-KR": mA,- "lt-LT": hA,- "lv-LV": gA,- "nb-NO": _A,- "nl-NL": vA,- "pl-PL": yA,- "pt-BR": bA,- "pt-PT": xA,- "ro-RO": SA,- "ru-RU": CA,- "sk-SK": wA,- "sl-SI": TA,- "sr-SP": EA,- "sv-SE": DA,- "tr-TR": OA,- "uk-UA": kA,- "zh-CN": AA,- "zh-TW": jA+var PA = {};+PA = {+ "ar-AE": eA,+ "bg-BG": tA,+ "cs-CZ": nA,+ "da-DK": rA,+ "de-DE": iA,+ "el-GR": aA,+ "en-US": oA,+ "es-ES": sA,+ "et-EE": cA,+ "fi-FI": lA,+ "fr-FR": uA,+ "he-IL": dA,+ "hr-HR": fA,+ "hu-HU": pA,+ "it-IT": mA,+ "ja-JP": hA,+ "ko-KR": gA,+ "lt-LT": _A,+ "lv-LV": vA,+ "nb-NO": yA,+ "nl-NL": bA,+ "pl-PL": xA,+ "pt-BR": SA,+ "pt-PT": CA,+ "ro-RO": wA,+ "ru-RU": TA,+ "sk-SK": EA,+ "sl-SI": DA,+ "sr-SP": OA,+ "sv-SE": kA,+ "tr-TR": AA,+ "uk-UA": jA,+ "zh-CN": MA,+ "zh-TW": NA};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Dce = class extends Gk {+var Ace = class extends qk {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -29851,7 +29864,7 @@ var Dce = class extends Gk {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = hD(mD(n, this.collection));+ let e = _D(gD(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);@@ -29872,13 +29885,13 @@ var Dce = class extends Gk {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 mD(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of gD(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 = [...mD(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...gD(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -29907,7 +29920,7 @@ var Dce = class extends Gk {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of mD(o, this.collection)) {+ for (let r of gD(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);@@ -29920,14 +29933,14 @@ var Dce = class extends Gk {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function Oce(e) {+function jce(e) {return e && e.__esModule ? e.default : e;}-function kce(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = CD({+function Mce(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = TD({usage: "search",sensitivity: "base"- }), { direction: c } = Iw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Dce({+ }), { direction: c } = Rw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Ace({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -29946,51 +29959,51 @@ function kce(e, t, n) {s,a,o- ]), d = BC(e.id);- qk.set(t, d);- let { gridProps: f } = Ece({+ ]), d = HC(e.id);+ Yk.set(t, d);+ let { gridProps: f } = kce({...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 = Hw(Oce(MA), "@react-aria/table"), g = (0, F.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Ww(jce(PA), "@react-aria/table"), g = (0, F.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- ]), _ = zT(g);- return MT(() => {- g && jT(g, "assertive", 500);+ ]), _ = VT(g);+ return PT(() => {+ g && NT(g, "assertive", 500);}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}// node_modules/react-aria/dist/private/grid/useGridCell.mjs-function NA(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Iw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Kk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {+function FA(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Rw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Jk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {if (n.current) {- let e = ET(n.current);+ let e = OT(n.current);if (p === "child") {- let i = jS(CS(n.current));- if (NS(n.current) && n.current !== i) return;- let a = CS(n.current);+ let i = PS(ES(n.current));+ if (IS(n.current) && n.current !== i) return;+ let a = ES(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && AS(n.current, e)) {- FC(e);+ if (e && m.current === r.key && NS(n.current, e)) {+ LC(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? PA(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? IA(e) : e.firstChild();if (o) {- FC(o);+ LC(o);return;}}- (m.current != null && r.key !== m.current || !NS(n.current)) && FC(n.current);+ (m.current != null && r.key !== m.current || !IS(n.current)) && LC(n.current);}- }, { itemProps: _, isPressed: v } = wO({+ }, { itemProps: _, isPressed: v } = EO({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -30002,44 +30015,44 @@ function NA(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = jS(CS(n.current));- if (!AS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = ET(n.current);+ let i = PS(ES(n.current));+ if (!NS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = OT(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) FC(t), LT(t, { containingElement: PT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) LC(t), zT(t, { containingElement: IT(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" ? (FC(n.current), LT(n.current, { containingElement: PT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : PA(a), t && (FC(t), LT(t, { containingElement: PT(n.current) })));+ p === "cell" && l === "rtl" ? (LC(n.current), zT(n.current, { containingElement: IT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : IA(a), t && (LC(t), zT(t, { containingElement: IT(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) FC(t), LT(t, { containingElement: PT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) LC(t), zT(t, { containingElement: IT(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" ? (FC(n.current), LT(n.current, { containingElement: PT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? PA(a) : a.firstChild(), t && (FC(t), LT(t, { containingElement: PT(n.current) })));+ p === "cell" && l === "ltr" ? (LC(n.current), zT(n.current, { containingElement: IT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? IA(a) : a.firstChild(), t && (LC(t), zT(t, { containingElement: IT(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && AS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && NS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = jS(CS(n.current));- if (AS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = PS(ES(n.current));+ if (NS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = ET(n.current, { tabbable: !0 });+ let t = OT(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -30050,9 +30063,9 @@ function NA(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && AS(n.current, i) && (h.current = i), CC() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && AS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && jS(CS(n.current)) === n.current && g();+ n.current && NS(n.current, i) && (h.current = i), TC() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && NS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && PS(ES(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -30067,7 +30080,7 @@ function NA(e, t, n) {isPressed: v};}-function PA(e) {+function IA(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -30075,32 +30088,32 @@ function PA(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function Ace(e, t, n) {- let { gridCellProps: r, isPressed: i } = NA(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Xk(t, e.node.parentKey, a)), {+function Nce(e, t, n) {+ let { gridCellProps: r, isPressed: i } = FA(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Qk(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function jce(e) {+function Pce(e) {return e && e.__esModule ? e.default : e;}-function Mce(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = NA({+function Fce(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = FA({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = iT({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = oT({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = ew({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !QS() && (u = d ? f : "none");- let p = Hw(jce(MA), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && QS() && (m = `${m}, ${p.format(f)}`));- let h = zT(m), g = t.collection.size === 0;+ }), { focusableProps: l } = nw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !tC() && (u = d ? f : "none");+ let p = Ww(Pce(PA), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && tC() && (m = `${m}, ${p.format(f)}`));+ let h = VT(m), g = t.collection.size === 0;return (0, F.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -30111,7 +30124,7 @@ function Mce(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: Yk(t, r.key),+ id: Zk(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -30119,17 +30132,17 @@ function Mce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Nce(e) {+function Ice(e) {return e && e.__esModule ? e.default : e;}-function Pce(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Hw(Nce(MA), "@react-aria/table"), d = BC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Iw(), b = (0, F.useCallback)((e) => {+function Lce(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Ww(Ice(PA), "@react-aria/table"), d = HC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Rw(), b = (0, F.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, F.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, F.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 && FC(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 && LC(i.current)), m.current = null;}, [t,i,@@ -30137,14 +30150,14 @@ function Pce(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = XC({ shortcuts: {+ }, { keyboardProps: w } = QC({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, F.useRef)(0), { moveProps: E } = lE({+ } }), T = (0, F.useRef)(0), { moveProps: E } = dE({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -30160,12 +30173,12 @@ function Pce(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));k === Infinity && (k = 2 ** 53 - 1);- let A = Math.floor(t.getColumnWidth(r.key)), j = EC();+ let A = Math.floor(t.getColumnWidth(r.key)), j = OC();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = zT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = VT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${Yk(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${Zk(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -30173,11 +30186,11 @@ function Pce(e, t, n) {value: A,...M}, N = (0, F.useCallback)(() => {- n.current && FC(n.current);- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Ow(b);+ n.current && LC(n.current);+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Aw(b);(0, F.useEffect)(() => {if (P.current !== te && te != null && te === r.key) {- h.current = jS() === n.current, ne(r);+ h.current = PS() === n.current, ne(r);let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -30193,7 +30206,7 @@ function Pce(e, t, n) {let re = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: I } = iT({+ }, { pressProps: I } = oT({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));@@ -30201,7 +30214,7 @@ function Pce(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = dE();+ }), { visuallyHiddenProps: ie } = pE();return {resizerProps: K(w, {...E,@@ -30220,19 +30233,19 @@ function Pce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Fce(e, t, n) {+function Rce(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}// node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Ice(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Kk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = wO({+function zce(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Jk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = EO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? IC(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? RC(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -30246,10 +30259,10 @@ function Ice(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function Lce(e) {+function Bce(e) {return e && e.__esModule ? e.default : e;}-var FA = {+var LA = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -30259,21 +30272,21 @@ var FA = {rtl: "ArrowRight"}};-function Rce(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Ice(e, t, n), { direction: s } = Iw();+function Vce(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = zce(e, t, n), { direction: s } = Rw();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 = Hw(Lce(MA), "@react-aria/table"), u = Aw({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Ww(Bce(PA), "@react-aria/table"), u = Mw({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": Zk(t, r.key)+ "aria-labelledby": $k(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = IA(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 = IA(t.collection, a);+ let n = RA(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 = RA(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === FA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === FA.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 === LA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === LA.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,@@ -30291,42 +30304,42 @@ function Rce(e, t, n) {};}}- let p = nC(r.props), m = o.hasAction ? p : {};+ let p = aC(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": Zk(t, r.key)+ "aria-labelledby": $k(t, r.key)},expandButtonProps: f,...o};}-function IA(e, t) {+function RA(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function zce() {+function Hce() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function LA() {- return zce();+function zA() {+ return Hce();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Bce(e) {+function Uce(e) {return e && e.__esModule ? e.default : e;}-function Vce(e, t) {- let { key: n } = e, { checkboxProps: r } = AO(e, t);+function Wce(e, t) {+ let { key: n } = e, { checkboxProps: r } = MO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${Zk(t, n)}`+ "aria-labelledby": `${r.id} ${$k(t, n)}`} };}-function Hce(e) {+function Gce(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": Hw(Bce(MA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": Ww(Uce(PA), "@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,@@ -30334,22 +30347,22 @@ function Hce(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var RA = /* @__PURE__ */ new WeakMap();-function zA(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${RA.get(e)}-${n}-${t}`) : "";+var BA = /* @__PURE__ */ new WeakMap();+function VA(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${BA.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function Uce(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 } = wO({+function Kce(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 } = EO({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = zA(t, r, "tab"), m = zA(t, r, "tabpanel"), { tabIndex: h } = d, g = Ww(u?.props, { labelable: !0 });+ }), p = VA(t, r, "tab"), m = VA(t, r, "tabpanel"), { tabIndex: h } = d, g = Kw(u?.props, { labelable: !0 });delete g.id;- let _ = rC(u?.props), { focusableProps: v } = ew({+ let _ = oC(u?.props), { focusableProps: v } = nw({...u?.props,isDisabled: l}, n);@@ -30368,7 +30381,7 @@ function Uce(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Wce = class {+var qce = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -30411,11 +30424,11 @@ var Wce = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Gce(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Iw(), { collectionProps: l } = pD({+function Jce(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Rw(), { collectionProps: l } = hD({ref: n,selectionManager: o,- keyboardDelegate: (0, F.useMemo)(() => new Wce(a, c, r, s), [+ keyboardDelegate: (0, F.useMemo)(() => new qce(a, c, r, s), [a,s,r,@@ -30425,9 +30438,9 @@ function Gce(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = BC();- return RA.set(t, u), { tabListProps: {- ...K(l, Aw({+ }), u = HC();+ return BA.set(t, u), { tabListProps: {+ ...K(l, Mw({...e,id: u})),@@ -30437,12 +30450,12 @@ function Gce(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Kce(e, t, n) {- let r = xO(n) ? void 0 : 0, i = zA(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(Aw({+function Yce(e, t, n) {+ let r = CO(n) ? void 0 : 0, i = VA(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(Mw({...e,id: i,- "aria-labelledby": zA(t, t?.selectedKey, "tab")+ "aria-labelledby": VA(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -30451,265 +30464,265 @@ function Kce(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function qce(e, t, n) {- let { gridProps: r } = Rse(e, t, n);+function Xce(e, t, n) {+ let { gridProps: r } = Vse(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var BA = {};-BA = {+var HA = {};+HA = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var VA = {};-VA = {+var UA = {};+UA = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var HA = {};-HA = {+var WA = {};+WA = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var UA = {};-UA = {+var GA = {};+GA = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var WA = {};-WA = {+var KA = {};+KA = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var GA = {};-GA = {+var qA = {};+qA = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var KA = {};-KA = {+var JA = {};+JA = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var qA = {};-qA = {+var YA = {};+YA = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var JA = {};-JA = {+var XA = {};+XA = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var YA = {};-YA = {+var ZA = {};+ZA = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var XA = {};-XA = {+var QA = {};+QA = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var ZA = {};-ZA = {+var $A = {};+$A = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var QA = {};-QA = {+var ej = {};+ej = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var $A = {};-$A = {+var tj = {};+tj = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var ej = {};-ej = {+var nj = {};+nj = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var tj = {};-tj = {+var rj = {};+rj = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var nj = {};-nj = {+var ij = {};+ij = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var rj = {};-rj = {+var aj = {};+aj = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var ij = {};-ij = {+var oj = {};+oj = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var aj = {};-aj = {+var sj = {};+sj = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var oj = {};-oj = {+var cj = {};+cj = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var sj = {};-sj = {+var lj = {};+lj = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var cj = {};-cj = {+var uj = {};+uj = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var lj = {};-lj = {+var dj = {};+dj = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var uj = {};-uj = {+var fj = {};+fj = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var dj = {};-dj = {+var pj = {};+pj = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var fj = {};-fj = {+var mj = {};+mj = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var pj = {};-pj = {+var hj = {};+hj = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var mj = {};-mj = {+var gj = {};+gj = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var hj = {};-hj = {+var _j = {};+_j = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var gj = {};-gj = {+var vj = {};+vj = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var _j = {};-_j = {+var yj = {};+yj = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var vj = {};-vj = {+var bj = {};+bj = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var yj = {};-yj = {+var xj = {};+xj = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var bj = {};-bj = {- "ar-AE": BA,- "bg-BG": VA,- "cs-CZ": HA,- "da-DK": UA,- "de-DE": WA,- "el-GR": GA,- "en-US": KA,- "es-ES": qA,- "et-EE": JA,- "fi-FI": YA,- "fr-FR": XA,- "he-IL": ZA,- "hr-HR": QA,- "hu-HU": $A,- "it-IT": ej,- "ja-JP": tj,- "ko-KR": nj,- "lt-LT": rj,- "lv-LV": ij,- "nb-NO": aj,- "nl-NL": oj,- "pl-PL": sj,- "pt-BR": cj,- "pt-PT": lj,- "ro-RO": uj,- "ru-RU": dj,- "sk-SK": fj,- "sl-SI": pj,- "sr-SP": mj,- "sv-SE": hj,- "tr-TR": gj,- "uk-UA": _j,- "zh-CN": vj,- "zh-TW": yj+var Sj = {};+Sj = {+ "ar-AE": HA,+ "bg-BG": UA,+ "cs-CZ": WA,+ "da-DK": GA,+ "de-DE": KA,+ "el-GR": qA,+ "en-US": JA,+ "es-ES": YA,+ "et-EE": XA,+ "fi-FI": ZA,+ "fr-FR": QA,+ "he-IL": $A,+ "hr-HR": ej,+ "hu-HU": tj,+ "it-IT": nj,+ "ja-JP": rj,+ "ko-KR": ij,+ "lt-LT": aj,+ "lv-LV": oj,+ "nb-NO": sj,+ "nl-NL": cj,+ "pl-PL": lj,+ "pt-BR": uj,+ "pt-PT": dj,+ "ro-RO": fj,+ "ru-RU": pj,+ "sk-SK": mj,+ "sl-SI": hj,+ "sr-SP": gj,+ "sv-SE": _j,+ "tr-TR": vj,+ "uk-UA": yj,+ "zh-CN": bj,+ "zh-TW": xj};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Jce(e) {+function Zce(e) {return e && e.__esModule ? e.default : e;}-function xj(e, t, n) {- let { node: r } = e, i = zse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Hw(Jce(bj), "@react-aria/tree"), s = {+function Cj(e, t, n) {+ let { node: r } = e, i = Hse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Ww(Zce(Sj), "@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,- ...Aw({+ ...Mw({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -30720,15 +30733,15 @@ function xj(e, t, n) {};}// src/react/components/selection-dock.tsx-var Sj = "(prefers-reduced-motion: reduce)", Yce = () => matchMedia(Sj).matches, Xce = (e) => {- let t = matchMedia(Sj);+var wj = "(prefers-reduced-motion: reduce)", Qce = () => matchMedia(wj).matches, $ce = (e) => {+ let t = matchMedia(wj);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, Cj = /* @__PURE__ */ new Map(), wj = () => {+}, Tj = /* @__PURE__ */ new Map(), Ej = () => {let e = document.documentElement;- Cj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Cj.values())}px`) : e.style.removeProperty("--selection-dock-space");+ Tj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Tj.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function Zce({ children: e, count: t, label: n }) {- let r = (0, F.useRef)(null), i = Dx(), a = (0, F.useSyncExternalStore)(Xce, Yce, () => !1), { isFocusVisible: o } = DC(), s = a || o, c = {+function ele({ children: e, count: t, label: n }) {+ let r = (0, F.useRef)(null), i = Ax(), a = (0, F.useSyncExternalStore)($ce, Qce, () => !1), { isFocusVisible: o } = kC(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -30736,12 +30749,12 @@ function Zce({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- Cj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), wj();+ Tj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Ej();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), Cj.delete(e), wj();+ n.disconnect(), window.removeEventListener("resize", t), Tj.delete(e), Ej();};- }, [i]), /* @__PURE__ */ (0, I.jsxs)(fS.div, {+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(hS.div, {ref: r,role: "group","aria-label": n,@@ -30774,17 +30787,17 @@ function Zce({ children: e, count: t, label: n }) {}), e]});}-function Tj({ visible: e, ...t }) {- return /* @__PURE__ */ (0, I.jsx)(Ax, { children: e ? /* @__PURE__ */ (0, I.jsx)(Zce, { ...t }, "selection") : null });+function Dj({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(Nx, { children: e ? /* @__PURE__ */ (0, I.jsx)(ele, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var Ej = {+var Oj = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Qce(e, t = !1) {+function tle(e, t = !1) {switch (e) {case "trash": return [{@@ -30800,7 +30813,7 @@ function Qce(e, t = !1) {glyph: "trash",danger: !0},- Ej+ Oj];case "junk": return [t ? {@@ -30821,7 +30834,7 @@ function Qce(e, t = !1) {glyph: "trash",danger: !0},- Ej+ Oj];case "follow": return [{@@ -30842,7 +30855,7 @@ function Qce(e, t = !1) {label: "忽略",glyph: "eye-off"},- Ej+ Oj];default: return [{@@ -30876,38 +30889,38 @@ function Qce(e, t = !1) {glyph: "trash",danger: !0},- Ej+ Oj];}}// src/react/batch-dock/batch-dock-island.tsx-var Dj = null, Oj = {+var kj = null, Aj = {count: 0,context: "catalog",junkDismissed: !1-}, kj = /* @__PURE__ */ new Set();-function $ce(e) {- return kj.add(e), () => {- kj.delete(e);+}, jj = /* @__PURE__ */ new Set();+function nle(e) {+ return jj.add(e), () => {+ jj.delete(e);};}-function ele() {- for (let e of [...kj]) e();+function rle() {+ for (let e of [...jj]) e();}-var tle = { render(e) {- Oj = e, (0, Rt.flushSync)(ele);+var ile = { render(e) {+ Aj = e, (0, Rt.flushSync)(rle);} };-function nle(e) {- return Dj = e, tle;+function ale(e) {+ return kj = e, ile;}-function rle() {- let e = (0, F.useSyncExternalStore)($ce, () => Oj);- return Dj ? /* @__PURE__ */ (0, I.jsx)(ile, {- host: Dj,+function ole() {+ let e = (0, F.useSyncExternalStore)(nle, () => Aj);+ return kj ? /* @__PURE__ */ (0, I.jsx)(sle, {+ host: kj,props: e}) : null;}-function ile({ host: e, props: t }) {+function sle({ host: e, props: t }) {let n = t.count > 0;return (0, F.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -30917,11 +30930,11 @@ function ile({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, I.jsx)(Tj, {+ children: /* @__PURE__ */ (0, I.jsx)(Dj, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Qce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: tle(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -30937,11 +30950,11 @@ function ile({ host: e, props: t }) {});}// src/number-setting.ts-function Aj(e, t, n, r) {+function Mj(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function ale(e, t) {+function cle(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -30960,7 +30973,7 @@ function ale(e, t) {};}// src/sort-preferences.ts-var jj = [+var Nj = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -30969,7 +30982,7 @@ var jj = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Mj = ["release", "发行时间"], Nj = [...jj, Mj].map(([e]) => e), Pj = {+], Pj = ["release", "发行时间"], Fj = [...Nj, Pj].map(([e]) => e), Ij = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -30978,43 +30991,43 @@ var jj = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Fj = {+}, Lj = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Ij = (e, t, n = Pj) => (n[e] || [])[+(t === "asc")] || "", Lj = (e, t = Pj) => t[e] ? "desc" : "";-function Rj(e, t, n, r = Pj) {+}, Rj = (e, t, n = Ij) => (n[e] || [])[+(t === "asc")] || "", zj = (e, t = Ij) => t[e] ? "desc" : "";+function Bj(e, t, n, r = Ij) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Lj(e, r)+ dir: zj(e, r)};}-function zj(e, t, n) {+function Vj(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Bj(e, t, n, r, i = n) {- let a = e ? Fj[e] : void 0, o = a ? a[0] : e, s = o && Nj.includes(o) ? o : i;- return Pj[s] ? {+function Hj(e, t, n, r, i = n) {+ let a = e ? Lj[e] : void 0, o = a ? a[0] : e, s = o && Fj.includes(o) ? o : i;+ return Ij[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : zj(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Vj(s, n, r)} : {sort: s,dir: ""};}// src/appearance/home-glow.ts-var Vj = [+var Uj = ["spot1","spot2","spot3"-], ole = [+], lle = ["光晕一","光晕二","光晕三"-], Hj = "native", Uj = [+], Wj = "native", Gj = [["ash","灰雾",@@ -31320,7 +31333,7 @@ var Vj = ["rose"],[- Hj,+ Wj,"玻璃原色",{spot1: {@@ -31338,7 +31351,7 @@ var Vj = [},"blue"]-], Wj = (e) => e === Hj, Gj = [...Uj.map(([e, t]) => [e, t]), ["custom", "自定义"]], sle = (e) => (Gj.find(([t]) => t === e) || Gj[0])[1], Kj = (e) => structuredClone((Uj.find(([t]) => t === e) || Uj[0])[2]), qj = [+], Kj = (e) => e === Wj, qj = [...Gj.map(([e, t]) => [e, t]), ["custom", "自定义"]], ule = (e) => (qj.find(([t]) => t === e) || qj[0])[1], Jj = (e) => structuredClone((Gj.find(([t]) => t === e) || Gj[0])[2]), Yj = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -31351,7 +31364,7 @@ var Vj = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], Jj = "blue", Yj = (e) => qj.some(([t]) => t === e) ? e : Jj, cle = (e) => (Uj.find(([t]) => t === e) || [])[3] || "blue", lle = [+], Xj = "blue", Zj = (e) => Yj.some(([t]) => t === e) ? e : Xj, dle = (e) => (Gj.find(([t]) => t === e) || [])[3] || "blue", fle = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -31361,7 +31374,7 @@ var Vj = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], ule = [+], ple = [["gray","云灰",@@ -31757,11 +31770,11 @@ var Vj = ["霁蓝","#6686b8"]-], Xj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Zj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, dle = (e, t) => `rgba(${[+], Qj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, $j = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, mle = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, fle = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, hle = {strength: [0,100,@@ -31787,7 +31800,7 @@ var Vj = [100,50]-}, Qj = {+}, eM = {on: !0,preset: "ash",strength: 100,@@ -31795,56 +31808,56 @@ var Vj = [speed: 100,soften: 50,size: 50,- ...Kj("ash")+ ...Jj("ash")};-function $j(e) {- let t = e && typeof e == "object" ? e : {}, n = Gj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Kj(r === "custom" ? "ash" : r), a = {+function tM(e) {+ let t = e && typeof e == "object" ? e : {}, n = qj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Jj(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(fle)) a[e] = Xj(+t[e], n, r, i);- for (let e of Vj) {+ for (let [e, [n, r, i]] of Object.entries(hle)) a[e] = Qj(+t[e], n, r, i);+ for (let e of Uj) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Zj(r.color, o.color),- alpha: Xj(+r.alpha, 0, 100, o.alpha)+ color: $j(r.color, o.color),+ alpha: Qj(+r.alpha, 0, 100, o.alpha)};}return a;}-var ple = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, eM = /* @__PURE__ */ new WeakMap();-function mle(e, t) {+var gle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, nM = /* @__PURE__ */ new WeakMap();+function _le(e, t) {if (!e) return;- let n = eM.get(e);- n || (n = /* @__PURE__ */ new Map(), eM.set(e, n));- let r = t.on && !Wj(t.preset), i = (t, r) => {+ let n = nM.get(e);+ n || (n = /* @__PURE__ */ new Map(), nM.set(e, n));+ let r = t.on && !Kj(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"), Vj.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"), Uj.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, dle(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, mle(r.color, r.alpha));});}-function hle(e, t) {+function vle(e, t) {if (!e) return;- let n = !t.on || Wj(t.preset);+ let n = !t.on || Kj(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}// src/appearance/settings.ts-var gle = "peach.settings.v1", _le = [+var yle = "peach.settings.v1", ble = ["system","light","dark"-], tM = [+], rM = [0,7,30,90-], vle = [+], xle = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], nM = {+], iM = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -31865,56 +31878,56 @@ var gle = "peach.settings.v1", _le = [theme: "system",groupCollapse: !0,sidebarOrder: [...Bl],- homeGlow: Qj,- accent: Jj,+ homeGlow: eM,+ accent: Xj,performerNameLanguage: "zh-CN"-}, rM = (e, t, n) => t.includes(e) ? e : n;-function yle(e) {+}, aM = (e, t, n) => t.includes(e) ? e : n;+function Sle(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...nM,+ ...iM,...t};- n.followInitialDays = tM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = rM.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 = Fj[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Aj(+n.batchSize, 1, 200, 60), n.defaultSort = rM(n.defaultSort, Nj, "seed"), n.hoverDelaySeconds = Aj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Aj(+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 = Aj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Aj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Aj(+n.feedLimit, 1, 100, 12), Object.assign(n, $a(n)), n.theme = rM(n.theme, _le, "system"), n.performerNameLanguage = rM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = $j(n.homeGlow), n.accent = Yj(n.accent), n.sidebarOrder = Wl(n.sidebarOrder), {+ let a = Lj[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Mj(+n.batchSize, 1, 200, 60), n.defaultSort = aM(n.defaultSort, Fj, "seed"), n.hoverDelaySeconds = Mj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Mj(+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 = Mj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Mj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Mj(+n.feedLimit, 1, 100, 12), Object.assign(n, $a(n)), n.theme = aM(n.theme, ble, "system"), n.performerNameLanguage = aM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = tM(n.homeGlow), n.accent = Zj(n.accent), n.sidebarOrder = Wl(n.sidebarOrder), {settings: n,migrated: r};}-function ble(e) {+function Cle(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return yle(t);+ return Sle(t);}-var iM = null;-function aM() {- if (iM) return iM;- let { settings: e, migrated: t } = ble(localStorage);- return iM = ale(gle, e), t && iM.save(), iM;+var oM = null;+function sM() {+ if (oM) return oM;+ let { settings: e, migrated: t } = Cle(localStorage);+ return oM = cle(yle, e), t && oM.save(), oM;}-function oM(e, t, n = aM()) {+function cM(e, t, n = sM()) {let r = n.value, i = e?.performerNameLanguage;(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));let a = e && e.followInitialDays;- tM.includes(a) && (r.followInitialDays = a, n.save());- for (let t of vle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ rM.includes(a) && (r.followInitialDays = a, n.save());+ for (let t of xle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let o = e && e.searchHistoryLimit;- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Aj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== nM.searchHistoryLimit && xle(n);+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Mj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== iM.searchHistoryLimit && wle(n);let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());}-function xle(e = aM()) {+function wle(e = sM()) {return Tn("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}// src/appearance/theme.ts-var Sle = [+var Tle = [["system","跟随系统",@@ -31930,31 +31943,31 @@ var Sle = ["深色","moon"]-], Cle = null, sM = () => Cle ??= matchMedia("(prefers-color-scheme: dark)"), cM = null;-function wle() {- return cM || (cM = document.createElement("style"), cM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), cM.isConnected || document.head.append(cM), () => {+], Ele = null, lM = () => Ele ??= matchMedia("(prefers-color-scheme: dark)"), uM = null;+function Dle() {+ return uM || (uM = document.createElement("style"), uM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), uM.isConnected || document.head.append(uM), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), cM?.remove();+ cancelAnimationFrame(t), clearTimeout(n), uM?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function lM(e = aM().value.theme) {- let t = wle(), n = document.documentElement;+function dM(e = sM().value.theme) {+ let t = Dle(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && sM().matches;+ let r = e === "dark" || e === "system" && lM().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 uM = !1;-function Tle() {- uM || (uM = !0, sM().addEventListener("change", () => {- aM().value.theme === "system" && lM();+var fM = !1;+function Ole() {+ fM || (fM = !0, lM().addEventListener("change", () => {+ sM().value.theme === "system" && dM();}));}// src/appearance/layout.ts-var dM = [[+var pM = [["big","大图","maximize"@@ -31962,7 +31975,7 @@ var dM = [["small","小图","layout-grid"-]], fM = [[+]], mM = [["big","大图","maximize"@@ -31970,7 +31983,7 @@ var dM = [["small","小图","layout-grid"-]], pM = [[+]], hM = [["fixed","固定比例","layout-grid"@@ -31978,127 +31991,127 @@ var dM = [["masonry","瀑布流","columns-2"-]], mM = .75, hM = () => aM().value, gM = (e = hM()) => Qa(e.javLayout), Ele = (e = hM()) => Qa(e.homeLayout), _M = (e, t = hM()) => e ? Ele(t) : gM(t), vM = fM.map(([e]) => e), yM = pM.map(([e]) => e), bM = (e = hM()) => rM(e.photoSize, vM, "small"), xM = (e = hM()) => rM(e.photoLayout, yM, "masonry"), SM = null;-function CM(e, t = hM()) {+]], gM = .75, _M = () => sM().value, vM = (e = _M()) => Qa(e.javLayout), kle = (e = _M()) => Qa(e.homeLayout), yM = (e, t = _M()) => e ? kle(t) : vM(t), bM = mM.map(([e]) => e), xM = hM.map(([e]) => e), SM = (e = _M()) => aM(e.photoSize, bM, "small"), CM = (e = _M()) => aM(e.photoLayout, xM, "masonry"), wM = null;+function TM(e, t = _M()) {let n = {active: e.active,- size: _M(e.home, t),+ size: yM(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = SM;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (SM = n), SM;+ }, r = wM;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (wM = n), wM;}-function wM(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? mM : 16 / 9;+function EM(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? gM : 16 / 9;}-function Dle(e, t = aM()) {+function Ale(e, t = sM()) {t.value.homeLayout = Qa(e), t.save();}-function TM(e, t = aM()) {+function DM(e, t = sM()) {t.value.javLayout = Qa(e), t.save();}-function Ole(e, t = aM()) {+function jle(e, t = sM()) {t.value.homeLayout = t.value.javLayout = Qa(e), t.save();}-function kle(e, t = aM()) {- t.value.photoSize = rM(e, vM, "small"), t.save();+function Mle(e, t = sM()) {+ t.value.photoSize = aM(e, bM, "small"), t.save();}-function EM(e, t = aM()) {- t.value.photoLayout = rM(e, yM, "masonry"), t.save();+function OM(e, t = sM()) {+ t.value.photoLayout = aM(e, xM, "masonry"), t.save();}// src/appearance/density.ts-var DM = "density", OM = {+var kM = "density", AM = {big: "336px",dense: "168px"-}, kM = () => localStorage.getItem(DM) === "dense" ? "dense" : "big";-function AM(e, t) {- let [n, r] = fM;+}, jM = () => localStorage.getItem(kM) === "dense" ? "dense" : "big";+function MM(e, t) {+ let [n, r] = mM;if (e.querySelector("[data-icon-swap]")) qs(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = Ks(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- jM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ NM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function jM(e, t, n) {+function NM(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var MM = () => document.querySelector("#density");-function NM(e = kM()) {+var PM = () => document.querySelector("#density");+function FM(e = jM()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== OM[e] && t.style.setProperty("--tile", OM[e]), jM(document.body, "data-density", e);- let n = MM();- n && (jM(n, "aria-pressed", String(e === "dense")), jM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), AM(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== AM[e] && t.style.setProperty("--tile", AM[e]), NM(document.body, "data-density", e);+ let n = PM();+ n && (NM(n, "aria-pressed", String(e === "dense")), NM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), MM(n, e === "big" ? "big" : "small"));}-function Ale() {- let e = kM() === "big" ? "dense" : "big";- localStorage.setItem(DM, e), NM(e);+function Nle() {+ let e = jM() === "big" ? "dense" : "big";+ localStorage.setItem(kM, e), FM(e);}-function jle(e) {- let t = MM();- t && (jM(t, "aria-pressed", String(e === "small")), jM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), AM(t, e));+function Ple(e) {+ let t = PM();+ t && (NM(t, "aria-pressed", String(e === "small")), NM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), MM(t, e));}// src/appearance/glow.ts-function PM(e = aM()) {- mle(document.querySelector(".glowlayer"), e.value.homeGlow);+function IM(e = sM()) {+ _le(document.querySelector(".glowlayer"), e.value.homeGlow);}-var FM = 0;-function IM(e = aM()) {- FM ||= requestAnimationFrame(() => {- FM = 0, PM(e);+var LM = 0;+function RM(e = sM()) {+ LM ||= requestAnimationFrame(() => {+ LM = 0, IM(e);});}-function LM(e = aM()) {- hle(document.documentElement, e.value.homeGlow);+function zM(e = sM()) {+ vle(document.documentElement, e.value.homeGlow);}-function RM(e = aM()) {+function BM(e = sM()) {document.documentElement.dataset.accent = e.value.accent;}-var zM = (e, t, n) => ({+var VM = (e, t, n) => ({key: e,label: t,- native: Wj(e),- fill: Wj(e) ? "" : ple(n)+ native: Kj(e),+ fill: Kj(e) ? "" : gle(n)});-function Mle(e) {- let t = Uj.map(([e, t, n]) => zM(e, t, Vj.map((e) => n[e].color)));- return e.preset === "custom" && t.push(zM("custom", "自定义", Vj.map((t) => e[t].color))), t;+function Fle(e) {+ let t = Gj.map(([e, t, n]) => VM(e, t, Uj.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(VM("custom", "自定义", Uj.map((t) => e[t].color))), t;}-var Nle = qj;-function Ple(e, t = aM()) {+var Ile = Yj;+function Lle(e, t = sM()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Kj(e)), t.value.accent = cle(e), t.save(), IM(t), LM(t), RM(t);+ n.preset = e, Object.assign(n, Jj(e)), t.value.accent = dle(e), t.save(), RM(t), zM(t), BM(t);}-function Fle(e, t = aM()) {- t.value.accent = Yj(e), t.save(), RM(t);+function Rle(e, t = sM()) {+ t.value.accent = Zj(e), t.save(), BM(t);}-function Ile(e = aM()) {+function zle(e = sM()) {let t = e.value.homeGlow;- t.preset = Qj.preset, Object.assign(t, Kj(t.preset)), e.value.accent = Jj, e.save(), IM(e), LM(e), RM(e);+ t.preset = eM.preset, Object.assign(t, Jj(t.preset)), e.value.accent = Xj, e.save(), RM(e), zM(e), BM(e);}-function BM(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Wj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function HM(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Kj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Lle(e, t = aM()) {- return BM(e, t.value.homeGlow), t.subscribe(() => BM(e, t.value.homeGlow));+function Ble(e, t = sM()) {+ return HM(e, t.value.homeGlow), t.subscribe(() => HM(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function VM({ store: e, label: t, hidden: n }) {+function UM({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Mle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: Fle(r).map((t) => /* @__PURE__ */ (0, I.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: () => Ple(t.key, e),+ onClick: () => Lle(t.key, e),children: /* @__PURE__ */ (0, I.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -32109,14 +32122,14 @@ function VM({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var HM = null;-function Rle(e) {- HM = e;+var WM = null;+function Vle(e) {+ WM = e;}-function zle() {- return HM ? /* @__PURE__ */ (0, I.jsx)(Ble, { host: HM }) : null;+function Hle() {+ return WM ? /* @__PURE__ */ (0, I.jsx)(Ule, { host: WM }) : null;}-function Ble({ host: e }) {+function Ule({ host: e }) {let { store: t } = e;(0, F.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -32128,11 +32141,11 @@ function Ble({ host: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Ile(t),+ onClick: () => zle(t),children: "重置"})]}),- /* @__PURE__ */ (0, I.jsx)(VM, {+ /* @__PURE__ */ (0, I.jsx)(UM, {store: t,label: "光晕",hidden: !n.on@@ -32146,14 +32159,14 @@ function Ble({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: Nle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: Ile.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Fle(e, t),+ onClick: () => Rle(e, t),children: /* @__PURE__ */ (0, I.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -32171,31 +32184,31 @@ function Ble({ host: e }) {] });}// src/player/host.ts-var UM = null;-function Vle(e) {- UM = e;+var GM = null;+function Wle(e) {+ GM = e;}-function WM() {- if (!UM) throw Error("播放器还没有接上宿主(configurePlayer)");- return UM;+function KM() {+ if (!GM) throw Error("播放器还没有接上宿主(configurePlayer)");+ return GM;}// src/player/menu.ts-var GM = null;-function Hle(e) {- GM = e;+var qM = null;+function Gle(e) {+ qM = e;}-function Ule() {+function Kle() {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 KM = null, qM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function JM() {+var JM = null, YM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function XM() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && ls(e, () => {e.innerHTML = "";- }), KM &&= (KM(), null);+ }), JM &&= (JM(), null);}-async function Wle(e) {+async function qle(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -32208,8 +32221,8 @@ async function Wle(e) {return t.remove(), n;}}-function Gle(e) {- let t = !!GM?.inMiniplayer(e), n = e.peachItem, r = GM?.kind(e) ?? "item", i = (t) => {+function Jle(e) {+ let t = !!qM?.inMiniplayer(e), n = e.peachItem, r = qM?.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);@@ -32225,7 +32238,7 @@ function Gle(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Wle(i(e)).then((e) => WM().toast(e ? t : "复制失败,请手动复制地址栏", {+ qle(i(e)).then((e) => KM().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -32237,11 +32250,11 @@ function Gle(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => GM?.expand()+ run: () => qM?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => GM?.toMiniplayer()+ run: () => qM?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -32264,29 +32277,29 @@ function Gle(e) {run: () => s.click()}), o;}-function Kle(e, t, n) {- let r = Ule();- JM();- let i = WM().stage();+function Yle(e, t, n) {+ let r = Kle();+ XM();+ let i = KM().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Gle(e);+ let a = Jle(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}">${qM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? qM(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${YM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? YM(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), cs(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)];- JM(), n?.run();+ XM(), n?.run();};});let s = (e) => {- r.contains(e.target) || JM();+ r.contains(e.target) || XM();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), JM();+ e.preventDefault(), e.stopPropagation(), XM();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -32294,49 +32307,49 @@ function Kle(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- ds(t, e.el()) && JM();+ ds(t, e.el()) && XM();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), KM = () => {+ }, 0), JM = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function qle(e) {+function Xle(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Kle(e, t.clientX, t.clientY));- }), e.on("dispose", JM);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Yle(e, t.clientX, t.clientY));+ }), e.on("dispose", XM);}// src/player/registry.ts-var YM = null, XM = () => YM;-function ZM(e) {- YM = e;+var ZM = null, QM = () => ZM;+function $M(e) {+ ZM = e;}-function QM(e) {+function eN(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function $M(e) {+function tN(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 Jle(e) {+function Zle(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 eN = 3e3;-function tN(e, t) {+var nN = 3e3;+function rN(e, t) {let n = Number(e) || 0, r = qn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Yle(e) {+function Qle(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -32351,10 +32364,10 @@ function Yle(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Jle(e), s = e.currentTime || 0;+ let a = performance.now(), o = Zle(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 > eN * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > nN * 2 && (t.length = 0);}for (n = {at: a,@@ -32363,55 +32376,55 @@ function Yle(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > eN;) t.shift();+ }); t.length > 2 && a - t[0].at > nN;) 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 nN = 24;-function rN(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > nN && e.splice(0, e.length - nN);+var iN = 24;+function aN(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > iN && e.splice(0, e.length - iN);}-var iN = "peach-player-panel";-function aN(e, t, n, r) {- let i = [...Array(Math.max(0, nN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var oN = "peach-player-panel";+function sN(e, t, n, r) {+ let i = [...Array(Math.max(0, iN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${z(r)}">${o}</span>`;}-function Xle() {+function $le() {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 oN(e, t = "") {+function cN(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 sN(e, t = "") {- let n = oN(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 lN(e, t = "") {+ let n = cN(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 cN(e, t, n = "", r = null) {+function uN(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : sN(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : lN(t, n);}-function lN(e) {+function dN(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 Zle(e, t) {- return e > 0 ? lN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : lN(0);+function eue(e, t) {+ return e > 0 ? dN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : dN(0);}// src/player/subtitle-style.ts-var uN = {+var fN = {font: {label: "字体",values: [@@ -32514,7 +32527,7 @@ var uN = {["shadow", "阴影"]]}-}, dN = {+}, pN = {font: "sans",size: "100",color: "white",@@ -32524,7 +32537,7 @@ var uN = {window: "black",windowOpacity: "0",edge: "shadow"-}, fN = "peach.caption-style.v1", Qle = {+}, mN = "peach.caption-style.v1", tue = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -32533,7 +32546,7 @@ var uN = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, $le = {+}, nue = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -32541,28 +32554,28 @@ var uN = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, eue = {+}, rue = {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 tue() {+function iue() {let e = {};try {- e = JSON.parse(localStorage.getItem(fN) || "{}") || {};+ e = JSON.parse(localStorage.getItem(mN) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(dN).map(([t, n]) => [t, uN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(pN).map(([t, n]) => [t, fN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function pN(e, t, n, r) {- let i = tue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function hN(e, t, n, r) {+ let i = iue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");let s = document.createElement("div");s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";let c = () => {- let t = (e, t) => `rgba(${Qle[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", $le[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", eue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${tue[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", nue[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", rue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");}, l = () => {s.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -32578,15 +32591,15 @@ function pN(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...dN,+ ...pN,...e.caption_style};- for (let e of Object.keys(dN)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys(pN)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(fN);+ e = !!localStorage.getItem(mN);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -32594,18 +32607,18 @@ function pN(e, t, n, r) {}), {current: () => i,set(e, t) {- uN[e].values.some(([e]) => e === t) && (a.add(e), i = {+ fN[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(dN).forEach((e) => a.add(e)), i = { ...dN }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys(pN).forEach((e) => a.add(e)), i = { ...pN }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var mN = /* @__PURE__ */ new Map(), hN = /* @__PURE__ */ new WeakMap(), nue = class {+var gN = /* @__PURE__ */ new Map(), _N = /* @__PURE__ */ new WeakMap(), aue = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -32633,7 +32646,7 @@ var mN = /* @__PURE__ */ new Map(), hN = /* @__PURE__ */ new WeakMap(), nue = cl}load() {return this.url ? this.reading ||= (async () => {- await mN.get(this.url)?.catch(() => {});+ await gN.get(this.url)?.catch(() => {});let e = await Tn(this.url, { signal: this.cleanup.signal });return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;})().catch((e) => {@@ -32645,7 +32658,7 @@ var mN = /* @__PURE__ */ new Map(), hN = /* @__PURE__ */ new WeakMap(), nue = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (mN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (gN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -32672,8 +32685,8 @@ var mN = /* @__PURE__ */ new Map(), hN = /* @__PURE__ */ new WeakMap(), nue = clthis.changed();}});- return mN.set(this.url, t), t.finally(() => {- mN.get(this.url) === t && mN.delete(this.url);+ return gN.set(this.url, t), t.finally(() => {+ gN.get(this.url) === t && gN.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -32682,12 +32695,12 @@ var mN = /* @__PURE__ */ new Map(), hN = /* @__PURE__ */ new WeakMap(), nue = cl} catch {}}};-function gN(e) {- let t = hN.get(e);- return t || (t = new nue(e), hN.set(e, t)), t;+function vN(e) {+ let t = _N.get(e);+ return t || (t = new aue(e), _N.set(e, t)), t;}-function _N(e, t) {- let n = gN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function yN(e, t) {+ let n = vN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -32700,7 +32713,7 @@ function _N(e, t) {};}// src/player/subtitle-memory.ts-var vN = class {+var bN = class {player;video;changed;@@ -32711,7 +32724,7 @@ var vN = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = gN(e);+ this.player = e, this.video = t, this.changed = n, this.memory = vN(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -32808,7 +32821,7 @@ var vN = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, yN = () => "<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>", rue = class {+}, xN = () => "<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>", oue = class {player;video;panels;@@ -32827,7 +32840,7 @@ var vN = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = pN(e.el(), t, this.cleanup.signal, gN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = yN(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = hN(e.el(), t, this.cleanup.signal, vN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = xN(), 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", () => {@@ -32837,7 +32850,7 @@ var vN = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new vN(e, t, () => {+ }), this.session = new bN(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -32885,7 +32898,7 @@ var vN = 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(uN).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(fN).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${z(n.label)}</span><b>${z(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -32897,7 +32910,7 @@ var vN = class {}styleOptions(e) {this.page = "style";- let t = uN[e];+ let t = fN[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;@@ -33013,7 +33026,7 @@ var vN = class {}};// src/player/timeline.ts-function iue(e, t) {+function sue(e, t) {if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;let n = 0, r = t.cues.length;@@ -33025,8 +33038,8 @@ function iue(e, t) {return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}// src/player/rotation.ts-function bN(e, t) {- let n = 0, r = !1, i = gN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function SN(e, t) {+ let n = 0, r = !1, i = vN(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -33054,7 +33067,7 @@ function bN(e, t) {};}// src/player/pip.ts-function aue(e, t, n, r) {+function cue(e, t, n, r) {let i = e.el().querySelector("video");if (!i || !t) return;let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";@@ -33086,7 +33099,7 @@ function aue(e, t, n, r) {});}// src/player/controls.ts-function xN(e, t, n = "") {+function CN(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));@@ -33097,27 +33110,27 @@ function xN(e, t, n = "") {};return o(), o;}-function SN(e, t) {+function wN(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function oue(e, t = !0) {- let n = WM(), r = n.settings();+function lue(e, t = !0) {+ let n = KM(), 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 CN = /* @__PURE__ */ new WeakMap();-function wN(e) {+var TN = /* @__PURE__ */ new WeakMap();+function EN(e) {if (!e) return;- let t = WM().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), CN.get(e)?.(t ? "默认视图" : "影院模式");+ let t = KM().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), TN.get(e)?.(t ? "默认视图" : "影院模式");}-function TN(e, t = !0) {- let n = WM(), r = n.settings();+function DN(e, t = !0) {+ let n = KM(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), wN(i?.querySelector("[data-player-theater]")), QM(XM());+ i?.toggleAttribute("data-theater", r.theaterMode), EN(i?.querySelector("[data-player-theater]")), eN(QM());}-function sue(e) {- let t = WM().stage(), n = t?.querySelector("[data-ambient-canvas]");+function uue(e) {+ let t = KM().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -33140,9 +33153,9 @@ function sue(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (WM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (KM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && WM().settings().ambientMode && (l(), e.paused || u(++o));+ !i && KM().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -33151,7 +33164,7 @@ function sue(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function EN(e, t, n = 0, r = null) {+function ON(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");@@ -33161,8 +33174,8 @@ function EN(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]");- xN(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = bN(e, t), d = _N(e, t), f = gN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ CN(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = SN(e, t), d = yN(e, t), f = vN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;}, v = () => {@@ -33201,11 +33214,11 @@ function EN(e, t, n = 0, r = null) {active: n};}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(iN, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(oN, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener(iN, C);+ document.addEventListener(oN, C);let w = null, T = 0, E = (e, t) => {let n = ++T;w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -33221,15 +33234,15 @@ function EN(e, t, n = 0, r = null) {}), i;}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {O = "main";- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${WM().settings().ambientMode}">+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${KM().settings().ambientMode}">${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${R("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${yN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${xN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(t.label)}</b>${R("player-menu-next")}</button><div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);D(r, "[data-player-ambient]").onclick = () => {- oue(!WM().settings().ambientMode), k();+ lue(!KM().settings().ambientMode), k();}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {f.retry();}, A();@@ -33333,8 +33346,8 @@ function EN(e, t, n = 0, r = null) {A(), re();});return e.on("dispose", () => {- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(iN, C), w && clearTimeout(w);- }), p = new rue(e, t, {+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(oN, C), w && clearTimeout(w);+ }), p = new oue(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -33343,21 +33356,21 @@ function EN(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), cue(e, a), lue(e), (e) => {+ }), y(), due(e, a), fue(e), (e) => {h = e?.length ? e : null, re();};}-function cue(e, t) {+function due(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = WM().settings().theaterMode, i = document.createElement("div");+ let r = KM().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");- CN.set(a, xN(a, "影院模式", "T")), wN(a), a.onclick = (e) => {- e.stopPropagation(), TN(!WM().settings().theaterMode);+ TN.set(a, CN(a, "影院模式", "T")), EN(a), a.onclick = (e) => {+ e.stopPropagation(), DN(!KM().settings().theaterMode);};}-function lue(e) {+function fue(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");@@ -33369,7 +33382,7 @@ function lue(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 = xN(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 = CN(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 ? "播放" : "暂停");};@@ -33380,7 +33393,7 @@ function lue(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 = xN(p, "静音", "M"), g = () => {+ let h = CN(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 ? "取消静音" : "静音");};@@ -33406,7 +33419,7 @@ function lue(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 = xN(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = CN(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Yn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : Yn(t)} / ${Yn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Yn(n)};点击显示已播放时间` : `已播放 ${Yn(t)},总时长 ${Yn(n)};点击显示剩余时间`);};@@ -33418,10 +33431,10 @@ function lue(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- xN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), aue(e, E, xN(E, "画中画"), (e) => WM().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = xN(D, "全屏", "F"), A = () => {+ CN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), cue(e, E, CN(E, "画中画"), (e) => KM().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = CN(D, "全屏", "F"), A = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), QM(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), eN(e);};e.on(["fullscreenchange",@@ -33442,7 +33455,7 @@ function lue(e) {});let ee = document.createElement("div");ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);- let N = ee.querySelector("button"), te = xN(N, "展开控件"), P = (t) => {+ let N = ee.querySelector("button"), te = CN(N, "展开控件"), P = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");};N.onclick = (t) => {@@ -33454,7 +33467,7 @@ function lue(e) {}, re = new ResizeObserver(ne);re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();}-function DN(e, t, n = {}) {+function kN(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");@@ -33465,7 +33478,7 @@ function DN(e, t, n = {}) {}).catch(() => {});let f = (e, n, r, i) => {if (!t) return;- let a = n.columns || 10, o = a * (n.rows || 10), s = iue(e, n);+ let a = n.columns || 10, o = a * (n.rows || 10), s = sue(e, n);if (s === null) return !1;let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);d = !!n.cues;@@ -33490,13 +33503,13 @@ function DN(e, t, n = {}) {r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);});}-function uue(e, t) {+function pue(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => qn(e.duration()) || qn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(WM().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(KM().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -33537,11 +33550,11 @@ function uue(e, t) {} catch {}});}-function ON(e) {+function AN(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 kN(e, t) {+function jN(e, t) {Tn(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -33557,35 +33570,35 @@ function kN(e, t) {}).catch(() => {});}// src/player/progress.ts-var AN = "peach.playback-position.v1", jN = /* @__PURE__ */ new WeakMap();-function MN(e) {- jN.get(e)?.(), jN.delete(e);+var MN = "peach.playback-position.v1", NN = /* @__PURE__ */ new WeakMap();+function PN(e) {+ NN.get(e)?.(), NN.delete(e);}-function NN(e, t, n = null) {+function FN(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 due(e) {+function mue(e) {try {- let t = localStorage.getItem(`${AN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${MN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function fue(e, t) {- let n = due(e);+function hue(e, t) {+ let n = mue(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * qn(t.duration) : 0;}-function pue(e, t) {- MN(t);+function gue(e, t) {+ PN(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(`${AN}:${e}`, String(r));+ localStorage.setItem(`${MN}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -33599,7 +33612,7 @@ function pue(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), jN.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), NN.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -33611,19 +33624,19 @@ function pue(e, t) {});}// src/player/telemetry.ts-var PN = /* @__PURE__ */ new WeakMap();-function FN(e) {- PN.get(e)?.(), PN.delete(e);+var IN = /* @__PURE__ */ new WeakMap();+function LN(e) {+ IN.get(e)?.(), IN.delete(e);}-function IN(e, t, n, r) {+function RN(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), PN.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), IN.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 LN(e, t, n = {}) {+function zN(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 = qn(e.duration) || qn(t.duration);@@ -33664,11 +33677,11 @@ function LN(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, IN(t, l, u, () => {+ }, RN(t, l, u, () => {a++;}), c();}-function mue(e, t) {+function _ue(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = qn(e.duration) || qn(t.duration);(r || n) && (Tn("/api/follow/activity", {@@ -33699,22 +33712,22 @@ function mue(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, IN(t, o, s, () => {});+ }, RN(t, o, s, () => {});}// src/player/dispose.ts-function RN(e) {+function BN(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (MN(t), FN(t));+ t && (PN(t), LN(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function zN() {+function VN() {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;@@ -33722,23 +33735,23 @@ function zN() {return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;}// src/player/stream.ts-function BN() {- return zN();+function HN() {+ return VN();}-function VN(e, t) {+function UN(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function hue(e) {+function vue(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function HN(e, t) {- let n = hue(e);+async function WN(e, t) {+ let n = vue(e);if (n) return n;try {let n = await Tn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -33747,9 +33760,9 @@ async function HN(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return VN(e, t);+ return UN(e, t);}-function UN(e) {+function GN(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -33758,22 +33771,22 @@ function UN(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var WN = "";-function GN() {- return WN;+var KN = "";+function qN() {+ return KN;}-function KN() {- return WN ||= BN(), WN;+function JN() {+ return KN ||= HN(), KN;}-var gue = (e) => VN(e, KN()), _ue = (e) => HN(e, KN());-function qN() {- let e = WN;- e && (WN = "", UN(e));+var yue = (e) => UN(e, JN()), bue = (e) => WN(e, JN());+function YN() {+ let e = KN;+ e && (KN = "", GN(e));}// src/player/v10-player.ts-var JN = (e) => typeof e == "string" ? [e] : e, vue = (e, t) => {+var XN = (e) => typeof e == "string" ? [e] : e, xue = (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-${zN()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${VN()}`, 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 = {@@ -33868,9 +33881,9 @@ var JN = (e) => typeof e == "string" ? [e] : e, vue = (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) => JN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => JN(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => JN(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => XN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => XN(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => XN(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -33925,7 +33938,7 @@ var JN = (e) => typeof e == "string" ? [e] : e, vue = (e, t) => {n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, yue = "/vendor/videojs/10.2.0/", bue = [+}, Sue = "/vendor/videojs/10.2.0/", Cue = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -33943,17 +33956,17 @@ var JN = (e) => typeof e == "string" ? [e] : e, vue = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], YN = null;-function XN() {- return YN ??= Promise.all(bue.map((e) => import(+], ZN = null;+function QN() {+ return ZN ??= Promise.all(Cue.map((e) => import(/* @vite-ignore */- `${yue}${e}`-))).then(() => vue).catch((e) => {- throw YN = null, e;- }), YN;+ `${Sue}${e}`+))).then(() => xue).catch((e) => {+ throw ZN = null, e;+ }), ZN;}// src/player/immerse-player.ts-var xue = {+var wue = {controls: !1,preload: "auto",posterImage: !1,@@ -33965,45 +33978,45 @@ var xue = {errorDisplay: !1,textTrackSettings: !1};-function Sue(e, t) {+function Tue(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([HN(n, r), XN().catch(() => null)]).then(([o, s]) => {+ return Promise.all([WN(n, r), QN().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = VN(n, r), l = String(o.type || "").includes("mpegurl");+ let c = UN(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, xue);- i = t, t.peachItem = n, t.peachPlaybackKey = NN("item", n);+ let t = s(e, wue);+ i = t, t.peachItem = n, t.peachPlaybackKey = FN("item", n);let r = new AbortController();- pN(t.el(), e, r.signal, gN(t)), bN(t, e), _N(t, e), t.on("dispose", () => r.abort()), new vN(t, e), kN(t, n.id), l && t.one("error", () => {+ hN(t.el(), e, r.signal, vN(t)), SN(t, e), yN(t, e), t.on("dispose", () => r.abort()), new bN(t, e), jN(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- LN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ zN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, UN(r), i ? RN(i) : (e.pause(), FN(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, GN(r), i ? BN(i) : (e.pause(), LN(e), e.removeAttribute("src"), e.load()));};}// src/player/guide-preview.ts-var ZN = !1, QN = () => ZN;-function Cue() {- return ZN = !0, () => {- ZN = !1;+var $N = !1, eP = () => $N;+function Eue() {+ return $N = !0, () => {+ $N = !1;};}// src/player/detail-player.ts-var $N = /* @__PURE__ */ new WeakMap(), eP = null, tP = null, nP = null;-function rP() {- eP &&= (clearInterval(eP), null), tP &&= (clearInterval(tP), null), nP &&= (clearTimeout(nP), null);+var tP = /* @__PURE__ */ new WeakMap(), nP = null, rP = null, iP = null;+function aP() {+ nP &&= (clearInterval(nP), null), rP &&= (clearInterval(rP), null), iP &&= (clearTimeout(iP), null);}-async function wue(e, t, n, r = {}) {- let i = XM();+async function Due(e, t, n, r = {}) {+ let i = QM();if (i && !i.isDisposed()) return i;- let a = WM(), o = r.resume ?? null;+ let a = KM(), o = r.resume ?? null;o?.autoplay && (n = !0), r.guidePreview && (n = !1);- let s = () => r.source ? Promise.resolve(r.source) : _ue(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : bue(e), c;try {- c = await XN();+ c = await QN();} catch {return t.controls = !0, r.guidePreview || s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -34029,7 +34042,7 @@ async function wue(e, t, n, r = {}) {} }}});- ZM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || NN("item", e), qle(l), l.on("loadedmetadata", () => {+ $M(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || FN("item", e), Xle(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}`);});@@ -34037,7 +34050,7 @@ async function wue(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Yle(tN(f, e.duration)), m = 0, h = !1, g = () => XM() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Qle(rN(f, e.duration)), m = 0, h = !1, g = () => QM() === 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(() => {@@ -34048,15 +34061,15 @@ async function wue(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- $N.set(l, y), y.updateStats = () => {+ tP.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 = GN(), h = s ? oN(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 = qN(), h = s ? cN(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 = cN(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 = uN(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 = $M(t);- rN(d.speed, x), rN(d.activity, C), rN(d.buffer, w);+ let w = tN(t);+ aN(d.speed, x), aN(d.activity, C), aN(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 ? ["网络活动",`${_ ? Xn(_) : "—"} · ${h.length} 请求`,@@ -34074,17 +34087,17 @@ async function wue(e, t, n, r = {}) {["连接速度",D,- aN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ sN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- aN(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ sN(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- aN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ sN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${Yn(t.currentTime)} / ${Yn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -34100,15 +34113,15 @@ async function wue(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = cN(l, e.id, GN(), r ? null : p), a = r ? lN(i) : Zle(i, $M(t));+ let i = uN(l, e.id, qN(), r ? null : p), a = r ? dN(i) : eue(i, tN(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), tP && clearInterval(tP), tP = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), rP && clearInterval(rP), rP = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (nP && clearTimeout(nP), nP = setTimeout(() => {- e.hidden = !0, tP &&= (clearInterval(tP), null);+ e && (iP && clearTimeout(iP), iP = setTimeout(() => {+ e.hidden = !0, rP &&= (clearInterval(rP), null);}, 1400));};return l.on([@@ -34119,7 +34132,7 @@ async function wue(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(gue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(yue(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))}`@@ -34127,13 +34140,13 @@ async function wue(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = EN(l, t, e.height, r.qualities ?? null);+ let n = ON(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 = tN(r, e.duration));- }).catch(() => {}), DN(l, e, { thumbnail: !r.source }), r.guidePreview || uue(l, e), ON(l), r.source || kN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = rN(r, e.duration));+ }).catch(() => {}), kN(l, e, { thumbnail: !r.source }), r.guidePreview || pue(l, e), AN(l), r.source || jN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), r.guidePreview || s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -34142,16 +34155,16 @@ async function wue(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Tue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function iP(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Tue), e.querySelector("#playerStatsBtn")) return;+var Oue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function oP(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Oue), e.querySelector("#playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Xle();+ n.innerHTML = $le();let r = e.querySelector(":scope > [data-player-toolbar]");r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);}-function aP(e, t) {- let n = $N.get(e);+function sP(e, t) {+ let n = tP.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`#${e}`), i = {statsButton: r("playerStatsBtn"),@@ -34163,30 +34176,30 @@ function aP(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), eP &&= (clearInterval(eP), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), nP &&= (clearInterval(nP), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(iN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), eP && clearInterval(eP), eP = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(oN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), nP && clearInterval(nP), nP = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(iN, t), s = () => document.removeEventListener(iN, t);+ document.addEventListener(oN, t), s = () => document.removeEventListener(oN, t);}- let c = e.el().querySelector("video"), l = c ? sue(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, rP()));+ let c = e.el().querySelector("video"), l = c ? uue(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, aP()));};return e.one("dispose", d), d;}-function oP(e, t) {- if (t.kind === "immerse") return Sue(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = QN(), c = WM(), l = t.chrome === !1 ? null : e.parentElement;- l && iP(l, e);- let u = NN(n, r, i?.index ?? null), d = {+function cP(e, t) {+ if (t.kind === "immerse") return Tue(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = eP(), c = KM(), l = t.chrome === !1 ? null : e.parentElement;+ l && oP(l, e);+ let u = FN(n, r, i?.index ?? null), d = {guidePreview: s,playbackKey: u,resume: s ? null : t.resume ?? {- time: fue(u, r),+ time: hue(u, r),autoplay: !1}};@@ -34206,36 +34219,36 @@ function oP(e, t) {t && (e.poster = t);}let f = null, p = !1, m = () => {}, h = e, g = () => {- m(), !(f && a?.(f)) && (MN(h), f ? (XM() === f && (ZM(null), rP()), RN(f)) : FN(h));+ m(), !(f && a?.(f)) && (PN(h), f ? (QM() === f && ($M(null), aP()), BN(f)) : LN(h));};- return wue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (pue(u, h), n === "follow" ? mue(r, h) : (h.addEventListener("play", () => {+ return Due(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (gue(u, h), n === "follow" ? _ue(r, h) : (h.addEventListener("play", () => {Tn("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), LN(r, h, {+ }, { once: !0 }), zN(r, h, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (l && (m = aP(t, l)), o?.(t)) : o?.(null)));+ })), t ? (l && (m = sP(t, l)), o?.(t)) : o?.(null)));}), () => {p = !0, g();};}// src/player/playback.ts-function sP(e) {+function lP(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function cP(e, t) {+function uP(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}// src/player/preview-player.ts-function Eue(e, t, n) {+function kue(e, t, n) {e.controls = !1;let r = !1, i = null;- return XN().then((a) => {+ return QN().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -34260,30 +34273,30 @@ function Eue(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (EN(o, e), DN(o, null, { thumbnail: !1 }), ON(o));+ r || o.isDisposed() || (ON(o, e), kN(o, null, { thumbnail: !1 }), AN(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, RN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, BN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}-function lP(e, t) {+function dP(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Due = (e, t) => [+var Aue = (e, t) => ["catalog-grid","catalog",e,t-], Oue = (e, t) => [+], jue = (e, t) => ["catalog-grid","entity",e,t];-async function kue(e, t, n, r, i) {+async function Mue(e, t, n, r, i) {let a = new URLSearchParams(e);a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");let o = await B(`/api/items?${a}`, i), s = {@@ -34293,22 +34306,22 @@ async function kue(e, t, n, r, i) {};return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var Aue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, jue = (e, t) => {+var Nue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Pue = (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 Mue(e) {- let t = lP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function Fue(e) {+ let t = dP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Due(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => kue(t, e, n, r, i),+ queryKey: Aue(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Mue(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Aue(n)+ getNextPageParam: Nue(n)};}-function Nue(e) {+function Iue(e) {return {- queryKey: Oue(e.entityKey || "", e.revision || 0),+ queryKey: jue(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -34323,14 +34336,14 @@ function Nue(e) {};},initialPageParam: 0,- getNextPageParam: jue+ getNextPageParam: Pue};}-function uP(e) {+function fP(e) {let t = JSON.stringify(e);return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function dP(e, t, n) {+function pP(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -34345,24 +34358,24 @@ function dP(e, t, n) {return !0;}) : [...e];}-var fP = (e, t) => !!e && !!to(e, t);-function Pue(e, t) {- let n = (e) => fP(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) => fP(e, t)) || e[e.length - 1];+var mP = (e, t) => !!e && !!to(e, t);+function Lue(e, t) {+ let n = (e) => mP(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) => mP(e, t)) || e[e.length - 1];}-function Fue(e, { collapse: t, mix: n, javImage: r }) {+function Rue(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 = dP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = pP(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 = Pue(e, r);+ let t = Lue(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -34375,16 +34388,16 @@ function Fue(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Iue(e, t, n) {+function zue(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 Lue(e, t) {+function Bue(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 Rue(e, t) {+function Vue(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -34397,10 +34410,10 @@ function Rue(e, t) {strip: null}), r;}-function pP(e, t) {- mP((t) => t.id === e, t);+function hP(e, t) {+ gP((t) => t.id === e, t);}-function mP(e, t) {+function gP(e, t) {H.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {...n,cuts: n.cuts.map((n) => ({@@ -34430,34 +34443,34 @@ function mP(e, t) {} : n)});}-var hP = (e) => Math.min(Math.max(e || 0, 0), 100), gP = (e) => Math.round(hP(e) / 20), zue = (e) => {- let t = gP(e);+var _P = (e) => Math.min(Math.max(e || 0, 0), 100), vP = (e) => Math.round(_P(e) / 20), Hue = (e) => {+ let t = vP(e);return t ? `${t} 星` : "未评分";-}, _P = (e, t) => t === gP(e) ? 0 : t * 20, vP = (e) => ["item", e], yP = (e) => [+}, yP = (e, t) => t === vP(e) ? 0 : t * 20, bP = (e) => ["item", e], xP = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Bue = (e, t) => [+], Uue = (e, t) => ["item-related",e,t-], Vue = (e) => `/api/item?id=${e}`, Hue = (e, t) => `/api/related?id=${e}&limit=${t}`, bP = "/api/playlist", xP = "/api/feedback", SP = "/api/item-tag", CP = "/api/watch-later", wP = "/api/quality-goal", TP = "/api/preference", EP = class extends Error {};-async function DP(e, t) {- let n = await B(Vue(e), t);- if (n.error) throw new EP(n.error);+], Wue = (e) => `/api/item?id=${e}`, Gue = (e, t) => `/api/related?id=${e}&limit=${t}`, SP = "/api/playlist", CP = "/api/feedback", wP = "/api/item-tag", TP = "/api/watch-later", EP = "/api/quality-goal", DP = "/api/preference", OP = class extends Error {};+async function kP(e, t) {+ let n = await B(Wue(e), t);+ if (n.error) throw new OP(n.error);return n;}-async function OP(e, t, n) {+async function AP(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([DP(r, n), t.mixRelated(r)]);- return H.setQueryData(vP(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([kP(r, n), t.mixRelated(r)]);+ return H.setQueryData(bP(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Mo(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return kP(await B(`${bP}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return jP(await B(`${SP}?id=${e.playlistId}`, n));let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -34468,19 +34481,19 @@ async function OP(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var kP = (e) => ({+var jP = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), AP = (e) => e.disposal === "vanished";-function jP(e, t) {+}), MP = (e) => e.disposal === "vanished";+function NP(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !AP(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !MP(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 Uue(e, t) {+function Kue(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 : {@@ -34488,20 +34501,20 @@ function Uue(e, t) {part_label: n};}-function MP(e, t) {+function PP(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 NP(e, t) {+async function FP(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = yP(n);+ let o = xP(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => OP(n, e.helpers, t),+ queryFn: () => AP(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -34513,21 +34526,21 @@ async function NP(e, t) {return;}}- let o = i ? jP(i, e.id) : e.id;+ let o = i ? NP(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? H.getQueryData(vP(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(bP(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: vP(o),- queryFn: () => DP(o, t),+ queryKey: bP(o),+ queryFn: () => kP(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof EP) {+ if (e instanceof OP) {r.redirect({ kind: "gone" });return;}@@ -34538,7 +34551,7 @@ async function NP(e, t) {id: Number(s.follow_item_id)});}-function Wue(e) {+function que(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);@@ -34560,35 +34573,35 @@ function Wue(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function Gue(e, t) {+function Jue(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 PP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), FP = (e, t) => ({+var IP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), LP = (e, t) => ({...e,tags: (e.tags || []).filter((e) => Un(e.k) !== Un(t))-}), IP = (e, t) => PP(e, t.k) ? e : {+}), RP = (e, t) => IP(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, LP = "peach.recentTags";-function RP() {+}, zP = "peach.recentTags";+function BP() {try {- let e = JSON.parse(localStorage.getItem(LP) || "[]");+ let e = JSON.parse(localStorage.getItem(zP) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function zP(e) {+function VP(e) {try {- let t = RP().filter((t) => Un(t) !== Un(e));- localStorage.setItem(LP, JSON.stringify([e, ...t].slice(0, 12)));+ let t = BP().filter((t) => Un(t) !== Un(e));+ localStorage.setItem(zP, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function Kue(e, t, n) {+function Yue(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@@ -34599,72 +34612,72 @@ function Kue(e, t, n) {create: r && !s ? e.trim() : ""};}-var que = {+var Xue = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Jue = {+}, Zue = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Yue(e) {+function Que(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: Jue[e.kind],+ title: Zue[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var BP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Xue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(BP(e.part_label))}</small>` : "";-function Zue(e, t, n, r) {+var HP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, $ue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(HP(e.part_label))}</small>` : "";+function ede(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Que = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function $ue(e, t) {+var tde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function nde(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 ede(e) {+function rde(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 VP(e, t) {+function UP(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var tde = (e, t, n) => [+var ide = (e, t, n) => ["immerse-list",e,t,n];-function nde(e) {+function ade(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 rde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function ide(e, t = Math.random) {+var ode = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function sde(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 ade(e, t) {- return ide(((await B(`/api/items?${e}`)).items || []).filter((e) => rde(e, t)));+async function cde(e, t) {+ return sde(((await B(`/api/items?${e}`)).items || []).filter((e) => ode(e, t)));}-var HP = (e) => H.ensureQueryData({- queryKey: vP(e),- queryFn: ({ signal: t }) => DP(e, t)+var WP = (e) => H.ensureQueryData({+ queryKey: bP(e),+ queryFn: ({ signal: t }) => kP(e, t)});-function ode(e, t) {+function lde(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function sde(e) {+function ude(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,@@ -34673,306 +34686,306 @@ function sde(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function cde(e, t, n) {+function dde(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 lde(e, t) {+function fde(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 ude = 15e3, UP = {+var pde = 15e3, GP = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, WP = null, GP = null, KP = UP, qP = /* @__PURE__ */ new Set(), JP = 0, YP = 0, XP = 0, ZP = "", QP = [], $P = 0, eF = !1, tF = !1, nF = null, rF = /* @__PURE__ */ new Set(), iF = "", aF = null, oF = 0, sF = null, cF = !1;-function lF() {- if (!WP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return WP;+}, KP = null, qP = null, JP = GP, YP = /* @__PURE__ */ new Set(), XP = 0, ZP = 0, QP = 0, $P = "", eF = [], tF = 0, nF = !1, rF = !1, iF = null, aF = /* @__PURE__ */ new Set(), oF = "", sF = null, cF = 0, lF = null, uF = !1;+function dF() {+ if (!KP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return KP;}-function dde(e) {- return qP.add(e), () => {- qP.delete(e);+function mde(e) {+ return YP.add(e), () => {+ YP.delete(e);};}-function fde() {- for (let e of [...qP]) e();+function hde() {+ for (let e of [...YP]) e();}-function uF() {- (0, Rt.flushSync)(fde);+function fF() {+ (0, Rt.flushSync)(hde);}-function dF() {- let e = aF ? sN(aF.id) : 0;- return e ? `${iF} · ${lN(e)}` : iF;+function pF() {+ let e = sF ? lN(sF.id) : 0;+ return e ? `${oF} · ${dN(e)}` : oF;}-function fF(e, t = null) {- clearInterval(oF), oF = 0, e === null ? (KP = {- ...KP,+function mF(e, t = null) {+ clearInterval(cF), cF = 0, e === null ? (JP = {+ ...JP,loading: null- }, uF()) : (iF = e, aF = t, KP = {- ...KP,- loading: dF()- }, uF(), oF = window.setInterval(() => {- aF = QP[$P] ?? null, KP = {- ...KP,- loading: dF()- }, uF();+ }, fF()) : (oF = e, sF = t, JP = {+ ...JP,+ loading: pF()+ }, fF(), cF = window.setInterval(() => {+ sF = eF[tF] ?? null, JP = {+ ...JP,+ loading: pF()+ }, fF();}, 500));}-function pde(e) {+function gde(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), GP.track.append(t);- let r = BN(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), qP.track.append(t);+ let r = HN(), i = () => {}, a = {el: t,video: n,session: r,- release: () => UN(r),+ release: () => GN(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return rF.add(a), a;+ return aF.add(a), a;}-function mde(e, t) {+function _de(e, t) {return new Promise((n) => {- e.release = oP(e.video, {+ e.release = cP(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- KP.open && yF(1);+ JP.open && xF(1);}}), e.gone.then(n);});}-function pF(e) {- e && !e.disposed && (e.disposed = !0, rF.delete(e), e.leave(), e.release(), e.el.remove(), nF === e && (nF = null));+function hF(e) {+ e && !e.disposed && (e.disposed = !0, aF.delete(e), e.leave(), e.release(), e.el.remove(), iF === e && (iF = null));}-var mF = [+var gF = ["loadeddata","canplay","error"];-function hde(e) {+function vde(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), mF.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), gF.forEach((e) => t.removeEventListener(e, i)), n());};- mF.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, ude);+ gF.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, pde);e.gone.then(i);});}-function hF(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = cde(e.videoWidth, e.videoHeight, n);+function _F(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = dde(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var gF = () => GP?.track.querySelectorAll("video").forEach(hF);-function gde(e) {- delete e.dataset.fit, e.readyState >= 1 ? hF(e) : e.addEventListener("loadedmetadata", () => hF(e), { once: !0 });+var vF = () => qP?.track.querySelectorAll("video").forEach(_F);+function yde(e) {+ delete e.dataset.fit, e.readyState >= 1 ? _F(e) : e.addEventListener("loadedmetadata", () => _F(e), { once: !0 });}-function _de(e) {- KP = {- ...KP,+function bde(e) {+ JP = {+ ...JP,wide: e- }, uF(), gF();+ }, fF(), vF();}-var _F = () => {- let e = ZP;+var yF = () => {+ let e = $P;return H.fetchQuery({- queryKey: tde(e, YP, XP),- queryFn: () => ade(e, lF().sourceOffline),+ queryKey: ide(e, ZP, QP),+ queryFn: () => cde(e, dF().sourceOffline),staleTime: Infinity});};-function vde(e, t) {+function xde(e, t) {let n = () => qn(e.duration) || qn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && GP && (GP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), sF = {+ t && qP && (qP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), lF = {video: e,duration: n};}-async function vF(e = 0) {- let t = QP[$P];- if (!t || eF) return;- let n = JP;- lF().route(t.id), eF = !0, fF(e ? "切换中" : "加载中", t);+async function bF(e = 0) {+ let t = eF[tF];+ if (!t || nF) return;+ let n = XP;+ dF().route(t.id), nF = !0, mF(e ? "切换中" : "加载中", t);let r = null;try {- if (await HP(t.id).catch((e) => {- if (!(e instanceof EP)) throw e;- }), n !== JP) return;- let i = nF, a = !!(e && i);- a || pF(i);- let o = pde(a ? e > 0 ? 100 : -100 : 0);- if (r = o, gde(o.video), await mde(o, t), await hde(o), o.disposed || (_de(lde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await WP(t.id).catch((e) => {+ if (!(e instanceof OP)) throw e;+ }), n !== XP) return;+ let i = iF, a = !!(e && i);+ a || hF(i);+ let o = gde(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, yde(o.video), await _de(o, t), await vde(o), o.disposed || (bde(fde(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)), pF(i), o.el.style.transform = ""), o.disposed)) return;- nF = o, r = null, o.video.play()?.catch(() => {}), KP = {- ...KP,+ })), await new Promise((e) => setTimeout(e, 210)), hF(i), o.el.style.transform = ""), o.disposed)) return;+ iF = o, r = null, o.video.play()?.catch(() => {}), JP = {+ ...JP,idle: !1,shown: {item: t,- index: $P,- length: QP.length+ index: tF,+ length: eF.length}- }, vde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), fF(null);+ }, xde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), mF(null);} catch {- pF(r), n === JP && fF(null);+ hF(r), n === XP && mF(null);} finally {- n === JP && (eF = !1);+ n === XP && (nF = !1);}}-async function yF(e) {- if (eF || !KP.open) return;- let t = JP;- if ($P += e, fF("切换中", QP[$P] ?? null), $P >= QP.length - 3 && !tF) {- tF = !0;+async function xF(e) {+ if (nF || !JP.open) return;+ let t = XP;+ if (tF += e, mF("切换中", eF[tF] ?? null), tF >= eF.length - 3 && !rF) {+ rF = !0;try {- XP += 1;- let e = await _F();- t === JP && (QP = ode(QP, e));+ QP += 1;+ let e = await yF();+ t === XP && (eF = lde(eF, e));} catch {} finally {- tF = !1;+ rF = !1;}}- t === JP && ($P >= QP.length && ($P = 0), $P < 0 && ($P = QP.length - 1), await vF(e));+ t === XP && (tF >= eF.length && (tF = 0), tF < 0 && (tF = eF.length - 1), await bF(e));}-async function yde(e) {- let t = ++JP;- bF(), YP += 1, XP = 0, ZP = nde(lF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), KP = {- ...KP,+async function Sde(e) {+ let t = ++XP;+ SF(), ZP += 1, QP = 0, $P = ade(dF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), JP = {+ ...JP,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), fF("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), mF("加载内容");try {- let n = await _F();+ let n = await yF();if (e && !n.some((t) => t.id === e)) {- let t = await HP(e).catch((e) => {- if (e instanceof EP) return null;+ let t = await WP(e).catch((e) => {+ if (e instanceof OP) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== JP) return;- if (QP = n, !QP.length) {- xF(), lF().warn("当前筛选下没有可直接播放的内容");+ if (t !== XP) return;+ if (eF = n, !eF.length) {+ CF(), dF().warn("当前筛选下没有可直接播放的内容");return;}- $P = Math.max(0, QP.findIndex((t) => t.id === e)), await vF();+ tF = Math.max(0, eF.findIndex((t) => t.id === e)), await bF();} catch {- if (t !== JP) return;- fF(null), xF();+ if (t !== XP) return;+ mF(null), CF();}}-function bF() {- clearInterval(oF), oF = 0, DF(), TF = null, sF = null, cF = !1, [...rF].forEach(pF), eF = !1;+function SF() {+ clearInterval(cF), cF = 0, kF(), DF = null, lF = null, uF = !1, [...aF].forEach(hF), nF = !1;}-function xF() {- KP.open && (JP++, bF(), KP = UP, document.body.removeAttribute("data-immerse-open"), uF(), lF().closed());+function CF() {+ JP.open && (XP++, SF(), JP = GP, document.body.removeAttribute("data-immerse-open"), fF(), dF().closed());}-var SF = 0, CF = null, wF = 0, TF = null, EF = 0;-function DF() {- clearTimeout(SF), SF = 0, CF = null;+var wF = 0, TF = null, EF = 0, DF = null, OF = 0;+function kF() {+ clearTimeout(wF), wF = 0, TF = null;}-function bde(e) {- let t = nF?.video;+function Cde(e) {+ let t = iF?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- CF && CF.side === n && r - CF.at <= 280 ? (DF(), cP(t, lF().seekSeconds() * n)) : (SF && (clearTimeout(SF), SF = 0, sP(t)), CF = {+ TF && TF.side === n && r - TF.at <= 280 ? (kF(), uP(t, dF().seekSeconds() * n)) : (wF && (clearTimeout(wF), wF = 0, lP(t)), TF = {side: n,at: r- }, SF = window.setTimeout(() => {- SF = 0, CF = null, KP.open && sP(nF?.video);+ }, wF = window.setTimeout(() => {+ wF = 0, TF = null, JP.open && lP(iF?.video);}, 280));}-function xde() {- Date.now() < wF || sP(nF?.video);+function wde() {+ Date.now() < EF || lP(iF?.video);}-var OF = (e) => GP?.bar.toggleAttribute("data-scrubbing", e);-function kF(e) {- GP && (GP.progress.style.width = `${(e * 100).toFixed(2)}%`);+var AF = (e) => qP?.bar.toggleAttribute("data-scrubbing", e);+function jF(e) {+ qP && (qP.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function AF(e) {+function MF(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- TF = null;+ DF = null;return;}- let n = nF?.video;- TF = {+ let n = iF?.video;+ DF = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function jF(e) {- if (!TF || e.touches.length !== 1) return;- let t = e.touches[0].clientX - TF.x, n = e.touches[0].clientY - TF.y;- if (!TF.axis) {+function NF(e) {+ if (!DF || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - DF.x, n = e.touches[0].clientY - DF.y;+ if (!DF.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- TF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", TF.axis === "x" && OF(!0);+ DF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", DF.axis === "x" && AF(!0);}- if (TF.axis !== "x") return;- let r = nF?.video, i = r && r.duration || 0;- i && (e.preventDefault(), TF.to = Math.min(i, Math.max(0, TF.from + t / window.innerWidth * i)), kF(TF.to / i));+ if (DF.axis !== "x") return;+ let r = iF?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), DF.to = Math.min(i, Math.max(0, DF.from + t / window.innerWidth * i)), jF(DF.to / i));}-function MF(e) {- if (!TF) return;- let t = TF;- if (TF = null, wF = Date.now() + 700, OF(!1), t.axis === "x") {- let e = nF?.video;+function PF(e) {+ if (!DF) return;+ let t = DF;+ if (DF = null, EF = Date.now() + 700, AF(!1), t.axis === "x") {+ let e = iF?.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 ? (DF(), yF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), bde(n.clientX));+ Math.abs(i) > 60 ? (kF(), xF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Cde(n.clientX));}-function NF() {- TF = null, OF(!1);+function FF() {+ DF = null, AF(!1);}-function PF(e) {+function IF(e) {let t = Date.now();- t - EF < 260 || (EF = t, yF(e.deltaY > 0 ? 1 : -1));+ t - OF < 260 || (OF = t, xF(e.deltaY > 0 ? 1 : -1));}-function FF(e) {- let t = GP.bar.getBoundingClientRect();+function LF(e) {+ let t = qP.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function Sde(e) {- sF?.duration() && (cF = !0, OF(!0), e.currentTarget.setPointerCapture(e.pointerId), kF(FF(e)), e.preventDefault());+function Tde(e) {+ lF?.duration() && (uF = !0, AF(!0), e.currentTarget.setPointerCapture(e.pointerId), jF(LF(e)), e.preventDefault());}-function Cde(e) {- cF && kF(FF(e));+function Ede(e) {+ uF && jF(LF(e));}-function wde(e) {- if (!cF) return;- cF = !1, OF(!1);- let t = sF?.duration();- sF && t && (sF.video.currentTime = t * FF(e));+function Dde(e) {+ if (!uF) return;+ uF = !1, AF(!1);+ let t = lF?.duration();+ lF && t && (lF.video.currentTime = t * LF(e));}-function Tde() {- cF = !1, OF(!1);+function Ode() {+ uF = !1, AF(!1);}-async function IF(e, t) {- let n = await V(xP, {+async function RF(e, t) {+ let n = await V(CP, {id: e,kind: t- }), r = H.getQueryData(vP(e));- if (!r) return pP(e, {+ }), r = H.getQueryData(bP(e));+ if (!r) return hP(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -34981,7 +34994,7 @@ async function IF(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(vP(e), i), pP(e, {+ return H.setQueryData(bP(e), i), hP(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -34989,7 +35002,7 @@ async function IF(e, t) {o_count: i.o_count}), n;}-var Ede = [+var kde = [{kind: "dislike",glyph: "thumbs-down",@@ -35006,31 +35019,31 @@ var Ede = [label: "记一次高潮"}];-function LF(e) {+function zF(e) {return Ft({- queryKey: vP(e ?? 0),- queryFn: ({ signal: t }) => DP(e, t),+ queryKey: bP(e ?? 0),+ queryFn: ({ signal: t }) => kP(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Dde({ kind: e, glyph: t, label: n, id: r }) {- let i = LF(r), a = It({+function Ade({ kind: e, glyph: t, label: n, id: r }) {+ let i = zF(r), a = It({mutationFn: async (t) => {- let n = H.getQueryData(vP(t))?.feedback || null;+ let n = H.getQueryData(bP(t))?.feedback || null;return {- result: await IF(t, e),+ result: await RF(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- lF().toast(VP(e, t), { undo: async () => {- e === "o" ? await IF(r, "o-undo") : (t.feedback && await IF(r, t.feedback), n && await IF(r, n));+ dF().toast(UP(e, t), { undo: async () => {+ e === "o" ? await RF(r, "o-undo") : (t.feedback && await RF(r, t.feedback), n && await RF(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- yF(1);+ xF(1);}, 260);},- onError: (e) => lF().failure("更新反馈", e)+ onError: (e) => dF().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-action": "",@@ -35061,11 +35074,11 @@ function Dde({ kind: e, glyph: t, label: n, id: r }) {})]});}-function Ode({ shown: e }) {- let t = e?.item ?? null, n = LF(t?.id ?? null), r = n ? sde(n) : null, i = lF(), a = (e) => {- e.preventDefault(), n && (xF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function jde({ shown: e }) {+ let t = e?.item ?? null, n = zF(t?.id ?? null), r = n ? ude(n) : null, i = dF(), a = (e) => {+ e.preventDefault(), n && (CF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (xF(), i.openItem(t.id));+ t && (CF(), i.openItem(t.id));}, s = r ? _o(r.name, r.ref, Za(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-ui": "",@@ -35094,18 +35107,18 @@ function Ode({ shown: e }) {})]});}-var kde = { __html: Bs("媒体加载中") };-function Ade({ view: e }) {+var Mde = { __html: Bs("媒体加载中") };+function Nde({ view: e }) {let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current;- return GP = {+ return qP = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", AF, { passive: !0 }), e.addEventListener("touchmove", jF, { passive: !1 }), e.addEventListener("touchend", MF, { passive: !1 }), e.addEventListener("touchcancel", NF, { passive: !0 }), e.addEventListener("wheel", PF, { passive: !0 }), () => {- e.removeEventListener("touchstart", AF), e.removeEventListener("touchmove", jF), e.removeEventListener("touchend", MF), e.removeEventListener("touchcancel", NF), e.removeEventListener("wheel", PF), GP = null;+ }, e.addEventListener("touchstart", MF, { passive: !0 }), e.addEventListener("touchmove", NF, { passive: !1 }), e.addEventListener("touchend", PF, { passive: !1 }), e.addEventListener("touchcancel", FF, { passive: !0 }), e.addEventListener("wheel", IF, { passive: !0 }), () => {+ e.removeEventListener("touchstart", MF), e.removeEventListener("touchmove", NF), e.removeEventListener("touchend", PF), e.removeEventListener("touchcancel", FF), e.removeEventListener("wheel", IF), qP = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -35122,10 +35135,10 @@ function Ade({ view: e }) {children: [/* @__PURE__ */ (0, I.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: xde+ onClick: wde}), /* @__PURE__ */ (0, I.jsx)("div", {"data-immerse-actions": "",- children: Ede.map((e) => /* @__PURE__ */ (0, I.jsx)(Dde, {+ children: kde.map((e) => /* @__PURE__ */ (0, I.jsx)(Ade, {...e,id: a}, e.kind))@@ -35138,7 +35151,7 @@ function Ade({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: kde+ dangerouslySetInnerHTML: Mde}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -35146,7 +35159,7 @@ function Ade({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: xF,+ onClick: CF,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-x" })@@ -35155,41 +35168,41 @@ function Ade({ view: e }) {/* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Sde,- onPointerMove: Cde,- onPointerUp: wde,- onPointerCancel: Tde,+ onPointerDown: Tde,+ onPointerMove: Ede,+ onPointerUp: Dde,+ onPointerCancel: Ode,children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, I.jsx)(Ode, { shown: e.shown })+ /* @__PURE__ */ (0, I.jsx)(jde, { shown: e.shown })]});}-var jde = {- open: yde,- close: xF,- isOpen: () => KP.open,- activeVideo: () => KP.open ? nF?.video ?? null : null+var Pde = {+ open: Sde,+ close: CF,+ isOpen: () => JP.open,+ activeVideo: () => JP.open ? iF?.video ?? null : null};-function Mde(e) {- if (!KP.open) return;+function Fde(e) {+ if (!JP.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && yF(1), e.key === "ArrowUp" && yF(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && xF(1), e.key === "ArrowUp" && xF(-1));}-function Nde(e) {- let t = !WP;- return WP = e, t && (document.addEventListener("keydown", Mde), addEventListener("resize", () => {- KP.open && gF();+function Ide(e) {+ let t = !KP;+ return KP = e, t && (document.addEventListener("keydown", Fde), addEventListener("resize", () => {+ JP.open && vF();}), addEventListener("pagehide", () => {- rF.forEach((e) => UN(e.session));- })), jde;+ aF.forEach((e) => GN(e.session));+ })), Pde;}-function Pde() {- let e = (0, F.useSyncExternalStore)(dde, () => KP);- return WP ? /* @__PURE__ */ (0, I.jsx)(Ade, { view: e }) : null;+function Lde() {+ let e = (0, F.useSyncExternalStore)(mde, () => JP);+ return KP ? /* @__PURE__ */ (0, I.jsx)(Nde, { view: e }) : null;}// src/manage-header.ts-var RF = {+var BF = {...Xf,"/junk-files": "垃圾文件","/duplicates": "重复文件",@@ -35197,47 +35210,47 @@ var RF = {"/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, Fde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function Ide(e) {- let t = RF[e.path] ? "cleanup" : e.section;+}, Rde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function zde(e) {+ let t = BF[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var Lde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function zF(e) {+var Bde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function VF(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = RF[e.path] ?? "";+ let n = BF[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: Ide(e),+ pressed: zde(e),crumb: n,- compact: Fde.has(e.path) || e.section === "configuration",+ compact: Rde.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: Lde(e.trash),+ text: Bde(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var BF = (e) => e.replace(/[&<>"']/g, (e) => ({+var HF = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), VF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${BF(e)}"/></svg>`, HF = "<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 Rde(e) {- let t = zF(e);+})[e]), UF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${HF(e)}"/></svg>`, WF = "<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 Vde(e) {+ let t = VF(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${BF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${VF(r)}<span>${BF(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${VF("chevron-right")}</li><li aria-current="true"><span>${BF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? HF : `<span data-lede-text="">${BF(t.lede.text)}</span>${t.lede.total ? zde : ""}`}</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=\"\"" : ""}>${BF(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${HF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${UF(r)}<span>${HF(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${UF("chevron-right")}</li><li aria-current="true"><span>${HF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? WF : `<span data-lede-text="">${HF(t.lede.text)}</span>${t.lede.total ? Hde : ""}`}</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=\"\"" : ""}>${HF(t.title)}</h2>` + i;}-var zde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Hde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function UF({ name: e }) {+function GF({ name: e }) {let { wide: t, viewBox: n } = Cn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,@@ -35246,7 +35259,7 @@ function UF({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function Bde({ name: e }) {+function Ude({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -35254,88 +35267,88 @@ function Bde({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Vde = (e, t) => {+var Wde = (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;-}, Hde = (e, t) => ({+}, Gde = (e, t) => ({classGroupId: e,validator: t-}), WF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), KF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), GF = "-", KF = [], Ude = "arbitrary..", Wde = (e) => {- let t = Kde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), qF = "-", JF = [], Kde = "arbitrary..", qde = (e) => {+ let t = Yde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Gde(e);- let n = e.split(GF);- return qF(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Jde(e);+ let n = e.split(qF);+ return YF(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Vde(i, t) : t : i || KF;+ return t ? i ? Wde(i, t) : t : i || JF;}- return n[e] || KF;+ return n[e] || JF;}};-}, qF = (e, t, n) => {+}, YF = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = qF(e, t + 1, i);+ let n = YF(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(GF) : e.slice(t).join(GF), s = a.length;+ let o = t === 0 ? e.join(qF) : e.slice(t).join(qF), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Gde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Jde = (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 ? Ude + r : void 0;-})(), Kde = (e) => {+ return r ? Kde + r : void 0;+})(), Yde = (e) => {let { theme: t, classGroups: n } = e;- return qde(n, t);-}, qde = (e, t) => {- let n = WF();+ return Xde(n, t);+}, Xde = (e, t) => {+ let n = KF();for (let r in e) {let i = e[r];- JF(i, n, r, t);+ XF(i, n, r, t);}return n;-}, JF = (e, t, n, r) => {+}, XF = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Jde(i, t, n, r);+ Zde(i, t, n, r);}-}, Jde = (e, t, n, r) => {- typeof e == "string" ? Yde(e, t, n) : typeof e == "function" ? Xde(e, t, n, r) : Zde(e, t, n, r);-}, Yde = (e, t, n) => {- let r = e === "" ? t : YF(t, e);- r.classGroupId = n;-}, Xde = (e, t, n, r) => {- Qde(e) ? JF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Hde(n, e)));}, Zde = (e, t, n, r) => {+ typeof e == "string" ? Qde(e, t, n) : typeof e == "function" ? $de(e, t, n, r) : efe(e, t, n, r);+}, Qde = (e, t, n) => {+ let r = e === "" ? t : ZF(t, e);+ r.classGroupId = n;+}, $de = (e, t, n, r) => {+ tfe(e) ? XF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Gde(n, e)));+}, efe = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- JF(o, YF(t, a), n, r);+ XF(o, ZF(t, a), n, r);}-}, YF = (e, t) => {- let n = e, r = t.split(GF), i = r.length;+}, ZF = (e, t) => {+ let n = e, r = t.split(qF), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = WF(), n.nextPart.set(t, i)), n = i;+ i || (i = KF(), n.nextPart.set(t, i)), n = i;}return n;-}, Qde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, $de = (e) => {+}, tfe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, nfe = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -35353,19 +35366,19 @@ var Vde = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, XF = "!", ZF = ":", efe = [], QF = (e, t, n, r, i) => ({+}, QF = "!", $F = ":", rfe = [], eI = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), tfe = (e) => {+}), ife = (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 === ZF) {+ if (o === $F) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -35377,13 +35390,13 @@ var Vde = (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(XF) ? (c = s.slice(0, -1), l = !0) : s.startsWith(XF) && (c = s.slice(1), l = !0);+ s.endsWith(QF) ? (c = s.slice(0, -1), l = !0) : s.startsWith(QF) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return QF(t, l, c, u);+ return eI(t, l, c, u);};if (t) {- let e = t + ZF, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : QF(efe, !1, t, void 0, !0);+ let e = t + $F, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : eI(rfe, !1, t, void 0, !0);}if (n) {let e = r;@@ -35393,7 +35406,7 @@ var Vde = (e, t) => {});}return r;-}, nfe = (e) => {+}, afe = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -35405,18 +35418,18 @@ var Vde = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, rfe = (e) => ({- cache: $de(e.cacheSize),- parseClassName: tfe(e),- sortModifiers: nfe(e),- postfixLookupClassGroupIds: ife(e),- ...Wde(e)-}), ife = (e) => {+}, ofe = (e) => ({+ cache: nfe(e.cacheSize),+ parseClassName: ife(e),+ sortModifiers: afe(e),+ postfixLookupClassGroupIds: sfe(e),+ ...qde(e)+}), sfe = (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;-}, afe = /\s+/, ofe = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(afe), l = "";+}, cfe = /\s+/, lfe = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(cfe), 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) {@@ -35436,7 +35449,7 @@ var Vde = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + XF : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + QF : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -35447,34 +35460,34 @@ var Vde = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, sfe = (...e) => {+}, ufe = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = $F(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = tI(n)) && (i && (i += " "), i += r);return i;-}, $F = (e) => {+}, tI = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = $F(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = tI(e[r])) && (n && (n += " "), n += t);return n;-}, eI = (e, ...t) => {- let n, r, i, a, o = (o) => (n = rfe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, nI = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = ofe(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 = ofe(e, n);+ let a = lfe(e, n);return i(e, a), a;};- return a = o, (...e) => a(sfe(...e));-}, cfe = [], tI = (e) => {- let t = (t) => t[e] || cfe;+ return a = o, (...e) => a(ufe(...e));+}, dfe = [], rI = (e) => {+ let t = (t) => t[e] || dfe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, nI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, rI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, lfe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ufe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, dfe = /\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$/, ffe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, pfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, mfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, iI = (e) => lfe.test(e), aI = (e) => !!e && !Number.isNaN(Number(e)), oI = (e) => !!e && Number.isInteger(Number(e)), sI = (e) => e.endsWith("%") && aI(e.slice(0, -1)), cI = (e) => ufe.test(e), lI = () => !0, hfe = (e) => dfe.test(e) && !ffe.test(e), uI = () => !1, gfe = (e) => pfe.test(e), _fe = (e) => mfe.test(e), vfe = (e) => !dI(e) && !gI(e), yfe = (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)), bfe = (e) => xI(e, TI, uI), dI = (e) => nI.test(e), fI = (e) => xI(e, EI, hfe), pI = (e) => xI(e, Dfe, aI), xfe = (e) => xI(e, OI, lI), Sfe = (e) => xI(e, DI, uI), mI = (e) => xI(e, CI, uI), Cfe = (e) => xI(e, wI, _fe), hI = (e) => xI(e, kI, gfe), gI = (e) => rI.test(e), _I = (e) => SI(e, EI), wfe = (e) => SI(e, DI), vI = (e) => SI(e, CI), yI = (e) => SI(e, TI), Tfe = (e) => SI(e, wI), bI = (e) => SI(e, kI, !0), Efe = (e) => SI(e, OI, !0), xI = (e, t, n) => {- let r = nI.exec(e);+}, iI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, aI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ffe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, pfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, mfe = /\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$/, hfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, gfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _fe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, oI = (e) => ffe.test(e), sI = (e) => !!e && !Number.isNaN(Number(e)), cI = (e) => !!e && Number.isInteger(Number(e)), lI = (e) => e.endsWith("%") && sI(e.slice(0, -1)), uI = (e) => pfe.test(e), dI = () => !0, vfe = (e) => mfe.test(e) && !hfe.test(e), fI = () => !1, yfe = (e) => gfe.test(e), bfe = (e) => _fe.test(e), xfe = (e) => !pI(e) && !vI(e), Sfe = (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)), Cfe = (e) => CI(e, DI, fI), pI = (e) => iI.test(e), mI = (e) => CI(e, OI, vfe), hI = (e) => CI(e, Afe, sI), wfe = (e) => CI(e, AI, dI), Tfe = (e) => CI(e, kI, fI), gI = (e) => CI(e, TI, fI), Efe = (e) => CI(e, EI, bfe), _I = (e) => CI(e, jI, yfe), vI = (e) => aI.test(e), yI = (e) => wI(e, OI), bI = (e) => wI(e, kI), xI = (e) => wI(e, TI), Dfe = (e) => wI(e, DI), Ofe = (e) => wI(e, EI), SI = (e) => wI(e, jI, !0), kfe = (e) => wI(e, AI, !0), CI = (e, t, n) => {+ let r = iI.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, SI = (e, t, n = !1) => {- let r = rI.exec(e);+}, wI = (e, t, n = !1) => {+ let r = aI.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, CI = (e) => e === "position" || e === "percentage", wI = (e) => e === "image" || e === "url", TI = (e) => e === "length" || e === "size" || e === "bg-size", EI = (e) => e === "length", Dfe = (e) => e === "number", DI = (e) => e === "family-name", OI = (e) => e === "number" || e === "weight", kI = (e) => e === "shadow", AI = () => {- let e = tI("color"), t = tI("font"), n = tI("text"), r = tI("font-weight"), i = tI("tracking"), a = tI("leading"), o = tI("breakpoint"), s = tI("container"), c = tI("spacing"), l = tI("radius"), u = tI("shadow"), d = tI("inset-shadow"), f = tI("text-shadow"), p = tI("drop-shadow"), m = tI("blur"), h = tI("perspective"), g = tI("aspect"), _ = tI("ease"), v = tI("animate"), y = () => [+}, TI = (e) => e === "position" || e === "percentage", EI = (e) => e === "image" || e === "url", DI = (e) => e === "length" || e === "size" || e === "bg-size", OI = (e) => e === "length", Afe = (e) => e === "number", kI = (e) => e === "family-name", AI = (e) => e === "number" || e === "weight", jI = (e) => e === "shadow", MI = () => {+ let e = rI("color"), t = rI("font"), n = rI("text"), r = rI("font-weight"), i = rI("tracking"), a = rI("leading"), o = rI("breakpoint"), s = rI("container"), c = rI("spacing"), l = rI("radius"), u = rI("shadow"), d = rI("inset-shadow"), f = rI("text-shadow"), p = rI("drop-shadow"), m = rI("blur"), h = rI("perspective"), g = rI("aspect"), _ = rI("ease"), v = rI("animate"), y = () => ["auto","avoid","all",@@ -35499,8 +35512,8 @@ var Vde = (e, t) => {"left-bottom"], x = () => [...b(),- gI,- dI+ vI,+ pI], S = () => ["auto","hidden",@@ -35512,43 +35525,43 @@ var Vde = (e, t) => {"contain","none"], w = () => [- gI,- dI,+ vI,+ pI,c], T = () => [- iI,+ oI,"full","auto",...w()], E = () => [- oI,+ cI,"none","subgrid",- gI,- dI+ vI,+ pI], D = () => ["auto",{ span: ["full",- oI,- gI,- dI+ cI,+ vI,+ pI] },- oI,- gI,- dI+ cI,+ vI,+ pI], O = () => [- oI,+ cI,"auto",- gI,- dI+ vI,+ pI], k = () => ["auto","min","max","fr",- gI,- dI+ vI,+ pI], A = () => ["start","end",@@ -35568,7 +35581,7 @@ var Vde = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- iI,+ oI,"auto","full","dvw",@@ -35583,7 +35596,7 @@ var Vde = (e, t) => {...w()], N = () => [s,- iI,+ oI,"screen","full","dvw",@@ -35594,7 +35607,7 @@ var Vde = (e, t) => {"fit",...w()], te = () => [- iI,+ oI,"screen","full","lh",@@ -35607,13 +35620,13 @@ var Vde = (e, t) => {...w()], P = () => [e,- gI,- dI+ vI,+ pI], ne = () => [...b(),- vI,- mI,- { position: [gI, dI] }+ xI,+ gI,+ { position: [vI, pI] }], re = () => ["no-repeat", { repeat: ["","x",@@ -35624,25 +35637,25 @@ var Vde = (e, t) => {"auto","cover","contain",- yI,- bfe,- { size: [gI, dI] }+ Dfe,+ Cfe,+ { size: [vI, pI] }], I = () => [- sI,- _I,- fI+ lI,+ yI,+ mI], ie = () => ["","none","full",l,- gI,- dI+ vI,+ pI], ae = () => ["",- aI,- _I,- fI+ sI,+ yI,+ mI], oe = () => ["solid","dashed",@@ -35666,32 +35679,32 @@ var Vde = (e, t) => {"color","luminosity"], ce = () => [- aI,sI,- vI,- mI+ lI,+ xI,+ gI], le = () => ["","none",m,- gI,- dI+ vI,+ pI], ue = () => ["none",- aI,- gI,- dI+ sI,+ vI,+ pI], de = () => ["none",- aI,- gI,- dI+ sI,+ vI,+ pI], fe = () => [- aI,- gI,- dI+ sI,+ vI,+ pI], pe = () => [- iI,+ oI,"full",...w()];@@ -35705,17 +35718,17 @@ var Vde = (e, t) => {"bounce"],aspect: ["video"],- blur: [cI],- breakpoint: [cI],- color: [lI],- container: [cI],- "drop-shadow": [cI],+ blur: [uI],+ breakpoint: [uI],+ color: [dI],+ container: [uI],+ "drop-shadow": [uI],ease: ["in","out","in-out"],- font: [vfe],+ font: [xfe],"font-weight": ["thin","extralight",@@ -35727,7 +35740,7 @@ var Vde = (e, t) => {"extrabold","black"],- "inset-shadow": [cI],+ "inset-shadow": [uI],leading: ["none","tight",@@ -35744,11 +35757,11 @@ var Vde = (e, t) => {"distant","none"],- radius: [cI],- shadow: [cI],- spacing: ["px", aI],- text: [cI],- "text-shadow": [cI],+ radius: [uI],+ shadow: [uI],+ spacing: ["px", sI],+ text: [uI],+ "text-shadow": [uI],tracking: ["tighter","tight",@@ -35762,9 +35775,9 @@ var Vde = (e, t) => {aspect: [{ aspect: ["auto","square",- iI,- dI,- gI,+ oI,+ pI,+ vI,g] }],container: ["container"],@@ -35772,15 +35785,15 @@ var Vde = (e, t) => {"","normal","size",- gI,- dI+ vI,+ pI] }],- "container-named": [yfe],+ "container-named": [Sfe],columns: [{ columns: [- aI,+ sI,"auto",- dI,- gI,+ pI,+ vI,s] }],"break-after": [{ "break-after": y() }],@@ -35877,13 +35890,13 @@ var Vde = (e, t) => {"collapse"],z: [{ z: [- oI,+ cI,"auto",- gI,- dI+ vI,+ pI] }],basis: [{ basis: [- iI,+ oI,"full","auto",s,@@ -35901,32 +35914,32 @@ var Vde = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- aI,- iI,+ sI,+ oI,"auto","initial","none",- dI+ pI] }],grow: [{ grow: ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],shrink: [{ shrink: ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],order: [{ order: [- oI,+ cI,"first","last","none",- gI,- dI+ vI,+ pI] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -36033,15 +36046,15 @@ var Vde = (e, t) => {"font-size": [{ text: ["base",n,- _I,- fI+ yI,+ mI] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Efe,- xfe+ kfe,+ wfe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -36053,15 +36066,15 @@ var Vde = (e, t) => {"expanded","extra-expanded","ultra-expanded",- sI,- dI+ lI,+ pI] }],"font-family": [{ font: [- wfe,- Sfe,+ bI,+ Tfe,t] }],- "font-features": [{ "font-features": [dI] }],+ "font-features": [{ "font-features": [pI] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -36070,14 +36083,14 @@ var Vde = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- gI,- dI+ vI,+ pI] }],"line-clamp": [{ "line-clamp": [- aI,+ sI,"none",- gI,- pI+ vI,+ hI] }],leading: [{ leading: ["none",@@ -36086,16 +36099,16 @@ var Vde = (e, t) => {] }],"list-image": [{ "list-image": ["none",- gI,- dI+ vI,+ pI] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- gI,- dI+ vI,+ pI] }],"text-alignment": [{ text: ["left",@@ -36115,18 +36128,18 @@ var Vde = (e, t) => {],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- aI,+ sI,"from-font","auto",- gI,- fI+ vI,+ mI] }],"text-decoration-color": [{ decoration: P() }],"underline-offset": [{ "underline-offset": [- aI,+ sI,"auto",- gI,- dI+ vI,+ pI] }],"text-transform": ["uppercase",@@ -36147,9 +36160,9 @@ var Vde = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- oI,- gI,- dI+ cI,+ vI,+ pI] }],"vertical-align": [{ align: ["baseline",@@ -36160,8 +36173,8 @@ var Vde = (e, t) => {"text-bottom","sub","super",- gI,- dI+ vI,+ pI] }],whitespace: [{ whitespace: ["normal",@@ -36189,8 +36202,8 @@ var Vde = (e, t) => {] }],content: [{ content: ["none",- gI,- dI+ vI,+ pI] }],"bg-attachment": [{ bg: ["fixed",@@ -36225,24 +36238,24 @@ var Vde = (e, t) => {"l","tl"] },- oI,- gI,- dI+ cI,+ vI,+ pI],radial: ["",- gI,- dI+ vI,+ pI],conic: ["",- oI,- gI,- dI+ cI,+ vI,+ pI]},- Tfe,- Cfe+ Ofe,+ Efe] }],"bg-color": [{ bg: P() }],"gradient-from-pos": [{ from: I() }],@@ -36309,15 +36322,15 @@ var Vde = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"outline-w": [{ outline: ["",- aI,- _I,- fI+ sI,+ yI,+ mI] }],"outline-color": [{ outline: P() }],shadow: [{ shadow: [@@ -36325,35 +36338,35 @@ var Vde = (e, t) => {"inner","none",u,- bI,- hI+ SI,+ _I] }],"shadow-color": [{ shadow: P() }],"inset-shadow": [{ "inset-shadow": ["none",d,- bI,- hI+ SI,+ _I] }],"inset-shadow-color": [{ "inset-shadow": P() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [aI, fI] }],+ "ring-offset-w": [{ "ring-offset": [sI, mI] }],"ring-offset-color": [{ "ring-offset": P() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": P() }],"text-shadow": [{ "text-shadow": ["none",f,- bI,- hI+ SI,+ _I] }],"text-shadow-color": [{ "text-shadow": P() }],opacity: [{ opacity: [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"mix-blend": [{ "mix-blend": [...se(),@@ -36375,7 +36388,7 @@ var Vde = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [aI] }],+ "mask-image-linear-pos": [{ "mask-linear": [sI] }],"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": P() }],@@ -36404,7 +36417,7 @@ var Vde = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": P() }],"mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [gI, dI] }],+ "mask-image-radial": [{ "mask-radial": [vI, pI] }],"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": P() }],@@ -36415,7 +36428,7 @@ var Vde = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [aI] }],+ "mask-image-conic-pos": [{ "mask-conic": [sI] }],"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": P() }],@@ -36439,111 +36452,111 @@ var Vde = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- gI,- dI+ vI,+ pI] }],filter: [{ filter: ["","none",- gI,- dI+ vI,+ pI] }],blur: [{ blur: le() }],brightness: [{ brightness: [- aI,- gI,- dI+ sI,+ vI,+ pI] }],contrast: [{ contrast: [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- bI,- hI+ SI,+ _I] }],"drop-shadow-color": [{ "drop-shadow": P() }],grayscale: [{ grayscale: ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],"hue-rotate": [{ "hue-rotate": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],invert: [{ invert: ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],saturate: [{ saturate: [- aI,- gI,- dI+ sI,+ vI,+ pI] }],sepia: [{ sepia: ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- gI,- dI+ vI,+ pI] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-contrast": [{ "backdrop-contrast": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-invert": [{ "backdrop-invert": ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-opacity": [{ "backdrop-opacity": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-saturate": [{ "backdrop-saturate": [- aI,- gI,- dI+ sI,+ vI,+ pI] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- aI,- gI,- dI+ sI,+ vI,+ pI] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -36559,39 +36572,39 @@ var Vde = (e, t) => {"shadow","transform","none",- gI,- dI+ vI,+ pI] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- aI,+ sI,"initial",- gI,- dI+ vI,+ pI] }],ease: [{ ease: ["linear","initial",_,- gI,- dI+ vI,+ pI] }],delay: [{ delay: [- aI,- gI,- dI+ sI,+ vI,+ pI] }],animate: [{ animate: ["none",v,- gI,- dI+ vI,+ pI] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- gI,- dI+ vI,+ pI] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -36607,8 +36620,8 @@ var Vde = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- gI,- dI,+ vI,+ pI,"","none","gpu",@@ -36622,9 +36635,9 @@ var Vde = (e, t) => {"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- oI,- gI,- dI+ cI,+ vI,+ pI] }],accent: [{ accent: P() }],appearance: [{ appearance: ["none", "auto"] }],@@ -36674,8 +36687,8 @@ var Vde = (e, t) => {"nwse-resize","zoom-in","zoom-out",- gI,- dI+ vI,+ pI] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -36761,15 +36774,15 @@ var Vde = (e, t) => {"scroll","contents","transform",- gI,- dI+ vI,+ pI] }],fill: [{ fill: ["none", ...P()] }],"stroke-w": [{ stroke: [- aI,- _I,- fI,- pI+ sI,+ yI,+ mI,+ hI] }],stroke: [{ stroke: ["none", ...P()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -37027,16 +37040,16 @@ var Vde = (e, t) => {"selection"]};-}, Ofe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (jI(e, "cacheSize", t), jI(e, "prefix", n), jI(e, "experimentalParseClassName", r), MI(e.theme, a.theme), MI(e.classGroups, a.classGroups), MI(e.conflictingClassGroups, a.conflictingClassGroups), MI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), jI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), jI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), NI(e.theme, i.theme), NI(e.classGroups, i.classGroups), NI(e.conflictingClassGroups, i.conflictingClassGroups), NI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), PI(e, i, "postfixLookupClassGroups"), PI(e, i, "orderSensitiveModifiers"), e), jI = (e, t, n) => {+}, jfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (NI(e, "cacheSize", t), NI(e, "prefix", n), NI(e, "experimentalParseClassName", r), PI(e.theme, a.theme), PI(e.classGroups, a.classGroups), PI(e.conflictingClassGroups, a.conflictingClassGroups), PI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), NI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), NI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), FI(e.theme, i.theme), FI(e.classGroups, i.classGroups), FI(e.conflictingClassGroups, i.conflictingClassGroups), FI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), II(e, i, "postfixLookupClassGroups"), II(e, i, "orderSensitiveModifiers"), e), NI = (e, t, n) => {n !== void 0 && (e[t] = n);-}, MI = (e, t) => {- if (t) for (let n in t) jI(e, n, t[n]);-}, NI = (e, t) => {- if (t) for (let n in t) PI(e, t, n);-}, PI = (e, t, n) => {+}, PI = (e, t) => {+ if (t) for (let n in t) NI(e, n, t[n]);+}, FI = (e, t) => {+ if (t) for (let n in t) II(e, t, n);+}, II = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, kfe = (e, ...t) => typeof e == "function" ? eI(AI, e, ...t) : eI(() => Ofe(AI(), e), ...t), Afe = [+}, Mfe = (e, ...t) => typeof e == "function" ? nI(MI, e, ...t) : nI(() => jfe(MI(), e), ...t), Nfe = ["large-title","display-1","display-2",@@ -37050,17 +37063,17 @@ var Vde = (e, t) => {"body-2","caption-1","caption-2"-], jfe = [+], Pfe = ["regular","medium","semibold","bold"-], q = kfe({ extend: { classGroups: { "font-size": [{ text: Afe.flatMap((e) => jfe.map((t) => `${e}-${t}`)) }] } } });-function FI(e) {+], q = Mfe({ extend: { classGroups: { "font-size": [{ text: Nfe.flatMap((e) => Pfe.map((t) => `${e}-${t}`)) }] } } });+function LI(e) {return e;}// src/react/components/pill-tab.tsx-var Mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, II = FI({+var Ffe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, RI = LI({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -37082,9 +37095,9 @@ var Mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, II = FI({gray: "text-text-primary"}});-function LI({ children: e, className: t, ref: n, container: r, ...i }) {+function zI({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);- Mfe(() => {+ Ffe(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -37120,7 +37133,7 @@ function LI({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: q("pointer-events-none absolute left-0 top-0", II.radius[o.variant], II.thumb[o.variant]),+ className: q("pointer-events-none absolute left-0 top-0", RI.radius[o.variant], RI.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -37137,37 +37150,37 @@ function LI({ children: e, className: t, ref: n, container: r, ...i }) {}) : r ? (0, Rt.createPortal)(l, r) : null;}// src/react/manage-header/manage-header-island.tsx-var RI = null, zI = null, BI = /* @__PURE__ */ new Set();-function Nfe(e) {- return BI.add(e), () => {- BI.delete(e);+var BI = null, VI = null, HI = /* @__PURE__ */ new Set();+function Ife(e) {+ return HI.add(e), () => {+ HI.delete(e);};}-function Pfe() {- for (let e of [...BI]) e();+function Lfe() {+ for (let e of [...HI]) e();}-var Ffe = { render(e) {- zI = e, (0, Rt.flushSync)(Pfe);+var Rfe = { render(e) {+ VI = e, (0, Rt.flushSync)(Lfe);} };-function Ife(e) {- return RI = e, zI = null, Ffe;+function zfe(e) {+ return BI = e, VI = null, Rfe;}-function Lfe() {- let e = (0, F.useSyncExternalStore)(Nfe, () => zI);- return RI && e ? /* @__PURE__ */ (0, I.jsx)(Rfe, {- host: RI,+function Bfe() {+ let e = (0, F.useSyncExternalStore)(Ife, () => VI);+ return BI && e ? /* @__PURE__ */ (0, I.jsx)(Vfe, {+ host: BI,props: e}) : null;}-function Rfe({ host: e, props: t }) {- let n = zF(t);+function Vfe({ host: e, props: t }) {+ let n = VF(t);return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(zfe, {+ /* @__PURE__ */ (0, I.jsx)(Hfe, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, I.jsx)(Bfe, {+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(Ufe, {host: e,label: n.crumb}) : null,@@ -37176,13 +37189,13 @@ function Rfe({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Vfe, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Wfe, {host: e,lede: n.lede})] }) : null;}-function zfe({ host: e, pressed: t, menu: n }) {+function Hfe({ host: e, pressed: t, menu: n }) {let r = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -37192,7 +37205,7 @@ function zfe({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, I.jsx)(LI, {+ children: /* @__PURE__ */ (0, I.jsx)(zI, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -37206,13 +37219,13 @@ function zfe({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, I.jsx)(UF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, I.jsx)(GF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]}, n);})})});}-function Bfe({ host: e, label: t }) {+function Ufe({ host: e, label: t }) {return /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -37222,20 +37235,20 @@ function Bfe({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {+ }), /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, I.jsx)("span", { children: t })})] })});}-function Vfe({ host: e, lede: t }) {+function Wfe({ host: e, lede: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: HF }- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Hfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {+ dangerouslySetInnerHTML: { __html: WF }+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Gfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -37245,7 +37258,7 @@ function Vfe({ host: e, lede: t }) {}) : null] })});}-function Hfe({ text: e }) {+function Gfe({ text: e }) {let t = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {Js(t.current, e);@@ -37255,29 +37268,29 @@ function Hfe({ text: e }) {});}// src/core/text-lang.ts-var Ufe = /[-ヿㇰ-ㇿヲ-゚]/, Wfe = /[㐀-鿿豈-]/, Gfe = /[A-Za-z]/;-function VI(e) {+var Kfe = /[-ヿㇰ-ㇿヲ-゚]/, qfe = /[㐀-鿿豈-]/, Jfe = /[A-Za-z]/;+function UI(e) {let t = String(e ?? "");- if (Ufe.test(t)) return "ja";- if (!Wfe.test(t) && Gfe.test(t)) return "en";+ if (Kfe.test(t)) return "ja";+ if (!qfe.test(t) && Jfe.test(t)) return "en";}-var Kfe = (e) => {- let t = VI(e);+var Yfe = (e) => {+ let t = UI(e);return t ? ` lang="${t}"` : "";-}, qfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Jfe = (e, t = e?.name) => {+}, Xfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Zfe = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(qfe, "") : n;-}, Yfe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Xfe = (e) => {+ return e?.is_jav ? n.replace(Xfe, "") : n;+}, Qfe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), $fe = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(Yfe) || t[0] || "";+ return t.find(Qfe) || t[0] || "";};-function HI(e, t = e?.name) {- let n = Jfe(e, t), r = String(e?.code || "").trim().toUpperCase();+function WI(e, t = e?.name) {+ let n = Zfe(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 = Xfe(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 = $fe(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) => ["中字","无码","无码破解"@@ -37288,23 +37301,23 @@ function HI(e, t = e?.name) {badges: f};}-var UI = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = HI(e, t);+var GI = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = WI(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function WI(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = HI(e, t);+function KI(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = WI(e, t);if (!n) return z(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");- return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Kfe(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Yfe(r)}>${z(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var GI = "/api/tasks", KI = ["tasks"];-function Zfe(e, t) {+var qI = "/api/tasks", JI = ["tasks"];+function epe(e, t) {let n = 0, r = 0, i = 0, a = 0;for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);return {@@ -37315,7 +37328,7 @@ function Zfe(e, t) {settled: n - r};}-function Qfe(e) {+function tpe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {let e = t.get(n.task_key);@@ -37326,11 +37339,11 @@ function Qfe(e) {}return [...t.values()];}-var $fe = (e, t) => B(`${GI}?${new URLSearchParams({+var npe = (e, t) => B(`${qI}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function epe(...e) {+function rpe(...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) => {@@ -37338,26 +37351,26 @@ function epe(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var tpe = 2e3, npe = 1e4, qI = (e) => e?.running?.length ? tpe : npe, JI = (e) => B(GI, e), rpe = (e, t, n) => V(`${GI}/${e}/control`, { action: t }, "POST", n);-async function ipe(e) {+var ipe = 2e3, ape = 1e4, YI = (e) => e?.running?.length ? ipe : ape, XI = (e) => B(qI, e), ope = (e, t, n) => V(`${qI}/${e}/control`, { action: t }, "POST", n);+async function spe(e) {await H.fetchQuery({- queryKey: KI,- queryFn: () => JI(e)+ queryKey: JI,+ queryFn: () => XI(e)});}-var ape = {+var cpe = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, ope = {+}, lpe = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, spe = (e) => ope[e] || e, YI = {+}, upe = (e) => lpe[e] || e, ZI = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -37434,7 +37447,7 @@ var ape = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, cpe = [+}, dpe = ["gone_count","unclear_count","source_failed",@@ -37456,14 +37469,14 @@ var ape = {"paused_count","miss","incomplete"-], lpe = ["face_match_unavailable"], XI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || lpe.some((t) => e.result_summary?.[t] === !0) || cpe.some((t) => Number(e.result_summary?.[t]) > 0);-function upe(e) {+], fpe = ["face_match_unavailable"], QI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || fpe.some((t) => e.result_summary?.[t] === !0) || dpe.some((t) => Number(e.result_summary?.[t]) > 0);+function ppe(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 ZI = /* @__PURE__ */ new Set(["library-processing"]);-function dpe(e, t = !0) {- if (!XI(e) && e.status !== "failed" || ZI.has(e.task_key) && !t) return null;+var $I = /* @__PURE__ */ new Set(["library-processing"]);+function mpe(e, t = !0) {+ if (!QI(e) && e.status !== "failed" || $I.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -37481,19 +37494,19 @@ function dpe(e, t = !0) {label: n[1]} : null;}-function fpe(e) {+function hpe(e) {let t = e.result_summary?.asset_id, n = e.result_summary?.name;return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {href: `/assets/${t}`,label: n} : null;}-function ppe(e) {+function gpe(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) ZI.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) $I.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 mpe(e) {+function _pe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -37502,7 +37515,7 @@ function mpe(e) {}return t;}-function hpe(e, t) {+function vpe(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -37524,12 +37537,12 @@ function hpe(e, t) {}return n;}-var gpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !XI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), QI = (e) => e.status === "pending" || e.status === "running";-function _pe(e) {+var ype = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !QI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), eL = (e) => e.status === "pending" || e.status === "running";+function bpe(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, tL(e.error) || wpe(o) || (QI(e) && i > 0 ? `${eL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, rL(e.error) || Dpe(o) || (eL(e) && i > 0 ? `${nL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function $I(e) {+function tL(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -37538,19 +37551,19 @@ function $I(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function eL(e, t) {+function nL(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function vpe(e) {+function xpe(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 tL(e) {- let t = vpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function rL(e) {+ let t = xpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? xn(n[1]) : t;}-var ype = {+var Spe = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -37568,11 +37581,11 @@ var ype = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, nL = {+}, iL = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, bpe = {+}, Cpe = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -37583,8 +37596,8 @@ var ype = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, xpe = (e) => ype[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${nL[t.toLowerCase()]} 资料页` : `已保存来自 ${nL[t.toLowerCase()]} 的资料`);-function rL(e) {+}, wpe = (e) => Spe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${iL[t.toLowerCase()]} 资料页` : `已保存来自 ${iL[t.toLowerCase()]} 的资料`);+function aL(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -37594,7 +37607,7 @@ function rL(e) {minute: "2-digit"});}-var Spe = /* @__PURE__ */ new Set([+var Tpe = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -37603,20 +37616,20 @@ var Spe = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function iL(e) {- let t = Cpe(e);+function oL(e) {+ let t = Epe(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function Cpe(e) {- return Object.entries(e || {}).filter(([e, t]) => !Spe.has(e) && (e in YI || 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" ? tL(String(t)) : e === "outcome" || e === "result" ? xpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${YI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${bpe[String(t)] || "批量操作"}` : `${YI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function Epe(e) {+ return Object.entries(e || {}).filter(([e, t]) => !Tpe.has(e) && (e in ZI || 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" ? rL(String(t)) : e === "outcome" || e === "result" ? wpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${ZI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${Cpe[String(t)] || "批量操作"}` : `${ZI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var wpe = (e) => iL(e).join(" · ");+var Dpe = (e) => oL(e).join(" · ");// src/react/use-entity-names.ts-function aL() {+function sL() {return (0, F.useSyncExternalStore)(Yt, Jt, Jt);}// src/react/components/async-text.tsx-function oL({ text: e, busy: t, placeholder: n }) {+function cL({ text: e, busy: t, placeholder: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;return (0, F.useLayoutEffect)(() => {e === void 0 ? a === void 0 && pc(r.current) : i.current = e;@@ -37637,7 +37650,7 @@ function oL({ text: e, busy: t, placeholder: n }) {});}// src/react/boardui/components/base/buttons/icon-button.tsx-var sL = FI({+var lL = LI({base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",size: {medium: "size-9",@@ -37648,20 +37661,20 @@ var sL = FI({small: "size-4 shrink-0"}});-function cL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function uL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, I.jsx)("button", {ref: i,type: r,- className: q(sL.base, sL.size[t], n),+ className: q(lL.base, lL.size[t], n),...a,children: /* @__PURE__ */ (0, I.jsx)(e, {- className: sL.icon[t],+ className: lL.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function lL() {+function dL() {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -37675,7 +37688,7 @@ function lL() {});}// src/react/components/use-stuck.ts-function uL(e) {+function fL(e) {(0, F.useEffect)(() => {let t = e.current;if (!t) return;@@ -37692,7 +37705,7 @@ function uL(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function dL(e, t = !0) {+function pL(e, t = !0) {let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -37706,17 +37719,17 @@ function dL(e, t = !0) {}, [n, t]), i;}// src/react/components/filter-glass.tsx-var Tpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var Ope = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: Bs("正在处理") }});-function fL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(cL, {+function mL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(uL, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? Tpe : t,+ icon: n && r === "spinner" ? Ope : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -37726,9 +37739,9 @@ function fL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function Epe({ title: e, children: t }) {+function kpe({ title: e, children: t }) {let n = (0, F.useRef)(null);- return uL(n), /* @__PURE__ */ (0, I.jsxs)("div", {+ return fL(n), /* @__PURE__ */ (0, I.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -37741,13 +37754,13 @@ function Epe({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, I.jsx)(lL, {})+ /* @__PURE__ */ (0, I.jsx)(dL, {})]});}-function pL({ 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, F.useRef)(null), f = dL(), p = dL(u);- return uL(d), /* @__PURE__ */ (0, I.jsxs)("div", {+function hL({ 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, F.useRef)(null), f = pL(), p = pL(u);+ return fL(d), /* @__PURE__ */ (0, I.jsxs)("div", {ref: d,role: "group","aria-label": e,@@ -37772,27 +37785,27 @@ function pL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNaclassName: q("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, I.jsx)(lL, {})+ /* @__PURE__ */ (0, I.jsx)(dL, {})]});}-var Dpe = "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 mL({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var Ape = "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 gL({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: q(Dpe, r),+ className: q(Ape, r),onClick: n,children: e});}-var Ope = "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 hL({ children: e, onPress: t, busy: n = !1 }) {+var jpe = "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 _L({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glass-pill": "",- className: Ope,+ className: jpe,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -37802,13 +37815,13 @@ function hL({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var gL = (e, t) => [+var vL = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function _L(e, t, n) {+function yL(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;@@ -37832,17 +37845,17 @@ function _L(e, t, n) {h: e.offsetHeight};}-function vL(e, t, n, r, { axis: i = "x" } = {}) {+function bL(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, F.useRef)(null), o = (0, F.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 ? _L(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? yL(u, l, i) : null;if (!d || !d.w || !d.h) {Kc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && gL(f, d)) && Wc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && vL(f, d)) && Wc(s, o ? f : null, d, i);}, [e,t,@@ -37863,8 +37876,8 @@ function vL(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 ? _L(o, r, i) : null, l = a.current;- s && l && gL(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? yL(o, r, i) : null, l = a.current;+ s && l && vL(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -37895,7 +37908,7 @@ function vL(e, t, n, r, { axis: i = "x" } = {}) {};}// src/react/boardui/components/base/buttons/button.tsx-var yL = FI({+var xL = LI({base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",size: {medium: "h-9 rounded-2lg p-2 text-body-medium",@@ -37928,52 +37941,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, I.jsxs)("button", {ref: c,type: s,- className: q(yL.base, yL.size[t], yL.variant[e], n && yL.iconOnlySize[t], o),+ className: q(xL.base, xL.size[t], xL.variant[e], n && xL.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: yL.icon[t],+ className: xL.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: yL.label[t],+ className: xL.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: yL.icon[t],+ className: xL.icon[t],"aria-hidden": !0}) : null]});}-function bL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function SL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, I.jsxs)("a", {ref: s,- className: q(yL.base, yL.size[t], yL.variant[e], n && yL.iconOnlySize[t], o),+ className: q(xL.base, xL.size[t], xL.variant[e], n && xL.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: yL.icon[t],+ className: xL.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: yL.label[t],+ className: xL.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: yL.icon[t],+ className: xL.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var xL = Symbol("default");-function SL({ values: e, children: t }) {+var CL = Symbol("default");+function wL({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);return t;}-function CL(e) {+function TL(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, F.useMemo)(() => {let e, l, u;@@ -38007,11 +38020,11 @@ function CL(e) {c]);}-function wL(e, t) {+function EL(e, t) {let n = (0, F.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || xL;+ let e = t || CL;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}.`);@@ -38020,8 +38033,8 @@ function wL(e, t) {}return n;}-function TL(e, t, n) {- let { ref: r, ...i } = wL(n, e.slot) || {}, a = ZC((0, F.useMemo)(() => HC(t, r), [t, r])), o = K(i, e);+function DL(e, t, n) {+ let { ref: r, ...i } = EL(n, e.slot) || {}, a = $C((0, F.useMemo)(() => WC(t, r), [t, r])), o = K(i, e);return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {let n = typeof i.style == "function" ? i.style(t) : i.style, r = {...t.defaultStyle,@@ -38039,42 +38052,42 @@ function TL(e, t, n) {...e.style}), [o, a];}-function EL(e = !0) {+function OL(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return zS(() => {+ return HS(() => {r.current || n(!1);}, []), [i, t];}-function DL(e) {+function kL(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function kpe(e, t, n) {- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => HC(n, a), [n, a]);- zS(() => {}, [e, r]);+function Mpe(e, t, n) {+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => WC(n, a), [n, a]);+ HS(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);}-var OL = {}, kL = new Proxy({}, { get(e, t) {+var AL = {}, jL = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = OL[t];- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(kpe.bind(null, t)), OL[t] = n), n;-} }), AL = /*#__PURE__*/ (0, F.createContext)(null), jL = /*#__PURE__*/ (0, F.createContext)(null), ML = /*#__PURE__*/ (0, F.createContext)(null), NL = {+ let n = AL[t];+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(Mpe.bind(null, t)), AL[t] = n), n;+} }), ML = /*#__PURE__*/ (0, F.createContext)(null), NL = /*#__PURE__*/ (0, F.createContext)(null), PL = /*#__PURE__*/ (0, F.createContext)(null), FL = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return PL(e, null, t);+ return IL(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return PL(e, t, n);+ return IL(e, t, n);}};-function PL(e, t, n) {- return xS({+function IL(e, t, n) {+ return wS({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -38084,11 +38097,11 @@ function PL(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, Ape(e, t, n));+ }), r, Npe(e, t, n));}});}-function Ape(e, t, n) {+function Npe(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);@@ -38107,24 +38120,24 @@ function Ape(e, t, n) {}return s;}-var FL = /*#__PURE__*/ (0, F.createContext)(NL);-function IL(e) {+var LL = /*#__PURE__*/ (0, F.createContext)(FL);+function RL(e) {return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var LL = /*#__PURE__*/ (0, F.createContext)({}), RL = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, LL);- let { elementType: n = "label", ...r } = e, i = kL[n];+var zL = /*#__PURE__*/ (0, F.createContext)({}), BL = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, zL);+ let { elementType: n = "label", ...r } = e, i = jL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), jpe = /*#__PURE__*/ (0, F.createContext)(null), zL = /*#__PURE__*/ (0, F.createContext)({}), BL = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, zL);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Boe(e, t);- i = Npe(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = AD(e), { hoverProps: l, isHovered: u } = PD({+}), Ppe = /*#__PURE__*/ (0, F.createContext)(null), VL = /*#__PURE__*/ (0, F.createContext)({}), HL = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, VL);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Uoe(e, t);+ i = Ipe(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = MD(e), { hoverProps: l, isHovered: u } = ID({...e,isDisabled: e.isDisabled || r}), d = {@@ -38134,24 +38147,24 @@ var LL = /*#__PURE__*/ (0, F.createContext)({}), RL = /*#__PURE__*/ nw(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = CL({+ }, f = TL({...e,values: d,defaultClassName: "react-aria-Button"- }), p = BC(i.id), m = BC(), h = i["aria-labelledby"];+ }), p = HC(i.id), m = HC(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, F.useRef)(r);(0, F.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && jT(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && NT(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = Ww(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ F.createElement(kL.button, {+ let _ = Kw(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ F.createElement(jL.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -38165,61 +38178,61 @@ var LL = /*#__PURE__*/ (0, F.createContext)({}), RL = /*#__PURE__*/ nw(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ F.createElement(jpe.Provider, { value: { id: m } }, f.children));-}), Mpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Npe(e, t) {+ }, /*#__PURE__*/ F.createElement(Ppe.Provider, { value: { id: m } }, f.children));+}), Fpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Ipe(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Mpe.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Fpe.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}// node_modules/react-aria-components/dist/private/Heading.mjs-var VL = /*#__PURE__*/ (0, F.createContext)({}), HL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, VL);- let { children: n, level: r = 3, className: i, ...a } = e, o = kL[`h${r}`];+var UL = /*#__PURE__*/ (0, F.createContext)({}), WL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, UL);+ let { children: n, level: r = 3, className: i, ...a } = e, o = jL[`h${r}`];return /*#__PURE__*/ F.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), UL = /*#__PURE__*/ (0, F.createContext)({}), Ppe = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, UL);- let { elementType: n = "span", ...r } = e, i = kL[n];+}), GL = /*#__PURE__*/ (0, F.createContext)({}), Lpe = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, GL);+ let { elementType: n = "span", ...r } = e, i = jL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), Fpe = /*#__PURE__*/ (0, F.createContext)(null), JL = /*#__PURE__*/ (0, F.createContext)(null);-function Ipe(e, t) {- let { validationBehavior: n } = wL(GL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Fpe), a = ZC((0, F.useMemo)(() => HC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...DL(e),+}), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), JL = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.createContext)(null), Rpe = /*#__PURE__*/ (0, F.createContext)(null), XL = /*#__PURE__*/ (0, F.createContext)(null);+function zpe(e, t) {+ let { validationBehavior: n } = EL(qL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Rpe), a = $C((0, F.useMemo)(() => WC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...kL(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? lse(o, i, a) : QT(o, rE(e), a), a];+ return [i ? fse(o, i, a) : eE(o, aE(e), a), a];}-var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var Bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = TL(r, t, KL);- let [i, a] = Ipe(e, n);- return /*#__PURE__*/ F.createElement(JL.Provider, { value: {+ [e, t] = DL(r, t, JL);+ let [i, a] = zpe(e, n);+ return /*#__PURE__*/ F.createElement(XL.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ F.createElement(Rpe, {+ } }, /*#__PURE__*/ F.createElement(Vpe, {...e,ref: t}));-}), Rpe = /*#__PURE__*/ (0, F.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, F.useContext)(JL), { isFocused: p, isFocusVisible: m, focusProps: h } = AD(), g = a || o, { hoverProps: _, isHovered: v } = PD({+}), Vpe = /*#__PURE__*/ (0, F.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, F.useContext)(XL), { isFocused: p, isFocusVisible: m, focusProps: h } = MD(), g = a || o, { hoverProps: _, isHovered: v } = ID({...e,isDisabled: g- }), y = CL({+ }), y = TL({...e,defaultClassName: u,values: {@@ -38234,8 +38247,8 @@ var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = Ww(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(kL.label, {+ }), b = Kw(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(jL.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -38249,20 +38262,20 @@ var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ F.createElement(fE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(mE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, h),ref: l})), y.children);-}), YL = /*#__PURE__*/ (0, F.createContext)({}), XL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, YL);+}), ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, ZL);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 } = PD({+ let { hoverProps: l, isHovered: u } = ID({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = AD({ within: !0 }), m = CL({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = MD({ within: !0 }), m = TL({...e,values: {isHovered: u,@@ -38273,7 +38286,7 @@ var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ F.createElement(kL.div, {+ return /*#__PURE__*/ F.createElement(jL.div, {...K(c, p, l),...m,ref: t,@@ -38286,18 +38299,18 @@ var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), ZL = /*#__PURE__*/ (0, F.createContext)({}), zpe = (e) => {+}), $L = /*#__PURE__*/ (0, F.createContext)({}), Hpe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Bpe = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, ZL);- let { hoverProps: n, isHovered: r } = PD({+}, Upe = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, $L);+ let { hoverProps: n, isHovered: r } = ID({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = AD({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = MD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = CL({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = TL({...e,values: {isHovered: r,@@ -38308,8 +38321,8 @@ var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ F.createElement(kL.input, {- ...K(zpe(e), o, n),+ return /*#__PURE__*/ F.createElement(jL.input, {+ ...K(Hpe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -38318,24 +38331,24 @@ var Lpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Vpe = 0, Hpe = 100, Upe = 1;-function Wpe(e) {- let { isDisabled: t = !1, minValue: n = Vpe, maxValue: r = Hpe, numberFormatter: i, step: a = Upe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {+}), Wpe = 0, Gpe = 100, Kpe = 1;+function qpe(e) {+ let { isDisabled: t = !1, minValue: n = Wpe, maxValue: r = Gpe, numberFormatter: i, step: a = Kpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {let e = (r - n) / 10;- return e = oE(e, 0, e + a, a), Math.max(e, a);+ return e = cE(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => oE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => cE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, F.useMemo)(() => c($L(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c($L(e.defaultValue) ?? [n]), [+ ]), l = (0, F.useMemo)(() => c(tR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(tR(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = eR(e.value, e.defaultValue, e.onChange), f = eR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = nE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {+ ]), d = nR(e.value, e.defaultValue, e.onChange), f = nR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = iE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -38358,15 +38371,15 @@ function Wpe(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = oE(n, r, i, a);- let o = QL(x.current, e, n);+ n = cE(n, r, i, a);+ let o = eR(x.current, e, n);C(o);}function j(e, n) {if (t || !O(e)) return;n && (x.current = p);let r = S.current[e];- S.current = QL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = eR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let M = (0, F.useRef)(null);function ee(e = p) {@@ -38387,15 +38400,15 @@ function Wpe(e) {return Math.round((e - n) / a) * a + n;}function P(e) {- return iE(te(e * (r - n) + n), n, r);+ return oE(te(e * (r - n) + n), n, r);}function ne(e, t = 1) {let i = Math.max(t, a);- A(e, oE(p[e] + i, n, r, a));+ A(e, cE(p[e] + i, n, r, a));}function re(e, t = 1) {let i = Math.max(t, a);- A(e, oE(p[e] - i, n, r, a));+ A(e, cE(p[e] - i, n, r, a));}return {values: p,@@ -38424,31 +38437,31 @@ function Wpe(e) {isDisabled: t};}-function QL(e, t, n) {+function eR(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function $L(e) {+function tR(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function eR(e, t, n) {+function nR(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}// node_modules/react-aria-components/dist/private/Slider.mjs-var Gpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.createContext)(null), Kpe = /*#__PURE__*/ (0, F.createContext)(null), qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, Gpe);- let n = (0, F.useRef)(null), r = mse(e.formatOptions), i = Wpe({+var Jpe = /*#__PURE__*/ (0, F.createContext)(null), rR = /*#__PURE__*/ (0, F.createContext)(null), iR = /*#__PURE__*/ (0, F.createContext)(null), Ype = /*#__PURE__*/ (0, F.createContext)(null), Xpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, Jpe);+ let n = (0, F.useRef)(null), r = _se(e.formatOptions), i = qpe({...e,numberFormatter: r- }), [a, o] = EL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = hse({+ }), [a, o] = OL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = vse({...e,label: o- }, i, n), d = CL({+ }, i, n), d = TL({...e,values: {orientation: i.orientation,@@ -38456,32 +38469,32 @@ var Gpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.crestate: i},defaultClassName: "react-aria-Slider"- }), f = Ww(e, { global: !0 });- return delete f.id, /*#__PURE__*/ F.createElement(SL, { values: [- [tR, i],- [nR, {+ }), f = Kw(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ F.createElement(wL, { values: [+ [rR, i],+ [iR, {...c,ref: n}],- [Kpe, u],- [LL, {+ [Ype, u],+ [zL, {...l,ref: a}]- ] }, /*#__PURE__*/ F.createElement(kL.div, {+ ] }, /*#__PURE__*/ F.createElement(jL.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, nR);- let n = (0, F.useContext)(tR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = PD({+}), Zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, iR);+ let n = (0, F.useContext)(rR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = ID({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = CL({+ }), l = TL({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -38491,7 +38504,7 @@ var Gpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.crestate: n}});- return /*#__PURE__*/ F.createElement(kL.div, {+ return /*#__PURE__*/ F.createElement(jL.div, {...K(o, s),...l,ref: t,@@ -38499,14 +38512,14 @@ var Gpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, F.useContext)(tR), { ref: i } = wL(nR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = EL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = gse({+}), Qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, F.useContext)(rR), { ref: i } = EL(iR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = OL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = yse({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = AD(), { hoverProps: v, isHovered: y } = PD(e), b = CL({+ }, r), { focusProps: g, isFocusVisible: _ } = MD(), { hoverProps: v, isHovered: y } = ID(e), b = TL({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -38517,8 +38530,8 @@ var Gpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.creisFocusVisible: _,isDisabled: h}- }), x = Ww(e, { global: !0 });- return delete x.id, /*#__PURE__*/ F.createElement(kL.div, {+ }), x = Kw(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ F.createElement(jL.div, {...K(x, u, v),...b,ref: t,@@ -38531,330 +38544,330 @@ var Gpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ F.createElement(fE, null, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(mE, null, /*#__PURE__*/ F.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ F.createElement(SL, { values: [[LL, {+ })), /*#__PURE__*/ F.createElement(wL, { values: [[zL, {...f,ref: c}]] }, b.children));-}), rR = {};-rR = {+}), aR = {};+aR = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",tableResizer: "أداة تغيير الحجم"};// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var iR = {};-iR = {+var oR = {};+oR = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",tableResizer: "Преоразмерител"};// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var aR = {};-aR = {+var sR = {};+sR = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",tableResizer: "Změna velikosti"};// node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var oR = {};-oR = {+var cR = {};+cR = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",tableResizer: "Størrelsesændring"};// node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var sR = {};-sR = {+var lR = {};+lR = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",tableResizer: "Größenanpassung"};// node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var cR = {};-cR = {+var uR = {};+uR = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",tableResizer: "Αλλαγή μεγέθους"};// node_modules/react-aria-components/dist/private/intl/en-US.mjs-var lR = {};-lR = {+var dR = {};+dR = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",colorSwatchPicker: "Color swatches"};// node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var uR = {};-uR = {+var fR = {};+fR = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",tableResizer: "Cambiador de tamaño"};// node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var dR = {};-dR = {+var pR = {};+pR = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",tableResizer: "Suuruse muutja"};// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var fR = {};-fR = {+var mR = {};+mR = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",tableResizer: "Koon muuttaja"};// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var pR = {};-pR = {+var hR = {};+hR = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",tableResizer: "Redimensionneur"};// node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var mR = {};-mR = {+var gR = {};+gR = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",tableResizer: "שינוי גודל"};// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var hR = {};-hR = {+var _R = {};+_R = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",tableResizer: "Promjena veličine"};// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var gR = {};-gR = {+var vR = {};+vR = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",tableResizer: "Átméretező"};// node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var _R = {};-_R = {+var yR = {};+yR = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",tableResizer: "Ridimensionamento"};// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var vR = {};-vR = {+var bR = {};+bR = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",tableResizer: "サイズ変更ツール"};// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var yR = {};-yR = {+var xR = {};+xR = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",tableResizer: "크기 조정기"};// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var bR = {};-bR = {+var SR = {};+SR = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",tableResizer: "Dydžio keitiklis"};// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var xR = {};-xR = {+var CR = {};+CR = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",tableResizer: "Izmēra mainītājs"};// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var SR = {};-SR = {+var wR = {};+wR = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var CR = {};-CR = {+var TR = {};+TR = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",tableResizer: "Resizer"};// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var wR = {};-wR = {+var ER = {};+ER = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",tableResizer: "Zmiana rozmiaru"};// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var TR = {};-TR = {+var DR = {};+DR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var ER = {};-ER = {+var OR = {};+OR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var DR = {};-DR = {+var kR = {};+kR = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",tableResizer: "Instrument de redimensionare"};// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var OR = {};-OR = {+var AR = {};+AR = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",tableResizer: "Средство изменения размера"};// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var kR = {};-kR = {+var jR = {};+jR = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",tableResizer: "Nástroj na zmenu veľkosti"};// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var AR = {};-AR = {+var MR = {};+MR = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",tableResizer: "Spreminjanje velikosti"};// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var jR = {};-jR = {+var NR = {};+NR = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",tableResizer: "Promena veličine"};// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var MR = {};-MR = {+var PR = {};+PR = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",tableResizer: "Storleksändrare"};// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var NR = {};-NR = {+var FR = {};+FR = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",tableResizer: "Yeniden boyutlandırıcı"};// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var PR = {};-PR = {+var IR = {};+IR = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",tableResizer: "Засіб змінення розміру"};// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var FR = {};-FR = {+var LR = {};+LR = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",tableResizer: "尺寸调整器"};// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var IR = {};-IR = {+var RR = {};+RR = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",tableResizer: "大小調整器"};// node_modules/react-aria-components/dist/private/intlStrings.mjs-var LR = {};-LR = {- "ar-AE": rR,- "bg-BG": iR,- "cs-CZ": aR,- "da-DK": oR,- "de-DE": sR,- "el-GR": cR,- "en-US": lR,- "es-ES": uR,- "et-EE": dR,- "fi-FI": fR,- "fr-FR": pR,- "he-IL": mR,- "hr-HR": hR,- "hu-HU": gR,- "it-IT": _R,- "ja-JP": vR,- "ko-KR": yR,- "lt-LT": bR,- "lv-LV": xR,- "nb-NO": SR,- "nl-NL": CR,- "pl-PL": wR,- "pt-BR": TR,- "pt-PT": ER,- "ro-RO": DR,- "ru-RU": OR,- "sk-SK": kR,- "sl-SI": AR,- "sr-SP": jR,- "sv-SE": MR,- "tr-TR": NR,- "uk-UA": PR,- "zh-CN": FR,- "zh-TW": IR+var zR = {};+zR = {+ "ar-AE": aR,+ "bg-BG": oR,+ "cs-CZ": sR,+ "da-DK": cR,+ "de-DE": lR,+ "el-GR": uR,+ "en-US": dR,+ "es-ES": fR,+ "et-EE": pR,+ "fi-FI": mR,+ "fr-FR": hR,+ "he-IL": gR,+ "hr-HR": _R,+ "hu-HU": vR,+ "it-IT": yR,+ "ja-JP": bR,+ "ko-KR": xR,+ "lt-LT": SR,+ "lv-LV": CR,+ "nb-NO": wR,+ "nl-NL": TR,+ "pl-PL": ER,+ "pt-BR": DR,+ "pt-PT": OR,+ "ro-RO": kR,+ "ru-RU": AR,+ "sk-SK": jR,+ "sl-SI": MR,+ "sr-SP": NR,+ "sv-SE": PR,+ "tr-TR": FR,+ "uk-UA": IR,+ "zh-CN": LR,+ "zh-TW": RR};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var RR = /*#__PURE__*/ (0, F.createContext)({}), zR = /*#__PURE__*/ (0, F.createContext)(null), Xpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { render: n } = (0, F.useContext)(zR);+var BR = /*#__PURE__*/ (0, F.createContext)({}), VR = /*#__PURE__*/ (0, F.createContext)(null), $pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { render: n } = (0, F.useContext)(VR);return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));});-function BR(e, t) {+function HR(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Xpe, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement($pe, { target: e });}, [t?.target,r,@@ -38862,7 +38875,7 @@ function BR(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function VR(e, t, n) {+function UR(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;@@ -38883,13 +38896,13 @@ function VR(e, t, n) {return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var HR = /*#__PURE__*/ (0, F.createContext)({}), Zpe = /*#__PURE__*/ (0, F.createContext)(null);-function UR(e) {+var WR = /*#__PURE__*/ (0, F.createContext)({}), eme = /*#__PURE__*/ (0, F.createContext)(null);+function GR(e) {let t = (0, F.useRef)({});- return /*#__PURE__*/ F.createElement(Zpe.Provider, { value: t }, e.children);+ return /*#__PURE__*/ F.createElement(eme.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var WR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), GR = /*#__PURE__*/ (0, F.createContext)({}), Qpe = /*#__PURE__*/ uw(class extends pS {+var KR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), qR = /*#__PURE__*/ (0, F.createContext)({}), tme = /*#__PURE__*/ fw(class extends gS {static {this.type = "separator";}@@ -38902,14 +38915,14 @@ var WR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), GR = /*#__PURE_return null;}}, function(e, t) {- [e, t] = TL(e, t, GR);+ [e, t] = DL(e, t, qR);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = kL[c], { separatorProps: u } = Cce({+ let l = jL[c], { separatorProps: u } = Ece({...s,elementType: n,orientation: r- }), d = Ww(e, { global: !0 });+ }), d = Kw(e, { global: !0 });return /*#__PURE__*/ F.createElement(l, {render: e.render,...K(d, u),@@ -38920,12 +38933,12 @@ var WR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), GR = /*#__PURE_});});// node_modules/react-aria/dist/private/utils/inertValue.mjs-function KR(e) {+function JR(e) {let t = F.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}// node_modules/react-stately/dist/private/list/ListCollection.mjs-var qR = class {+var YR = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -38969,19 +38982,19 @@ var qR = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, JR = class e extends Set {+}, XR = 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);}};// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function $pe(e, t) {+function nme(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function YR(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = nE((0, F.useMemo)(() => XR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => XR(e.defaultSelectedKeys, new JR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);+function ZR(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = iE((0, F.useMemo)(() => QR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => QR(e.defaultSelectedKeys, new XR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, F.useRef)(i);return (0, F.useEffect)(() => {@@ -39008,17 +39021,17 @@ function YR(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !$pe(e, d)) && f(e);+ (r || !nme(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function XR(e, t) {- return e ? e === "all" ? "all" : new JR(e) : t;+function QR(e, t) {+ return e ? e === "all" ? "all" : new XR(e) : t;}// node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var ZR = class e {+var $R = 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;}@@ -39074,7 +39087,7 @@ var ZR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && vD(this.collection, n, e) < 0) && (e = n);+ (!e || n && bD(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -39082,7 +39095,7 @@ var ZR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && vD(this.collection, n, e) > 0) && (e = n);+ (!e || n && bD(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -39101,10 +39114,10 @@ var ZR = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new JR([t], t, t);+ if (this.state.selectedKeys === "all") n = new XR([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new JR(e, r, t);+ n = new XR(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);}@@ -39112,7 +39125,7 @@ var ZR = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? vD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? bD(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);@@ -39138,19 +39151,19 @@ var ZR = class e {}let t = this.getKey(e);if (t == null) return;- let n = new JR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new XR(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 JR([t], t, t) : new JR();+ let n = this.canSelectItem(t) ? new XR([t], t, t) : new XR();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new JR();+ let t = new XR();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -39162,7 +39175,7 @@ var ZR = 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(hD(mD(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(_D(gD(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -39173,7 +39186,7 @@ var ZR = 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 JR());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new XR());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -39214,9 +39227,9 @@ var ZR = class e {fullCollection: this.fullCollection ?? this.collection});}-}, eme = class {+}, rme = class {build(e, t) {- return this.context = t, QR(() => this.iterateCollection(e));+ return this.context = t, ez(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -39298,10 +39311,10 @@ var ZR = class e {...a,key: l,index: s,- wrapper: tme(e.wrapper, a.wrapper)+ wrapper: ime(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 <${$R(t.type)}> in <${$R(r?.type ?? "unknown parent type")}>. Only <${$R(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 <${tz(t.type)}> in <${tz(r?.type ?? "unknown parent type")}>. Only <${tz(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -39323,7 +39336,7 @@ var ZR = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: QR(function* () {+ childNodes: ez(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -39342,7 +39355,7 @@ var ZR = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function QR(e) {+function ez(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -39350,17 +39363,17 @@ function QR(e) {for (let e of n) t.push(e), yield e;} };}-function tme(e, t) {+function ime(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function $R(e) {+function tz(e) {return e[0].toUpperCase() + e.slice(1);}// node_modules/react-stately/dist/private/collections/useCollection.mjs-function ez(e, t, n) {- let r = (0, F.useMemo)(() => new eme(), []), { children: i, items: a, collection: o } = e;+function nz(e, t, n) {+ let r = (0, F.useMemo)(() => new rme(), []), { children: i, items: a, collection: o } = e;return (0, F.useMemo)(() => o || t(r.build({children: i,items: a@@ -39374,27 +39387,27 @@ function ez(e, t, n) {]);}// node_modules/react-stately/dist/private/list/useListState.mjs-function tz(e) {- let { filter: t, layoutDelegate: n } = e, r = YR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = ez(e, (0, F.useCallback)((e) => t ? new qR(t(e)) : new qR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new ZR(a, r, { layoutDelegate: n }), [+function rz(e) {+ let { filter: t, layoutDelegate: n } = e, r = ZR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = nz(e, (0, F.useCallback)((e) => t ? new YR(t(e)) : new YR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new $R(a, r, { layoutDelegate: n }), [a,r,n]);- return nz(a, o), {+ return iz(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function nme(e, t) {+function ame(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return nz(n, r), {+ return iz(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function nz(e, t) {+function iz(e, t) {let n = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -39421,15 +39434,15 @@ function nz(e, t) {}, [e, t]);}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function rz(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Ow((e) => {+function az(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Aw((e) => {for (let t of e) t.isIntersecting && r && r();});- zS(() => {+ HS(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: PT(t?.current),+ root: IT(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -39444,42 +39457,42 @@ function rz(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var iz = /*#__PURE__*/ (0, F.createContext)(null), az = /*#__PURE__*/ (0, F.createContext)(null), rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, iz);- let n = (0, F.useContext)(az);- return n ? /*#__PURE__*/ F.createElement(oz, {+var oz = /*#__PURE__*/ (0, F.createContext)(null), sz = /*#__PURE__*/ (0, F.createContext)(null), ome = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, oz);+ let n = (0, F.useContext)(sz);+ return n ? /*#__PURE__*/ F.createElement(cz, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(ime, {+ }) : /*#__PURE__*/ F.createElement(lw, { content: /*#__PURE__*/ F.createElement(gw, e) }, (n) => /*#__PURE__*/ F.createElement(sme, {props: e,listBoxRef: t,collection: n}));});-function ime({ props: e, listBoxRef: t, collection: n }) {+function sme({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, F.useContext)(FL), i = tz({+ let { layoutDelegate: r } = (0, F.useContext)(LL), i = rz({...e,layoutDelegate: r});- return /*#__PURE__*/ F.createElement(oz, {+ return /*#__PURE__*/ F.createElement(cz, {state: i,props: e,listBoxRef: t});}-function oz({ state: e, props: t, listBoxRef: n }) {- [t, n] = TL(t, n, AL);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = nme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Iw(), { disabledBehavior: p, disabledKeys: m } = l, h = CD({+function cz({ state: e, props: t, listBoxRef: n }) {+ [t, n] = DL(t, n, ML);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = ame(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Rw(), { disabledBehavior: p, disabledKeys: m } = l, h = TD({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(FL), b = (0, F.useMemo)(() => t.keyboardDelegate || new TE({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(LL), b = (0, F.useMemo)(() => t.keyboardDelegate || new DE({collection: c,collator: h,ref: n,@@ -39500,7 +39513,7 @@ function oz({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Use({+ ]), { listBoxProps: x } = Kse({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -39532,7 +39545,7 @@ function oz({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = AD(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = MD(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -39540,7 +39553,7 @@ function oz({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = CL({+ }, ee = TL({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -39550,8 +39563,8 @@ function oz({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let te = Ww(t, { global: !0 });- return /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(kL.div, {+ let te = Kw(t, { global: !0 });+ return /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(jL.div, {...K(te, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -39562,60 +39575,60 @@ function oz({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ F.createElement(SL, { values: [- [iz, t],- [az, s],- [RR, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [oz, t],+ [sz, s],+ [BR, {dragAndDropHooks: r,dragState: S,dropState: C}],- [GR, { elementType: "div" }],- [zR, { render: sme }],- [ML, {+ [qR, { elementType: "div" }],+ [VR, { render: ume }],+ [PL, {name: "ListBoxSection",- render: ame+ render: cme}]- ] }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(y, {+ ] }, /*#__PURE__*/ F.createElement(GR, null, /*#__PURE__*/ F.createElement(y, {collection: c,scrollRef: n,- persistedKeys: VR(l, r, C),- renderDropIndicator: BR(r, C)+ persistedKeys: UR(l, r, C),+ renderDropIndicator: HR(r, C)}))), N, E));}-function ame(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, F.useContext)(az), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(RR), { CollectionBranch: s } = (0, F.useContext)(FL), [c, l] = EL(), { headingProps: u, groupProps: d } = Wse({+function cme(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, F.useContext)(sz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(BR), { CollectionBranch: s } = (0, F.useContext)(LL), [c, l] = OL(), { headingProps: u, groupProps: d } = qse({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = CL({+ }), f = TL({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = Ww(e, { global: !0 });- return delete p.id, /*#__PURE__*/ F.createElement(kL.section, {+ }), p = Kw(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ F.createElement(jL.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ F.createElement(HR.Provider, { value: {+ }, /*#__PURE__*/ F.createElement(WR.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ F.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: BR(a, o)+ renderDropIndicator: HR(a, o)})));}-var ome = /*#__PURE__*/ uw(gS, function(e, t, n) {- let r = ZC(t), i = (0, F.useContext)(az), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(RR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Gse({+var lme = /*#__PURE__*/ fw(yS, function(e, t, n) {+ let r = $C(t), i = (0, F.useContext)(sz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(BR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Jse({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = PD({+ }, i, r), { hoverProps: p, isHovered: m } = ID({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = XC(e), { focusProps: g } = KC(e), _ = null;+ }), { keyboardProps: h } = QC(e), { focusProps: g } = JC(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -39626,7 +39639,7 @@ var ome = /*#__PURE__*/ uw(gS, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = CL({+ let y = o && o.isDragging(n.key), b = TL({...e,id: void 0,children: e.children,@@ -39644,7 +39657,7 @@ var ome = /*#__PURE__*/ uw(gS, function(e, t, n) {(0, F.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? kL.a : kL.div, S = Ww(e, { global: !0 });+ let x = e.href ? jL.a : jL.div, S = Kw(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -39658,29 +39671,29 @@ var ome = /*#__PURE__*/ uw(gS, 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__*/ F.createElement(SL, { values: [[UL, { slots: {- [xL]: u,+ }, /*#__PURE__*/ F.createElement(wL, { values: [[GL, { slots: {+ [CL]: u,label: u,description: d- } }], [WR, { isSelected: f.isSelected }]] }, b.children));+ } }], [KR, { isSelected: f.isSelected }]] }, b.children));});-function sme(e, t) {- t = ZC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(RR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ F.createElement(lme, {+function ume(e, t) {+ t = $C(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(BR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ F.createElement(fme, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function cme(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = CL({+function dme(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = TL({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(kL.div, {+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(jL.div, {...n,...a,role: "option",@@ -39688,10 +39701,10 @@ function cme(e, t) {"data-drop-target": r || void 0}));}-var lme = /*#__PURE__*/ (0, F.forwardRef)(cme);-uw(hS, function(e, t, n) {- let r = (0, F.useContext)(az), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- rz((0, F.useMemo)(() => ({+var fme = /*#__PURE__*/ (0, F.forwardRef)(dme);+fw(vS, function(e, t, n) {+ let r = (0, F.useContext)(sz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ az((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -39701,7 +39714,7 @@ uw(hS, function(e, t, n) {o,r?.collection]), c);- let l = CL({+ let l = TL({...s,id: void 0,children: n.rendered,@@ -39714,7 +39727,7 @@ uw(hS, function(e, t, n) {width: 0,height: 0},- inert: KR(!0)+ inert: JR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -39723,18 +39736,18 @@ uw(hS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(kL.div, {- ...K(Ww(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(jL.div, {+ ...K(Kw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var ume = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });+var pme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function sz(e) {- let [t, n] = nE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);+function lz(e) {+ let [t, n] = iE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);return {isOpen: t,setOpen: n,@@ -39752,15 +39765,15 @@ function sz(e) {};}// node_modules/react-aria/dist/private/utils/animation.mjs-function cz(e, t = !0, n) {+function uz(e, t = !0, n) {let [r, i] = (0, F.useState)(!0), a = r && t;- return zS(() => {- if (!t && e.current) return IC(OS(e.current, "opacity", "0"), OS(e.current, "clip", "rect(0 0 0 0)"), OS(e.current, "clip-path", "inset(50%)"), OS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), zS(() => {+ return HS(() => {+ if (!t && e.current) return RC(jS(e.current, "opacity", "0"), jS(e.current, "clip", "rect(0 0 0 0)"), jS(e.current, "clip-path", "inset(50%)"), jS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), HS(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), uz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;+ }, [e, a]), fz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;}-function lz(e, t, n) {+function dz(e, t, n) {let [r, i] = (0, F.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -39770,13 +39783,13 @@ function lz(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return uz(e, a, n, (0, F.useCallback)(() => {+ return fz(e, a, n, (0, F.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function uz(e, t, n, r) {- let i = (0, F.useRef)(null), a = Ow(n);- zS(() => {+function fz(e, t, n, r) {+ let i = (0, F.useRef)(null), a = Aw(n);+ HS(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -39801,9 +39814,9 @@ function uz(e, t, n, r) {]);}// node_modules/react-aria-components/dist/private/Popover.mjs-var dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, dz);- let n = (0, F.useContext)(Tz), r = sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = lz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = rw(), { direction: c } = Iw();+var pz = /*#__PURE__*/ (0, F.createContext)(null), mz = /*#__PURE__*/ (0, F.createContext)(null), hz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, pz);+ let n = (0, F.useContext)(Dz), r = lz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = dz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = aw(), { direction: c } = Rw();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -39814,7 +39827,7 @@ var dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.creadefaultChildren: null})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(dme, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(mme, {...e,triggerRef: e.triggerRef,state: i,@@ -39823,13 +39836,13 @@ var dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.creadir: c});});-function dme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(fz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = _ce({+function mme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(mz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = bce({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = cz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = CL({+ }, e), g = i.popoverRef, _ = uz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = TL({...i,defaultClassName: "react-aria-Popover",values: {@@ -39839,10 +39852,10 @@ function dme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");- zS(() => {+ HS(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, F.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || wC() !== "pointer") && g.current && !NS(g.current) && FC(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || EC() !== "pointer") && g.current && !IS(g.current) && LC(g.current);}, [x,g,@@ -39850,12 +39863,12 @@ function dme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, F.useMemo)(() => {let e = y.children;- for (let t of [dz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);+ for (let t of [pz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- zS(E, [E]), MO({+ HS(E, [E]), PO({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -39865,9 +39878,9 @@ function dme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- zS(() => xk(() => u(!0)), []);- let O = /*#__PURE__*/ F.createElement(kL.div, {- ...K(Ww(i, { global: !0 }), d),+ HS(() => Ck(() => u(!0)), []);+ let O = /*#__PURE__*/ F.createElement(jL.div, {+ ...K(Kw(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -39882,17 +39895,17 @@ function dme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ F.createElement(mk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(ume.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(gk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(pme.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ F.createElement(mk, { onDismiss: e.close }));- return c ? /*#__PURE__*/ F.createElement(OD, {+ } }, C), /*#__PURE__*/ F.createElement(gk, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ F.createElement(AD, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ F.createElement(OD, {+ }, O) : /*#__PURE__*/ F.createElement(AD, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -39907,13 +39920,13 @@ function dme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ F.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(fz.Provider, { value: o }, O)));+ }, /*#__PURE__*/ F.createElement(mz.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var fme = /*#__PURE__*/ (0, F.createContext)({});+var hme = /*#__PURE__*/ (0, F.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function mz(e) {- let t = sz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {+function gz(e) {+ let t = lz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -39938,7 +39951,7 @@ function mz(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var pme = class {+var gme = 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) => {@@ -39981,8 +39994,8 @@ var pme = class {}};// node_modules/react-stately/dist/private/tree/useTreeState.mjs-function hz(e) {- let { onExpandedChange: t } = e, [n, r] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = YR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = ez(e, (0, F.useCallback)((e) => new pme(e, { expandedKeys: n }), [n]), null);+function _z(e) {+ let { onExpandedChange: t } = e, [n, r] = iE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = ZR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = nz(e, (0, F.useCallback)((e) => new gme(e, { expandedKeys: n }), [n]), null);return (0, F.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -39990,31 +40003,31 @@ function hz(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(mme(n, e));+ r(_me(n, e));},setExpandedKeys: r,- selectionManager: new ZR(o, i)+ selectionManager: new $R(o, i)};}-function mme(e, t) {+function _me(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}// node_modules/react-aria-components/dist/private/Menu.mjs-var gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ (0, F.createContext)(null), vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null);-function hme(e) {- let t = mz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = lD({+var vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null), bz = /*#__PURE__*/ (0, F.createContext)(null), xz = /*#__PURE__*/ (0, F.createContext)(null);+function vme(e) {+ let t = gz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = dD({...e,type: "menu"}, t, n), a = (0, F.useRef)(null);- return rw() ? null : /*#__PURE__*/ F.createElement(SL, { values: [- [gz, {+ return aw() ? null : /*#__PURE__*/ F.createElement(wL, { values: [+ [vz, {...i,ref: a}],- [Tz, t],- [vz, t],- [dz, {+ [Dz, t],+ [bz, t],+ [pz, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -40022,14 +40035,14 @@ function hme(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ F.createElement(Ose, {+ ] }, /*#__PURE__*/ F.createElement(jse, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var gme = /*#__PURE__*/ (0, F.createContext)(null);-(class extends pS {+var yme = /*#__PURE__*/ (0, F.createContext)(null);+(class extends gS {static {this.type = "submenutrigger";}@@ -40042,24 +40055,24 @@ var gme = /*#__PURE__*/ (0, F.createContext)(null);return null;}});-var _me = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = TL(e, t, gz), /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(vme, {+var bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = DL(e, t, vz), /*#__PURE__*/ F.createElement(lw, { content: /*#__PURE__*/ F.createElement(gw, e) }, (n) => /*#__PURE__*/ F.createElement(xme, {props: e,collection: n,menuRef: t}));});-function vme({ props: e, collection: t, menuRef: n }) {- [e, n] = TL(e, n, AL);- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = hz({+function xme({ props: e, collection: t, menuRef: n }) {+ [e, n] = DL(e, n, ML);+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = _z({...e,collection: a,children: void 0- }), s = (0, F.useContext)(vz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(FL), { menuProps: u } = Kse({+ }), s = (0, F.useContext)(bz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(LL), { menuProps: u } = Yse({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = CL({+ }, o, n), d = TL({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -40069,36 +40082,36 @@ function vme({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(kL.div, {+ let p = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(jL.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(SL, { values: [- [_z, o],- [GR, { elementType: "div" }],- [ML, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [yz, o],+ [qR, { elementType: "div" }],+ [PL, {name: "MenuSection",- render: bz+ render: Sz}],- [gme, {+ [yme, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [Sz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [AL, null],- [jL, null],- [yz, o.selectionManager],- [vz, s ?? mz({})]- ] }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(l, {+ [wz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [ML, null],+ [NL, null],+ [xz, o.selectionManager],+ [bz, s ?? gz({})]+ ] }, /*#__PURE__*/ F.createElement(GR, null, /*#__PURE__*/ F.createElement(l, {collection: o.collection,- persistedKeys: IL(o.selectionManager.focusedKey),+ persistedKeys: RL(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var yme = class extends ZR {+var Sme = class extends $R {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -40118,11 +40131,11 @@ var yme = class extends ZR {return this.parent.childFocusStrategy;}};-function bz(e, t, n, r = "react-aria-MenuSection") {- let i = (0, F.useContext)(_z), { CollectionBranch: a } = (0, F.useContext)(FL), [o, s] = EL(), { headingProps: c, groupProps: l } = Jse({+function Sz(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, F.useContext)(yz), { CollectionBranch: a } = (0, F.useContext)(LL), [o, s] = OL(), { headingProps: c, groupProps: l } = Zse({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = CL({+ }), u = TL({...e,id: void 0,children: void 0,@@ -40130,31 +40143,31 @@ function bz(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, F.useContext)(yz), f = YR(e), p = e.selectionMode == null ? d : new yme(d, f), m = wL(Sz)?.shouldCloseOnSelect, h = Ww(e, { global: !0 });- return delete h.id, /*#__PURE__*/ F.createElement(kL.section, {+ }), d = (0, F.useContext)(xz), f = ZR(e), p = e.selectionMode == null ? d : new Sme(d, f), m = EL(wz)?.shouldCloseOnSelect, h = Kw(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ F.createElement(jL.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ F.createElement(SL, { values: [- [HR, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [WR, {...c,ref: o}],- [yz, p],- [Sz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [xz, p],+ [wz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ F.createElement(a, {collection: i.collection,parent: n})));}-var xz = /*#__PURE__*/ dw(sae, bz), Sz = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ uw(gS, function(e, t, n) {- [e, t] = TL(e, t, Sz);- let r = wL(Sz)?.id, i = (0, F.useContext)(_z), a = ZC(t), o = (0, F.useContext)(yz), { isVirtualized: s } = (0, F.useContext)(FL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = qse({+var Cz = /*#__PURE__*/ pw(lae, Sz), wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ fw(yS, function(e, t, n) {+ [e, t] = DL(e, t, wz);+ let r = EL(wz)?.id, i = (0, F.useContext)(yz), a = $C(t), o = (0, F.useContext)(xz), { isVirtualized: s } = (0, F.useContext)(LL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Xse({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = PD({ isDisabled: f.isDisabled }), h = CL({+ }, i, a), { hoverProps: p, isHovered: m } = ID({ isDisabled: f.isDisabled }), h = TL({...e,id: void 0,children: n.rendered,@@ -40168,7 +40181,7 @@ var xz = /*#__PURE__*/ dw(sae, bz), Sz = /*#__PURE__*/ (0, F.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? kL.a : kL.div, _ = Ww(e, { global: !0 });+ }), g = e.href ? jL.a : jL.div, _ = Kw(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {...K(_, h, c, p),ref: a,@@ -40181,19 +40194,19 @@ var xz = /*#__PURE__*/ dw(sae, bz), Sz = /*#__PURE__*/ (0, F.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__*/ F.createElement(SL, { values: [- [UL, { slots: {- [xL]: l,+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [GL, { slots: {+ [CL]: l,label: l,description: u} }],- [fme, d],- [WR, { isSelected: f.isSelected }]+ [hme, d],+ [KR, { isSelected: f.isSelected }]] }, h.children));});-uw(hS, function(e, t, n) {- let r = (0, F.useContext)(_z), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- rz((0, F.useMemo)(() => ({+fw(vS, function(e, t, n) {+ let r = (0, F.useContext)(yz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ az((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -40203,7 +40216,7 @@ uw(hS, function(e, t, n) {o,r?.collection]), c);- let l = CL({+ let l = TL({...s,id: void 0,children: n.rendered,@@ -40216,7 +40229,7 @@ uw(hS, function(e, t, n) {width: 0,height: 0},- inert: KR(!0)+ inert: JR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -40225,89 +40238,89 @@ uw(hS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(kL.div, {- ...K(Ww(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(jL.div, {+ ...K(Kw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/Dialog.mjs-var wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = TL(e, t, wz);- let { dialogProps: r, titleProps: i, contentProps: a } = Ase({+ [e, t] = DL(e, t, Ez);+ let { dialogProps: r, titleProps: i, contentProps: a } = Nse({...e,"aria-labelledby": n- }, t), o = (0, F.useContext)(Tz);+ }, t), o = (0, F.useContext)(Dz);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = CL({+ let s = TL({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(kL.section, {+ }), c = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(jL.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [- [VL, { slots: {- [xL]: {},+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [UL, { slots: {+ [CL]: {},title: {...i,level: 2}} }],- [UL, { slots: {- [xL]: {},+ [GL, { slots: {+ [CL]: {},description: a} }],- [zL, { slots: {- [xL]: {},+ [VL, { slots: {+ [CL]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), Dz = typeof document < "u" && window.visualViewport;-function bme() {- let e = cC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {+}), kz = typeof document < "u" && window.visualViewport;+function Cme() {+ let e = uC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {width: 0,height: 0- } : Oz());+ } : Az());return (0, F.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- Dz && Dz.scale > 1 || e(Oz());+ kz && kz.scale > 1 || e(Az());}, i = (n) => {- Dz && Dz.scale > 1 || Tw(G(n)) && (t.current = xk((t) => {+ kz && kz.scale > 1 || Dw(G(n)) && (t.current = Ck((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(Oz()), YS() && XS() && window.addEventListener("blur", i, !0), Dz ? Dz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), YS() && XS() && window.removeEventListener("blur", i, !0), Dz ? Dz.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(Az()), QS() && $S() && window.addEventListener("blur", i, !0), kz ? kz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), QS() && $S() && window.removeEventListener("blur", i, !0), kz ? kz.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function Oz() {+function Az() {return {- width: Dz ? Math.min(Dz.width * Dz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: Dz ? Dz.height * Dz.scale : document.documentElement.clientHeight+ width: kz ? Math.min(kz.width * kz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: kz ? kz.height * kz.scale : document.documentElement.clientHeight};}// node_modules/react-aria-components/dist/private/Modal.mjs-var xme = /*#__PURE__*/ (0, F.createContext)(null), kz = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- if ((0, F.useContext)(kz)) return /*#__PURE__*/ F.createElement(jz, {+var wme = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), Tme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ if ((0, F.useContext)(jz)) return /*#__PURE__*/ F.createElement(Nz, {...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__*/ F.createElement(Az, {+ return /*#__PURE__*/ F.createElement(Mz, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -40317,15 +40330,15 @@ var xme = /*#__PURE__*/ (0, F.createContext)(null), kz = /*#__PURE__*/ (0, F.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ F.createElement(jz, {+ }, /*#__PURE__*/ F.createElement(Nz, {...f,modalRef: t}, s));});-function Cme(e, t) {- [e, t] = TL(e, t, xme);- let n = (0, F.useContext)(Tz), r = sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ZC(t), o = (0, F.useRef)(null), s = lz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = lz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = cC();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(wme, {+function Eme(e, t) {+ [e, t] = DL(e, t, wme);+ let n = (0, F.useContext)(Dz), r = lz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $C(t), o = (0, F.useRef)(null), s = dz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = dz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = uC();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Dme, {...e,state: i,isExiting: u,@@ -40334,12 +40347,12 @@ function Cme(e, t) {onExitRef: c});}-var Az = /*#__PURE__*/ (0, F.forwardRef)(Cme);-function wme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = cz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = ace({+var Mz = /*#__PURE__*/ (0, F.forwardRef)(Eme);+function Dme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = uz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = cce({...n,isEntering: c- }, i, r), d = (0, F.useContext)(wz), f = t ? Tme(d, { isEntering: c }) : d, p = CL({+ }, i, r), d = (0, F.useContext)(Ez), f = t ? Ome(d, { isEntering: c }) : d, p = TL({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -40347,9 +40360,9 @@ function wme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = bme(), h, g;+ }), m = Cme(), h, g;if (typeof document < "u") {- let e = NT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = FT(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 _ = {@@ -40359,18 +40372,18 @@ function wme({ 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 zS(() => xk(() => o(!0)), []), /*#__PURE__*/ F.createElement(OD, {+ return HS(() => Ck(() => o(!0)), []), /*#__PURE__*/ F.createElement(AD, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ F.createElement(kL.div, {- ...K(Ww(n, { global: !0 }), u),+ }, /*#__PURE__*/ F.createElement(jL.div, {+ ...K(Kw(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [- [kz, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [jz, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -40378,11 +40391,11 @@ function wme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [Tz, i],- [wz, f]+ [Dz, i],+ [Ez, f]] }, p.children)));}-function Tme(e, t) {+function Ome(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -40399,8 +40412,8 @@ function Tme(e, t) {...t};}-function jz(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(kz), s = (0, F.useContext)(Tz), c = ZC((0, F.useMemo)(() => HC(e.modalRef, n), [e.modalRef, n])), l = cz(c, o, e.onEnter), u = CL({+function Nz(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(jz), s = (0, F.useContext)(Dz), c = $C((0, F.useMemo)(() => WC(e.modalRef, n), [e.modalRef, n])), l = uz(c, o, e.onEnter), u = TL({...e,defaultClassName: "react-aria-Modal",values: {@@ -40409,20 +40422,20 @@ function jz(e) {state: s}});- return zS(() => {+ return HS(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ F.createElement(kL.div, {- ...K(Ww(e, { global: !0 }), t),+ }), /*#__PURE__*/ F.createElement(jL.div, {+ ...K(Kw(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ F.createElement(mk, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ F.createElement(gk, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var Eme = Math.round(Math.random() * 1e10), Dme = 0;-function Ome(e) {- let t = (0, F.useMemo)(() => e.name || `radio-group-${Eme}-${++Dme}`, [e.name]), [n, r] = nE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = qT({+var kme = Math.round(Math.random() * 1e10), Ame = 0;+function jme(e) {+ let t = (0, F.useMemo)(() => e.name || `radio-group-${kme}-${++Ame}`, [e.name]), [n, r] = iE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = YT({...e,value: n}), c = (t) => {@@ -40444,16 +40457,16 @@ function Ome(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var kme = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, kme);- let { validationBehavior: n } = wL(GL) || {}, r = e.validationBehavior ?? n ?? "native", i = Ome({+var Mme = /*#__PURE__*/ (0, F.createContext)(null), Nme = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ (0, F.createContext)(null), Fz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, Mme);+ let { validationBehavior: n } = EL(qL) || {}, r = e.validationBehavior ?? n ?? "native", i = jme({...e,validationBehavior: r- }), [a, o] = EL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = yce({+ }), [a, o] = OL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Sce({...e,label: o,validationBehavior: r- }, i), f = CL({+ }, i), f = TL({...e,values: {orientation: e.orientation || "vertical",@@ -40464,8 +40477,8 @@ var kme = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(kL.div, {+ }), p = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(jL.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -40474,39 +40487,39 @@ var kme = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [- [Mz, i],- [LL, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [Pz, i],+ [zL, {...c,ref: a,elementType: "span"}],- [UL, { slots: {+ [GL, { slots: {description: l,errorMessage: u} }],- [WL, d]- ] }, /*#__PURE__*/ F.createElement(UR, null, f.children)));-}), Pz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [KL, d]+ ] }, /*#__PURE__*/ F.createElement(GR, null, f.children)));+}), Iz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = TL(r, t, Ame);- let i = F.useContext(Mz), a = ZC((0, F.useMemo)(() => HC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = vce({- ...DL(e),+ [e, t] = DL(r, t, Nme);+ let i = F.useContext(Pz), a = $C((0, F.useMemo)(() => WC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = xce({+ ...kL(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ F.createElement(Fz.Provider, { value: {+ return /*#__PURE__*/ F.createElement(Lz.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ F.createElement(jme, {+ } }, /*#__PURE__*/ F.createElement(Pme, {...e,ref: t}));-}), Fz = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Fz), l = F.useContext(Mz), { isFocused: u, isFocusVisible: d, focusProps: f } = AD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = PD({+}), Lz = /*#__PURE__*/ (0, F.createContext)(null), Pme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Lz), l = F.useContext(Pz), { isFocused: u, isFocusVisible: d, focusProps: f } = MD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ID({...e,isDisabled: p- }), g = CL({+ }), g = TL({...e,defaultClassName: s,values: {@@ -40520,8 +40533,8 @@ var kme = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = Ww(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(kL.label, {+ }), _ = Kw(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(jL.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -40533,18 +40546,18 @@ var kme = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ F.createElement(fE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(mE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, f),ref: c})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function Mme(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = sz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Fme(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = lz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = nE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = iE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -40556,12 +40569,12 @@ function Mme(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = tz({+ }, d = rz({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, F.useMemo)(() => Nme(l), [l]),+ selectedKeys: (0, F.useMemo)(() => Ime(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -40571,7 +40584,7 @@ function Mme(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = qT({+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = YT({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);@@ -40598,15 +40611,15 @@ function Mme(e) {setFocused: g};}-function Nme(e) {+function Ime(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function Pme(e) {+function Lme(e) {return e && e.__esModule ? e.default : e;}-var Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ (0, F.createContext)(null), Fme = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, Iz);+var Rz = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, Rz);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -40621,24 +40634,24 @@ var Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ (0, F.creai,a]);- return /*#__PURE__*/ F.createElement(sw, { content: o }, (n) => /*#__PURE__*/ F.createElement(Lme, {+ return /*#__PURE__*/ F.createElement(lw, { content: o }, (n) => /*#__PURE__*/ F.createElement(Bme, {props: e,collection: n,selectRef: t}));-}), Ime = [- LL,+}), zme = [zL,- UL+ VL,+ GL];-function Lme({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = wL(GL) || {}, i = e.validationBehavior ?? r ?? "native", a = Mme({+function Bme({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = EL(qL) || {}, i = e.validationBehavior ?? r ?? "native", a = Fme({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = AD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = EL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = bce({- ...DL(e),+ }), { isFocusVisible: o, focusProps: s } = MD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = OL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Cce({+ ...kL(e),label: u,validationBehavior: i}, a, c), y = (0, F.useMemo)(() => ({@@ -40655,48 +40668,48 @@ function Lme({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = CL({+ ]), b = TL({...e,values: y,defaultClassName: "react-aria-Select"- }), x = Ww(e, { global: !0 });+ }), x = Kw(e, { global: !0 });delete x.id;let S = (0, F.useRef)(null);- return /*#__PURE__*/ F.createElement(SL, { values: [- [Iz, e],- [Lz, a],- [Rz, p],- [LL, {+ return /*#__PURE__*/ F.createElement(wL, { values: [+ [Rz, e],+ [zz, a],+ [Bz, p],+ [zL, {...d,ref: l,elementType: "span"}],- [zL, {+ [VL, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [Tz, a],- [dz, {+ [Dz, a],+ [pz, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Ime+ clearContexts: zme}],- [iz, {+ [oz, {...m,ref: S}],- [az, a],- [UL, { slots: {+ [sz, a],+ [GL, { slots: {description: h,errorMessage: g} }],- [WL, v]- ] }, /*#__PURE__*/ F.createElement(kL.div, {+ [KL, v]+ ] }, /*#__PURE__*/ F.createElement(jL.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -40706,14 +40719,14 @@ function Lme({ 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__*/ F.createElement(Sce, {+ }, b.children, /*#__PURE__*/ F.createElement(Tce, {..._,autoComplete: e.autoComplete})));}-for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, Rz);- let n = (0, F.useContext)(Lz), { placeholder: r } = wL(Iz), i = n.selectedItems.map((e) => {+for (var Bz = /*#__PURE__*/ (0, F.createContext)(null), Vme = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, Bz);+ let n = (0, F.useContext)(zz), { placeholder: r } = EL(Rz), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -40725,7 +40738,7 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = jse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Pse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -40740,7 +40753,7 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(fa,o,i- ]), u = Hw(Pme(LR), "react-aria-components"), d = CL({+ ]), u = Ww(Lme(zR), "react-aria-components"), d = TL({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -40751,33 +40764,33 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(kL.span, {+ }), f = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(jL.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ F.createElement(UL.Provider, { value: void 0 }, d.children));-}), zme = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.createContext)(null), Bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ F.createElement(GL.Provider, { value: void 0 }, d.children));+}), Hme = /*#__PURE__*/ (0, F.createContext)(null), Vz = /*#__PURE__*/ (0, F.createContext)(null), Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = TL(r, t, zme);- let i = ZC((0, F.useMemo)(() => HC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = rE(e), o = wce({- ...DL(e),+ [e, t] = DL(r, t, Hme);+ let i = $C((0, F.useMemo)(() => WC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = aE(e), o = Dce({+ ...kL(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ F.createElement(SL, { values: [[zz, a], [Bz, {+ return /*#__PURE__*/ F.createElement(wL, { values: [[Vz, a], [Hz, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ F.createElement(Vme, {+ }]] }, /*#__PURE__*/ F.createElement(Wme, {...e,ref: t}));-}), Bz = /*#__PURE__*/ (0, F.createContext)(null), Vme = /*#__PURE__*/ (0, F.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, F.useContext)(Bz), { isFocused: f, isFocusVisible: p, focusProps: m } = AD(), h = a || o, g = (0, F.useContext)(zz), { hoverProps: _, isHovered: v } = PD({+}), Hz = /*#__PURE__*/ (0, F.createContext)(null), Wme = /*#__PURE__*/ (0, F.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, F.useContext)(Hz), { isFocused: f, isFocusVisible: p, focusProps: m } = MD(), h = a || o, g = (0, F.useContext)(Vz), { hoverProps: _, isHovered: v } = ID({...e,isDisabled: h- }), y = CL({+ }), y = TL({...e,defaultClassName: u,values: {@@ -40792,8 +40805,8 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(fisRequired: d || !1,state: g}- }), b = Ww(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(kL.label, {+ }), b = Kw(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(jL.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -40806,11 +40819,11 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ F.createElement(fE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(mE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, m),ref: l})), y.children);-}), Vz = 10, Hz = 5, Uz = class {+}), Uz = 10, Wz = 5, Gz = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -40820,7 +40833,7 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(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) > Hz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Vz && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > Wz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Uz && (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);@@ -40899,11 +40912,11 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > Hz && i) {+ if (Math.abs(r - c.lastSwitchY) > Wz && 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 > Vz && a) {+ if (l > Uz && 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;}@@ -40918,7 +40931,7 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(fboundaryContext: null};}-}, Hme = class {+}, Gme = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -40988,8 +41001,8 @@ for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ nw(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Wz = "row-header-column-" + Math.random().toString(36).slice(2), Gz = "row-header-column-" + Math.random().toString(36).slice(2); Wz === Gz;) Gz = "row-header-column-" + Math.random().toString(36).slice(2);-function Kz(e, t) {+}, Kz = "row-header-column-" + Math.random().toString(36).slice(2), qz = "row-header-column-" + Math.random().toString(36).slice(2); Kz === qz;) qz = "row-header-column-" + Math.random().toString(36).slice(2);+function Jz(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -41073,13 +41086,13 @@ function Kz(e, t) {textValue: ""}));}-var Ume = class extends Hme {+var Kme = class extends Gme {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: Wz,+ key: Kz,value: null,textValue: "",level: 0,@@ -41094,7 +41107,7 @@ var Ume = class extends Hme {if (n?.showDragButtons) {let e = {type: "column",- key: Gz,+ key: qz,value: null,textValue: "",level: 0,@@ -41121,7 +41134,7 @@ var Ume = class extends Hme {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = Kz(s, a);+ let l = Jz(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -41147,10 +41160,10 @@ var Ume = class extends Hme {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return hD(this.body.childNodes)?.key ?? null;+ return _D(this.body.childNodes)?.key ?? null;}getLastKey() {- return _D(this.body.childNodes)?.key ?? null;+ return yD(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -41181,15 +41194,15 @@ var Ume = class extends Hme {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function Wme(e) {+function qme(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Gme(e) {+function Jme(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function qz(e, t) {+function Yz(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");@@ -41197,19 +41210,19 @@ function qz(e, t) {}return e;}-function Jz(e, t) {- return e == null ? 2 ** 53 - 1 : qz(e, t);+function Xz(e, t) {+ return e == null ? 2 ** 53 - 1 : Yz(e, t);}-function Yz(e, t) {- return e == null ? 0 : qz(e, t);+function Zz(e, t) {+ return e == null ? 0 : Yz(e, t);}-function Kme(e, t, n, r, i) {+function Yme(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;- Wme(o) ? (l = qz(o, e), s = !0) : (u = Gme(o), u <= 0 && (s = !0));- let f = Yz(t.minWidth ?? i?.(a) ?? 0, e), p = Jz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ qme(o) ? (l = Yz(o, e), s = !0) : (u = Jme(o), u <= 0 && (s = !0));+ let f = Zz(t.minWidth ?? i?.(a) ?? 0, e), p = Xz(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,@@ -41243,14 +41256,14 @@ function Kme(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = qme(l);+ let u = Xme(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 qme(e) {+function Xme(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -41258,7 +41271,7 @@ function qme(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Jme = class {+var Zme = 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);}@@ -41287,18 +41300,18 @@ var Jme = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Kme(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Yme(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, Yz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Jz(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, Zz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Xz(a.props.maxWidth, e));}), this.columnWidths;}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Yme(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Jme({+function Qme(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Zme({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);@@ -41349,19 +41362,19 @@ function Yme(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function Xme(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || YR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function $me(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || ZR(e), i = (0, F.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 = mD(n, t);- e = r === "last" ? _D(i)?.key ?? null : hD(i)?.key ?? null;+ let i = gD(n, t);+ e = r === "last" ? yD(i)?.key ?? null : _D(i)?.key ?? null;}}a(e, r);};- let o = (0, F.useMemo)(() => new ZR(t, r), [t, r]), s = (0, F.useRef)(null);+ let o = (0, F.useMemo)(() => new $R(t, r), [t, r]), s = (0, F.useRef)(null);return (0, F.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;@@ -41381,7 +41394,7 @@ function Xme(e) {}}if (u) {- let i = u.hasChildNodes ? [...mD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...gD(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);}@@ -41399,11 +41412,11 @@ function Xme(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var Zme = {+var ehe = {ascending: "descending",descending: "ascending"};-function Qme(e) {+function the(e) {let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -41414,11 +41427,11 @@ function Qme(e) {i,r,a- ]), c = ez(e, (0, F.useCallback)((e) => new Ume(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Xme({+ ]), c = nz(e, (0, F.useCallback)((e) => new Kme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = $me({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = iE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -41430,7 +41443,7 @@ function Qme(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Zme[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? ehe[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -41443,7 +41456,7 @@ function Qme(e) {treeColumn: o};}-function $me(e, t) {+function nhe(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -41452,10 +41465,10 @@ function $me(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function ehe(e) {+function rhe(e) {return e && e.__esModule ? e.default : e;}-var the = class extends _S {+var ihe = class extends bS {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -41470,7 +41483,7 @@ var the = class extends _S {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new iB(-2);+ return new oB(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -41496,7 +41509,7 @@ var the = class extends _S {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = Kz(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 = Jz(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;@@ -41577,28 +41590,28 @@ var the = class extends _S {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new eB(-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 nB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, Xz = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = ZC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);- zS(() => {+}, Qz = /*#__PURE__*/ (0, F.createContext)(null), ahe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = $C(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);+ HS(() => {let e = r.current;- for (; e && e !== n.current && !NT(e);) e = e.parentElement;+ for (; e && e !== n.current && !FT(e);) e = e.parentElement;i.current = e;- }, [n]), MO({+ }, [n]), PO({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), zS(() => {+ }), HS(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, F.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Yme,+ useTableColumnResizeState: Qme,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -41609,17 +41622,17 @@ var the = class extends _S {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ F.createElement(kL.div, {+ return /*#__PURE__*/ F.createElement(jL.div, {render: e.render,- ...Ww(e, { global: !0 }),+ ...Kw(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(Xz.Provider, { value: s }, e.children));-}), rhe = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, rhe);- let n = YR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({+ }, /*#__PURE__*/ F.createElement(Qz.Provider, { value: s }, e.children));+}), ohe = /*#__PURE__*/ (0, F.createContext)(null), $z = /*#__PURE__*/ (0, F.createContext)(null), eB = /*#__PURE__*/ (0, F.createContext)(null), she = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, ohe);+ let n = ZR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -41629,26 +41642,26 @@ var the = class extends _S {i,a,o- ]), c = /*#__PURE__*/ F.createElement(she.Provider, { value: s }, /*#__PURE__*/ F.createElement(mw, e));- return /*#__PURE__*/ F.createElement(sw, {+ ]), c = /*#__PURE__*/ F.createElement(uhe.Provider, { value: s }, /*#__PURE__*/ F.createElement(gw, e));+ return /*#__PURE__*/ F.createElement(lw, {content: c,- createCollection: () => new the()- }, (r) => /*#__PURE__*/ F.createElement(ohe, {+ createCollection: () => new ihe()+ }, (r) => /*#__PURE__*/ F.createElement(lhe, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), ahe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}), che = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.table, {+ }) : /*#__PURE__*/ F.createElement(jL.table, {...e,ref: t});-}), $z = {+}), tB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41658,26 +41671,26 @@ var the = class extends _S {rtl: "ArrowRight"}};-function ohe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = TL(e, t, AL);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Xz);- t = ZC((0, F.useMemo)(() => HC(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function lhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = DL(e, t, ML);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Qz);+ t = $C((0, F.useMemo)(() => WC(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = iE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Qme({+ let d = the({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = $me(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(FL), { dragAndDropHooks: _ } = e, { gridProps: v } = kce({+ }), f = nhe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(LL), { dragAndDropHooks: _ } = e, { gridProps: v } = Mce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Iw(), [k] = (0, F.useState)(() => new Uz());+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Rw(), [k] = (0, F.useState)(() => new Gz());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -41692,7 +41705,7 @@ function ohe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new TE({+ let e = new DE({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -41712,12 +41725,12 @@ function ohe({ 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 === $z.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $z.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === tB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === tB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = AD(), ee = CL({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = MD(), ee = TL({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -41733,19 +41746,19 @@ function ohe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let ne = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(SL, { values: [- [Zz, f],- [Qz, P],- [RR, {+ let ne = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(wL, { values: [+ [$z, f],+ [eB, P],+ [BR, {dragAndDropHooks: _,dragState: S,dropState: C}],- [zR, { render: _he }],- [AL, null],- [jL, null]- ] }, /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(ahe, {+ [VR, { render: bhe }],+ [ML, null],+ [NL, null]+ ] }, /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(che, {...K(ne, ee, v, A, w?.collectionProps),style: te,ref: t,@@ -41755,55 +41768,55 @@ function ohe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": j || void 0,"data-focus-visible": M || void 0- }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(g, {+ }, /*#__PURE__*/ F.createElement(GR, null, /*#__PURE__*/ F.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: VR(y, _, C)+ persistedKeys: UR(y, _, C)})))), E);}-var she = /*#__PURE__*/ (0, F.createContext)(null), eB = class extends pS {+var uhe = /*#__PURE__*/ (0, F.createContext)(null), nB = class extends gS {static {this.type = "tableheader";}-}, che = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}, dhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.thead, {+ }) : /*#__PURE__*/ F.createElement(jL.thead, {...e,ref: t});-}), tB = /*#__PURE__*/ dw(eB, (e, t) => {- let n = (0, F.useContext)(Zz).collection, r = xS({+}), rB = /*#__PURE__*/ pw(nB, (e, t) => {+ let n = (0, F.useContext)($z).collection, r = wS({items: n.headerRows,children: (0, F.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ F.createElement(uhe, { item: e });+ case "headerrow": return /*#__PURE__*/ F.createElement(phe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = LA(), { hoverProps: a, isHovered: o } = PD({+ }), { rowGroupProps: i } = zA(), { hoverProps: a, isHovered: o } = ID({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = CL({+ }), s = TL({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ F.createElement(che, {- ...K(Ww(e, { global: !0 }), i, a),+ return /*#__PURE__*/ F.createElement(dhe, {+ ...K(Kw(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ F.createElement(mw, {+}, (e) => /*#__PURE__*/ F.createElement(gw, {dependencies: e.dependencies,items: e.columns-}, e.children)), lhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);+}, e.children)), fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);return n ? /*#__PURE__*/ F.createElement("div", {...e,ref: t@@ -41812,41 +41825,41 @@ var she = /*#__PURE__*/ (0, F.createContext)(null), eB = class extends pS {ref: t});});-function uhe({ item: e }) {- let t = (0, F.useRef)(null), n = (0, F.useContext)(Zz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(FL), { rowProps: a } = Fce({+function phe({ item: e }) {+ let t = (0, F.useRef)(null), n = (0, F.useContext)($z), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(LL), { rowProps: a } = Rce({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Hce(n);- return /*#__PURE__*/ F.createElement(lhe, {+ }, n, t), { checkboxProps: o } = Gce(n);+ return /*#__PURE__*/ F.createElement(fhe, {...a,ref: t- }, /*#__PURE__*/ F.createElement(SL, { values: [[KL, { slots: { selection: o } }], [qL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [[JL, { slots: { selection: o } }], [YL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {collection: n.collection,parent: e})));}-var dhe = class extends pS {+var mhe = class extends gS {static {this.type = "column";}-}, fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}, hhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.th, {+ }) : /*#__PURE__*/ F.createElement(jL.th, {...e,ref: t});-}), nB = /*#__PURE__*/ uw(dhe, (e, t, n) => {- let r = ZC(t), i = (0, F.useContext)(Zz), { isVirtualized: a } = (0, F.useContext)(FL), { columnHeaderProps: o, isPressed: s } = Mce({+}), iB = /*#__PURE__*/ fw(mhe, (e, t, n) => {+ let r = $C(t), i = (0, F.useContext)($z), { isVirtualized: a } = (0, F.useContext)(LL), { columnHeaderProps: o, isPressed: s } = Fce({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = AD(), d = (0, F.useContext)(Qz), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = MD(), d = (0, F.useContext)(eB), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = PD({ isDisabled: !e.allowsSorting }), h = CL({+ let { hoverProps: p, isHovered: m } = ID({ isDisabled: !e.allowsSorting }), h = TL({...e,id: void 0,children: n.rendered,@@ -41872,8 +41885,8 @@ var dhe = class extends pS {...g,width: d.getColumnWidth(n.key)});- let _ = Ww(e, { global: !0 });- return delete _.id, /*#__PURE__*/ F.createElement(fhe, {+ let _ = Kw(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ F.createElement(hhe, {...K(_, o, u, p),...h,style: g,@@ -41885,29 +41898,29 @@ var dhe = class extends pS {"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__*/ F.createElement(SL, { values: [[rB, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [[aB, {column: n,triggerRef: r- }], [FL, NL]] }, h.children));-}), rB = /*#__PURE__*/ (0, F.createContext)(null), phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = (0, F.useContext)(Qz);+ }], [LL, FL]] }, h.children));+}), aB = /*#__PURE__*/ (0, F.createContext)(null), ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = (0, F.useContext)(eB);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = Hw(ehe(LR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Xz), { column: s, triggerRef: c } = (0, F.useContext)(rB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Pce({+ let r = Ww(rhe(zR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Qz), { column: s, triggerRef: c } = (0, F.useContext)(aB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Lce({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 } = AD(), { hoverProps: _, isHovered: v } = PD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Iw(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = MD(), { hoverProps: _, isHovered: v } = ID(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Rw(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = ZC(t), [w, T] = (0, F.useState)("");+ let C = $C(t), [w, T] = (0, F.useState)("");(0, F.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = CL({+ let E = TL({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -41917,8 +41930,8 @@ var dhe = class extends pS {isHovered: v,resizableDirection: S}- }), D = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(kL.div, {+ }), D = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(jL.div, {ref: C,role: "presentation",...K(D, E, u, _),@@ -41941,24 +41954,24 @@ var dhe = class extends pS {},"data-testid": "cursor-overlay"}), document.body));-}), iB = class extends mS {+}), oB = class extends _S {static {this.type = "tablebody";}-}, mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}, _he = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.tbody, {+ }) : /*#__PURE__*/ F.createElement(jL.tbody, {...e,ref: t});-}), aB = /*#__PURE__*/ dw(iB, (e, t, n) => {- let r = (0, F.useContext)(Zz), { isVirtualized: i } = (0, F.useContext)(FL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(FL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(RR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), sB = /*#__PURE__*/ pw(oB, (e, t, n) => {+ let r = (0, F.useContext)($z), { isVirtualized: i } = (0, F.useContext)(LL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(LL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(BR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = CL({+ }, p = TL({...e,id: void 0,children: void 0,@@ -41967,33 +41980,33 @@ var dhe = class extends pS {}), 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__*/ F.createElement(sB, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(lB, {role: "row",...t,style: r- }, /*#__PURE__*/ F.createElement(lB, {+ }, /*#__PURE__*/ F.createElement(dB, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = LA(), _ = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(mhe, {+ let { rowGroupProps: g } = zA(), _ = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(_he, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ F.createElement(She, null), /*#__PURE__*/ F.createElement(o, {+ }, l && /*#__PURE__*/ F.createElement(The, null), /*#__PURE__*/ F.createElement(o, {collection: a,parent: n,- renderDropIndicator: BR(s, c)+ renderDropIndicator: HR(s, c)}), m);});-(class extends mS {+(class extends _S {static {this.type = "tablefooter";}});-var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hhe = class extends pS {+var cB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), vhe = class extends gS {static {this.type = "item";}@@ -42005,31 +42018,31 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hh}return null;}-}, sB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}, lB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.tr, {+ }) : /*#__PURE__*/ F.createElement(jL.tr, {...e,ref: t});-}), cB = /*#__PURE__*/ dw(hhe, (e, t, n) => {- let r = ZC(t), i = (0, F.useContext)(Zz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(RR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(FL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Rce({+}), uB = /*#__PURE__*/ pw(vhe, (e, t, n) => {+ let r = $C(t), i = (0, F.useContext)($z), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(BR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(LL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Vce({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = AD(), { isFocusVisible: _, focusProps: v } = AD({ within: !0 }), { hoverProps: y, isHovered: b } = PD({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = MD(), { isFocusVisible: _, focusProps: v } = MD({ within: !0 }), { hoverProps: y, isHovered: b } = ID({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Vce({ key: n.key }, i), S;+ }), { checkboxProps: x } = Wce({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = dE();+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = pE();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -42039,7 +42052,7 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hh(0, F.useEffect)(() => {o && E.current;}, []);- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = CL({+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = TL({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -42060,11 +42073,11 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hhisExpanded: j,level: n.level + 1}- }), ee = Ww(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(sB, {+ }), ee = Kw(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(lB, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ F.createElement(lB, {+ }, /*#__PURE__*/ F.createElement(dB, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -42073,7 +42086,7 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hh...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ F.createElement(sB, {+ }))), /*#__PURE__*/ F.createElement(lB, {...K(ee, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -42089,17 +42102,17 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hh"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(SL, { values: [- [KL, { slots: {- [xL]: {},+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [JL, { slots: {+ [CL]: {},selection: x} }],- [qL, { slots: {- [xL]: {},+ [YL, { slots: {+ [CL]: {},selection: x} }],- [zL, { slots: {- [xL]: {},+ [VL, { slots: {+ [CL]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -42107,8 +42120,8 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hhstyle: { pointerEvents: "none" }}} }],- [WR, { isSelected: p.isSelected }],- [oB, { isFocusVisibleWithinRow: _ }]+ [KR, { isSelected: p.isSelected }],+ [cB, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ F.createElement(l, {collection: i.collection,parent: n@@ -42116,34 +42129,34 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hh}, (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__*/ F.createElement(mw, {+ return /*#__PURE__*/ F.createElement(gw, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), ghe = class extends pS {+}), yhe = class extends gS {static {this.type = "cell";}-}, lB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}, dB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.td, {+ }) : /*#__PURE__*/ F.createElement(jL.td, {...e,ref: t});-}), uB = /*#__PURE__*/ uw(ghe, (e, t, n) => {- let r = ZC(t), i = (0, F.useContext)(Zz), { dragState: a } = (0, F.useContext)(RR), { isVirtualized: o } = (0, F.useContext)(FL);+}), fB = /*#__PURE__*/ fw(yhe, (e, t, n) => {+ let r = $C(t), i = (0, F.useContext)($z), { dragState: a } = (0, F.useContext)(BR), { isVirtualized: o } = (0, F.useContext)(LL);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Ace({+ let { gridCellProps: s, isPressed: c } = Nce({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = AD(), { hoverProps: f, isHovered: p } = PD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(oB), 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 = CL({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = MD(), { hoverProps: f, isHovered: p } = ID({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(cB), 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 = TL({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -42162,8 +42175,8 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hhlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = Ww(e, { global: !0 });- return delete S.id, /*#__PURE__*/ F.createElement(lB, {+ }), S = Kw(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ F.createElement(dB, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -42177,14 +42190,14 @@ var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), hh"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ F.createElement(FL.Provider, { value: NL }, x.children));+ }, /*#__PURE__*/ F.createElement(LL.Provider, { value: FL }, x.children));});-function _he(e, t) {- t = ZC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(RR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function bhe(e, t) {+ t = $C(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(BR), i = (0, F.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__*/ F.createElement(xhe, {+ return /*#__PURE__*/ F.createElement(whe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42193,40 +42206,40 @@ function _he(e, t) {ref: t});}-var vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+var xhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.tr, {+ }) : /*#__PURE__*/ F.createElement(jL.tr, {...e,ref: t});-}), yhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(FL);- return n ? /*#__PURE__*/ F.createElement(kL.div, {+}), She = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(LL);+ return n ? /*#__PURE__*/ F.createElement(jL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(kL.td, {+ }) : /*#__PURE__*/ F.createElement(jL.td, {...e,ref: t});});-function bhe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Zz), { visuallyHiddenProps: c } = dE(), l = CL({+function Che(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)($z), { visuallyHiddenProps: c } = pE(), l = TL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(vhe, {- ...Ww(e, { global: !0 }),+ return /*#__PURE__*/ F.createElement(xhe, {+ ...Kw(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ F.createElement(yhe, {+ }, /*#__PURE__*/ F.createElement(She, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -42237,14 +42250,14 @@ function bhe(e, t) {ref: i}), l.children));}-var xhe = /*#__PURE__*/ (0, F.forwardRef)(bhe);-function She() {- let e = (0, F.useContext)(Zz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(RR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = dE();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(sB, {+var whe = /*#__PURE__*/ (0, F.forwardRef)(Che);+function The() {+ let e = (0, F.useContext)($z), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(BR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = pE();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(lB, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ F.createElement(lB, {+ }, /*#__PURE__*/ F.createElement(dB, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -42255,9 +42268,9 @@ function She() {ref: r})));}-uw(hS, function(e, t, n) {- let r = (0, F.useContext)(Zz), { isVirtualized: i } = (0, F.useContext)(FL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);- rz((0, F.useMemo)(() => ({+fw(vS, function(e, t, n) {+ let r = (0, F.useContext)($z), { isVirtualized: i } = (0, F.useContext)(LL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);+ az((0, F.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -42267,7 +42280,7 @@ uw(hS, function(e, t, n) {s,r?.collection]), u);- let d = CL({+ let d = TL({...c,id: void 0,children: n.rendered,@@ -42275,10 +42288,10 @@ uw(hS, 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__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(sB, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(lB, {style: { height: 0 },- inert: KR(!0)- }, /*#__PURE__*/ F.createElement(lB, { style: {+ inert: JR(!0)+ }, /*#__PURE__*/ F.createElement(dB, { style: {padding: 0,border: 0} }, /*#__PURE__*/ F.createElement("div", {@@ -42289,22 +42302,22 @@ uw(hS, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ F.createElement(sB, {- ...K(Ww(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ F.createElement(lB, {+ ...K(Kw(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(lB, {+ }, /*#__PURE__*/ F.createElement(dB, {role: "rowheader",...p,style: m}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Che(e) {- let [t, n] = nE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = tz({+function Ehe(e) {+ let [t, n] = iE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = rz({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -42326,24 +42339,24 @@ function Che(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function whe(e) {- let t = Che({+function Dhe(e) {+ let t = Ehe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? dB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? pB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);return (0, F.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = dB(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 = pB(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 dB(e, t) {+function pB(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);@@ -42352,24 +42365,24 @@ function dB(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var fB = /*#__PURE__*/ (0, F.createContext)(null), pB = /*#__PURE__*/ (0, F.createContext)(null), The = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, fB);+var mB = /*#__PURE__*/ (0, F.createContext)(null), hB = /*#__PURE__*/ (0, F.createContext)(null), Ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, mB);let { children: n, orientation: r = "horizontal" } = e;return n = (0, F.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ F.createElement(sw, { content: n }, (n) => /*#__PURE__*/ F.createElement(Ehe, {+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(lw, { content: n }, (n) => /*#__PURE__*/ F.createElement(khe, {props: e,collection: n,tabsRef: t}));});-function Ehe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = whe({+function khe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Dhe({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = AD({ within: !0 }), c = (0, F.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = MD({ within: !0 }), c = (0, F.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -42377,12 +42390,12 @@ function Ehe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = CL({+ ]), l = TL({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(kL.div, {+ }), u = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(jL.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -42390,20 +42403,20 @@ function Ehe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [[fB, e], [pB, i]] }, l.children));+ }, /*#__PURE__*/ F.createElement(wL, { values: [[mB, e], [hB, i]] }, l.children));}-var mB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return (0, F.useContext)(pB) ? /*#__PURE__*/ F.createElement(Dhe, {+var gB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return (0, F.useContext)(hB) ? /*#__PURE__*/ F.createElement(Ahe, {props: e,forwardedRef: t- }) : /*#__PURE__*/ F.createElement(mw, e);+ }) : /*#__PURE__*/ F.createElement(gw, e);});-function Dhe({ props: e, forwardedRef: t }) {- let n = (0, F.useContext)(pB), { CollectionRoot: r } = (0, F.useContext)(FL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = wL(fB), o = ZC(t), { tabListProps: s } = Gce({+function Ahe({ props: e, forwardedRef: t }) {+ let n = (0, F.useContext)(hB), { CollectionRoot: r } = (0, F.useContext)(LL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = EL(mB), o = $C(t), { tabListProps: s } = Jce({...e,orientation: i,keyboardActivation: a- }, n, o), c = CL({+ }, n, o), c = TL({...e,children: null,defaultClassName: "react-aria-TabList",@@ -42411,30 +42424,30 @@ function Dhe({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = Ww(e, { global: !0 });- return delete l.id, /*#__PURE__*/ F.createElement(kL.div, {+ }), l = Kw(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ F.createElement(jL.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(r, {+ }, /*#__PURE__*/ F.createElement(GR, null, /*#__PURE__*/ F.createElement(r, {collection: n.collection,- persistedKeys: IL(n.selectionManager.focusedKey)+ persistedKeys: RL(n.selectionManager.focusedKey)})));}-var Ohe = /*#__PURE__*/ uw(class extends pS {+var jhe = /*#__PURE__*/ fw(class extends gS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(pB), i = ZC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Uce({+ let r = (0, F.useContext)(hB), i = $C(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Kce({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = AD(), { hoverProps: f, isHovered: p } = PD({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = MD(), { hoverProps: f, isHovered: p } = ID({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = CL({+ }), m = TL({...e,id: void 0,children: n.rendered,@@ -42447,7 +42460,7 @@ var Ohe = /*#__PURE__*/ uw(class extends pS {isPressed: c,isHovered: p}- }), h = n.props.href ? kL.a : kL.div, g = Ww(e, { global: !0 });+ }), h = n.props.href ? jL.a : jL.div, g = Kw(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -42457,54 +42470,54 @@ var Ohe = /*#__PURE__*/ uw(class extends pS {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ F.createElement(WR.Provider, { value: { isSelected: o } }, m.children));-}), khe = /*#__PURE__*/ nw(function(e, t) {- let n = (0, F.useContext)(pB), r = ZC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ F.createElement(KR.Provider, { value: { isSelected: o } }, m.children));+}), Mhe = /*#__PURE__*/ iw(function(e, t) {+ let n = (0, F.useContext)(hB), r = $C(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = lz(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(Ahe, {+ let s = dz(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(Nhe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function Ahe(e) {- let t = (0, F.useContext)(pB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Kce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = AD(), d = t.selectedKey === e.id, f = cz(r) && !i, p = CL({+function Nhe(e) {+ let t = (0, F.useContext)(hB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Yce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = MD(), d = t.selectedKey === e.id, f = uz(r) && !i, p = TL({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: KR(!d),+ isInert: JR(!d),isEntering: f,isExiting: a,state: t}- }), m = Ww(o, { global: !0 });+ }), m = Kw(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ F.createElement(kL.div, {+ return /*#__PURE__*/ F.createElement(jL.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: KR(!d || e.inert),+ inert: JR(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [[fB, null], [pB, null]] }, /*#__PURE__*/ F.createElement(FL.Provider, { value: NL }, p.children)));+ }, /*#__PURE__*/ F.createElement(wL, { values: [[mB, null], [hB, null]] }, /*#__PURE__*/ F.createElement(LL.Provider, { value: FL }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {+var _B = /*#__PURE__*/ (0, F.createContext)({}), Phe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = TL(e, t, hB);- let { hoverProps: n, isHovered: r } = PD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = AD({+}, Fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = DL(e, t, _B);+ let { hoverProps: n, isHovered: r } = ID(e), { isFocused: i, isFocusVisible: a, focusProps: o } = MD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = CL({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = TL({...e,values: {isHovered: r,@@ -42515,8 +42528,8 @@ var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ F.createElement(kL.textarea, {- ...K(jhe(e), o, n),+ return /*#__PURE__*/ F.createElement(jL.textarea, {+ ...K(Phe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -42525,18 +42538,18 @@ var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Nhe = /*#__PURE__*/ (0, F.createContext)(null), Phe = /*#__PURE__*/ nw(function(e, t) {- [e, t] = TL(e, t, Nhe);- let { validationBehavior: n } = wL(GL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);- [e, i] = TL(e, i, jL);- let [a, o] = EL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = pse({- ...DL(e),+}), Ihe = /*#__PURE__*/ (0, F.createContext)(null), Lhe = /*#__PURE__*/ iw(function(e, t) {+ [e, t] = DL(e, t, Ihe);+ let { validationBehavior: n } = EL(qL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);+ [e, i] = DL(e, i, NL);+ let [a, o] = OL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = gse({+ ...kL(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, F.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = CL({+ }, [i]), h = TL({...e,values: {isDisabled: e.isDisabled || !1,@@ -42545,8 +42558,8 @@ var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = Ww(e, { global: !0 });- return delete g.id, /*#__PURE__*/ F.createElement(kL.div, {+ }), g = Kw(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ F.createElement(jL.div, {...g,...h,ref: t,@@ -42555,31 +42568,31 @@ var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [- [LL, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [zL, {...l,ref: a}],- [ZL, {+ [$L, {...u,ref: m}],- [hB, {+ [_B, {...u,ref: m}],- [YL, {+ [ZL, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [UL, { slots: {+ [GL, { slots: {description: d,errorMessage: f} }],- [WL, p]+ [KL, p]] }, h.children));-}), Fhe = class e extends _S {+}), Rhe = class e extends bS {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;@@ -42651,16 +42664,16 @@ var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, Ihe = /*#__PURE__*/ (0, F.createContext)(null), gB = /*#__PURE__*/ (0, F.createContext)(null), Lhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = TL(e, t, Ihe), /*#__PURE__*/ F.createElement(sw, {- content: /*#__PURE__*/ F.createElement(mw, e),- createCollection: () => new Fhe()- }, (n) => /*#__PURE__*/ F.createElement(Rhe, {+}, zhe = /*#__PURE__*/ (0, F.createContext)(null), vB = /*#__PURE__*/ (0, F.createContext)(null), Bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = DL(e, t, zhe), /*#__PURE__*/ F.createElement(lw, {+ content: /*#__PURE__*/ F.createElement(gw, e),+ createCollection: () => new Rhe()+ }, (n) => /*#__PURE__*/ F.createElement(Vhe, {props: e,collection: n,treeRef: t}));-}), _B = {+}), yB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -42670,17 +42683,17 @@ var hB = /*#__PURE__*/ (0, F.createContext)({}), jhe = (e) => {rtl: "ArrowRight"}};-function Rhe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = Iw(), a = CD({+function Vhe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = Rw(), a = TD({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);(0, F.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, F.useContext)(FL), [y, b] = nE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));- Ghe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));- let D = hz({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(LL), [y, b] = iE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));+ Jhe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let D = _z({...e,selectionMode: u,expandedKeys: y,@@ -42688,7 +42701,7 @@ function Rhe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = qce({+ }), { gridProps: O } = Xce({...e,isVirtualized: g,layoutDelegate: _@@ -42702,7 +42715,7 @@ function Rhe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;}- let [te] = (0, F.useState)(() => new Uz());+ let [te] = (0, F.useState)(() => new Gz());if (s && r) {A = r.useDroppableCollectionState({collection: D.collection,@@ -42710,7 +42723,7 @@ function Rhe({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });te.setup(e, D, i);- let t = new TE({+ let t = new DE({collection: D.collection,collator: a,ref: n,@@ -42732,12 +42745,12 @@ function Rhe({ props: e, collection: t, treeRef: n }) {let t = A?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = D.collection.getItem(t.key);- (e.key === _B.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === _B.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === yB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === yB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });}- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = AD(), ie = {+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = MD(), ie = {isEmpty: D.collection.size === 0,isFocused: re,isFocusVisible: I,@@ -42745,7 +42758,7 @@ function Rhe({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!P,state: D- }, ae = CL({+ }, ae = TL({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -42762,8 +42775,8 @@ function Rhe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(kL.div, {+ let se = Kw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(gT, null, /*#__PURE__*/ F.createElement(jL.div, {...K(se, ae, O, ne, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -42773,54 +42786,54 @@ function Rhe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": I || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!P || void 0- }, /*#__PURE__*/ F.createElement(SL, { values: [- [gB, D],- [RR, {+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [vB, D],+ [BR, {dragAndDropHooks: r,dragState: k,dropState: A}],- [zR, { render: Vhe }]- ] }, s && /*#__PURE__*/ F.createElement(Whe, null), /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(h, {+ [VR, { render: Whe }]+ ] }, s && /*#__PURE__*/ F.createElement(qhe, null), /*#__PURE__*/ F.createElement(GR, null, /*#__PURE__*/ F.createElement(h, {collection: D.collection,- persistedKeys: VR(D.selectionManager, r, A),+ persistedKeys: UR(D.selectionManager, r, A),scrollRef: n,- renderDropIndicator: BR(r, A)+ renderDropIndicator: HR(r, A)}))), oe)), ee);}-var zhe = /*#__PURE__*/ uw(class extends pS {+var Hhe = /*#__PURE__*/ fw(class extends gS {static {this.type = "content";}}, function(e) {- let t = (0, F.useContext)(vB), n = CL({+ let t = (0, F.useContext)(bB), n = TL({children: e.children,values: t});- return /*#__PURE__*/ F.createElement(FL.Provider, { value: NL }, n.children);-}), vB = /*#__PURE__*/ (0, F.createContext)(null), Bhe = /*#__PURE__*/ dw(class extends pS {+ return /*#__PURE__*/ F.createElement(LL.Provider, { value: FL }, n.children);+}), bB = /*#__PURE__*/ (0, F.createContext)(null), Uhe = /*#__PURE__*/ pw(class extends gS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(gB);- t = ZC(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(RR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = xj({+ let r = (0, F.useContext)(vB);+ t = $C(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(BR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Cj({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: _ } = PD({+ }, 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: _ } = ID({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = AD(), { isFocusVisible: b, focusProps: x } = AD({ within: !0 }), { checkboxProps: S } = Hse({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = MD(), { isFocusVisible: b, focusProps: x } = MD({ within: !0 }), { checkboxProps: S } = Gse({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = dE();+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = pE();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -42859,7 +42872,7 @@ var zhe = /*#__PURE__*/ uw(class extends pS {A,M,j- ]), N = CL({+ ]), N = TL({...e,id: void 0,children: n.rendered,@@ -42876,7 +42889,7 @@ var zhe = /*#__PURE__*/ uw(class extends pS {(0, F.useEffect)(() => {a && te.current;}, []);- let P = xS({+ let P = wS({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -42886,7 +42899,7 @@ var zhe = /*#__PURE__*/ uw(class extends pS {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), ne = BC(), re = Ww(e, { global: !0 });+ }), ne = HC(), re = Kw(e, { global: !0 });return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -42909,7 +42922,7 @@ var zhe = /*#__PURE__*/ uw(class extends pS {"aria-labelledby": `${ne} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ F.createElement(kL.div, {+ }))), /*#__PURE__*/ F.createElement(jL.div, {...K(re, c, y, g, x, C?.dragProps),...N,ref: t,@@ -42929,17 +42942,17 @@ var zhe = /*#__PURE__*/ uw(class extends pS {}, /*#__PURE__*/ F.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(SL, { values: [- [KL, { slots: {- [xL]: {},+ }, /*#__PURE__*/ F.createElement(wL, { values: [+ [JL, { slots: {+ [CL]: {},selection: S} }],- [qL, { slots: {- [xL]: {},+ [YL, { slots: {+ [CL]: {},selection: S} }],- [zL, { slots: {- [xL]: {},+ [VL, { slots: {+ [CL]: {},chevron: {...u,ref: T@@ -42950,13 +42963,13 @@ var zhe = /*#__PURE__*/ uw(class extends pS {style: { pointerEvents: "none" }}} }],- [vB, { ...ee }],- [WR, { isSelected: f.isSelected }]+ [bB, { ...ee }],+ [KR, { isSelected: f.isSelected }]] }, P))));});-uw(hS, function(e, t, n) {- let { isVirtualized: r } = (0, F.useContext)(FL), i = (0, F.useContext)(gB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);- rz((0, F.useMemo)(() => ({+fw(vS, function(e, t, n) {+ let { isVirtualized: r } = (0, F.useContext)(LL), i = (0, F.useContext)(vB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);+ az((0, F.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -42965,11 +42978,11 @@ uw(hS, function(e, t, n) {o,s,i?.collection- ]), l), t = ZC(t);- let { rowProps: u, gridCellProps: d } = xj({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = $C(t);+ let { rowProps: u, gridCellProps: d } = Cj({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = CL({+ }, m = TL({...c,id: void 0,children: n.rendered,@@ -42982,7 +42995,7 @@ uw(hS, function(e, t, n) {width: 0,height: 0},- inert: KR(!0)+ inert: JR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -42991,9 +43004,9 @@ uw(hS, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ F.createElement(kL.div, {+ })), a && m.children && /*#__PURE__*/ F.createElement(jL.div, {ref: t,- ...K(Ww(e), p),+ ...K(Kw(e), p),...m,"data-level": f}, /*#__PURE__*/ F.createElement("div", {@@ -43001,12 +43014,12 @@ uw(hS, function(e, t, n) {style: h}, m.children)));});-function Vhe(e, t) {- t = ZC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(RR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Whe(e, t) {+ t = $C(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(BR), i = (0, F.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__*/ F.createElement(Uhe, {+ return /*#__PURE__*/ F.createElement(Khe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -43015,8 +43028,8 @@ function Vhe(e, t) {level: c});}-function Hhe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = dE(), c = CL({+function Ghe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = pE(), c = TL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -43025,7 +43038,7 @@ function Hhe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(kL.div, {+ return /*#__PURE__*/ F.createElement(jL.div, {...c,role: "row","aria-level": a,@@ -43038,9 +43051,9 @@ function Hhe(e, t) {ref: i}), c.children));}-var Uhe = /*#__PURE__*/ (0, F.forwardRef)(Hhe);-function Whe() {- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(RR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = dE();+var Khe = /*#__PURE__*/ (0, F.forwardRef)(Ghe);+function qhe() {+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(BR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = pE();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -43052,13 +43065,13 @@ function Whe() {ref: n})));}-function Ghe(e, t) {+function Jhe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}// node_modules/@remixicon/react/index.mjs-var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+var Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43066,7 +43079,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43074,7 +43087,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), yB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43082,7 +43095,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43090,7 +43103,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43098,7 +43111,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43106,7 +43119,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43114,7 +43127,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43122,7 +43135,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43130,7 +43143,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43138,7 +43151,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43146,7 +43159,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43154,7 +43167,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43162,7 +43175,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43170,7 +43183,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43178,7 +43191,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43186,7 +43199,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43194,7 +43207,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43202,7 +43215,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43210,7 +43223,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43218,7 +43231,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43226,7 +43239,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43234,7 +43247,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43242,7 +43255,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43250,7 +43263,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43258,7 +43271,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43266,7 +43279,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43274,7 +43287,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43282,7 +43295,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43290,7 +43303,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43298,7 +43311,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43306,7 +43319,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43314,7 +43327,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43322,7 +43335,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2 3.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.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2 3.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.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43330,7 +43343,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43338,7 +43351,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43346,7 +43359,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.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 5Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.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 5Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43354,7 +43367,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43362,7 +43375,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43370,7 +43383,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43378,7 +43391,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43386,7 +43399,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), _ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43394,7 +43407,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43402,7 +43415,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43410,7 +43423,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43418,7 +43431,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), _ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43426,7 +43439,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43434,7 +43447,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43442,7 +43455,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43450,7 +43463,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43458,7 +43471,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43466,7 +43479,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43474,7 +43487,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43482,7 +43495,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43490,7 +43503,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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 20ZM10.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" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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 20ZM10.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" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43498,7 +43511,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43506,7 +43519,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43514,7 +43527,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43522,7 +43535,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43530,7 +43543,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43538,7 +43551,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43546,7 +43559,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43554,7 +43567,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43562,7 +43575,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43570,7 +43583,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43578,7 +43591,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43586,7 +43599,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43594,7 +43607,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43602,7 +43615,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43610,7 +43623,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43618,7 +43631,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43626,7 +43639,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43634,7 +43647,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43642,7 +43655,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43650,7 +43663,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43658,7 +43671,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43666,7 +43679,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43674,7 +43687,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43682,7 +43695,7 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43692,8 +43705,8 @@ var Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => FclassName: "remixicon " + (n || "")}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));// src/react/boardui/components/base/input/label.tsx-function nV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsxs)(RL, {+function iV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsxs)(BL, {"data-label": "true",...a,className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),@@ -43704,7 +43717,7 @@ function nV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, I.jsx)(gge, {+ n && /* @__PURE__ */ (0, I.jsx)(yge, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -43712,23 +43725,23 @@ function nV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr});}// src/react/boardui/components/base/input/hint-text.tsx-function rV({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, I.jsx)(Ppe, {+function aV({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, I.jsx)(Lpe, {slot: e ? "errorMessage" : "description",...n,className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx-var iV = (0, F.createContext)({});-function aV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(iV.Provider, {+var oV = (0, F.createContext)({});+function sV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(oV.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, I.jsx)(Phe, {+ children: /* @__PURE__ */ (0, I.jsx)(Lhe, {...a,"data-input-size": e,className: q("group flex h-max w-full flex-col items-start gap-1", r),@@ -43736,8 +43749,8 @@ function aV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam})});}-aV.displayName = "TextField";-var oV = FI({+sV.displayName = "TextField";+var cV = LI({field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",fieldSize: {medium: "p-2",@@ -43752,44 +43765,44 @@ var oV = FI({input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",icon: "size-5 shrink-0"});-function sV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, F.useContext)(iV), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, I.jsx)(XL, {+function lV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, F.useContext)(oV), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, I.jsx)(QL, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(oV.field, d ? oV.fieldWithAddonSize[u] : oV.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 }) => q(cV.field, d ? cV.fieldWithAddonSize[u] : cV.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, I.jsxs)("div", {- className: oV.content,+ className: cV.content,children: [/* @__PURE__ */ (0, I.jsxs)("div", {- className: oV.leftSection,+ className: cV.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {- className: oV.icon,+ className: cV.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, I.jsx)(Bpe, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(Upe, {ref: o,...c,- className: q(oV.input, l.inputClassName, a)+ className: q(cV.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: oV.icon,+ className: cV.icon,"aria-hidden": !0}) : null]})});}-sV.displayName = "InputBase";-function cV({ 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, I.jsx)(aV, {+lV.displayName = "InputBase";+function uV({ 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, I.jsx)(sV, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- e && /* @__PURE__ */ (0, I.jsx)(nV, {+ e && /* @__PURE__ */ (0, I.jsx)(iV, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, I.jsx)(sV, {+ /* @__PURE__ */ (0, I.jsx)(lV, {ref: c,groupRef: l,placeholder: r,@@ -43798,25 +43811,25 @@ function cV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, I.jsx)(rV, {+ t && /* @__PURE__ */ (0, I.jsx)(aV, {isInvalid: d,children: t})] })});}-cV.displayName = "Input";+uV.displayName = "Input";// src/react/components/modal-frame.tsx-var Pge = {+var Lge = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl",tutorial: "max-w-2xl"};-function lV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {- let { isFocusVisible: o } = DC();- return /* @__PURE__ */ (0, I.jsx)(Az, {+function dV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {+ let { isFocusVisible: o } = kC();+ return /* @__PURE__ */ (0, I.jsx)(Mz, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -43824,11 +43837,11 @@ function lV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa"data-modal-kind": n,"data-motion-instant": o || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, I.jsx)(Sme, {+ children: /* @__PURE__ */ (0, I.jsx)(Tme, {"data-modal-surface": "","data-modal-width": n,- className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", Pge[n], a),- children: /* @__PURE__ */ (0, I.jsx)(Ez, {+ className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", Lge[n], a),+ children: /* @__PURE__ */ (0, I.jsx)(Oz, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -43836,7 +43849,7 @@ function lV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa})});}-function uV({ children: e }) {+function fV({ children: e }) {return /* @__PURE__ */ (0, I.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",@@ -43844,7 +43857,7 @@ function uV({ children: e }) {});}// src/react/components/note.tsx-function dV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function pV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-note-layout": "",className: q("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),@@ -43892,11 +43905,11 @@ function dV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:}}// src/react/components/empty-state.tsx-var Fge = {+var Rge = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Ige({ target: e, children: t }) {+function zge({ target: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "secondary",@@ -43904,11 +43917,11 @@ function Ige({ target: e, children: t }) {children: t});}-function fV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function mV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `col-span-full flex w-full 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 ${Fge[i]}`,+ className: `col-span-full flex w-full 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 ${Rge[i]}`,children: [/* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,@@ -43934,9 +43947,9 @@ function fV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }});}// src/react/components/sprite-glyph.tsx-var pV = /* @__PURE__ */ new Map();-function mV(e) {- let t = pV.get(e);+var hV = /* @__PURE__ */ new Map();+function gV(e) {+ let t = hV.get(e);if (t) return t;let { wide: n, viewBox: r } = Cn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,@@ -43952,10 +43965,10 @@ function mV(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, pV.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, hV.set(e, i), i;}// src/react/components/settings-dialog-close.tsx-function hV({ label: e, id: t, onPress: n }) {+function _V({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",id: t,@@ -43970,60 +43983,60 @@ function hV({ label: e, id: t, onPress: n }) {});}// src/react/settings/busy-props.ts-function gV(e) {+function vV(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/library-shortcuts/library-shortcuts.ts-var _V = ["library-shortcuts"], vV = "/api/library-shortcuts";-function yV(e = !0) {+var yV = ["library-shortcuts"], bV = "/api/library-shortcuts";+function xV(e = !0) {return Ft({- queryKey: _V,- queryFn: ({ signal: e }) => B(vV, e),+ queryKey: yV,+ queryFn: ({ signal: e }) => B(bV, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function bV() {+function SV() {return It({- mutationKey: _V,- mutationFn: (e) => V(vV, e),+ mutationKey: yV,+ mutationFn: (e) => V(bV, e),onSuccess: (e, t) => {- H.setQueryData(_V, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ H.setQueryData(yV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function xV(e, t) {+function CV(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 Lge(e) {+function Bge(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Pn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var SV = mV("star"), Rge = mV("bookmark-plus"), CV = mV("chevron-right"), wV = {+var wV = gV("star"), Vge = gV("bookmark-plus"), TV = gV("chevron-right"), EV = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, TV = {- all: mV("star"),- performer: mV("user-round"),- creator: mV("user-round"),- studio: mV("clapperboard"),- series: mV("film"),- agency: mV("briefcase"),- tag: mV("tags"),- filters: mV("list-filter")-}, EV = [+}, DV = {+ all: gV("star"),+ performer: gV("user-round"),+ creator: gV("user-round"),+ studio: gV("clapperboard"),+ series: gV("film"),+ agency: gV("briefcase"),+ tag: gV("tags"),+ filters: gV("list-filter")+}, OV = [["all", "全部"],- ...Object.entries(wV),+ ...Object.entries(EV),["filters", "保存的筛选"]];-function DV({ label: e, children: t, ...n }) {+function kV({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...n,@@ -44033,20 +44046,20 @@ function DV({ label: e, children: t, ...n }) {children: t});}-function OV({ item: e }) {- return /* @__PURE__ */ (0, I.jsx)(zge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function AV({ item: e }) {+ return /* @__PURE__ */ (0, I.jsx)(Hge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function zge({ item: e }) {- aL();- let t = yV(!1), n = (0, F.useRef)(t.data), r = bV(), i = t.data && t.data !== n.current ? xV(t.data.favorites || [], e) : e.favorite ?? (t.data ? xV(t.data.favorites || [], e) : !1);+function Hge({ item: e }) {+ sL();+ let t = xV(!1), n = (0, F.useRef)(t.data), r = SV(), i = t.data && t.data !== n.current ? CV(t.data.favorites || [], e) : e.favorite ?? (t.data ? CV(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(DV, {+ /* @__PURE__ */ (0, I.jsx)(kV, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${nn(e.kind, e.name, e.entity_id)}`,- ...gV(r.isPending),+ ...vV(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -44057,9 +44070,9 @@ function zge({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Bs("") }- }) : /* @__PURE__ */ (0, I.jsx)(SV, {})+ }) : /* @__PURE__ */ (0, I.jsx)(wV, {})}),- r.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: lr(r.error)}) : null,@@ -44073,38 +44086,38 @@ function zge({ item: e }) {]});}-function kV({ currentHref: e, kind: t }) {+function jV({ currentHref: e, kind: t }) {let [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, I.jsx)(fL, {+ children: /* @__PURE__ */ (0, I.jsx)(mL, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: SV,+ icon: wV,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(dV, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, I.jsx)(Bge, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(Uge, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function Bge({ currentHref: e, kind: t, close: n }) {- aL();- let r = yV(), i = bV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);+function Uge({ currentHref: e, kind: t, close: n }) {+ sL();+ let r = xV(), i = SV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);(0, F.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = vL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = bL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, F.useLayoutEffect)(() => {b.current && (x.current = Ro(b.current) || null);}, []), (0, F.useLayoutEffect)(() => {@@ -44117,7 +44130,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {}, [s]), (0, F.useLayoutEffect)(() => {x.current?.();});- let C = EV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = OV.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;@@ -44140,7 +44153,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, I.jsx)(hV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {label: "关闭我的收藏",onPress: n})]@@ -44170,8 +44183,8 @@ function Bge({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- EV.map(([e, t]) => {- let n = TV[e] || SV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ OV.map(([e, t]) => {+ let n = DV[e] || wV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -44203,17 +44216,17 @@ function Bge({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(SV, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(wV, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, I.jsx)(CV, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(TV, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, I.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(Rge, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(Vge, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, I.jsx)(CV, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(TV, { "aria-hidden": !0 })]})]})]@@ -44232,7 +44245,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -44241,16 +44254,16 @@ function Bge({ currentHref: e, kind: t, close: n }) {}),children: lr(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {+ i.isError ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: lr(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(fV, {+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(mV, {size: "compact",- icon: mV("list-filter"),+ icon: gV("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, I.jsx)(bL, {+ actions: /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/",onClick: n,@@ -44269,7 +44282,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...gV(i.isPending),+ ...vV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -44284,7 +44297,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, I.jsx)(cV, {+ /* @__PURE__ */ (0, I.jsx)(uV, {label: "筛选名称",value: a,onChange: o,@@ -44293,7 +44306,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, I.jsx)(J, {type: "submit",disabled: !a.trim(),- ...gV(i.isPending),+ ...vV(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -44304,16 +44317,16 @@ function Bge({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(cV, {+ /* @__PURE__ */ (0, I.jsx)(uV, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: mV("search"),+ leadingIcon: gV("search"),value: l,onChange: u}),- O.length ? null : /* @__PURE__ */ (0, I.jsx)(fV, {+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(mV, {size: "compact",- icon: SV,+ icon: wV,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -44323,7 +44336,7 @@ function Bge({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, I.jsx)(bL, {+ }) : /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/",onClick: n,@@ -44337,25 +44350,25 @@ function Bge({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsxs)("a", {- href: Lge(e),+ href: Bge(e),"aria-label": nn(e.kind, e.name, e.entity_id),onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, I.jsx)(Vge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(Wge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",children: nn(e.kind, e.name, e.entity_id)}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : wV[e.kind]+ children: e.scope === "online" ? "在线标签" : EV[e.kind]})]})]}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small","aria-label": `取消收藏${nn(e.kind, e.name, e.entity_id)}`,- ...gV(i.isPending),+ ...vV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -44373,8 +44386,8 @@ function Bge({ currentHref: e, kind: t, close: n }) {]});}-function Vge({ item: e }) {- let t = TV[e.kind] || SV;+function Wge({ item: e }) {+ let t = DV[e.kind] || wV;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -44392,11 +44405,11 @@ function Vge({ item: e }) {});}// src/react/components/board-navigation-link.tsx-function Hge(e) {+function Gge(e) {return /* @__PURE__ */ (0, I.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function Uge(e) {+function Kge(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -44410,7 +44423,7 @@ function Uge(e) {})});}-function Wge(e) {+function qge(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -44424,7 +44437,7 @@ function Wge(e) {})});}-function AV(e) {+function MV(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -44437,7 +44450,7 @@ function AV(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Gge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function Jge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = F.Children.toArray(e).filter(F.isValidElement);return /* @__PURE__ */ (0, I.jsx)("nav", {ref: r,@@ -44445,14 +44458,14 @@ function Gge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: rclassName: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, I.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Wge, {+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(qge, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function jV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function NV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0@@ -44465,7 +44478,7 @@ function jV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classNlet s = q("-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, I.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, I.jsx)(Hge, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(Gge, {href: n,className: s,children: o@@ -44478,14 +44491,14 @@ function jV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN});}// src/react/boardui/components/foundations/direction/direction.tsx-function MV() {- return Iw().direction;+function PV() {+ return Rw().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var NV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", Kge = "w-[266px]", qge = "flex w-full flex-col gap-1 outline-none", PV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", FV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var FV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", Yge = "w-[266px]", Xge = "flex w-full flex-col gap-1 outline-none", IV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", LV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function Jge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = MV(), l = (0, F.useContext)(FL), u = l === NL && !s.dragAndDropHooks ? LV : l;+function Zge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = PV(), l = (0, F.useContext)(LL), u = l === FL && !s.dragAndDropHooks ? zV : l;return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -44502,23 +44515,23 @@ function Jge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, I.jsx)(FL.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(LL.Provider, {value: u,- children: /* @__PURE__ */ (0, I.jsx)(Lhe, {+ children: /* @__PURE__ */ (0, I.jsx)(Bhe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => q("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 === LV ? "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) => q("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 === zV ? "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 IV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = MV();- return /* @__PURE__ */ (0, I.jsxs)(Bhe, {+function RV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = PV();+ return /* @__PURE__ */ (0, I.jsxs)(Uhe, {...u,ref: l,textValue: t,@@ -44527,10 +44540,10 @@ function IV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam...typeof c == "function" ? c(e) : c}),className: (e) => q("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, I.jsx)(zhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? FB : NB : sge);+ children: [/* @__PURE__ */ (0, I.jsx)(Hhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? LB : FB : uge);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Xge, {+ /* @__PURE__ */ (0, I.jsx)($ge, {state: l,id: u,level: c,@@ -44540,11 +44553,11 @@ function IV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(BL, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(HL, {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, I.jsx)(xB, {+ children: /* @__PURE__ */ (0, I.jsx)(CB, {"aria-hidden": !0,className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})@@ -44568,24 +44581,24 @@ function IV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var LV = {- ...NL,- CollectionRoot: Yge+var zV = {+ ...FL,+ CollectionRoot: Qge};-function Yge({ collection: e, ...t }) {- let n = (0, F.useContext)(gB);- return n ? /* @__PURE__ */ (0, I.jsx)(Ax, {+function Qge({ collection: e, ...t }) {+ let n = (0, F.useContext)(vB);+ return n ? /* @__PURE__ */ (0, I.jsx)(Nx, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Zge, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(e_e, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, I.jsx)(NL.CollectionRoot, {+ }) : /* @__PURE__ */ (0, I.jsx)(FL.CollectionRoot, {collection: e,...t});}-function Xge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function $ge({ 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;@@ -44644,9 +44657,9 @@ function Xge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Zge({ state: e, children: t }) {- let n = Dx(), r = eS(), [i, a] = (0, F.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(fS.div, {+function e_e({ state: e, children: t }) {+ let n = Ax(), r = rS(), [i, a] = (0, F.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(hS.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -44685,14 +44698,14 @@ function Zge({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, I.jsx)(gB.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(vB.Provider, {value: n ? e : i,children: t})});}// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var RV = {+var BV = {md: {box: "size-4",glyph: "size-4",@@ -44706,8 +44719,8 @@ var RV = {gap: "gap-1.5"}};-function zV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = RV[t], c = n || r, l = o && !a;+function VV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = BV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? q("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : q("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"),@@ -44733,13 +44746,13 @@ function zV({ state: e, size: t = "md" }) {});}// src/react/boardui/components/base/checkbox/checkbox.tsx-function BV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = RV[n];- return /* @__PURE__ */ (0, I.jsx)(Lpe, {+function HV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = BV[n];+ return /* @__PURE__ */ (0, I.jsx)(Bpe, {ref: r,...i,className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(zV, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {@@ -44749,7 +44762,7 @@ function BV({ className: e, children: t, size: n = "md", ref: r, ...i }) {});}// src/react/components/overlay-scrollbar.ts-function VV() {+function UV() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null);return (0, F.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {@@ -44761,43 +44774,43 @@ function VV() {}, []), e;}// src/react/providers.tsx-var HV = null;-function Qge() {- return HV?.isConnected || (HV = document.createElement("div"), HV.className = "peach-react", HV.dataset.reactOverlays = "", document.body.append(HV)), HV;+var WV = null;+function t_e() {+ return WV?.isConnected || (WV = document.createElement("div"), WV.className = "peach-react", WV.dataset.reactOverlays = "", document.body.append(WV)), WV;}-function UV({ children: e }) {+function GV({ children: e }) {return /* @__PURE__ */ (0, I.jsx)(oe, {client: H,- children: /* @__PURE__ */ (0, I.jsx)($re, {+ children: /* @__PURE__ */ (0, I.jsx)(tie, {reducedMotion: "user",- children: /* @__PURE__ */ (0, I.jsx)(TD, {- getContainer: Qge,+ children: /* @__PURE__ */ (0, I.jsx)(DD, {+ getContainer: t_e,children: e})})});}// node_modules/sonner/dist/index.mjs-function $ge(e) {+function n_e(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 e_e = (e) => {+var r_e = (e) => {switch (e) {- case "success": return r_e;- case "info": return a_e;- case "warning": return i_e;- case "error": return o_e;+ case "success": return o_e;+ case "info": return c_e;+ case "warning": return s_e;+ case "error": return l_e;default: return null;}-}, t_e = Array(12).fill(0), n_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {+}, i_e = Array(12).fill(0), a_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, t_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, i_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), r_e = /*#__PURE__*/ F.createElement("svg", {+})))), o_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44808,7 +44821,7 @@ var e_e = (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"-})), i_e = /*#__PURE__*/ F.createElement("svg", {+})), s_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44819,7 +44832,7 @@ var e_e = (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"-})), a_e = /*#__PURE__*/ F.createElement("svg", {+})), c_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44830,7 +44843,7 @@ var e_e = (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"-})), o_e = /*#__PURE__*/ F.createElement("svg", {+})), l_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44841,7 +44854,7 @@ var e_e = (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"-})), s_e = /*#__PURE__*/ F.createElement("svg", {+})), u_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44862,7 +44875,7 @@ var e_e = (e) => {y1: "6",x2: "18",y2: "18"-})), c_e = () => {+})), d_e = () => {let [e, t] = F.useState(document.hidden);return F.useEffect(() => {let e = () => {@@ -44870,7 +44883,7 @@ var e_e = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, l_e = 1, u_e = 100, WV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : l_e++, GV = new class {+}, f_e = 1, p_e = 100, KV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : f_e++, qV = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44880,10 +44893,10 @@ var e_e = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - u_e;+ let e = this.toasts.length - p_e;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 = WV(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = KV(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({@@ -44958,7 +44971,7 @@ var e_e = (e) => {type: "default",message: e});- else if (f_e(e) && !e.ok) {+ else if (h_e(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" && !F.isValidElement(r) ? r : { message: r };this.create({@@ -45002,7 +45015,7 @@ var e_e = (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 = WV(t);+ let n = KV(t);return this.create({...t,jsx: e(n),@@ -45011,34 +45024,34 @@ var e_e = (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();}-}(), d_e = (e, t) => GV.message(e, t), f_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", KV = Object.assign(d_e, {- success: GV.success,- info: GV.info,- warning: GV.warning,- error: GV.error,- custom: GV.custom,- message: GV.message,- promise: GV.promise,- dismiss: GV.dismiss,- loading: GV.loading+}(), m_e = (e, t) => qV.message(e, t), h_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", JV = Object.assign(m_e, {+ success: qV.success,+ info: qV.info,+ warning: qV.warning,+ error: qV.error,+ custom: qV.custom,+ message: qV.message,+ promise: qV.promise,+ dismiss: qV.dismiss,+ loading: qV.loading}, {- getHistory: () => GV.toasts,- getToasts: () => GV.getActiveToasts()+ getHistory: () => qV.toasts,+ getToasts: () => qV.getActiveToasts()});-$ge("[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 qV(e) {+n_e("[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 YV(e) {return e.label !== void 0;}-var p_e = 3, m_e = "24px", h_e = "16px", JV = 4e3, g_e = 356, __e = 14, v_e = 45, y_e = 200;-function YV(...e) {+var g_e = 3, __e = "24px", v_e = "16px", XV = 4e3, y_e = 356, b_e = 14, x_e = 45, S_e = 200;+function ZV(...e) {return e.filter(Boolean).join(" ");}-function b_e(e) {+function C_e(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var x_e = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || JV), le = F.useRef(null), ue = F.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 = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || JV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = c_e(), ke = F.useMemo(() => e.swipeDirections ?? b_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+var w_e = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || XV), le = F.useRef(null), ue = F.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 = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || XV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = d_e(), ke = F.useMemo(() => e.swipeDirections ?? C_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {ce.current = be;}, [be]), F.useEffect(() => {@@ -45079,7 +45092,7 @@ var x_e = (e) => {let Me = F.useCallback(() => {ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, y_e);+ }, S_e);}, [n,d,@@ -45110,18 +45123,18 @@ var x_e = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ F.createElement("div", {- className: YV(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: ZV(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ F.createElement(n_e, {- className: YV(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ F.createElement(a_e, {+ className: ZV(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || e_e(pe);+ let Pe = n.icon || w?.[pe] || r_e(pe);return /*#__PURE__*/ F.createElement("li", {tabIndex: 0,ref: ue,- className: YV(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: ZV(_, 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),@@ -45164,7 +45177,7 @@ var x_e = (e) => {if (P || !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) >= v_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= x_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!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"), I(!1), te(!1), D(null);@@ -45203,46 +45216,46 @@ var x_e = (e) => {onClick: je || !he ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: YV(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? s_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {+ className: ZV(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? u_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {"data-icon": "",- className: YV(C?.icon, n?.classNames?.icon)+ className: ZV(C?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {"data-content": "",- className: YV(C?.content, n?.classNames?.content)+ className: ZV(C?.content, n?.classNames?.content)}, /*#__PURE__*/ F.createElement("div", {"data-title": "",- className: YV(C?.title, n?.classNames?.title)+ className: ZV(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {"data-description": "",- className: YV(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && qV(n.cancel) ? /*#__PURE__*/ F.createElement("button", {+ className: ZV(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && YV(n.cancel) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- qV(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ YV(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: YV(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && qV(n.action) ? /*#__PURE__*/ F.createElement("button", {+ className: ZV(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && YV(n.action) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- qV(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ YV(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: YV(C?.actionButton, n?.classNames?.actionButton)+ className: ZV(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function XV() {+function QV() {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 S_e(e, t) {+function T_e(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? h_e : m_e;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? v_e : __e;function o(e) {["top",@@ -45263,11 +45276,11 @@ function S_e(e, t) {}) : o(a);}), n;}-var ZV = /*#__PURE__*/ F.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 = p_e, toastOptions: g, dir: _ = XV(), gap: v = __e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || GV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var $V = /*#__PURE__*/ F.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 = g_e, toastOptions: g, dir: _ = QV(), gap: v = b_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || qV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return F.useEffect(() => GV.subscribe((e) => {+ return F.useEffect(() => qV.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -45336,7 +45349,7 @@ var ZV = /*#__PURE__*/ F.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ F.createElement("ol", {key: t,- dir: _ === "auto" ? XV() : _,+ dir: _ === "auto" ? QV() : _,tabIndex: -1,ref: N,className: c,@@ -45346,10 +45359,10 @@ var ZV = /*#__PURE__*/ F.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${g_e}px`,+ "--width": `${y_e}px`,"--gap": `${v}px`,...m,- ...S_e(l, u)+ ...T_e(l, u)},onBlur: (e) => {ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));@@ -45367,7 +45380,7 @@ var ZV = /*#__PURE__*/ F.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);},onPointerUp: () => j(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(x_e, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(w_e, {key: n.id,icons: y,index: i,@@ -45397,35 +45410,35 @@ var ZV = /*#__PURE__*/ F.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), QV = "/api/library-processing", $V = ["library-processing"], C_e = (e, t, n) => {+}), eH = "/api/library-processing", tH = ["library-processing"], E_e = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${QV}?${r}`, t);-}, w_e = {+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${eH}?${r}`, t);+}, D_e = {fetching_cover: "封面",querying_metadata: "资料"};-function eH(e) {+function nH(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = w_e[e.current_action || ""];+ let t = D_e[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source};}-function tH({ what: e, source: t }) {+function rH({ what: e, source: t }) {return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;}-var nH = (e) => !!e && [+var iH = (e) => !!e && ["running","pausing","paused","stopping"-].includes(e.status), rH = (e) => e?.status === "failed" && e.outcome === "partial", iH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", aH = "/?loc=&thumb=0";-function oH(e) {- if (!nH(e)) return "";+].includes(e.status), aH = (e) => e?.status === "failed" && e.outcome === "partial", oH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", sH = "/?loc=&thumb=0";+function cH(e) {+ if (!iH(e)) return "";if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";@@ -45436,30 +45449,30 @@ function oH(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 sH = (e) => B(QV, e);-async function cH(e) {+var lH = (e) => B(eH, e);+async function uH(e) {await H.fetchQuery({- queryKey: $V,- queryFn: () => sH(e)+ queryKey: tH,+ queryFn: () => lH(e)});}-var T_e = 2e3, E_e = 1e4, lH = "连接中断,正在重新读取处理进度", D_e = {+var O_e = 2e3, k_e = 1e4, dH = "连接中断,正在重新读取处理进度", A_e = {manual: "在网页发起",scheduled: "定时发起",startup: "服务启动时自动发起",cli: "由命令行或托盘发起"};-function O_e(e, t) {+function j_e(e, t) {return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;}-function k_e(e) {- let t = D_e[e.trigger || ""];+function M_e(e) {+ let t = A_e[e.trigger || ""];return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;}-function uH(e, t) {- return nH(e) ? T_e : t ? E_e : !1;+function fH(e, t) {+ return iH(e) ? O_e : t ? k_e : !1;}-var A_e = {+var N_e = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -45468,25 +45481,25 @@ var A_e = {skipped: "已跳过",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, dH = {+}, pH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function j_e(e) {- let t = Object.entries(e).filter(([e, t]) => dH[e] && t > 0).map(([e, t]) => `${dH[e]} ${t.toLocaleString()} 部`);+function P_e(e) {+ let t = Object.entries(e).filter(([e, t]) => pH[e] && t > 0).map(([e, t]) => `${pH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function M_e(e) {+function F_e(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = A_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${$I(e.waited_seconds)}` : "";+ let t = N_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${tL(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function N_e(e) {- let t = e.total ? `${eL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return M_e(e) + (t ? ` · ${t}` : "");+function I_e(e) {+ let t = e.total ? `${nL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return F_e(e) + (t ? ` · ${t}` : "");}-function P_e(e) {+function L_e(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45500,22 +45513,22 @@ function P_e(e) {log: e.issues_log || ""} : null;}-var fH = "peach.library-processing.announced", F_e = 120;-function pH(e) {+var mH = "peach.library-processing.announced", R_e = 120;+function hH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < F_e;+ return !!e.job_id && t >= 0 && t < R_e;}-function I_e(e, t, n) {- if (e.status === "complete" && (n || pH(e))) {+function z_e(e, t, n) {+ if (e.status === "complete" && (n || hH(e))) {try {- if (e.job_id && localStorage.getItem(fH) === e.job_id) return;- e.job_id && localStorage.setItem(fH, e.job_id);+ if (e.job_id && localStorage.getItem(mH) === e.job_id) return;+ e.job_id && localStorage.setItem(mH, 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} 部视频预览` : ""));}}// src/react/boardui/components/base/buttons/link-button.tsx-var mH = FI({+var gH = LI({base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",size: {medium: "text-body-medium",@@ -45532,15 +45545,15 @@ var mH = FI({secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"}});-function hH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = q(mH.base, mH.size[t], mH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [+function _H({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = q(gH.base, gH.size[t], gH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: mH.icon[t],+ className: gH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: mH.icon[t],+ className: gH.icon[t],"aria-hidden": !0}) : null] });@@ -45566,7 +45579,7 @@ function hH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili});}// src/react/settings/use-action.ts-function gH(e = "") {+function vH(e = "") {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);(0, F.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45591,10 +45604,10 @@ function gH(e = "") {};}// src/react/library-processing/slow-item.tsx-function _H({ state: e }) {- let t = gH(), n = (e) => {- t.busy || t.run(e.action, (t) => V(QV, e, "POST", t), (e) => {- H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });+function yH({ state: e }) {+ let t = vH(), n = (e) => {+ t.busy || t.run(e.action, (t) => V(eH, e, "POST", t), (e) => {+ H.setQueryData(tH, e), H.invalidateQueries({ queryKey: tH });});};return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45606,7 +45619,7 @@ function _H({ state: e }) {size: "small",variant: "secondary",disabled: e.skip_requested,- ...gV(t.busy === "skip_current"),+ ...vV(t.busy === "skip_current"),onClick: () => {e.job_id && e.current_asset_id != null && n({action: "skip_current",@@ -45630,37 +45643,37 @@ function _H({ state: e }) {]});}-function L_e({ state: e, slow: t }) {- return /* @__PURE__ */ (0, I.jsx)(dV, {+function B_e({ state: e, slow: t }) {+ return /* @__PURE__ */ (0, I.jsx)(pV, {tone: "warning",- action: /* @__PURE__ */ (0, I.jsx)(_H, { state: e }),- children: tH(t)+ action: /* @__PURE__ */ (0, I.jsx)(yH, { state: e }),+ children: rH(t)});}-function R_e({ state: e, slow: t }) {+function V_e({ state: e, slow: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",- children: tH(t)- }), /* @__PURE__ */ (0, I.jsx)(_H, { state: e })]+ children: rH(t)+ }), /* @__PURE__ */ (0, I.jsx)(yH, { state: e })]});}// src/react/components/use-moving-surface.ts-var z_e = {+var H_e = {selection: {- type: Pg,+ type: Lg,duration: .16,bounce: 0},hover: {- type: Pg,+ type: Lg,duration: .08,bounce: 0}};-function vH(e) {+function bH(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!t) return;@@ -45681,7 +45694,7 @@ function vH(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = oae(n, { transform: [r, E] }, z_e[e]);+ l = cae(n, { transform: [r, E] }, H_e[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45717,24 +45730,24 @@ function vH(e) {}, [t, e]), n;}// src/react/components/menu-dialog.tsx-function yH(e) {- let t = vH("hover");- return /* @__PURE__ */ (0, I.jsx)(Ez, {+function xH(e) {+ let t = bH("hover");+ return /* @__PURE__ */ (0, I.jsx)(Oz, {...e,ref: t});}// src/react/library-processing/processing-effort.tsx-var bH = [+var SH = ["low","standard","high"-], xH = [+], CH = ["低占用","标准","全速"-], SH = mV("snail"), CH = mV("zap");-function wH({ className: e }) {+], wH = gV("snail"), TH = gV("zap");+function EH({ className: e }) {return /* @__PURE__ */ (0, I.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45765,12 +45778,12 @@ function wH({ className: e }) {]});}-var B_e = [- SH,- CH,- wH+var U_e = [+ wH,+ TH,+ EH];-function V_e({ animate: e }) {+function W_e({ animate: e }) {let [t, n] = (0, F.useState)(document.hidden);return (0, F.useEffect)(() => {let e = () => n(document.hidden);@@ -45802,8 +45815,8 @@ function V_e({ animate: e }) {} }, t))]});}-function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, bH.indexOf(e)), [a, o] = (0, F.useState)(i);+function DH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, SH.indexOf(e)), [a, o] = (0, F.useState)(i);return (0, F.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45814,7 +45827,7 @@ function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), xH[a]]+ }), CH[a]]}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45822,19 +45835,19 @@ function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(SH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, I.jsx)(wH, {}), "最慢"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(CH, {}), "标准"]+ children: [/* @__PURE__ */ (0, I.jsx)(TH, {}), "标准"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(wH, {}), "最快"]+ children: [/* @__PURE__ */ (0, I.jsx)(EH, {}), "最快"]})]}),- /* @__PURE__ */ (0, I.jsxs)(qpe, {+ /* @__PURE__ */ (0, I.jsxs)(Xpe, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45843,10 +45856,10 @@ function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(bH[e]);+ e !== i && n(SH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, I.jsx)(RL, {+ children: [/* @__PURE__ */ (0, I.jsx)(BL, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45866,11 +45879,11 @@ function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, I.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, I.jsx)(V_e, { animate: r }) : null,- /* @__PURE__ */ (0, I.jsx)(Jpe, {+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(W_e, { animate: r }) : null,+ /* @__PURE__ */ (0, I.jsx)(Zpe, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, I.jsx)(Ype, {- "aria-label": xH[a],+ children: /* @__PURE__ */ (0, I.jsx)(Qpe, {+ "aria-label": CH[a],className: "processing-effort-thumb"})})@@ -45884,8 +45897,8 @@ function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function H_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, bH.indexOf(e));+function G_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, SH.indexOf(e));return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45893,28 +45906,28 @@ function H_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${xH[s]}`,+ "aria-label": `处理速度:${CH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: B_e[s],- trailingIcon: yB,+ leadingIcon: U_e[s],+ trailingIcon: xB,onClick: () => {t || o(!a);},- children: xH[s]+ children: CH[s]})- }), /* @__PURE__ */ (0, I.jsx)(pz, {+ }), /* @__PURE__ */ (0, I.jsx)(hz, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: NV,- children: /* @__PURE__ */ (0, I.jsx)(yH, {+ className: FV,+ children: /* @__PURE__ */ (0, I.jsx)(xH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, I.jsx)(TH, {+ children: /* @__PURE__ */ (0, I.jsx)(DH, {value: e,busy: t,onChange: n,@@ -45924,10 +45937,10 @@ function H_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {})] });}// src/react/library-processing/processing-controls.tsx-function EH({ state: e, disabled: t = !1 }) {- let n = gH(), r = (0, F.useRef)(!1), i = nH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {- t || n.busy || n.run(e.action, (t) => V(QV, e, "POST", t), (e) => {- H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });+function OH({ state: e, disabled: t = !1 }) {+ let n = vH(), r = (0, F.useRef)(!1), i = iH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {+ t || n.busy || n.run(e.action, (t) => V(eH, e, "POST", t), (e) => {+ H.setQueryData(tH, e), H.invalidateQueries({ queryKey: tH });});}, l = () => {let i = e.job_id;@@ -45951,7 +45964,7 @@ function EH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(H_e, {+ /* @__PURE__ */ (0, I.jsx)(G_e, {value: e.speed_mode || "standard",busy: t || !!n.busy || a,animate: e.status !== "paused" && e.status !== "pausing",@@ -45965,11 +45978,11 @@ function EH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? UB : VB,+ leadingIcon: e.status === "paused" ? GB : UB,"aria-label": o,title: o,disabled: t || !e.job_id || e.status === "pausing" || a,- ...gV(n.busy === "pause" || n.busy === "resume"),+ ...vV(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && c({action: e.status === "paused" ? "resume" : "pause",@@ -45981,11 +45994,11 @@ function EH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: XB,+ leadingIcon: QB,"aria-label": s,title: s,disabled: t || !e.job_id || a,- ...gV(n.busy === "cancel"),+ ...vV(n.busy === "cancel"),onClick: l}) : null]@@ -45997,11 +46010,11 @@ function EH({ state: e, disabled: t = !1 }) {});}// src/react/library-processing/use-library-processing.ts-function DH({ toast: e, mode: t, monitor: n }) {+function kH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = Ft({- queryKey: $V,- queryFn: ({ signal: e }) => sH(e),- refetchInterval: (e) => uH(e.state.data, r)+ queryKey: tH,+ queryFn: ({ signal: e }) => lH(e),+ refetchInterval: (e) => fH(e.state.data, r)}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;return (0, F.useEffect)(() => {if (!c) return;@@ -46012,8 +46025,8 @@ function DH({ toast: e, mode: t, monitor: n }) {"pausing","paused","stopping"- ].includes(n) && !nH(c);- r && o(c), (r || t === "notice") && I_e(c, e, r);+ ].includes(n) && !iH(c);+ r && o(c), (r || t === "notice") && z_e(c, e, r);}, [c,t,@@ -46025,7 +46038,7 @@ function DH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/loading-dots.tsx-function OH({ label: e }) {+function AH({ label: e }) {return /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -46044,21 +46057,21 @@ function OH({ label: e }) {});}// src/react/components/progress.tsx-var kH = 100, U_e = .4;-function AH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 }) {- let a = n > 0 ? n : 1, o = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), a), s = (e) => o(e) / a * kH;+var jH = 100, K_e = .4;+function MH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 }) {+ let a = n > 0 ? n : 1, o = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), a), s = (e) => o(e) / a * jH;return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": a,"aria-valuenow": o(t),- viewBox: `0 0 ${kH} 1`,+ viewBox: `0 0 ${jH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, I.jsx)("rect", {- width: kH,+ width: jH,height: 1,className: i ? "fill-text-primary/10" : "fill-background-tertiary-default"}),@@ -46069,7 +46082,7 @@ function AH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 })}),r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {x: s(e),- width: U_e,+ width: K_e,height: 1,className: "fill-background-secondary-default"}, e))@@ -46077,11 +46090,11 @@ function AH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 })});}// src/react/components/task-progress.tsx-function jH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function NH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-task-progress": r ? "embedded" : "framed",className: q("flex flex-col gap-1.5", !r && "gap-2 rounded-2lg bg-background-tertiary-default px-4 py-3 text-text-secondary"),- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(AH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MH, {label: e,value: t,max: n,@@ -46089,11 +46102,11 @@ function jH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {}), /* @__PURE__ */ (0, I.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, I.jsx)(OH, { label: e })+ })] }) : /* @__PURE__ */ (0, I.jsx)(AH, { label: e })});}// src/react/library-processing/processing-line.tsx-function MH(e) {+function PH(e) {let [t, n] = (0, F.useState)({snapshot: e,seconds: 0@@ -46109,17 +46122,17 @@ function MH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return N_e(a ? {+ return I_e(a ? {...e,waited_seconds: r + a} : e);}-function W_e({ state: e }) {- return MH(e);+function q_e({ state: e }) {+ return PH(e);}-function G_e({ state: e }) {- let t = MH(e);- return /* @__PURE__ */ (0, I.jsx)(jH, {+function J_e({ state: e }) {+ let t = PH(e);+ return /* @__PURE__ */ (0, I.jsx)(NH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -46127,7 +46140,7 @@ function G_e({ state: e }) {});}// src/react/components/collapse-region.tsx-function NH({ open: e, children: t, ...n }) {+function FH({ open: e, children: t, ...n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);return (0, F.useLayoutEffect)(() => {let t = r.current;@@ -46138,7 +46151,7 @@ function NH({ open: e, children: t, ...n }) {children: t});}-function PH(e) {+function IH(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {...e,"aria-hidden": !0,@@ -46153,19 +46166,19 @@ function PH(e) {});}// src/react/boardui/components/application/settings/settings-rows.tsx-function FH({ className: e, children: t }) {+function LH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function IH({ className: e, children: t }) {+function RH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: q("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function K_e({ label: e, description: t, children: n }) {+function Y_e({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: q("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, I.jsxs)("div", {@@ -46181,7 +46194,7 @@ function K_e({ label: e, description: t, children: n }) {});}// src/react/settings/section.tsx-function q_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {+function X_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [n, e]@@ -46189,12 +46202,12 @@ function q_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrclassName: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(IH, { children: s })+ children: /* @__PURE__ */ (0, I.jsx)(RH, { children: s })}), /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-w-0 max-w-full",children: i})]- }) : /* @__PURE__ */ (0, I.jsx)(IH, { children: s }), /* @__PURE__ */ (0, I.jsx)(FH, { children: o })] });+ }) : /* @__PURE__ */ (0, I.jsx)(RH, { children: s }), /* @__PURE__ */ (0, I.jsx)(LH, { children: o })] });return a ? /* @__PURE__ */ (0, I.jsx)("form", {id: r,"data-guide-target": t,@@ -46211,13 +46224,13 @@ function q_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrchildren: c});}-function J_e({ children: e }) {+function Z_e({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function Y_e({ divided: e = !1, children: t }) {+function Q_e({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",children: t@@ -46226,7 +46239,7 @@ function Y_e({ divided: e = !1, children: t }) {children: t});}-function X_e({ label: e, html: t }) {+function $_e({ label: e, html: t }) {let [n] = (0, F.useState)(t);return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",@@ -46236,7 +46249,7 @@ function X_e({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function Z_e({ status: e, children: t }) {+function eve({ status: e, children: t }) {return /* @__PURE__ */ (0, I.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, I.jsx)("div", {@@ -46245,34 +46258,34 @@ function Z_e({ status: e, children: t }) {}) : null, t]});}-function LH({ role: e, children: t }) {+function zH({ role: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function RH({ children: e }) {+function BH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function zH({ children: e }) {+function VH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function Q_e({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, I.jsx)(hH, {+function tve({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, I.jsx)(_H, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: AB,+ trailingIcon: MB,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -46280,22 +46293,22 @@ function Q_e({ href: e, children: t, leadingIcon: n }) {})});}-function $_e() {- return /* @__PURE__ */ (0, I.jsx)(hH, {+function nve() {+ return /* @__PURE__ */ (0, I.jsx)(_H, {href: "/tasks",size: "small",- trailingIcon: bB,+ trailingIcon: SB,className: "self-start",children: "在任务中心查看进度"});}-function eve({ children: e }) {+function rve({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function tve({ term: e, children: t }) {+function ive({ term: e, children: t }) {return /* @__PURE__ */ (0, I.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, I.jsx)("dt", {@@ -46307,7 +46320,7 @@ function tve({ term: e, children: t }) {})]});}-function BH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function HH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);return (0, F.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (Bo(c.current, l.current, n), f(n));@@ -46323,12 +46336,12 @@ function BH({ 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, I.jsx)(xB, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(CB, {"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, I.jsx)(xB, {+ i ? /* @__PURE__ */ (0, I.jsx)(CB, {"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@@ -46344,7 +46357,7 @@ function BH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:})]});}-function nve({ name: e }) {+function ave({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -46354,34 +46367,34 @@ function nve({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function VH({ mark: e }) {+function UH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(nve, { name: e });+ }) : /* @__PURE__ */ (0, I.jsx)(ave, { name: e });}// src/react/components/source-label.tsx-var HH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, rve = Object.fromEntries(Object.entries(_s).map(([e, t]) => [e, function({ className: e }) {+var WH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, ove = Object.fromEntries(Object.entries(_s).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(VH, { mark: t })+ children: /* @__PURE__ */ (0, I.jsx)(UH, { mark: t })});}]));-function ive({ className: e }) {+function sve({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(VH, { mark: "database" })+ children: /* @__PURE__ */ (0, I.jsx)(UH, { mark: "database" })});}-var UH = (e) => rve[HH(e)] ?? ive;-function ave({ site: e, label: t }) {+var GH = (e) => ove[WH(e)] ?? sve;+function cve({ site: e, label: t }) {let [n, r] = (0, F.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(VH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(UH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -46389,24 +46402,24 @@ function ave({ site: e, label: t }) {}), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]});}-function WH({ source: e, label: t }) {- let n = HH(e);+function KH({ source: e, label: t }) {+ let n = WH(e);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(VH, { mark: _s[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(UH, { mark: _s[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var GH = (e) => Xn(e).replace(/\s/g, ""), KH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : GH(e), ove = (e, t) => {- if (e === t) return GH(t);+var qH = (e) => Xn(e).replace(/\s/g, ""), JH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : qH(e), lve = (e, t) => {+ if (e === t) return qH(t);let [n, r] = Xn(e).split(" "), [i, a] = Xn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${GH(e)}-${GH(t)}`;-}, qH = (e, t, n) => e === void 0 ? ove(t, n) : `${e > 0 ? "约 " : ""}${GH(e)}`;-function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {- let a = VV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;+ return r === a ? `${n}-${i}${a}` : `${qH(e)}-${qH(t)}`;+}, YH = (e, t, n) => e === void 0 ? lve(t, n) : `${e > 0 ? "约 " : ""}${qH(e)}`;+function XH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {+ let a = UV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;if (!e) return null;let u = (e) => e.toLocaleString("zh-CN"), d = !!e.workload || !(!e.inventory || e.inventory.complete) || !!(e.unknown_files && e.inventory?.complete !== !1) || !!e.inventory?.errors;return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -46443,7 +46456,7 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: "部分目录无法读取,数量和预估不完整"}) : null]- }), /* @__PURE__ */ (0, I.jsx)(NH, {+ }), /* @__PURE__ */ (0, I.jsx)(FH, {open: !n,"data-processing-estimate": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -46457,25 +46470,25 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(IB, {+ children: [/* @__PURE__ */ (0, I.jsx)(RB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: qH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: YH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- qH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ YH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", GH(e.used_bytes)] }),+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", qH(e.used_bytes)] })," · 代理 ",- GH(e.metered_used_bytes)+ qH(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {@@ -46484,25 +46497,25 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(tV, {+ children: [/* @__PURE__ */ (0, I.jsx)(rV, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, I.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", GH(e.disk.estimated_bytes)]+ children: ["约 ", qH(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", KH(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", JH(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : GH(e.free_bytes)+ e.free_bytes == null ? "未取得" : qH(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", GH(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", qH(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -46518,7 +46531,7 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDeclassName: "self-start","aria-expanded": l,"aria-controls": c,- trailingIcon: l ? SB : yB,+ trailingIcon: l ? wB : xB,onClick: () => {s(!l), i?.(!l);},@@ -46537,12 +46550,12 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(WH, {+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(KH, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(VH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, I.jsx)(UH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, I.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46564,7 +46577,7 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe"待补资料 ",u(e.workload.pending_jav_titles)," 部 · 平均约 ",- KH(e.workload.metadata_average_bytes || 0),+ JH(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46574,8 +46587,8 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe"已用",e.unobserved.length ? "约" : ""," ",- GH(e.used_bytes)- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", qH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ qH(e.used_bytes)+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", YH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46588,15 +46601,15 @@ function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe});}// src/react/library-processing/library-processing-notice.tsx-var YH = "peach.library-processing.collapsed";-function XH(e) {+var ZH = "peach.library-processing.collapsed";+function QH(e) {try {- return !e || sessionStorage.getItem(YH) !== e;+ return !e || sessionStorage.getItem(ZH) !== e;} catch {return !0;}}-function sve({ value: e, max: t }) {+function uve({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar",@@ -46626,17 +46639,17 @@ function sve({ value: e, max: t }) {})]});}-function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {- let [i, a] = (0, F.useState)(() => XH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);+function $H({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, F.useState)(() => QH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);d.current = u;- let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && rH(e), _ = e?.status === "failed" && !g, v = nH(e);+ let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && aH(e), _ = e?.status === "failed" && !g, v = iH(e);(0, F.useEffect)(() => {- a(XH(e?.job_id)), m(!1);+ a(QH(e?.job_id)), m(!1);}, [e?.job_id]);let y = () => {if (!(o && (c.current = !0, s(!1), i))) {try {- i && e?.job_id ? sessionStorage.setItem(YH, e.job_id) : sessionStorage.removeItem(YH);+ i && e?.job_id ? sessionStorage.setItem(ZH, e.job_id) : sessionStorage.removeItem(ZH);} catch {}i && m(!1), a(!i);}@@ -46666,7 +46679,7 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {r = !0, o.disconnect(), u.disconnect(), window.removeEventListener("resize", a), t.style.removeProperty("--processing-toast-space");};}, [n]), e?.archived && !t || !t && !v && !_ && !g) return null;- let b = t ? null : eH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ let b = t ? null : nH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, I.jsxs)("aside", {ref: h,"data-processing-dock": "",@@ -46680,13 +46693,13 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- v && e?.total ? /* @__PURE__ */ (0, I.jsx)(sve, {+ v && e?.total ? /* @__PURE__ */ (0, I.jsx)(uve, {value: e.checked || 0,max: e.total- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(age, {+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(cge, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(_ge, {+ }) : /* @__PURE__ */ (0, I.jsx)(bge, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46698,14 +46711,14 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), v ? /* @__PURE__ */ (0, I.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: oH(e)+ children: cH(e)}) : null]}),/* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: PH,+ leadingIcon: IH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": u ? "收起任务详情" : "展开任务详情",@@ -46717,24 +46730,24 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: EB,+ leadingIcon: OB,"aria-label": "隐藏任务提示",onClick: r}) : null]}),- /* @__PURE__ */ (0, I.jsx)(JH, {+ /* @__PURE__ */ (0, I.jsx)(XH, {traffic: e?.traffic,compact: !u,detailsOpen: p,onDetailsChange: m}),- b ? /* @__PURE__ */ (0, I.jsx)(R_e, {+ b ? /* @__PURE__ */ (0, I.jsx)(V_e, {state: e,slow: b}) : null]- }), /* @__PURE__ */ (0, I.jsx)(NH, {+ }), /* @__PURE__ */ (0, I.jsx)(FH, {id: f,open: u,"data-processing-body": "",@@ -46751,14 +46764,14 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"aria-current": e.status === "current" ? "step" : void 0,className: q("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, I.jsx)($he, {+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(nge, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(ege, {+ }) : /* @__PURE__ */ (0, I.jsx)(rge, {"aria-hidden": !0,className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, I.jsx)(fE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, I.jsx)(mE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46771,11 +46784,11 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(W_e, { state: e }))+ children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(q_e, { state: e }))}),g ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: iH+ children: oH}) : null,v && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46789,20 +46802,20 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",children: [- /* @__PURE__ */ (0, I.jsx)(hH, {+ /* @__PURE__ */ (0, I.jsx)(_H, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: t || _ || g ? "打开扫描与采集" : "任务详情"}),- g ? /* @__PURE__ */ (0, I.jsx)(hH, {- href: aH,+ g ? /* @__PURE__ */ (0, I.jsx)(_H, {+ href: sH,size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: "查看全部内容"}) : null,- v ? /* @__PURE__ */ (0, I.jsx)(EH, {+ v ? /* @__PURE__ */ (0, I.jsx)(OH, {state: e,disabled: !!t}) : null@@ -46812,67 +46825,67 @@ function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {})]});}-function cve(e) {- let { job: t } = DH(e);- return /* @__PURE__ */ (0, I.jsx)(ZH, {+function dve(e) {+ let { job: t } = kH(e);+ return /* @__PURE__ */ (0, I.jsx)($H, {state: t.data,- problem: t.isError ? t.data ? lH : lr(t.error) : ""+ problem: t.isError ? t.data ? dH : lr(t.error) : ""});}// src/react/library-processing/processing-notice-visibility.ts-var QH = "peach.library-processing.visibility", $H = /* @__PURE__ */ new Set(), eU = "";-function lve() {+var eU = "peach.library-processing.visibility", tU = /* @__PURE__ */ new Set(), nU = "";+function fve() {try {- return sessionStorage.getItem(QH) || "";+ return sessionStorage.getItem(eU) || "";} catch {- return eU;+ return nU;}}-function uve(e) {- return $H.add(e), () => {- $H.delete(e);+function pve(e) {+ return tU.add(e), () => {+ tU.delete(e);};}-function tU(e, t) {- eU = `${t ? "shown" : "hidden"}:${e}`;+function rU(e, t) {+ nU = `${t ? "shown" : "hidden"}:${e}`;try {- sessionStorage.setItem(QH, eU);+ sessionStorage.setItem(eU, nU);} catch {}- $H.forEach((e) => e());+ tU.forEach((e) => e());}-function nU(e) {- let t = (0, F.useSyncExternalStore)(uve, lve, () => "");+function iU(e) {+ let t = (0, F.useSyncExternalStore)(pve, fve, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`};}// src/react/library-processing/library-processing-dock.tsx-var rU = "peach-library-processing";-function dve({ toast: e }) {- let { job: t, settled: n } = DH({+var aU = "peach-library-processing";+function mve({ toast: e }) {+ let { job: t, settled: n } = kH({toast: e,mode: "notice"- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = nU(a), c = t.isError ? i ? lH : lr(t.error) : "";+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = iU(a), c = t.isError ? i ? dH : lr(t.error) : "";return (0, F.useEffect)(() => {- let e = nH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || pH(i));- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && KV.dismiss(rU), r.current = !1) : (KV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {+ let e = iH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || hH(i));+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && JV.dismiss(aU), r.current = !1) : (JV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(ZH, {+ children: /* @__PURE__ */ (0, I.jsx)($H, {state: i,problem: c,measure: !0,- onHide: () => tU(a, !1)+ onHide: () => rU(a, !1)})}), {- id: rU,+ id: aU,toasterId: "processing",duration: Infinity,dismissible: !1,closeButton: !1,className: "processing-task-toast",onDismiss: () => {- tU(a, !1), r.current = !1;+ rU(a, !1), r.current = !1;}}), r.current = !0);}, [@@ -46883,19 +46896,19 @@ function dve({ toast: e }) {o,s]), (0, F.useEffect)(() => () => {- r.current && KV.dismiss(rU), r.current = !1;+ r.current && JV.dismiss(aU), r.current = !1;}, []), null;}// src/react/network-banner.tsx-var fve = ["network-status"], pve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function mve(e) {+var hve = ["network-status"], gve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function _ve(e) {return e?.state === "online" ? 12e4 : 3e4;}-function hve() {+function vve() {let e = Ft({- queryKey: fve,+ queryKey: hve,queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => mve(e.state.data),+ refetchInterval: (e) => _ve(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {@@ -46906,56 +46919,56 @@ function hve() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, I.jsx)("p", { children: pve })] }), /* @__PURE__ */ (0, I.jsx)("a", {+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: gve })] }), /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/components/segmented.tsx-function gve(e) {- let t = dL(vH("selection"));- return /* @__PURE__ */ (0, I.jsx)(mB, {+function yve(e) {+ let t = pL(bH("selection"));+ return /* @__PURE__ */ (0, I.jsx)(gB, {...e,ref: t});}-function iU(e) {- let t = dL(vH("selection"));- return /* @__PURE__ */ (0, I.jsx)(Nz, {+function oU(e) {+ let t = pL(bH("selection"));+ return /* @__PURE__ */ (0, I.jsx)(Fz, {...e,ref: t});}-var aU = "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", oU = "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", _ve = "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", sU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", cU = "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)", lU = [+var sU = "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", cU = "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", bve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", lU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", uU = "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)", dU = [["library", "馆藏"],["releases", "新作"],["discover", "发现"],["wants", "想要"]-], uU = (e) => lU.some(([t]) => t === e) ? e : "library", dU = (e) => uU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function vve(e) {+], fU = (e) => dU.some(([t]) => t === e) ? e : "library", pU = (e) => fU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function xve(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/onboarding/guide-catalog.ts-var fU = (e, t, n, r, i, a) => ({+var mU = (e, t, n, r, i, a) => ({id: e,title: t,body: n,route: r,target: i,scope: a-}), pU = (e, t, n, r, i) => fU(e, t, n, r, i), mU = [+}), hU = (e, t, n, r, i) => mU(e, t, n, r, i), gU = [{id: "basics",kind: "interface",title: "认识界面",summary: "4 步认识搜索、导航、作品详情和设置。",steps: [- pU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),- pU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),- pU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- pU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")+ hU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),+ hU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),+ hU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ hU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")]},{@@ -46964,23 +46977,23 @@ var fU = (e, t, n, r, i, a) => ({title: "找到并播放",summary: "搜索、筛选、详情、版本、字幕和播放器。",steps: [- pU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),- pU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),- pU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),+ hU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),+ hU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),+ hU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),{- ...fU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),+ ...mU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),surface: "detail"},{- ...fU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),+ ...mU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),surface: "player"},{- ...fU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),+ ...mU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),surface: "subtitles"},{- ...fU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),+ ...mU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),surface: "detail"}]@@ -46992,15 +47005,15 @@ var fU = (e, t, n, r, i, a) => ({summary: "评分、标记、播放列表与当前播放队列。",steps: [{- ...pU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),+ ...hU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),surface: "detail"},{- ...pU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),+ ...hU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),surface: "detail"},- pU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),- pU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")+ hU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),+ hU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")]},{@@ -47009,10 +47022,10 @@ var fU = (e, t, n, r, i, a) => ({title: "按人物与主题浏览",summary: "从人物、厂牌和标签继续发现相关馆藏。",steps: [- pU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- pU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- pU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),- pU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")+ hU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ hU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ hU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),+ hU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")]},{@@ -47021,10 +47034,10 @@ var fU = (e, t, n, r, i, a) => ({title: "JAV 与追新",summary: "馆藏、新作、想要清单与高清版。",steps: [- pU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", dU("library"), "[data-catalog-frame]"),- pU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", dU("discover"), "[data-jav-filter] [data-catalog-views]"),- pU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", dU("discover"), "[aria-label=\"JAV 分区\"]"),- pU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")+ hU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", pU("library"), "[data-catalog-frame]"),+ hU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", pU("discover"), "[data-jav-filter] [data-catalog-views]"),+ hU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", pU("discover"), "[aria-label=\"JAV 分区\"]"),+ hU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")]},{@@ -47033,9 +47046,9 @@ var fU = (e, t, n, r, i, a) => ({title: "关注创作者",summary: "多来源更新、同作品合并和来源状态。",steps: [- pU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),- pU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),- pU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")+ hU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),+ hU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),+ hU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")]},{@@ -47044,9 +47057,9 @@ var fU = (e, t, n, r, i, a) => ({title: "专注观看",summary: "播放墙、沉浸模式与详情小窗。",steps: [- pU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),- pU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),- pU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")+ hU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),+ hU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),+ hU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")]},{@@ -47055,11 +47068,11 @@ var fU = (e, t, n, r, i, a) => ({title: "整理与维护",summary: "扫描、补资料、复核、文件整理与回收站。",steps: [- pU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),- pU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),- pU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),- pU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- pU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")+ hU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),+ hU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),+ hU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),+ hU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ hU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")]},{@@ -47068,10 +47081,10 @@ var fU = (e, t, n, r, i, a) => ({title: "了解自己的馆藏",summary: "统计、口味,以及浏览历史和书签来源。",steps: [- pU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),- pU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),- pU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),- pU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")+ hU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),+ hU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),+ hU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),+ hU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")]},{@@ -47080,9 +47093,9 @@ var fU = (e, t, n, r, i, a) => ({title: "从外部加入内容",summary: "云下载、目录映射与浏览器添加。",steps: [- pU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),- pU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),- pU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")+ hU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),+ hU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),+ hU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")]},{@@ -47091,18 +47104,18 @@ var fU = (e, t, n, r, i, a) => ({title: "手机与其他设备",summary: "访问地址、密码、局域网和公网入口。",steps: [- pU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),- pU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),- pU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")+ hU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),+ hU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),+ hU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")]}-], yve = "当前浏览器 · 修改后自动保存", hU = "跟随馆藏 · 修改后自动保存", gU = "运行 Peach 的电脑 · 确认后保存配置", _U = (e, t, n = yve) => t.map(([t, r, i, a, o]) => fU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), vU = [+], Sve = "当前浏览器 · 修改后自动保存", _U = "跟随馆藏 · 修改后自动保存", vU = "运行 Peach 的电脑 · 确认后保存配置", yU = (e, t, n = Sve) => t.map(([t, r, i, a, o]) => mU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), bU = [{id: "appearance",kind: "settings",title: Of.appearance,summary: "主题、光晕与导航入口。",- steps: _U("appearance", [+ steps: yU("appearance", [["theme","主题",@@ -47132,7 +47145,7 @@ var fU = (e, t, n, r, i, a) => ({"导航入口与顺序","把常用入口放到侧栏,拖动调整顺序。","[data-sidebar-setting]",- hU+ _U]])},@@ -47141,7 +47154,7 @@ var fU = (e, t, n, r, i, a) => ({kind: "settings",title: Of.playback,summary: "列表呈现、悬停预览与播放行为。",- steps: _U("playback", [+ steps: yU("playback", [["batch","每批作品",@@ -47197,13 +47210,13 @@ var fU = (e, t, n, r, i, a) => ({kind: "settings",title: Of.jav,summary: "封面与新作筛选。",- steps: _U("jav", [+ steps: yU("jav", [["names","女优名称","选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。","#performerNameLanguageSetting",- hU+ _U],["image",@@ -47228,21 +47241,21 @@ var fU = (e, t, n, r, i, a) => ({"隐藏大合集","过滤新作中的大合集,只影响新作展示,馆藏仍可查找。","#feedHideGroupSetting",- hU+ _U],["solo-compilations","隐藏单人合集","过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。","#feedHideSoloSetting",- hU+ _U],["excerpts","隐藏切片","过滤新作中的切片,只影响新作展示,馆藏仍可查找。","#feedHideExcerptSetting",- hU+ _U]])},@@ -47251,12 +47264,12 @@ var fU = (e, t, n, r, i, a) => ({kind: "settings",title: Of.search,summary: "搜索记录、推荐数量与口味入口。",- steps: [..._U("search", [[+ steps: [...yU("search", [["history","搜索记录","设置保留的搜索记录上限,0 表示不记录。","#searchHistoryLimitSetting"- ]], hU), ..._U("search", [[+ ]], _U), ...yU("search", [["related","相关推荐数量","决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",@@ -47268,7 +47281,7 @@ var fU = (e, t, n, r, i, a) => ({kind: "settings",title: Of.content,summary: "SFW 模式与画面显示。",- steps: _U("content", [[+ steps: yU("content", [["sfw","SFW 模式","隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",@@ -47280,7 +47293,7 @@ var fU = (e, t, n, r, i, a) => ({kind: "settings",title: kf.library,summary: "媒体库、目录、读取与处理方式。",- steps: _U("library", [+ steps: yU("library", [["media","媒体库名称与外观",@@ -47331,14 +47344,14 @@ var fU = (e, t, n, r, i, a) => ({"视频预览","生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"]- ], gU)+ ], vU)},{id: "subscriptions",kind: "settings",title: kf.subscriptions,summary: "资料来源、关注、索引器与站点入口。",- steps: _U("subscriptions", [+ steps: yU("subscriptions", [["sources","采集来源与登录状态",@@ -47365,14 +47378,14 @@ var fU = (e, t, n, r, i, a) => ({"作品资料站点","配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"]- ], gU)+ ], vU)},{id: "downloads",kind: "settings",title: kf.downloads,summary: "云下载目录、账号与浏览器配对。",- steps: _U("downloads", [+ steps: yU("downloads", [["download","云下载",@@ -47388,14 +47401,14 @@ var fU = (e, t, n, r, i, a) => ({"浏览器添加 JAV","安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"]- ], gU)+ ], vU)},{id: "network",kind: "settings",title: kf.network,summary: "访问端口、代理、密码和公网入口。",- steps: _U("network", [+ steps: yU("network", [["port","访问地址与端口",@@ -47416,14 +47429,14 @@ var fU = (e, t, n, r, i, a) => ({"Cloudflare 公网入口","临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"]- ], gU)+ ], vU)},{id: "app-maintenance",kind: "settings",title: kf.maintenance,summary: "更新、存储、数据选择与应用维护。",- steps: _U("maintenance", [+ steps: yU("maintenance", [["updates","检查更新",@@ -47464,14 +47477,14 @@ var fU = (e, t, n, r, i, a) => ({"卸载 Peach","卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"]- ], gU)+ ], vU)},{id: "diagnostics",kind: "settings",title: kf.diagnostics,summary: "遇到问题时查看检查项与诊断报告。",- steps: _U("diagnostics", [+ steps: yU("diagnostics", [["attention","需要关注的检查项",@@ -47496,7 +47509,7 @@ var fU = (e, t, n, r, i, a) => ({]], "只读检查 · 重新检查与下载由你主动执行")}-], bve = {+], Cve = {glow: [["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],["强度", "控制光晕的明亮程度;太抢眼时降低。"],@@ -47603,8 +47616,8 @@ var fU = (e, t, n, r, i, a) => ({["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]]};-for (let e of vU) for (let t of e.steps) t.details = bve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");-var yU = [...mU, ...vU], xve = [+for (let e of bU) for (let t of e.steps) t.details = Cve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");+var xU = [...gU, ...bU], wve = [{id: "browse",kind: "interface",@@ -47682,35 +47695,35 @@ var yU = [...mU, ...vU], xve = []}];-function Sve(e) {- return e === "/" ? mU[0] : vU.find((t) => t.steps[0]?.route === e) || mU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || mU[0];+function Tve(e) {+ return e === "/" ? gU[0] : bU.find((t) => t.steps[0]?.route === e) || gU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || gU[0];}// src/onboarding/guide-state.ts-var Cve = () => ({+var Eve = () => ({version: 1,campaign: "",invited: !1,completed: !1,chapters: {}});-function bU(e, t) {+function SU(e, t) {let n = e.chapters[t.id]?.read || [];return t.steps.every((e) => n.includes(e.id));}-function wve(e, t) {+function Dve(e, t) {let n = e.chapters[t.id];- return !n || bU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));+ return !n || SU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));}-function Tve() {+function Ove() {return B("/api/tutorial-progress");}-function Eve(e, t) {+function kve(e, t) {return V("/api/tutorial-progress", {campaign: e,...t});}-function Dve(e, t, n, r, i) {+function Ave(e, t, n, r, i) {let a = e.chapters[t] || {next: 0,read: [],@@ -47728,99 +47741,99 @@ function Dve(e, t, n, r, i) {}};}-var xU = null, SU = /* @__PURE__ */ new Set();-function CU(e = {}) {- SU.size || (xU = e);- for (let t of SU) t(e);+var CU = null, wU = /* @__PURE__ */ new Set();+function TU(e = {}) {+ wU.size || (CU = e);+ for (let t of wU) t(e);}-function Ove(e) {- if (SU.add(e), xU) {- let t = xU;- xU = null, queueMicrotask(() => {- SU.has(e) && e(t);+function jve(e) {+ if (wU.add(e), CU) {+ let t = CU;+ CU = null, queueMicrotask(() => {+ wU.has(e) && e(t);});}return () => {- SU.delete(e);+ wU.delete(e);};}// src/react/components/card.tsx-var kve = "min-w-0", Ave = {+var Mve = "min-w-0", Nve = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, jve = {+}, Pve = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, Mve = {+}, Fve = {line: "border border-border-button-default",soft: "border border-separator-border",error: "outline-1 -outline-offset-1 outline-border-error-default"-}, Nve = {+}, Ive = {none: "",default: "p-5"-}, Pve = "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", Fve = "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 wU(e = {}) {+}, Lve = "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", Rve = "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 EU(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 [- kve,- Ave[t],- jve[s],- Nve[n],- a ? Mve[a] : "",- r ? Pve : "",- i ? Fve : "",+ Mve,+ Nve[t],+ Pve[s],+ Ive[n],+ a ? Fve[a] : "",+ r ? Lve : "",+ i ? Rve : "",o ?? ""].filter(Boolean).join(" ");}// src/react/onboarding/guide-directory.tsx-var Ive = {- browse: qB,- collect: wB,- watch: HB,- manage: PB,- experience: BB,- discovery: KB,- storage: OB,- system: JB-}, Lve = {- basics: DB,- "find-play": qB,- entities: QB,- jav: MB,- save: wB,- follow: KB,- insights: CB,- viewing: HB,- devices: YB,- external: kB,- maintenance: ZB,- appearance: BB,- playback: HB,- content: jB,- "search-settings": qB,- "jav-settings": MB,- subscriptions: KB,- library: OB,- downloads: kB,- network: YB,- "app-maintenance": ZB,- diagnostics: Sge+var zve = {+ browse: YB,+ collect: EB,+ watch: WB,+ manage: IB,+ experience: HB,+ discovery: JB,+ storage: AB,+ system: XB+}, Bve = {+ basics: kB,+ "find-play": YB,+ entities: eV,+ jav: PB,+ save: EB,+ follow: JB,+ insights: TB,+ viewing: WB,+ devices: ZB,+ external: jB,+ maintenance: $B,+ appearance: HB,+ playback: WB,+ content: NB,+ "search-settings": YB,+ "jav-settings": PB,+ subscriptions: JB,+ library: AB,+ downloads: jB,+ network: ZB,+ "app-maintenance": $B,+ diagnostics: Tge};-function Rve({ chapter: e, className: t = "size-5" }) {- let n = Lve[e] || DB;+function Vve({ chapter: e, className: t = "size-5" }) {+ let n = Bve[e] || kB;return /* @__PURE__ */ (0, I.jsx)(n, {"aria-hidden": !0,className: q(t, "shrink-0")});}-function TU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {+function DU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-guide-banner": "","data-guide-completed": i || void 0,- className: wU({+ className: EU({radius: "plain",className: "flex flex-col gap-4"}),@@ -47849,8 +47862,8 @@ function TU({ icon: e, title: t, description: n, children: r, completed: i = !1})]});}-function EU({ chapter: e, progress: t, loading: n, start: r }) {- let i = bU(t, e), a = !i && !!t.chapters[e.id];+function OU({ chapter: e, progress: t, loading: n, start: r }) {+ let i = SU(t, e), a = !i && !!t.chapters[e.id];return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",disabled: n,@@ -47860,7 +47873,7 @@ function EU({ chapter: e, progress: t, loading: n, start: r }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(Rve, { chapter: e.id })+ children: /* @__PURE__ */ (0, I.jsx)(Vve, { chapter: e.id })}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col gap-1",@@ -47872,7 +47885,7 @@ function EU({ chapter: e, progress: t, loading: n, start: r }) {children: e.summary})]}),- i ? /* @__PURE__ */ (0, I.jsx)(DU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ i ? /* @__PURE__ */ (0, I.jsx)(kU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: [a ? "继续 · " : "",@@ -47880,17 +47893,17 @@ function EU({ chapter: e, progress: t, loading: n, start: r }) {" 步"]}),- /* @__PURE__ */ (0, I.jsx)(xB, {+ /* @__PURE__ */ (0, I.jsx)(CB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0 text-text-secondary"})]});}-function DU() {+function kU() {return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, I.jsx)(TB, {+ children: [/* @__PURE__ */ (0, I.jsx)(DB, {"aria-hidden": !0,className: "size-4"}), /* @__PURE__ */ (0, I.jsx)("span", {@@ -47899,17 +47912,17 @@ function DU() {})]});}-function zve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {- let [s, c] = (0, F.useState)(null), l = yU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = bU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = yU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));+function Hve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {+ let [s, c] = (0, F.useState)(null), l = xU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = SU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = xU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(TU, {+ /* @__PURE__ */ (0, I.jsxs)(DU, {completed: u,- icon: e === "interface" ? DB : JB,+ icon: e === "interface" ? kB : XB,title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",- children: [u ? /* @__PURE__ */ (0, I.jsx)(DU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [u ? /* @__PURE__ */ (0, I.jsx)(kU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "text-body-2-regular text-text-secondary",children: [l.steps.length, " 步 · 随时可以退出"]}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -47922,26 +47935,26 @@ function zve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:})})]}),- /* @__PURE__ */ (0, I.jsx)(aV, {+ /* @__PURE__ */ (0, I.jsx)(sV, {"aria-label": "搜索教程",value: t,onChange: n,- children: /* @__PURE__ */ (0, I.jsx)(sV, {+ children: /* @__PURE__ */ (0, I.jsx)(lV, {type: "search",placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",- leadingIcon: qB+ leadingIcon: YB})}),f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-chapters",- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(EU, {+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(OU, {chapter: e,progress: i,loading: a,start: o}, e.id))- }) : /* @__PURE__ */ (0, I.jsx)(fV, {- icon: qB,+ }) : /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: YB,title: "没有匹配的教程",size: "compact",children: "试试功能名或设置名称。"@@ -47959,12 +47972,12 @@ function zve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topics",- children: xve.filter((t) => t.kind === e).map((e) => {- let t = Ive[e.id];+ children: wve.filter((t) => t.kind === e).map((e) => {+ let t = zve[e.id];return /* @__PURE__ */ (0, I.jsx)("div", {"data-guide-topic": e.id,className: "peach-guide-topic",- children: /* @__PURE__ */ (0, I.jsx)(BH, {+ children: /* @__PURE__ */ (0, I.jsx)(HH, {trailing: !0,isOpen: s === e.id,onOpenChange: (t) => c(t ? e.id : null),@@ -47989,8 +48002,8 @@ function zve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}),children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topic-chapters",- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(EU, {- chapter: yU.find((t) => t.id === e),+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(OU, {+ chapter: xU.find((t) => t.id === e),progress: i,loading: a,start: o@@ -48004,14 +48017,14 @@ function zve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:});}// src/onboarding/guide-entry.ts-var OU = "侧栏收起时,先点左上角的导航按钮。", kU = (...e) => ({+var AU = "侧栏收起时,先点左上角的导航按钮。", jU = (...e) => ({path: ["侧栏", ...e],- hint: OU-}), AU = (e) => ({+ hint: AU+}), MU = (e) => ({path: ["侧栏底部的设置", e],- hint: OU+ hint: AU});-function Bve(e) {+function Uve(e) {if (e.surface) return e.id === "external" ? { path: ["作品卡片","作品详情",@@ -48029,7 +48042,7 @@ function Bve(e) {let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];if (t.startsWith("/settings/")) {let e = Of[r];- if (e) return AU(e);+ if (e) return MU(e);let t = kf[r];if (t) return {path: [@@ -48037,11 +48050,11 @@ function Bve(e) {"Peach 配置",t],- hint: OU+ hint: AU};}let i = new URLSearchParams(n);- if (t === "/jav" || i.get("jav") === "1") return kU("JAV", lU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || lU[0][1]);+ if (t === "/jav" || i.get("jav") === "1") return jU("JAV", dU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || dU[0][1]);if (t === "/") {switch (e.id) {case "search": return {@@ -48051,9 +48064,9 @@ function Bve(e) {case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };case "library": return {path: ["侧栏顶部", "媒体库选择器"],- hint: OU+ hint: AU};- case "preferences": return AU(Of.appearance);+ case "preferences": return MU(Of.appearance);case "wall": return { path: ["页面顶部", "播放墙按钮"] };case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };case "cards":@@ -48075,22 +48088,22 @@ function Bve(e) {hint: "来源、时长等更多筛选位于侧栏。"};}- return kU("首页");+ return jU("首页");}if (["/review","/quality-goals","/trash"- ].includes(t)) return kU("管理", $f["/data-cleanup"].title, t === "/trash" ? "回收站" : $f[t].title);+ ].includes(t)) return jU("管理", $f["/data-cleanup"].title, t === "/trash" ? "回收站" : $f[t].title);let a = $f[t];if (a?.nav && a.title) {- let e = kU(a.title);+ let e = jU(a.title);return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;}- if (a?.section && a.title) return kU("管理", a.title);+ if (a?.section && a.title) return jU("管理", a.title);}// src/react/onboarding/guide-help.tsx-function Vve({ details: e }) {+function Wve({ details: e }) {return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {className: "flex flex-col gap-3",children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {@@ -48105,24 +48118,24 @@ function Vve({ details: e }) {}, e))}) : null;}-function Hve({ chapter: e }) {- let t = yU.find((t) => t.id === e);+function Gve({ chapter: e }) {+ let t = xU.find((t) => t.id === e);return t ? /* @__PURE__ */ (0, I.jsx)("div", {className: "text-body-2-regular text-text-secondary",- children: /* @__PURE__ */ (0, I.jsxs)(BH, {+ children: /* @__PURE__ */ (0, I.jsxs)(HH, {summary: "了解这些设置",children: [/* @__PURE__ */ (0, I.jsx)("p", { children: t.summary }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- onClick: () => CU({ chapter: e }),+ onClick: () => TU({ chapter: e }),children: "逐步了解这个分区"}) })]})}) : null;}// src/react/onboarding/guide-popover.tsx-function Uve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {- let c = VV(), l = Bve(e);+function Kve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {+ let c = UV(), l = Uve(e);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "peach-guide-popover-content",onPointerDown: (e) => e.stopPropagation(),@@ -48133,7 +48146,7 @@ function Uve({ step: e, position: t, total: n, missing: r, next: i, previous: a,id: "driver-popover-title",className: "text-body-medium text-text-primary",children: e.title- }), /* @__PURE__ */ (0, I.jsx)(hV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {label: s ? "关闭教程提示" : "结束导览",onPress: o})]@@ -48150,7 +48163,7 @@ function Uve({ step: e, position: t, total: n, missing: r, next: i, previous: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center gap-2 text-body-2-medium text-text-secondary",- children: [/* @__PURE__ */ (0, I.jsx)(wge, {+ children: [/* @__PURE__ */ (0, I.jsx)(Dge, {className: "size-4 shrink-0","aria-hidden": "true"}), "打开方式"]@@ -48159,7 +48172,7 @@ function Uve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {className: "inline-flex items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(xB, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(CB, {className: "size-4 shrink-0 text-text-secondary","aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]@@ -48180,15 +48193,15 @@ function Uve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "text-caption-1-regular text-text-secondary",children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"}) : null,- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(BH, {+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(HH, {summary: "更多说明",- children: /* @__PURE__ */ (0, I.jsx)(Vve, { details: e.details })+ children: /* @__PURE__ */ (0, I.jsx)(Wve, { details: e.details })}) : null,e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: e.scope}) : null,- r ? /* @__PURE__ */ (0, I.jsx)(dV, {+ r ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"}) : null@@ -48242,14 +48255,14 @@ function Uve({ step: e, position: t, total: n, missing: r, next: i, previous: a,]});}-function jU(e, t, n) {+function NU(e, t, n) {let r = document.createElement("div");e.replaceChildren(r, t);let i = (0, zt.createRoot)(r);- return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Uve, { ...n }))), () => i.unmount();+ return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Kve, { ...n }))), () => i.unmount();}// src/react/onboarding/tutorial-center.tsx-function Wve({ go: e }) {+function qve({ go: e }) {let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);(0, F.useEffect)(() => {let e = new AbortController();@@ -48263,8 +48276,8 @@ function Wve({ go: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(TU, {- icon: Cge,+ /* @__PURE__ */ (0, I.jsxs)(DU, {+ icon: Ege,title: "从第一份收藏开始",description: "连接媒体目录,查看入库结果,再打开馆藏。",children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48275,7 +48288,7 @@ function Wve({ go: e }) {children: "连接媒体目录"})]}),- r ? /* @__PURE__ */ (0, I.jsx)(dV, {+ r ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -48291,7 +48304,7 @@ function Wve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(PB, {+ children: /* @__PURE__ */ (0, I.jsx)(IB, {"aria-hidden": !0,className: "size-5"})@@ -48310,7 +48323,7 @@ function Wve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(Nge, {+ children: /* @__PURE__ */ (0, I.jsx)(Ige, {"aria-hidden": !0,className: "size-5"})@@ -48329,7 +48342,7 @@ function Wve({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(HB, {+ children: /* @__PURE__ */ (0, I.jsx)(WB, {"aria-hidden": !0,className: "size-5"})@@ -48347,7 +48360,7 @@ function Wve({ go: e }) {] })]}),- /* @__PURE__ */ (0, I.jsx)(BH, {+ /* @__PURE__ */ (0, I.jsx)(HH, {summary: "更多接入方式",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-routes",@@ -48356,31 +48369,31 @@ function Wve({ go: e }) {title: "关注创作者",description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",path: "/subscriptions",- icon: KB+ icon: JB},{title: "口味与记录",description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",path: "/taste",- icon: CB+ icon: TB},{title: "云下载与浏览器添加",description: "连接渠道、设置目标目录,按需要配对用户脚本。",path: "/settings/downloads",- icon: kB+ icon: jB},{title: "手机访问",description: "查看访问范围、地址与密码。",path: "/settings/network",- icon: YB+ icon: ZB},...u ? [{title: "人工复核",description: `当前有 ${u.toLocaleString()} 条待复核资料。`,path: "/review",- icon: TB+ icon: DB}] : []].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48407,16 +48420,16 @@ function Wve({ go: e }) {]});}-var MU = "tutorial-sync";-function Gve({ actions: e }) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(Cve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = VV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);+var PU = "tutorial-sync";+function Jve({ actions: e }) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(Eve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = UV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);C.current = l;let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {C.current = e, u(e);}, N = async (e = !0) => {let t = j.current;try {- let n = await Tve();+ let n = await Ove();return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);} catch {return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;@@ -48426,7 +48439,7 @@ function Gve({ actions: e }) {let n = ++j.current;A.current += 1, k.current = k.current.then(async () => {try {- let r = await Eve(e.campaign, t);+ let r = await kve(e.campaign, t);M.current && n === j.current && ee(r);} catch {M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));@@ -48436,8 +48449,8 @@ function Gve({ actions: e }) {});}, P = (0, F.useRef)(N);P.current = N, (0, F.useEffect)(() => {- !p || t ? KV.dismiss(MU) : KV.error(p, {- id: MU,+ !p || t ? JV.dismiss(PU) : JV.error(p, {+ id: PU,toasterId: "receipts",duration: Infinity,action: {@@ -48448,7 +48461,7 @@ function Gve({ actions: e }) {}});}, [p, t]), (0, F.useEffect)(() => () => {- KV.dismiss(MU);+ JV.dismiss(PU);}, []), (0, F.useEffect)(() => {if (!d && !p) return;let e = document.getElementById("tutorialBtn");@@ -48469,7 +48482,7 @@ function Gve({ actions: e }) {let i = !1, a = null;return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {i || (a = t({- mountPopover: jU,+ mountPopover: NU,invitation: !0,navigate: e.navigate,previous: () => {},@@ -48504,16 +48517,16 @@ function Gve({ actions: e }) {M.current = !0;let e = (e) => {e.target.closest(".ui-configpage form") && (D.current = !0);- }, t = Op.listen(() => {+ }, t = Np.listen(() => {D.current = !1;});document.addEventListener("input", e), document.addEventListener("change", e);- let r = Ove((e) => {+ let r = jve((e) => {(async () => {let t = document.activeElement;if (await k.current, !M.current || !await N() || e.invitation) return;ie(), T.current = t, g(""), c("");- let r = yU.find((t) => t.id === e.chapter);+ let r = xU.find((t) => t.id === e.chapter);e.reopen ? (i(!1), te({...C.current,invited: !0,@@ -48546,7 +48559,7 @@ function Gve({ actions: e }) {g("请先关闭正在播放的小窗,再开始播放器导览。");return;}- let i = r ? wve(C.current, t) : 0;+ let i = r ? Dve(C.current, t) : 0;if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");return;@@ -48556,7 +48569,7 @@ function Gve({ actions: e }) {try {let { createGuideSession: r } = await import("./peach-app.guide-driver-BZX0VpRC.js");if (a !== S.current) return;- let s = Mf(location.pathname) ? jp() : null, c = new URL(Mf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);+ let s = Mf(location.pathname) ? Ip() : null, c = new URL(Mf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);new URLSearchParams(location.search).has("edit") && c.searchParams.set("edit", ""), E.current = `${c.pathname}${c.search}${c.hash}`, w.current = Math.min(i, t.steps.length - 1), ne(), (0, Rt.flushSync)(() => n(!1)), document.body.classList.add("peach-guiding");let l = () => {let e = C.current, n = e.chapters[t.id] || {@@ -48580,7 +48593,7 @@ function Gve({ actions: e }) {}), b.current?.show(t.steps[w.current], w.current, t.steps.length);};b.current = r({- mountPopover: jU,+ mountPopover: NU,navigate: e.navigate,close: () => {ie(!0), o(t.kind);@@ -48591,18 +48604,18 @@ function Gve({ actions: e }) {},next: async (e = !1) => {let n = w.current + 1;- if (te(Dve(C.current, t.id, t.steps[w.current].id, n, e), {+ if (te(Ave(C.current, t.id, t.steps[w.current].id, n, e), {action: "step",chapter: t.id,step: t.steps[w.current].id,next: n,skipped: e}), n >= t.steps.length) {- if (t.id === "basics" && bU(C.current, t) && te({+ if (t.id === "basics" && SU(C.current, t) && te({...C.current,completed: !0}, { action: "complete" }), await k.current, a !== S.current) return;- ie(!0), o(t.kind), g(bU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");+ ie(!0), o(t.kind), g(SU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");} else w.current = n, l();}}), l();@@ -48615,8 +48628,8 @@ function Gve({ actions: e }) {O.current = (e, t) => {se(e, t);};- let ce = Sve(location.pathname);- return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(lV, {+ let ce = Tve(location.pathname);+ return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(dV, {isOpen: t,onOpenChange: (e) => {e || ae();@@ -48631,18 +48644,18 @@ function Gve({ actions: e }) {id: "guideTitle",className: "text-title-2-medium text-text-primary",children: "新手教程"- }), /* @__PURE__ */ (0, I.jsx)(hV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {label: "关闭新手教程",onPress: ae})]}),/* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",- children: /* @__PURE__ */ (0, I.jsx)(iU, {+ children: /* @__PURE__ */ (0, I.jsx)(oU, {"aria-label": "教程路径",name: "guide-path",orientation: "horizontal",- className: aU,+ className: sU,value: a,onChange: (e) => {o(e), c(""), g("");@@ -48651,9 +48664,9 @@ function Gve({ actions: e }) {["start", "开始使用"],["interface", "界面导览"],["settings", "设置导览"]- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Pz, {+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Iz, {value: e,- className: oU,+ className: cU,children: t}, e))})@@ -48664,7 +48677,7 @@ function Gve({ actions: e }) {ref: y,className: "peach-guide-body",children: [- p ? /* @__PURE__ */ (0, I.jsx)(dV, {+ p ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",className: "mb-4",action: /* @__PURE__ */ (0, I.jsx)(J, {@@ -48676,12 +48689,12 @@ function Gve({ actions: e }) {}),children: p}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(dV, {+ h ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",className: "mb-4",children: h}) : null,- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Wve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(zve, {+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(qve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(Hve, {kind: a,query: s,setQuery: c,@@ -48699,15 +48712,15 @@ function Gve({ actions: e }) {}) }), document.body);}// src/react/client-updates.tsx-var Kve = 12e4, qve = 15e3, NU = () => document.visibilityState !== "hidden", PU = /* @__PURE__ */ new Set([+var Yve = 12e4, Xve = 15e3, FU = () => document.visibilityState !== "hidden", IU = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), FU = "/settings/maintenance#releaseUpdates";-function Jve() {+]), LU = "/settings/maintenance#releaseUpdates";+function Zve() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -48718,23 +48731,23 @@ function Jve() {return null;}}-function IU() {- let e = (0, F.useRef)(Jve()), [t, n] = (0, F.useState)(null);+function RU() {+ let e = (0, F.useRef)(Zve()), [t, n] = (0, F.useState)(null);return (0, F.useEffect)(() => {let t = !1, r, i, a = async () => {- if (t || !NU()) return;+ if (t || !FU()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), qve);+ let s = setTimeout(() => o.abort(), Xve);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {let r = await B("/api/client-updates", o.signal);!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));} catch {} finally {- clearTimeout(s), i === o && (i = void 0, !t && NU() && (r = setTimeout(a, Kve)));+ clearTimeout(s), i === o && (i = void 0, !t && FU() && (r = setTimeout(a, Yve)));}}, o = () => {- clearTimeout(r), i?.abort(), i = void 0, NU() && a();+ clearTimeout(r), i?.abort(), i = void 0, FU() && a();};return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);@@ -48744,12 +48757,12 @@ function IU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function Yve({ navigate: e }) {- let { snapshot: t, refresh: n } = IU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");+function Qve({ navigate: e }) {+ let { snapshot: t, refresh: n } = RU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");if (!t || !a) return null;- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : PU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : IU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;if (!l) return null;- let u = (s.state === "ready" || PU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [+ let u = (s.state === "ready" || IU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [l,c.version,c.build_id@@ -48772,22 +48785,22 @@ function Yve({ navigate: e }) {children: [" Peach ", u]}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex-wrap",- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(hH, {+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(_H, {variant: "secondary",size: "small",onClick: () => window.location.reload(),"data-copy-key": "clientUpdates.refresh.action",children: "刷新页面"- }) : /* @__PURE__ */ (0, I.jsx)(hH, {+ }) : /* @__PURE__ */ (0, I.jsx)(_H, {variant: "secondary",size: "small",- href: FU,+ href: LU,onClick: (t) => {- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(FU));+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(LU));},"data-copy-key": `clientUpdates.${l}.action`,children: l === "preparing" ? "查看进度" : "查看更新"- }), /* @__PURE__ */ (0, I.jsx)(hH, {+ }), /* @__PURE__ */ (0, I.jsx)(_H, {variant: "secondary",size: "small",onClick: () => i(d),@@ -48798,18 +48811,18 @@ function Yve({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function Xve() {+function $ve() {let e = (0, F.useContext)(eG), { pathname: t } = ef();return (0, F.useEffect)(() => {e?.openSettings?.(Nf(t));}, [e, t]), (0, F.useEffect)(() => () => {queueMicrotask(() => {- Mf(Op.navigation.location.pathname) || e?.closeSettings?.();+ Mf(Np.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}// src/junk-queue.ts-var LU = [+var zU = [["","全部",@@ -48845,40 +48858,40 @@ var LU = ["其它","hard-drive"]-], Zve = (e) => LU.find(([t]) => t === e)?.[0] ?? "";-function RU(e) {+], eye = (e) => zU.find(([t]) => t === e)?.[0] ?? "";+function BU(e) {let t = new URLSearchParams(e);return {- kind: Zve(t.get("type")),+ kind: eye(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function zU(e = "", t = "pending") {+function VU(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 BU(e) {+function HU(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: zU("", "pending")+ href: VU("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: zU("", "dismissed")+ href: VU("", "dismissed")};}-var VU = (e) => e === "dismissed" ? "已排除" : "待判断", HU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function Qve({ kind: e, view: t }) {- let n = LU.map(([n, r, i]) => `<a href="${zU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${HU(i)}${z(r)}</a>`).join(""), r = BU(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Is(VU(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\"" : ""}>${HU(r.glyph)}${r.label}</a></nav></div></div></div>`;+var UU = (e) => e === "dismissed" ? "已排除" : "待判断", WU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function tye({ kind: e, view: t }) {+ let n = zU.map(([n, r, i]) => `<a href="${VU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${WU(i)}${z(r)}</a>`).join(""), r = HU(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Is(UU(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\"" : ""}>${WU(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function $ve(e, t, n) {+function nye(e, t, n) {(0, F.useEffect)(() => {if (!e) return;let r = (e) => {@@ -48892,7 +48905,7 @@ function $ve(e, t, n) {n]);}-function eye(e, t) {+function rye(e, t) {let n = (0, F.useRef)(!1);return (0, F.useEffect)(() => {if (!e) return;@@ -48905,33 +48918,33 @@ function eye(e, t) {}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}// src/react/boardui/components/base/select/select.tsx-var UU = (0, F.createContext)("md");-function WU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var GU = (0, F.createContext)("md");+function KU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);- $ve(d, () => f(!1), [l, u]);- let p = eye(d, l);- return /* @__PURE__ */ (0, I.jsx)(Fme, {+ nye(d, () => f(!1), [l, u]);+ let p = rye(d, l);+ return /* @__PURE__ */ (0, I.jsx)(Rme, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),className: q("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(BL, {+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(HL, {ref: l,className: q("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, I.jsx)(Rme, {+ children: [/* @__PURE__ */ (0, I.jsx)(Vme, {className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, I.jsx)(Uge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, I.jsx)(pz, {+ }), /* @__PURE__ */ (0, I.jsx)(Kge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, I.jsx)(hz, {ref: u,isNonModal: !0,offset: 4,- className: q(Kge, NV, "p-2", n),- children: /* @__PURE__ */ (0, I.jsx)(rme, {+ className: q(Yge, FV, "p-2", n),+ children: /* @__PURE__ */ (0, I.jsx)(ome, {items: a,- className: q(qge, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, I.jsx)(UU.Provider, {+ className: q(Xge, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, I.jsx)(GU.Provider, {value: r,children: i})@@ -48939,16 +48952,16 @@ function WU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function GU({ className: e, children: t, ...n }) {- let r = (0, F.useContext)(UU);- return /* @__PURE__ */ (0, I.jsx)(ome, {+function qU({ className: e, children: t, ...n }) {+ let r = (0, F.useContext)(GU);+ return /* @__PURE__ */ (0, I.jsx)(lme, {...n,- className: (t) => q(PV, 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) => q(IV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}// src/react/boardui/components/base/badges/chip.tsx-var KU = FI({+var JU = LI({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",@@ -48967,15 +48980,15 @@ var KU = FI({soft: "bg-background-secondary-default text-text-secondary"}});-function qU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function YU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("span", {ref: r,- className: q(KU.base, KU.variant[e], KU.color[t], n),+ className: q(JU.base, JU.variant[e], JU.color[t], n),...i});}// src/react/components/art-slot.tsx-function JU({ artwork: e, identity: t = e.html, relayout: n }) {+function XU({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, F.useState)({identity: t,artwork: e@@ -48994,7 +49007,7 @@ function JU({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/react/activity/downloads-panel.tsx-var YU = "/api/downloads", XU = ["downloads"], tye = "/api/downloads/cancel", nye = "/api/downloads/postprocess", ZU = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, rye = {+var ZU = "/api/downloads", QU = ["downloads"], iye = "/api/downloads/cancel", aye = "/api/downloads/postprocess", $U = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, oye = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -49003,21 +49016,21 @@ var YU = "/api/downloads", XU = ["downloads"], tye = "/api/downloads/cancel", nyremote_done: "lime",landed: "lime",submitted: "neutral"-}, QU = (e) => {- let t = e.display_code || e.code || "", { title: n } = HI({+}, eW = (e) => {+ let t = e.display_code || e.code || "", { title: n } = WI({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}`;-}, $U = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", iye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function aye() {+}, tW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", sye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function cye() {let e = (0, F.useId)(), t = Lt({- queryKey: [...XU, "pages"],+ queryKey: [...QU, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${YU}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => B(`${ZU}?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) => ZU(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => $U(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, I.jsxs)("section", {id: "cloudDownloads",@@ -49029,14 +49042,14 @@ function aye() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ t.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: lr(t.error)}) : null,r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(oye, {+ children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(lye, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -49044,9 +49057,9 @@ function aye() {t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: yB,+ leadingIcon: xB,className: "self-start",- ...gV(t.isFetchingNextPage),+ ...vV(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -49055,16 +49068,16 @@ function aye() {]});}-function oye({ task: e, writable: t }) {- aL();- let n = ae(), r = gH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = $U(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 lye({ task: e, writable: t }) {+ sL();+ let n = ae(), r = vH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = tW(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,- rL(e.submitted_at)+ aL(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: XU });+ n.invalidateQueries({ queryKey: QU });}, g = () => {- r.run("cancel", (t) => V(tye, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => V(iye, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -49074,16 +49087,16 @@ function oye({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(YU, t, "POST", e), h);+ r.run("resubmit", (e) => V(ZU, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(nye, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => V(aye, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, I.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: wU({+ className: EU({padding: "none",bordered: p ? "error" : void 0,className: "flex flex-col"@@ -49094,14 +49107,14 @@ function oye({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(mM) },+ style: { "--card-ratio": String(gM) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(JU, {+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(XU, {artwork: {kind: "cover",html: So(u, "big")@@ -49111,7 +49124,7 @@ function oye({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, I.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${QU(e)}`,+ "aria-label": `打开作品详情:${eW(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]@@ -49122,19 +49135,19 @@ function oye({ 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, I.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: QU(e),+ title: eW(e),children: f ? /* @__PURE__ */ (0, I.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: QU(e)- }) : QU(e)+ children: eW(e)+ }) : eW(e)}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(qU, {- color: rye[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, I.jsx)(YU, {+ color: oye[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(qU, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(YU, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -49144,7 +49157,7 @@ function oye({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, I.jsx)(WH, {+ children: /* @__PURE__ */ (0, I.jsx)(KH, {source: e.provider,label: e.provider_label})@@ -49171,7 +49184,7 @@ function oye({ task: e, writable: t }) {children: [d.map((e) => nn("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(AH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(MH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -49181,7 +49194,7 @@ function oye({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, I.jsx)(RH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, I.jsx)(BH, { children: r.error }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -49206,21 +49219,21 @@ function oye({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(r.busy === "cancel"),+ ...vV(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(r.busy === "resubmit"),+ ...vV(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(r.busy === "postprocess"),+ ...vV(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -49235,33 +49248,33 @@ function oye({ 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: QU(e)+ children: eW(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, I.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, I.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || iye(e)+ children: l || sye(e)})}) : null]});}// src/react/activity/work-code.ts-var eW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), tW = (e, t) => !!eW(e) && eW(e) === eW(t);+var nW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), rW = (e, t) => !!nW(e) && nW(e) === nW(t);// src/react/activity/resource-search.tsx-function sye({ className: e }) {+function uye({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Bs("") }});}-function cye(e) {+function dye(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function lye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => cye(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = gH(), b = (0, F.useRef)(null);+function fye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => dye(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = vH(), b = (0, F.useRef)(null);(0, F.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -49277,7 +49290,7 @@ function lye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => tW(e.code, t));+ let r = (n.items || []).find((e) => rW(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -49298,18 +49311,18 @@ function lye({ 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, I.jsxs)(LH, { children: [+ t ? /* @__PURE__ */ (0, I.jsxs)(zH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, I.jsx)(cV, {+ /* @__PURE__ */ (0, I.jsx)(uV, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? sye : qB,+ leadingIcon: y.busy ? uye : YB,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -49319,7 +49332,7 @@ function lye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(zH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(WU, {+ children: [/* @__PURE__ */ (0, I.jsx)(VH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(KU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -49327,15 +49340,15 @@ function lye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, I.jsx)(GU, {+ /* @__PURE__ */ (0, I.jsx)(qU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, I.jsx)(GU, {+ /* @__PURE__ */ (0, I.jsx)(qU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, I.jsx)(GU, {+ /* @__PURE__ */ (0, I.jsx)(qU, {id: "uncensored",children: "无码"})@@ -49344,32 +49357,32 @@ function lye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, I.jsx)(cV, {+ children: [/* @__PURE__ */ (0, I.jsx)(uV, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, I.jsx)(cV, {+ }), /* @__PURE__ */ (0, I.jsx)(uV, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, I.jsx)(LH, {+ y.busy ? /* @__PURE__ */ (0, I.jsx)(zH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, I.jsx)(RH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, I.jsx)(LH, {+ y.error ? /* @__PURE__ */ (0, I.jsx)(BH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, I.jsx)(zH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(LH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(zH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(LH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(zH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {@@ -49379,7 +49392,7 @@ function lye({ 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, I.jsx)(LH, { children: [+ /* @__PURE__ */ (0, I.jsx)(zH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -49403,19 +49416,19 @@ function lye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var uye = {+var pye = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function nW({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, I.jsx)(lV, {+function iW({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, I.jsx)(dV, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, I.jsx)(dye, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(mye, {prefill: e,close: t,receipt: n,@@ -49423,26 +49436,26 @@ function nW({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function dye({ prefill: e, close: t, receipt: n, provider: r }) {+function mye({ prefill: e, close: t, receipt: n, provider: r }) {let i = Ft({- queryKey: XU,- queryFn: ({ signal: e }) => B(`${YU}?limit=50`, e),- refetchInterval: (e) => ZU(e.state.data)+ queryKey: QU,+ queryFn: ({ signal: e }) => B(`${ZU}?limit=50`, e),+ refetchInterval: (e) => $U(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, I.jsx)(HL, {+ children: [/* @__PURE__ */ (0, I.jsx)(WL, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: EB,+ leadingIcon: OB,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, I.jsx)(fye, {+ return a ? /* @__PURE__ */ (0, I.jsx)(hye, {header: o,snapshot: a,prefill: e,@@ -49455,7 +49468,7 @@ function dye({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: lr(i.error)}) : null@@ -49471,8 +49484,8 @@ function dye({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = gH(), C = (0, F.useRef)(null), w = (e) => {+function hye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = vH(), C = (0, F.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, I.jsxs)("form", {@@ -49488,14 +49501,14 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(YU, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: XU });- let t = uye[e.outcome];+ b(""), S.run("submit", (e) => V(ZU, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: QU });+ let t = pye[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = $U(e.task);+ let n = tW(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -49519,7 +49532,7 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, I.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, I.jsx)(LH, { children: [+ }), _ ? /* @__PURE__ */ (0, I.jsx)(zH, { children: [_.performers,_.studio,_.release_date,@@ -49527,22 +49540,22 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, I.jsx)(lye, {+ /* @__PURE__ */ (0, I.jsx)(fye, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- tW(e, _?.code) || (v(tW(e, n.code) ? n : null), f("")), m(e);+ rW(e, _?.code) || (v(rW(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? tW(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? rW(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : tW(t?.code, n.code) ? t : null),+ } : e : rW(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, I.jsx)(cV, {+ /* @__PURE__ */ (0, I.jsx)(uV, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -49554,38 +49567,38 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(zH, { children: "下载到" }),- /* @__PURE__ */ (0, I.jsx)(WU, {+ /* @__PURE__ */ (0, I.jsx)(VH, { children: "下载到" }),+ /* @__PURE__ */ (0, I.jsx)(KU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(qU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, I.jsx)(WH, {+ children: /* @__PURE__ */ (0, I.jsx)(KH, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, I.jsx)(LH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(zH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, I.jsx)(dV, {+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(dV, {+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(pV, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, I.jsx)(cV, {+ /* @__PURE__ */ (0, I.jsx)(uV, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -49593,17 +49606,17 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, I.jsx)(cV, {+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(uV, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), tW(e, _?.code) || v(null);+ m(e), rW(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, I.jsx)(RH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(BH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -49615,7 +49628,7 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, I.jsx)(J, {type: "submit",disabled: !d.trim() || !x,- ...gV(S.busy === "submit"),+ ...vV(S.busy === "submit"),children: "提交下载"})]})@@ -49623,18 +49636,18 @@ function fye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/wants/wants.ts-var rW = "/api/wants", iW = ["wants"], pye = (e) => [+var aW = "/api/wants", oW = ["wants"], gye = (e) => ["wants","follow",e-], mye = [+], _ye = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], aW = (e) => B(rW, e);-function hye(e, t) {- H.setQueryData(iW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], sW = (e) => B(aW, e);+function vye(e, t) {+ H.setQueryData(oW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -49642,21 +49655,21 @@ function hye(e, t) {} : n)} : n);}-var gye = (e, t) => B(`${rW}?follow=${encodeURIComponent(e)}`, t), oW = (e, t) => V(rW, {+var yye = (e, t) => B(`${aW}?follow=${encodeURIComponent(e)}`, t), cW = (e, t) => V(aW, {action: "add",...e-}, "POST", t), sW = (e, t) => V(rW, {+}, "POST", t), lW = (e, t) => V(aW, {action: "remove",ids: e-}, "POST", t), _ye = (e, t) => V(rW, {+}, "POST", t), bye = (e, t) => V(aW, {action: "reset",ids: e-}, "POST", t), cW = () => H.invalidateQueries({ queryKey: iW }), vye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function yye(e) {+}, "POST", t), uW = () => H.invalidateQueries({ queryKey: oW }), xye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function Sye(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}// src/react/jav/discovery-sorts.ts-var lW = [+var dW = [["taste","口味",@@ -49664,7 +49677,7 @@ var lW = [],["release_date",- Mj[1],+ Pj[1],"按发行日期排序"],[@@ -49682,10 +49695,10 @@ var lW = ["番号","按番号排序"]-], uW = [+], fW = [["release_date",- Mj[1],+ Pj[1],"按发行日期排序"],[@@ -49709,10 +49722,10 @@ var lW = ["按口味匹配排序"]];-function bye(e) {+function Cye(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function xye(e) {+function wye(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -49737,21 +49750,21 @@ function xye(e) {};}// src/react/jav/jav.ts-function Sye(e) {+function Tye(e) {let t = new URLSearchParams(location.search);for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);- kp(location.pathname + (t.size ? `?${t}` : ""), {+ Pp(location.pathname + (t.size ? `?${t}` : ""), {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state});}-var dW = (e, t = "taste", n = "desc") => [+var pW = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function fW(e, t, n = {}) {+function mW(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -49760,7 +49773,7 @@ function fW(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);}-function pW(e) {+function hW(e) {let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "";return {page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),@@ -49768,12 +49781,12 @@ function pW(e) {studio: t.get("studio") || "",tag: t.get("tag") || "",q: (t.get("q") || "").trim(),- sort: n === "random" && r ? "random" : uW.find(([e]) => e === n)?.[0] || "release_date",+ sort: n === "random" && r ? "random" : fW.find(([e]) => e === n)?.[0] || "release_date",dir: t.get("dir") === "asc" ? "asc" : "desc",seed: r};}-var mW = (e) => [+var gW = (e) => ["jav-releases",e.page,e.performer,@@ -49784,7 +49797,7 @@ var mW = (e) => [e.dir,e.seed];-function hW(e, t, n = "") {+function _W(e, t, n = "") {let r = new URLSearchParams({page: String(e.page),size: "24",@@ -49800,7 +49813,7 @@ function hW(e, t, n = "") {]) e[t] && r.set(t, e[t]);return n && r.set("metadata_job_id", n), B(`/api/jav/releases?${r}`, t);}-function Cye(e, t, n) {+function Eye(e, t, n) {let r = wo({...e,is_jav: !0@@ -49809,40 +49822,40 @@ function Cye(e, t, n) {let i = z(fo(e));return So(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 wye(e, t) {+async function Dye(e, t) {if (e === "wants") await H.ensureQueryData({- queryKey: iW,- queryFn: () => aW(t),+ queryKey: oW,+ queryFn: () => sW(t),staleTime: 3e4,revalidateIfStale: !0});else if (e === "discover") await H.ensureQueryData({- queryKey: dW("external"),- queryFn: () => fW("external", t),+ queryKey: pW("external"),+ queryFn: () => mW("external", t),staleTime: 3e4,revalidateIfStale: !0});else if (e === "releases") {- let e = pW(location.search);+ let e = hW(location.search);await H.ensureQueryData({- queryKey: mW(e),- queryFn: () => hW(e, t),+ queryKey: gW(e),+ queryFn: () => _W(e, t),staleTime: 3e4,revalidateIfStale: !0});}}// src/react/components/board-tabs.tsx-function gW({ value: e }) {+function vW({ value: e }) {return /* @__PURE__ */ (0, I.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 Tye = "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 _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, F.useRef)(null), o = dL(a);+var Oye = "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 yW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, F.useRef)(null), o = pL(a);return (0, F.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -49851,7 +49864,7 @@ function _W({ 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, I.jsx)(LI, {+ }, [t]), /* @__PURE__ */ (0, I.jsx)(zI, {ref: o,role: "tablist","aria-label": n,@@ -49866,7 +49879,7 @@ function _W({ 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 ? mV(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? gV(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -49875,7 +49888,7 @@ function _W({ 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: Tye,+ className: Oye,onClick: () => {i || r(e.value);},@@ -49885,7 +49898,7 @@ function _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/jav/jav-header.tsx-function vW({ tab: e, navigate: t, find: n, search: r }) {+function bW({ tab: e, navigate: t, find: n, search: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -49904,32 +49917,32 @@ function vW({ tab: e, navigate: t, find: n, search: r }) {children: "查找资源"})]- }), /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: lU.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, I.jsx)(yW, {+ tabs: dU.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(dU(e))+ onChange: (e) => t(pU(e))})]});}-function Eye({ navigate: e, receipt: t }) {+function kye({ navigate: e, receipt: t }) {let [n, r] = (0, F.useState)(null);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vW, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bW, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, I.jsx)(nW, {+ }), /* @__PURE__ */ (0, I.jsx)(iW, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/video-wall/folia/blockReflows.ts-var Dye = [+var Aye = [[[{@@ -53490,7 +53503,7 @@ var Dye = [}]]-], yW = [+], xW = [[{x: 0,@@ -53787,26 +53800,26 @@ var Dye = [rows: 2}]-], bW = (e) => e.map((e) => ({+], SW = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), xW = (e) => e.map((e) => ({+})), CW = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), SW = [+})), wW = [(e) => e,- bW,- xW,- (e) => bW(xW(e))-], CW = yW.flatMap((e) => SW.map((t) => t(e))), wW = Dye.flatMap((e) => SW.map((t) => e.map(t)));-CW.length;-var TW = (e, t) => {+ SW,+ CW,+ (e) => SW(CW(e))+], TW = xW.flatMap((e) => wW.map((t) => t(e))), EW = Aye.flatMap((e) => wW.map((t) => e.map(t)));+TW.length;+var DW = (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;-}, EW = (e, t) => {- let n = yW.length;- return ((e + t * 2) % n + n) % n * SW.length + TW(e, t) % SW.length;-}, DW = (e, t) => CW[EW(e, t)], OW = (e, t, n) => n < 0 || n >= 12 ? null : wW[EW(e, t)][n], kW = 103.36, AW = 6.08, jW = 12 * kW, MW = 8 * kW, NW = 12, PW = (e, t) => (e % t + t) % t, Oye = (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;+}, OW = (e, t) => {+ let n = xW.length;+ return ((e + t * 2) % n + n) % n * wW.length + DW(e, t) % wW.length;+}, jye = (e, t) => TW[OW(e, t)], Mye = (e, t, n) => n < 0 || n >= 12 ? null : EW[OW(e, t)][n], kW = 103.36, AW = 6.08, jW = 12 * kW, MW = 8 * kW, NW = 12, PW = (e, t) => (e % t + t) % t, Nye = (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 FW(e, t) {let n = Math.max(1, Math.ceil(e / NW)), r = t ? 3 : Math.min(3, n);return {@@ -53816,7 +53829,7 @@ function FW(e, t) {};}function IW(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = DW(e, t)[n];+ let { x: r, y: i, cols: a, rows: o } = jye(e, t)[n];return {x: e * jW + r * kW,y: t * MW + i * kW,@@ -53824,7 +53837,7 @@ function IW(e, t, n) {height: o * kW - AW};}-function kye(e) {+function Pye(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}function LW(e, t, n) {@@ -53844,13 +53857,13 @@ function LW(e, t, n) {key: n};}-function Aye(e, t) {+function Fye(e, t) {if (t < 0 || t >= e) return null;let n = Math.floor(t / NW);return LW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % NW}`);}function RW(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = OW(r, i, a);+ let [r, i, a] = n.key.split(":").map(Number), o = Mye(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {x: r * jW + e.x * kW,y: i * MW + e.y * kW,@@ -53858,7 +53871,7 @@ function RW(e, t, n) {height: e.rows * kW - AW}]));}-function jye(e) {+function Iye(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {let e = Math.floor(r / NW), i = IW(e % 3, Math.floor(e / 3), r % NW);@@ -53869,7 +53882,7 @@ function jye(e) {height: n};}-function Mye(e, t, n, r) {+function Lye(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 {@@ -53893,7 +53906,7 @@ function zW(e, t, n, r) {let u = (l * o.columns + i) * NW + s;if (t && u >= e) continue;let d = IW(r, n, s);- Oye(d, a) && c.push({+ Nye(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53902,7 +53915,7 @@ function zW(e, t, n, r) {}return c;}-var Nye = class {+var Rye = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53975,11 +53988,11 @@ var Nye = class {"dur_max","region"];-function Pye(e = {}) {+function zye(e = {}) {return BW.some((t) => !!e[t]);}// src/react/video-wall/wall-boot.ts-function Fye() {+function Bye() {if (document.querySelector("[data-wall-boot]")) return;let e = innerWidth < 640 ? .68 : 1, t = document.createElement("div");t.className = "peach-react", t.dataset.wallBoot = "", t.innerHTML = `<div data-video-wall="" data-fullscreen=""><div data-wall-viewport="" data-skeleton="wall" role="status" aria-busy="true" aria-label="正在读取播放墙"><div data-wall-world="" style="transform:translate3d(0px, 0px, 0) scale(${e})"></div></div></div>`, document.body.append(t);@@ -53994,12 +54007,12 @@ function VW() {document.querySelectorAll("[data-wall-boot]").forEach((e) => e.remove());}// src/react/router/pages/catalog.tsx-var Iye = () => pu, HW = Op.navigation.seq, UW = Op.navigation.openEpoch, WW = Op.navigation.location.pathname, GW = {+var Vye = () => pu, HW = Np.navigation.seq, UW = Np.navigation.openEpoch, WW = Np.navigation.location.pathname, GW = {seq: HW,claimed: !0,from: WW};-Op.listen((e) => {+Np.listen((e) => {GW = {seq: e.seq,claimed: e.openEpoch === UW,@@ -54008,7 +54021,7 @@ Op.listen((e) => {});var KW = !1;function qW(e) {- let { seq: t, openEpoch: n, location: r } = Op.navigation, i = Bf(r.pathname), a = jp() ?? r, o = U ?? {};+ let { seq: t, openEpoch: n, location: r } = Np.navigation, i = Bf(r.pathname), a = Ip() ?? r, o = U ?? {};return {seq: t,epoch: n,@@ -54019,8 +54032,8 @@ function qW(e) {opened: e};}-function Lye(e, t, n, r) {- let i = { ...U }, a = um("catalog");+function Hye(e, t, n, r) {+ let i = { ...U }, a = hm("catalog");if (a) return { ...a };if (e === "/trash") return {...i,@@ -54031,7 +54044,7 @@ function Lye(e, t, n, r) {state: "trash",q: ""};- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = aM().value;+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = sM().value;return {...i,loc: o.get("loc") ?? r.defaultLoc(),@@ -54045,7 +54058,7 @@ function Lye(e, t, n, r) {dur_max: o.get("dur_max") || "",orient: o.get("orient") || "",state: kn[e] || o.get("state") || "",- ...Bj(o.get("sort"), o.get("dir"), s, c),+ ...Hj(o.get("sort"), o.get("dir"), s, c),seed: o.get("seed") || (n ? ir() : i.seed || ir()),q: o.get("q") || "",jav: o.get("jav") || "",@@ -54057,18 +54070,18 @@ function Lye(e, t, n, r) {};}function JW(e) {- let t = Op.navigation.seq;- lm("catalog", { ...U });- let n = e(), r = () => Op.navigation.seq === t, i = () => document.querySelector("#grid");- pm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => pm(r, i()));+ let t = Np.navigation.seq;+ mm("catalog", { ...U });+ let n = e(), r = () => Np.navigation.seq === t, i = () => document.querySelector("#grid");+ vm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => vm(r, i()));}-function Rye(e, t) {+function Uye(e, t) {let n = { ...e }, r = qW(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- jp() || i.fill();+ Ip() || i.fill();return;}let a = !1;@@ -54078,36 +54091,36 @@ function Rye(e, t) {JW(() => i.load());return;}- r.epoch !== n.epoch && (a = Op.navigation.action === "POP" && GW.from !== "/");+ r.epoch !== n.epoch && (a = Np.navigation.action === "POP" && GW.from !== "/");}- let { pathname: o, search: s } = Op.navigation.location;+ let { pathname: o, search: s } = Np.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = RU(s);- KW = !0, kp(zU(e, t), { replace: !0 });+ let { kind: e, view: t } = BU(s);+ KW = !0, Pp(VU(e, t), { replace: !0 });return;}let c = KW;- KW = !1, a &&= o === "/" && !dm(), e.opened = !0, W({ state: Lye(o, s, a, i) }), JW(() => i.open(o, {+ KW = !1, a &&= o === "/" && !gm(), e.opened = !0, W({ state: Hye(o, s, a, i) }), JW(() => i.open(o, {entering: a,retitle: c}));}-function zye() {- let e = (0, F.useContext)(eG), t = $W(), n = (0, F.useSyncExternalStore)(Cu, Iye), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({+function Wye() {+ let e = (0, F.useContext)(eG), t = $W(), n = (0, F.useSyncExternalStore)(Cu, Vye), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({mounted: !0,queued: !1});return (0, F.useEffect)(() => {let e = a.current;e.mounted = !0;- let t = qW(!Bf(Op.navigation.location.pathname));+ let t = qW(!Bf(Np.navigation.location.pathname));return !t.covered && t.opens > 0 && (KW || GW.seq === HW ? t.opens = -1 : GW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {e.mounted = !1;};}, []), (0, F.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && Rye(i.current, e);+ t.queued = !1, t.mounted && i.current && Uye(i.current, e);}));}, [t,@@ -54129,19 +54142,19 @@ function YW() {e.inert = n[t] || !1;});};- }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(zye, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(aG, {}) : null] });+ }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Wye, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(aG, {}) : null] });}-function Bye() {+function Gye() {let e = (0, F.useContext)(eG), t = document.getElementById("javLibraryHeader");- return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Eye, {+ return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(kye, {navigate: e.navigate,receipt: (t) => e.receipt(t)}), t) : null;}// src/react/router/pages/overlay.tsx-var XW = () => pu, Vye = () => mu;-function Hye() {- let e = (0, F.useContext)(eG), t = (0, F.useSyncExternalStore)(Cu, Vye), n = (0, F.useSyncExternalStore)(Cu, XW);+var XW = () => pu, Kye = () => mu;+function qye() {+ let e = (0, F.useContext)(eG), t = (0, F.useSyncExternalStore)(Cu, Kye), n = (0, F.useSyncExternalStore)(Cu, XW);return (0, F.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -54159,8 +54172,8 @@ function Hye() {function ZW(e, t = !1) {let n = (0, F.useSyncExternalStore)(Cu, XW), r = (0, F.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = Op.navigation;- r.current = pu === 0 || Ap() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = Np.navigation;+ r.current = pu === 0 || Fp() ? "boot" : e && !t ? null : "history";}let i = (0, F.useRef)(e);(0, F.useEffect)(() => {@@ -54176,22 +54189,22 @@ function ZW(e, t = !1) {}));}, [n]);}-function Uye() {+function Jye() {let e = (0, F.useContext)(eG), t = (0, F.useRef)(e);return (0, F.useLayoutEffect)(() => {t.current = e;}, [e]), ZW((t) => {- let n = Op.navigation.location, { pathname: r, search: i } = Mf(n.pathname) && Ff(n.state) || n, a = zf(r, i);- e && a && (Gf(), t || Kf(Op.navigation.location.state), e.openOverlay(a));+ let n = Np.navigation.location, { pathname: r, search: i } = Mf(n.pathname) && Ff(n.state) || n, a = zf(r, i);+ e && a && (Gf(), t || Kf(Np.navigation.location.state), e.openOverlay(a));}, !0), (0, F.useEffect)(() => () => {queueMicrotask(() => {- Bf(Op.navigation.location.pathname) || t.current?.closeStage();+ Bf(Np.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function Wye({ path: e }) {+function Yye({ path: e }) {$W();- let { location: t, seq: n, action: r } = Op.navigation, i = Mf(t.pathname) ? Ff(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({+ let { location: t, seq: n, action: r } = Np.navigation, i = Mf(t.pathname) ? Ff(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -54202,78 +54215,78 @@ function Wye({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, I.jsx)(Uye, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, I.jsx)(Jye, {}, `${e} ${o.current.seq}`);}-function Gye() {+function Xye() {let e = (0, F.useContext)(eG);return ZW(() => {e?.follow?.ground();}), null;}-function Kye() {- return /* @__PURE__ */ (0, I.jsx)(Gye, {}, $W());+function Zye() {+ return /* @__PURE__ */ (0, I.jsx)(Xye, {}, $W());}// src/react/router/router.tsxvar QW = (0, F.createContext)(0), $W = () => (0, F.useContext)(QW), eG = (0, F.createContext)(null);-function qye({ children: e }) {- let [t, n] = (0, F.useState)(() => Op.navigation);- return (0, F.useLayoutEffect)(() => (n(Op.navigation), Op.listen((e) => {+function Qye({ children: e }) {+ let [t, n] = (0, F.useState)(() => Np.navigation);+ return (0, F.useLayoutEffect)(() => (n(Np.navigation), Np.listen((e) => {(0, Rt.flushSync)(() => n(e));})), []), /* @__PURE__ */ (0, I.jsx)(QW.Provider, {value: t.openEpoch,children: /* @__PURE__ */ (0, I.jsx)(Tf, {location: t.location,navigationType: t.action,- navigator: Op,+ navigator: Np,children: e})});}-function Jye({ target: e }) {+function $ye({ target: e }) {let t = nf();return (0, F.useLayoutEffect)(() => {e.current = t;}), null;}-function Yye(e, t, n) {+function ebe(e, t, n) {let r = new URL(e, window.location.href);P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Xye() {- let e = (0, F.useContext)(eG), [t, n] = (0, F.useState)(dp), r = (0, F.useRef)(null);- (0, F.useLayoutEffect)(() => (n(dp()), fp((e, t) => {+function tbe() {+ let e = (0, F.useContext)(eG), [t, n] = (0, F.useState)(gp), r = (0, F.useRef)(null);+ (0, F.useLayoutEffect)(() => (n(gp()), _p((e, t) => {t ? (0, Rt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, F.useMemo)(() => (t) => {- e && r.current && Yye(t, e, r.current);+ e && r.current && ebe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Jye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(Zye, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)($ye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(nbe, {entry: t,- children: /* @__PURE__ */ (0, I.jsx)(Qye, {+ children: /* @__PURE__ */ (0, I.jsx)(rbe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Zye = class extends F.Component {+var nbe = class extends F.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- yp(this.props.entry.container, this.props.entry.revision);+ wp(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Qye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {- return J6(e.path) ? (0, Rt.createPortal)(TIe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, rbe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {+ return J6(e.path) ? (0, Rt.createPortal)(AIe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function $ye({ children: e }) {+function ibe({ children: e }) {let t = ef();$W();- let n = jp(), r = Mf(t.pathname) && !Ap() ? Ff(t.state) : null;+ let n = Ip(), r = Mf(t.pathname) && !Fp() ? Ff(t.state) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(Ef, {location: n ?? t,@@ -54282,7 +54295,7 @@ function $ye({ children: e }) {path: e,element: t.element}, e)),- Object.entries(xIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(EIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),@@ -54302,13 +54315,13 @@ function $ye({ children: e }) {path: e,element: V6["/"].element}, e)),- Object.entries(SIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(DIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Kye, {}) : V6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Zye, {}) : V6["/"].element}, e)),jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,@@ -54324,7 +54337,7 @@ function $ye({ children: e }) {location: r ?? t,children: [If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(Wye, { path: e })+ element: /* @__PURE__ */ (0, I.jsx)(Yye, { path: e })}, e)), /* @__PURE__ */ (0, I.jsx)(wf, {path: "*",element: null@@ -54332,29 +54345,29 @@ function $ye({ children: e }) {}),/* @__PURE__ */ (0, I.jsxs)(Ef, { children: [jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(Xve, {})+ element: /* @__PURE__ */ (0, I.jsx)($ve, {})}, e)), /* @__PURE__ */ (0, I.jsx)(wf, {path: "*",element: null})] })] });}-function ebe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, I.jsxs)(UV, { children: [n, /* @__PURE__ */ (0, I.jsx)(eG.Provider, {+function abe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, I.jsxs)(GV, { children: [n, /* @__PURE__ */ (0, I.jsx)(eG.Provider, {value: t,- children: /* @__PURE__ */ (0, I.jsxs)(qye, { children: [- /* @__PURE__ */ (0, I.jsx)(Xye, {}),- /* @__PURE__ */ (0, I.jsx)(Bye, {}),- /* @__PURE__ */ (0, I.jsx)(Hye, {}),- r && t ? /* @__PURE__ */ (0, I.jsx)(dve, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(hve, {}) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Yve, { navigate: t.navigate }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Gve, { actions: t }) : null,- /* @__PURE__ */ (0, I.jsx)($ye, { children: e })+ children: /* @__PURE__ */ (0, I.jsxs)(Qye, { children: [+ /* @__PURE__ */ (0, I.jsx)(tbe, {}),+ /* @__PURE__ */ (0, I.jsx)(Gye, {}),+ /* @__PURE__ */ (0, I.jsx)(qye, {}),+ r && t ? /* @__PURE__ */ (0, I.jsx)(mve, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(vve, {}) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Qve, { navigate: t.navigate }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Jve, { actions: t }) : null,+ /* @__PURE__ */ (0, I.jsx)(ibe, { children: e })] })})] });}-var tbe = { onCaughtError: (e) => {+var obe = { onCaughtError: (e) => {globalThis.reportError?.(e);} }, tG = {category: "个人分类",@@ -54381,8 +54394,8 @@ function rG(e, t) {return e.pathname + (n.size ? `?${n}` : "");}// src/react/catalog-folders/folder-rule-dialog.tsx-function nbe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, F.useContext)(eG), a = gH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {+function sbe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, F.useContext)(eG), a = vH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -54411,7 +54424,7 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, I.jsx)(lV, {+ return g ? null : /* @__PURE__ */ (0, I.jsx)(dV, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -54425,7 +54438,7 @@ function nbe({ 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, I.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, I.jsx)(HL, {+ children: [/* @__PURE__ */ (0, I.jsx)(WL, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -54433,7 +54446,7 @@ function nbe({ 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, I.jsx)(hV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {label: "关闭目录用途",onPress: () => {w || r();@@ -54445,20 +54458,20 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(nV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(WU, {+ children: [/* @__PURE__ */ (0, I.jsx)(iV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(KU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(tG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(GU, {+ children: Object.entries(tG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(qU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(cV, {+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(uV, {label: "关联名称",value: c,onChange: (e) => {@@ -54469,7 +54482,7 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, I.jsx)(BV, {+ /* @__PURE__ */ (0, I.jsx)(HV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -54477,7 +54490,7 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, I.jsx)(BV, {+ /* @__PURE__ */ (0, I.jsx)(HV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -54514,9 +54527,9 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(dV, {+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "warning",- extra: /* @__PURE__ */ (0, I.jsx)(BH, {+ extra: /* @__PURE__ */ (0, I.jsx)(HH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -54534,7 +54547,7 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ a.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: a.error}) : null@@ -54549,7 +54562,7 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...gV(a.busy === "remove"),+ ...vV(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, I.jsx)(J, {@@ -54561,13 +54574,13 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",- ...gV(a.busy === "save"),+ ...vV(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...gV(a.busy === "preview"),+ ...vV(a.busy === "preview"),onClick: () => {x();},@@ -54580,7 +54593,7 @@ function nbe({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function rbe(e, t) {+function cbe(e, t) {(0, F.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -54604,19 +54617,19 @@ function rbe(e, t) {}// src/react/catalog-folders/catalog-folders-page.tsxfunction iG() {- return $d() ? /* @__PURE__ */ (0, I.jsx)(ibe, {}) : null;+ return $d() ? /* @__PURE__ */ (0, I.jsx)(lbe, {}) : null;}-function ibe() {+function lbe() {let e = ef(), t = (0, F.useContext)(eG);if (!jn(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, I.jsx)(cL, {+ return /* @__PURE__ */ (0, I.jsx)(uL, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: NB,+ icon: FB,onClick: () => t?.navigate(rG(e, r ? {browse: null,folder: null,@@ -54624,13 +54637,13 @@ function ibe() {} : { browse: "folders" }))});}-function abe({ children: e, enabled: t }) {- return $d() ? /* @__PURE__ */ (0, I.jsx)(obe, {+function ube({ children: e, enabled: t }) {+ return $d() ? /* @__PURE__ */ (0, I.jsx)(dbe, {enabled: t,children: e}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });}-function obe({ children: e, enabled: t }) {+function dbe({ children: e, enabled: t }) {let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = ef(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "entity-folder-workspace",@@ -54663,7 +54676,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- rbe(o, e);+ cbe(o, e);let c = a.get("folder") || "", l = Ft({...nG(s, c),enabled: o@@ -54683,7 +54696,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(cbe, {+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(pbe, {scope: s,selected: c,current: _,@@ -54700,21 +54713,21 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, I.jsx)(cL, {+ children: /* @__PURE__ */ (0, I.jsx)(uL, {"aria-label": "打开文件夹目录",- icon: Tge,+ icon: Oge,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, I.jsxs)(Gge, {+ /* @__PURE__ */ (0, I.jsxs)(Jge, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, I.jsx)(jV, {+ children: [/* @__PURE__ */ (0, I.jsx)(NV, {current: !c,onClick: () => g(""),- icon: NB,+ icon: FB,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(jV, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(NV, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -54724,15 +54737,15 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, I.jsx)(cL, {+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(uL, {"aria-label": "设置目录用途",- icon: fge,+ icon: hge,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(dV, {+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -54744,7 +54757,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: lr(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(dV, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(pV, {tone: "warning",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -54756,7 +54769,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, I.jsx)(BV, {+ children: [/* @__PURE__ */ (0, I.jsx)(HV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",onChange: (e) => i.navigate(rG(r, { folder_recursive: e ? null : "0" })),@@ -54773,13 +54786,13 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(sbe, {+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(fbe, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, I.jsxs)(lV, {+ /* @__PURE__ */ (0, I.jsxs)(dV, {isOpen: u,onOpenChange: d,width: "form",@@ -54789,7 +54802,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, I.jsx)(hV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -54798,7 +54811,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(nbe, {+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(sbe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -54806,7 +54819,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function sbe({ nodes: e, go: t }) {+function fbe({ nodes: e, go: t }) {let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -54817,7 +54830,7 @@ function sbe({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: NB,+ leadingIcon: FB,onClick: () => t(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",@@ -54834,11 +54847,11 @@ function sbe({ nodes: e, go: t }) {}) : null]});}-function cbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+function pbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {let a = Ft(nG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({...nG(e, "", u),enabled: !!u.trim()- }), f = VV();+ }), f = UV();(0, F.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);@@ -54848,14 +54861,14 @@ function cbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, I.jsx)(IV, {+ return /* @__PURE__ */ (0, I.jsx)(RV, {id: e.id,label: e.name,- icon: NB,- expandedIcon: FB,+ icon: FB,+ expandedIcon: LB,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(IV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(RV, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -54871,15 +54884,15 @@ function cbe({ 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, I.jsx)(cV, {+ /* @__PURE__ */ (0, I.jsx)(uV, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: qB,+ leadingIcon: YB,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, I.jsx)(dV, {+ v ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -54914,20 +54927,20 @@ function cbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: lr(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: NB,+ leadingIcon: FB,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(fV, {+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(mV, {size: "compact",- icon: qB,+ icon: YB,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -54936,7 +54949,7 @@ function cbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Jge, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Zge, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -54944,11 +54957,11 @@ function cbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, I.jsx)(fV, {+ }) : /* @__PURE__ */ (0, I.jsx)(mV, {size: "compact",- icon: NB,+ icon: FB,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, I.jsx)(bL, {+ actions: /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -54969,14 +54982,14 @@ function lG() {return cG;}}-function lbe(e) {+function mbe(e) {cG = e === "list" ? "list" : "cards";try {localStorage.setItem(oG, cG);} catch {}sG.forEach((e) => e());}-function ube(e) {+function hbe(e) {sG.add(e);let t = (t) => {(t.key === oG || t.key === null) && e();@@ -54985,39 +54998,39 @@ function ube(e) {sG.delete(e), removeEventListener("storage", t);};}-var uG = () => (0, F.useSyncExternalStore)(ube, lG, () => "cards");+var uG = () => (0, F.useSyncExternalStore)(hbe, lG, () => "cards");// src/react/catalog-grid/catalog-view-toggle.tsxfunction dG() {let e = uG();- return /* @__PURE__ */ (0, I.jsxs)(Nz, {+ return /* @__PURE__ */ (0, I.jsxs)(Fz, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: lbe,+ onChange: mbe,"data-entity-layout": "",- className: sU,- children: [/* @__PURE__ */ (0, I.jsx)(Pz, {+ className: lU,+ children: [/* @__PURE__ */ (0, I.jsx)(Iz, {value: "cards","aria-label": "卡片",- className: cU,+ className: uU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(zB, {+ children: /* @__PURE__ */ (0, I.jsx)(VB, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(Pz, {+ }), /* @__PURE__ */ (0, I.jsx)(Iz, {value: "list","aria-label": "列表",- className: cU,+ className: uU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(xge, {+ children: /* @__PURE__ */ (0, I.jsx)(wge, {"aria-hidden": "true",className: "size-4"})@@ -55027,7 +55040,7 @@ function dG() {}// src/react/components/icon-swap.tsxfunction fG({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = DC();+ let { isFocusVisible: i } = kC();return /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -55045,8 +55058,8 @@ function fG({ a: e, b: t, state: n, className: r }) {}function pG({ className: e }) {return /* @__PURE__ */ (0, I.jsx)(fG, {- a: Jhe,- b: qhe,+ a: Zhe,+ b: Xhe,className: e});}@@ -55114,9 +55127,9 @@ function TG(e, t) {let n = mG(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var dbe = 864e5, fbe = (e, t) => {+var gbe = 864e5, _be = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > dbe;+ return Number.isFinite(n) && n - t > gbe;};function EG(e, t) {let n = mG(e.published_at);@@ -55125,7 +55138,7 @@ function EG(e, t) {return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: fbe(n, t) ? " · 晚于现在" : ""+ suffix: _be(n, t) ? " · 晚于现在" : ""};}function DG(e, t = Date.now()) {@@ -55148,7 +55161,7 @@ function MG() {body: JSON.stringify({ entries: e })}).catch(() => {}), AG.length && (jG = setTimeout(MG, 800));}-function pbe(e, t, n, r) {+function vbe(e, t, n, r) {let i = `${e}:${t ?? ""}`;kG.has(i) || (kG.add(i), AG.push(t === null ? {item: e,@@ -55162,22 +55175,22 @@ function pbe(e, t, n, r) {}), jG ||= setTimeout(MG, 800));}// src/react/entity-filter/entity-filter.ts-var mbe = (e) => e === "videos", NG = () => /* @__PURE__ */ (0, I.jsx)("span", {+var ybe = (e) => e === "videos", NG = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), hbe = mV("shuffle"), gbe = mV("arrow-up"), _be = mV("arrow-down");-function vbe(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = mbe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), bbe = gV("shuffle"), xbe = gV("arrow-up"), Sbe = gV("arrow-down");+function Cbe(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = ybe(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, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = vL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = vL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = vL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = bL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = bL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = bL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, F.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);}, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PG, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, I.jsx)(pL, {+ }), /* @__PURE__ */ (0, I.jsx)(hL, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -55206,14 +55219,14 @@ function vbe(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Sbe, {+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Dbe, {keys: n,view: t,row: _,glide: S,onView: s.setView}), d ? /* @__PURE__ */ (0, I.jsx)(NG, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bbe, {+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Tbe, {head: T,row: w,glide: E,@@ -55243,7 +55256,7 @@ function vbe(e) {}), /* @__PURE__ */ (0, I.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(mL, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(gL, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -55252,17 +55265,17 @@ function vbe(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(xbe, {+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Ebe, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, I.jsx)(Cbe, { ...e })+ bottom: /* @__PURE__ */ (0, I.jsx)(Obe, { ...e })})] });}-var ybe = [[+var wbe = [["videos","视频","play",@@ -55273,7 +55286,7 @@ var ybe = [["pics","image"]];-function bbe({ head: e, row: t, glide: n, onMedia: r }) {+function Tbe({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {ref: t,role: "group",@@ -55281,7 +55294,7 @@ function bbe({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: ybe.map(([t, i, a, o]) => {+ children: wbe.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -55299,7 +55312,7 @@ function bbe({ head: e, row: t, glide: n, onMedia: r }) {})});}-function xbe({ head: e, actions: t }) {+function Ebe({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -55312,7 +55325,7 @@ function xbe({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: gG(n) }}, n)),e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(NG, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(mL, {+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(gL, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -55325,7 +55338,7 @@ function xbe({ head: e, actions: t }) {}, e.k))] });}-function Sbe({ keys: e, view: t, row: n, glide: r, onView: i }) {+function Dbe({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -55393,7 +55406,7 @@ function PG({ items: e, hidden: t, actions: n }) {})] }) : null});}-function Cbe(e) {+function Obe(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {@@ -55405,30 +55418,30 @@ function Cbe(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, I.jsx)(wbe, {+ /* @__PURE__ */ (0, I.jsx)(kbe, {text: n,busy: r}),- /* @__PURE__ */ (0, I.jsx)(kV, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Tbe, {+ /* @__PURE__ */ (0, I.jsx)(jV, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Abe, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Dbe, {+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Mbe, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Ebe, {+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(jbe, {head: e.online,actions: o}) : null] });}-function wbe({ text: e, busy: t }) {+function kbe({ text: e, busy: t }) {return /* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(oL, {+ children: /* @__PURE__ */ (0, I.jsx)(cL, {text: t ? void 0 : e,busy: t,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -55440,21 +55453,21 @@ function wbe({ text: e, busy: t }) {});}function FG({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, I.jsx)(Nz, {+ return /* @__PURE__ */ (0, I.jsx)(Fz, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: sU,+ className: lU,children: r.map(([e, t, n]) => {- let r = mV(n);- return /* @__PURE__ */ (0, I.jsx)(Pz, {+ let r = gV(n);+ return /* @__PURE__ */ (0, I.jsx)(Iz, {value: e,"aria-label": t,"data-glass-segment": "",- className: cU,+ className: uU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -55465,16 +55478,16 @@ function FG({ name: e, label: t, value: n, options: r, onChange: i }) {});}function IG({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, I.jsx)(fL, {+ return /* @__PURE__ */ (0, I.jsx)(mL, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: hbe,+ icon: bbe,onPress: e});}-function Tbe({ head: e, actions: t }) {+function Abe({ head: e, actions: t }) {let n = uG();return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",@@ -55504,14 +55517,14 @@ function LG({ sorts: e, onSort: t }) {"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(fG, {- a: gbe,- b: _be,+ a: xbe,+ b: Sbe,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function Ebe({ head: e, actions: t }) {+function jbe({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [@@ -55543,7 +55556,7 @@ function Ebe({ head: e, actions: t }) {]});}-function Dbe({ head: e, actions: t, helpers: n }) {+function Mbe({ head: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, F.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);@@ -55571,7 +55584,7 @@ function Dbe({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var Obe = "peach.catalog.tiers.v1";+var Nbe = "peach.catalog.tiers.v1";function RG() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");@@ -55586,18 +55599,18 @@ function RG() {};}}-function kbe(e) {+function Pbe(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Obe, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Nbe, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-function Abe(e) {- let t = !e.tiers, n = Lbe(e.comboHost);+function Fbe(e) {+ let t = !e.tiers, n = Hbe(e.comboHost);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,@@ -55609,13 +55622,13 @@ function Abe(e) {hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, I.jsx)(Nbe, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(jbe, { ...e })+ /* @__PURE__ */ (0, I.jsx)(Rbe, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Ibe, { ...e })]});}-function jbe(e) {- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = vL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function Ibe(e) {+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = bL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, F.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);@@ -55643,7 +55656,7 @@ function jbe(e) {e.sorts]), (0, F.useLayoutEffect)(() => {ec(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, I.jsx)(pL, {+ }, [f]), /* @__PURE__ */ (0, I.jsx)(hL, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -55687,23 +55700,23 @@ function jbe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(zG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Mbe, {+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(zG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Lbe, {tag: n,pending: e.tiersPending,onPress: t.toggleTag}, n.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Fbe, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Bbe, { ...e })});}-function Mbe({ tag: e, pending: t, onPress: n }) {- return /* @__PURE__ */ (0, I.jsxs)(mL, {+function Lbe({ tag: e, pending: t, onPress: n }) {+ return /* @__PURE__ */ (0, I.jsxs)(gL, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,onPress: () => n(e.k),- children: [/* @__PURE__ */ (0, I.jsx)(oL, {+ children: [/* @__PURE__ */ (0, I.jsx)(cL, {text: e.label,busy: t}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {@@ -55712,15 +55725,15 @@ function Mbe({ tag: e, pending: t, onPress: n }) {})]});}-function Nbe(e) {- aL();+function Rbe(e) {+ sL();let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []}, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = BG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = BG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? RG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, F.useEffect)(() => {- i || kbe({+ i || Pbe({performers: f,studios: p});@@ -55752,7 +55765,7 @@ function Nbe(e) {dangerouslySetInnerHTML: { __html: n.ringHtml }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-name": "",- children: /* @__PURE__ */ (0, I.jsx)(oL, {+ children: /* @__PURE__ */ (0, I.jsx)(cL, {text: nn("performer", n.name),busy: e.tiersPending})@@ -55767,7 +55780,7 @@ function Nbe(e) {"data-entity-kind": "studio","data-entity-name": n.name,onClick: () => t.openEntity("studio", n.name),- children: [/* @__PURE__ */ (0, I.jsx)(Pbe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(oL, {+ children: [/* @__PURE__ */ (0, I.jsx)(zbe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(cL, {text: n.name,busy: e.tiersPending})]@@ -55775,7 +55788,7 @@ function Nbe(e) {}) : null]});}-function Pbe({ studio: e }) {+function zbe({ studio: e }) {let [t, n] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-mark": "",@@ -55809,11 +55822,11 @@ function zG({ kind: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]}, t)) });}-function Fbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+function Bbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {let a = uG(), [o, s] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, I.jsx)(Ibe, { count: e }), /* @__PURE__ */ (0, I.jsx)(kV, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, I.jsx)(Vbe, { count: e }), /* @__PURE__ */ (0, I.jsx)(jV, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [@@ -55839,13 +55852,13 @@ function Fbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {]})] });}-function Ibe({ count: e }) {+function Vbe({ count: e }) {let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;return /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-readout": "","data-count-readout": "",role: "status",- children: /* @__PURE__ */ (0, I.jsx)(oL, {+ children: /* @__PURE__ */ (0, I.jsx)(cL, {text: t,busy: e === null,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -55856,7 +55869,7 @@ function Ibe({ count: e }) {})});}-function Lbe(e) {+function Hbe(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -55910,7 +55923,7 @@ function BG(e, t, n, r, i) {}// src/react/components/grid-reveal.tsxvar VG = "100% 0px";-function Rbe(e, t) {+function Ube(e, t) {let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {a.current && pc(a.current);@@ -56009,12 +56022,12 @@ function qG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {});}// src/react/components/recommendation-reason.tsx-var zbe = 3;-function Bbe(e, t, n = zbe) {+var Wbe = 3;+function Gbe(e, t, n = Wbe) {return [...e, t.slice(0, n).join("、")].filter(Boolean).join(" · ");}function JG({ reasons: e, tags: t = [] }) {- let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Bbe(e, t);+ let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Gbe(e, t);if (!a) return null;let o = [e.join(" · "), t.length ? `共同标签:${t.join("、")}` : ""].filter(Boolean).join("\n");return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {@@ -56029,15 +56042,15 @@ function JG({ reasons: e, tags: t = [] }) {e.stopPropagation(), i(!0);},children: a- }), /* @__PURE__ */ (0, I.jsx)(pz, {+ }), /* @__PURE__ */ (0, I.jsx)(hz, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "top",offset: 8,containerPadding: 12,- className: NV,- children: /* @__PURE__ */ (0, I.jsx)(Ez, {+ className: FV,+ children: /* @__PURE__ */ (0, I.jsx)(Oz, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-pre-line break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -56047,7 +56060,7 @@ function JG({ reasons: e, tags: t = [] }) {}// src/library-catalog.tsvar YG = "peach.library-colors.v1", XG = null, ZG = /* @__PURE__ */ new Set();-function Vbe() {+function Kbe() {try {let e = JSON.parse(localStorage.getItem(YG) || "{}");return e && typeof e == "object" ? e : {};@@ -56065,14 +56078,14 @@ function QG(e) {function $G() {return XG;}-function Hbe(e) {+function qbe(e) {return ZG.add(e), () => {ZG.delete(e);};}// src/react/components/library-tint.tsvar eK = /* @__PURE__ */ new Map(), tK = !1, nK = /* @__PURE__ */ new Set();-function Ube(e) {+function Jbe(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();@@ -56081,7 +56094,7 @@ function Ube(e) {function rK(e) {eK = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...eK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Ube(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...eK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Jbe(e.color)}}`).join("\n");}function iK(e) {rK(e), nK.forEach((e) => e());@@ -56093,15 +56106,15 @@ var aK = (e) => new Map(e.map((e) => [e.id, {location: e.roots?.[0]?.location || "",color: e.color || ""}])), oK = !1;-function Wbe() {+function Ybe() {if (oK) return;- oK = !0, Hbe((e) => iK(aK(e)));+ oK = !0, qbe((e) => iK(aK(e)));let e = $G();if (e) {rK(aK(e));return;}- let t = Object.entries(Vbe()).filter(([, e]) => e);+ let t = Object.entries(Kbe()).filter(([, e]) => e);t.length && rK(new Map(t.map(([e, t]) => [e, {id: e,name: "",@@ -56110,12 +56123,12 @@ function Wbe() {color: t}])));}-function Gbe() {+function Xbe() {tK || $G() || (tK = !0, B("/api/libraries").then((e) => QG(e.libraries || [])).catch(() => {tK = !1;}));}-function Kbe(e, t) {+function Zbe(e, t) {let n = eK.get(e) ?? {id: e,name: "",@@ -56128,38 +56141,38 @@ function Kbe(e, t) {color: t}]]));}-function qbe(e) {+function Qbe(e) {return nK.add(e), () => {nK.delete(e);};}function sK({ names: e = !1 } = {}) {- return Wbe(), e && Gbe(), (0, F.useSyncExternalStore)(qbe, () => eK, () => eK);+ return Ybe(), e && Xbe(), (0, F.useSyncExternalStore)(Qbe, () => eK, () => eK);}// src/react/components/row-click.ts-var Jbe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+var $be = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";function cK(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(Jbe);+ let r = n.closest($be);return !r || !t.contains(r) || r === t;}function lK(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var uK = 9 / 16, dK = "未命名视频", Ybe = {+var uK = 9 / 16, dK = "未命名视频", exe = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, Xbe = {+}, txe = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function Zbe(e) {+function nxe(e) {if (Number(e.duration) < 0) return {key: "unavailable",label: "探查错误"@@ -56189,7 +56202,7 @@ function Zbe(e) {}function fK({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && Xbe[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && txe[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, I.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,@@ -56216,7 +56229,7 @@ function pK({ item: e, actions: t }) {}) : null] });}function mK(e, t, n) {- return t === "short" ? uK : wM(n);+ return t === "short" ? uK : EM(n);}function hK(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Ao(e), s = i[0] || "", c = ho(e);@@ -56269,7 +56282,7 @@ function hK(e) {})};}-function Qbe() {+function rxe() {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-preview": "",@@ -56288,7 +56301,7 @@ function Qbe() {})]});}-function $be({ item: e, actions: t, on: n, onChange: r }) {+function ixe({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-later": "",@@ -56311,14 +56324,14 @@ function gK(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 exe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- aL();+function axe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ sL();let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = sK(), 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, F.useRef)(e);_.current = e;let v = (0, F.useCallback)((e) => {let t = _.current;u.current && u.current !== e && Pl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Il(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 = mK(e, t, n), w = S ? n.size : "small", T = C === uK && !!e.is_jav, E = T ? Do(e, !1) : To(e, w, !1, n.javImage), D = T || w === "small" ? E.html : To(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || dK, A = o.titleHtml(e, O).trim() || z(dK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Zbe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = hK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (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 = mK(e, t, n), w = S ? n.size : "small", T = C === uK && !!e.is_jav, E = T ? Do(e, !1) : To(e, w, !1, n.javImage), D = T || w === "small" ? E.html : To(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || dK, A = o.titleHtml(e, O).trim() || z(dK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : nxe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = hK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -56348,7 +56361,7 @@ function exe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pic-portrait": C === uK ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, I.jsx)(JU, {+ E.html ? /* @__PURE__ */ (0, I.jsx)(XU, {artwork: E,identity: D,relayout: (e) => El(e, w)@@ -56398,7 +56411,7 @@ function exe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, I.jsx)(Qbe, {}),+ /* @__PURE__ */ (0, I.jsx)(rxe, {}),p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -56413,7 +56426,7 @@ function exe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSchildren: /* @__PURE__ */ (0, I.jsx)(WG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, I.jsx)($be, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(ixe, {item: e,actions: s,on: p,@@ -56531,8 +56544,8 @@ function exe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS]});}-function txe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Ybe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function oxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : exe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, I.jsxs)("article", {ref: o,"data-media-card": "",@@ -56614,17 +56627,17 @@ function txe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp})]});}-function nxe(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(txe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(exe, { ...e });+function sxe(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(oxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(axe, { ...e });}-var _K = (0, F.memo)(nxe), rxe = 1100, ixe = 340, axe = 5e3;-function oxe(e, t, n) {+var _K = (0, F.memo)(sxe), cxe = 1100, lxe = 340, uxe = 5e3;+function dxe(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, axe);+ }, s = () => o(!1), c = setTimeout(s, uxe);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;@@ -56672,11 +56685,11 @@ function vK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => oxe(t, e, n)));+ let s = await Promise.all(a.map((t) => dxe(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, rxe);+ p(), e.cycle = setInterval(p, cxe);}));};return (0, F.useEffect)(() => d, [d]), {@@ -56685,7 +56698,7 @@ function vK({ 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(ixe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(lxe, () => {e.armed = null, m();});},@@ -56695,8 +56708,8 @@ function vK({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var yK = mV("play");-function sxe({ src: e }) {+var yK = gV("play");+function fxe({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {"data-mix-poster": "",@@ -56710,7 +56723,7 @@ function sxe({ src: e }) {});}var bK = "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 cxe({ faces: e, fallback: t, onOpenEntity: n }) {+function pxe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {@@ -56756,11 +56769,11 @@ function xK({ 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, I.jsx)(JU, {+ f?.html ? /* @__PURE__ */ (0, I.jsx)(XU, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, I.jsx)(sxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, I.jsx)(fxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -56804,7 +56817,7 @@ function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:"data-mix-glyph": "","aria-hidden": !0,children: /* @__PURE__ */ (0, I.jsx)(yK, {})- }) : /* @__PURE__ */ (0, I.jsx)(cxe, {+ }) : /* @__PURE__ */ (0, I.jsx)(pxe, {faces: o,fallback: er(e),onOpenEntity: s@@ -56831,16 +56844,16 @@ var SK = {x: 16,y: 16,scale: 1-}, lxe = .65, uxe = 1.6, CK = (e) => Math.min(uxe, Math.max(lxe, e)), wK = (e, t, n, r) => ({+}, mxe = .65, hxe = 1.6, CK = (e) => Math.min(hxe, Math.max(mxe, e)), wK = (e, t, n, r) => ({scale: t,x: n - (n - e.x) * t / e.scale,y: r - (r - e.y) * t / e.scale});-function dxe(e, t, n) {+function gxe(e, t, n) {let r = 120 / t.scale, i = -e.x / e.scale, a = -e.y / e.scale, o = -t.x / t.scale - r, s = -t.y / t.scale - r;return i >= o && a >= s && i + n.width / e.scale <= o + n.width / t.scale + r * 2 && a + n.height / e.scale <= s + n.height / t.scale + r * 2;}-function fxe(e, t, n = SK, r = !1) {+function _xe(e, t, n = SK, r = !1) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({width: 0,height: 0@@ -56872,12 +56885,12 @@ function fxe(e, t, n = SK, r = !1) {previous: 0});}, []), y = (0, F.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = Mye(e, o.current, jye(r), c && !f && !n), h = s.current;+ let { count: r, finite: c, focused: f } = d.current, p = Lye(e, o.current, Iye(r), c && !f && !n), h = s.current;s.current = p;let g = window.devicePixelRatio || 1, _ = a.current;_ && (_.style.transform = `translate3d(${Math.round(p.x * g) / g}px, ${Math.round(p.y * g) / g}px, 0) scale(${p.scale})`, (p.x !== h.x || p.y !== h.y || p.scale !== h.scale) && (_.style.willChange = "transform", m.current !== null && clearTimeout(m.current), m.current = setTimeout(() => {m.current = null, _.style.willChange = "";- }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !dxe(p, u.current, o.current)) && (u.current = p, l({+ }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !gxe(p, u.current, o.current)) && (u.current = p, l({camera: p,size: { ...o.current }}));@@ -56968,7 +56981,7 @@ function fxe(e, t, n = SK, 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 || b() ? y(a, !0, n) : p.current = dS(0, 1, {+ !t || b() ? y(a, !0, n) : p.current = mS(0, 1, {duration: .42,ease: [.22,@@ -57054,16 +57067,16 @@ function fxe(e, t, n = SK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var pxe = {+var vxe = {type: "spring",stiffness: 300,damping: 34-}, mxe = {+}, yxe = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function hxe(e, t, n) {+function bxe(e, t, n) {let [r, i] = (0, F.useState)({paused: !0,time: 0,@@ -57104,15 +57117,15 @@ function hxe(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function gxe({ 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 = eS(), x = hxe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function xxe({ 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 = rS(), x = bxe(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(xn(e));}};- return /* @__PURE__ */ (0, I.jsxs)(fS.div, {+ return /* @__PURE__ */ (0, I.jsxs)(hS.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -57122,7 +57135,7 @@ function gxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : mxe,+ transition: b ? { duration: 0 } : yxe,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-control-row": "",children: [@@ -57130,7 +57143,7 @@ function gxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groutype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...gV(C),+ ...vV(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -57180,7 +57193,7 @@ function gxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",- ...gV(d),+ ...vV(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -57285,7 +57298,7 @@ function EK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var _xe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {+var Sxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -57294,7 +57307,7 @@ var _xe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function vxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function Cxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-queue": "",id: "wall-queue",@@ -57308,14 +57321,14 @@ function vxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? BP(e.part_label) : "",+ e.part_label ? HP(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, I.jsx)(JU, { artwork: To(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, I.jsx)(XU, { artwork: To(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [e.edition_label,- e.part_label ? BP(e.part_label) : "",+ e.part_label ? HP(e.part_label) : "",Jn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -57323,7 +57336,7 @@ function vxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })});}// src/react/video-wall/wall-route.ts-function yxe(e = `${location.pathname}${location.search}`, t = {}) {+function wxe(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",@@ -57344,8 +57357,8 @@ function DK(e = `${location.pathname}${location.search}`) {return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}function OK() {- let e = new URLSearchParams(Op.navigation.location.search).get("returnTo") || "/";- Op.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+ let e = new URLSearchParams(Np.navigation.location.search).get("returnTo") || "/";+ Np.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsxvar kK = /* @__PURE__ */ new Map(), AK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {@@ -57361,7 +57374,7 @@ var kK = /* @__PURE__ */ new Map(), AK = (0, F.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, I.jsx)(JU, {+ children: /* @__PURE__ */ (0, I.jsx)(XU, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && fl(e, r);@@ -57369,31 +57382,31 @@ var kK = /* @__PURE__ */ new Map(), AK = (0, F.memo)(function({ item: e, image:})});});-function bxe({ 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 Txe({ 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, F.useState)(() => {let e = kK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, F.useState)(() => m?.exploration || new Nye()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, F.useState)(() => m?.exploration || new Rye()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = Ft({- queryKey: yP(M || {+ queryKey: xP(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => OP(M, {+ queryFn: ({ signal: e }) => AP(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === jP(N, O || w?.id || null)) || w, P = fxe(e.length, t && !!e.length, m?.camera || {+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === NP(N, O || w?.id || null)) || w, P = _xe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = eS(), [re, ie] = (0, F.useState)(!!m);+ }, !!w), ne = rS(), [re, ie] = (0, F.useState)(!!m);(0, F.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -57410,7 +57423,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, F.useLayoutEffect)(() => {document.body.append(Ce), VW(), P.viewport.current?.focus({ preventScroll: !0 });}, [Ce]), (0, F.useEffect)(() => () => Ce.remove(), [Ce]);- let [we, Te] = (0, F.useState)(() => Bf(Op.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);+ let [we, Te] = (0, F.useState)(() => Bf(Np.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);Ae.current = !!e.length;let je = (0, F.useRef)({selectedId: w?.id || null,@@ -57457,7 +57470,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, F.useEffect)(() => Op.listen((e) => {+ ]), (0, F.useEffect)(() => Np.listen((e) => {let t = Bf(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), Te(t);}), []), (0, F.useEffect)(() => () => {@@ -57503,7 +57516,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && de(!1);}}, Ue = () => {- let e = MP(N || null, oe || 0);+ let e = PP(N || null, oe || 0);e && (k(e.id), He(e));};(0, F.useEffect)(() => {@@ -57525,7 +57538,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (P.view.size.width / 2 - r.x) / r.scale,y: (P.view.size.height / 2 - r.y) / r.scale- }, o = t ? Aye(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? Fye(e.length, i) : h.nearest(e.length, i, a);o && (Be(n, o), le(n.id));}, qe = async () => {if (!(r || g.current)) {@@ -57654,7 +57667,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Qe.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Ze(Qe).startsWith(Qe.code) ? Ze(Qe).slice(Qe.code.length).trim() : Ze(Qe) }) : null,/* @__PURE__ */ (0, I.jsx)("span", { children: Qe.performers?.join(" · ") || Qe.creator || "未归属" }),- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? BP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? HP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -57671,7 +57684,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(dV, {+ children: [/* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: fe || xn(ee.error)}), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -57681,7 +57694,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, I.jsx)(gxe, {+ /* @__PURE__ */ (0, I.jsx)(xxe, {item: Qe,playing: oe,frame: b,@@ -57703,7 +57716,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ue,error: pe}),- A ? /* @__PURE__ */ (0, I.jsx)(vxe, {+ A ? /* @__PURE__ */ (0, I.jsx)(Cxe, {items: We,activeId: Qe.id,kind: N?.kind || "wall",@@ -57765,7 +57778,7 @@ function bxe({ 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.get("q") || "") ? Re() : (n ? t.set("q", n) : t.delete("q"), Me(), Op.push(`/wall?${t}`), xe(!1));+ n === (t.get("q") || "") ? Re() : (n ? t.set("q", n) : t.delete("q"), Me(), Np.push(`/wall?${t}`), xe(!1));},children: [/* @__PURE__ */ (0, I.jsx)("button", {ref: Se,@@ -57805,7 +57818,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- onClick: () => Op.push(DK()),+ onClick: () => Np.push(DK()),children: "清除筛选"})]}) : null@@ -57861,7 +57874,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = !!w && t.key === E, r = n ? w : e[t.index], i = Ie.get(t.key) || t, a = !re && !n, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, I.jsx)(fS.article, {+ return /* @__PURE__ */ (0, I.jsx)(hS.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -57882,7 +57895,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !n && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: pxe,+ layout: vxe,transform: a ? {type: "spring",stiffness: 360,@@ -57941,7 +57954,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(r.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, I.jsx)(fS.span, {+ /* @__PURE__ */ (0, I.jsx)(hS.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -57953,7 +57966,7 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(dV, {+ children: [/* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: a}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -57983,20 +57996,20 @@ function bxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, I.jsxs)(J, {size: "small",variant: "secondary",- ...gV(r),+ ...vV(r),onClick: () => void qe(),children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(dV, {+ children: [/* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: me}), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- ...gV(r),+ ...vV(r),onClick: () => void qe(),children: "立即重试"})]@@ -58025,7 +58038,7 @@ var jK = ["jav","thumb"];-function xxe(e = typeof location > "u" ? "/" : location.href) {+function Exe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [...jK,@@ -58035,7 +58048,7 @@ function xxe(e = typeof location > "u" ? "/" : location.href) {]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function Sxe(e, t) {+async function Dxe(e, t) {let n = new URLSearchParams();for (let t of jK) 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([@@ -58050,7 +58063,7 @@ async function Sxe(e, t) {}function MK({ 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 Ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(xxe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Exe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -58068,12 +58081,12 @@ function MK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:return Ws("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function Cxe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+function Oxe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {return e ? r || MK() : t ? Ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${DK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsxfunction NK({ label: e, maintenance: t = !1, children: n }) {- let r = vH("hover");+ let r = bH("hover");return /* @__PURE__ */ (0, I.jsx)("div", {ref: r,role: "group",@@ -58089,7 +58102,7 @@ function PK({ option: e, metadataOnly: t, onRun: n }) {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: q(PV, i ? "cursor-not-allowed opacity-50" : FV, "text-body-2-medium"),+ className: q(IV, i ? "cursor-not-allowed opacity-50" : LV, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -58100,12 +58113,12 @@ function PK({ option: e, metadataOnly: t, onRun: n }) {})});}-function wxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function kxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");(0, F.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await C_e(e, t.signal, a);+ let o = await E_e(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(() => {@@ -58130,7 +58143,7 @@ function wxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}),/* @__PURE__ */ (0, I.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, I.jsx)(TH, {+ children: /* @__PURE__ */ (0, I.jsx)(DH, {value: a,busy: i,onChange: (e) => {@@ -58138,7 +58151,7 @@ function wxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, I.jsx)(JH, {+ s ? /* @__PURE__ */ (0, I.jsx)(XH, {traffic: s,initial: !0}) : null,@@ -58198,7 +58211,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spedescription: "为已入库的本地视频生成九宫格",command: { stage: "previews" }}- ], v = e || t, y = e ? gV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {+ ], v = e || t, y = e ? vV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {if (e) return;if (t) {s?.();@@ -58233,7 +58246,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(wxe, {+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(kxe, {command: u.command,dialog: u.dialog,speed: i,@@ -58242,11 +58255,11 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spef.current = e;}}), u.host) : null,- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hH, {+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(_H, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: bB,+ trailingIcon: SB,disabled: v,onClick: (e) => {u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();@@ -58264,7 +58277,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}), /* @__PURE__ */ (0, I.jsx)(J, {ref: c,iconOnly: !0,- leadingIcon: yB,+ leadingIcon: xB,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": p,@@ -58274,14 +58287,14 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}})]}),- /* @__PURE__ */ (0, I.jsx)(pz, {+ /* @__PURE__ */ (0, I.jsx)(hz, {triggerRef: c,isOpen: p,onOpenChange: m,placement: "bottom end",offset: 4,- className: NV,- children: /* @__PURE__ */ (0, I.jsxs)(Ez, {+ className: FV,+ children: /* @__PURE__ */ (0, I.jsxs)(Oz, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: [n ? /* @__PURE__ */ (0, I.jsxs)(NK, {@@ -58321,40 +58334,40 @@ function IK(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) && !To(e, "small", !1, t).html).map((e) => e.id))];}function LK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, I.jsx)(Txe, {+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Axe, {assetIds: e,onComplete: t,className: n}) : null;}-function Txe({ assetIds: e, onComplete: t, className: n }) {+function Axe({ assetIds: e, onComplete: t, className: n }) {let r = Ft({- queryKey: $V,- queryFn: ({ signal: e }) => sH(e),- refetchInterval: (e) => uH(e.state.data, !0)+ queryKey: tH,+ queryFn: ({ signal: e }) => lH(e),+ refetchInterval: (e) => fH(e.state.data, !0)}), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = It({- mutationFn: (t) => V(QV, {+ mutationFn: (t) => V(eH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });+ a(e.job_id || null), H.setQueryData(tH, e), H.invalidateQueries({ queryKey: tH });}}), u = r.data;(0, F.useEffect)(() => {- u && i && u.job_id === i && !nH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !iH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t]);- let d = l.isPending || nH(u), f = l.error ? lr(l.error) : r.error ? lH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${nH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);+ let d = l.isPending || iH(u), f = l.error ? lr(l.error) : r.error ? dH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${iH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);return /* @__PURE__ */ (0, I.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",className: q("@container", n),- children: /* @__PURE__ */ (0, I.jsxs)(dV, {+ children: /* @__PURE__ */ (0, I.jsxs)(pV, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-wrap items-center gap-2",@@ -58369,10 +58382,10 @@ function Txe({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, I.jsx)(hH, {+ /* @__PURE__ */ (0, I.jsx)(_H, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -58380,22 +58393,22 @@ function Txe({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function Exe(e) {- return Dxe(e) || typeof e == "function" || Oxe(e);+function jxe(e) {+ return Mxe(e) || typeof e == "function" || Nxe(e);}-function Dxe(e) {+function Mxe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function Oxe(e) {+function Nxe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}function RK(e, t) {- return e == null ? null : Exe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;+ return e == null ? null : jxe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;}-function kxe(e) {+function Pxe(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;return r.getIsAggregated?.() ? RK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : RK(n.cell, t.getContext());@@ -58404,7 +58417,7 @@ function kxe(e) {}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function Axe({ update: e, notify: t, unwatched: n }) {+function Fxe({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -58521,7 +58534,7 @@ function Axe({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function jxe(e, t, n) {+function Ixe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -58529,7 +58542,7 @@ function jxe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var zK = [], BK = 0, { link: VK, unlink: Mxe, propagate: Nxe, checkDirty: HK, shallowPropagate: UK } = /* @__PURE__ */ Axe({+var zK = [], BK = 0, { link: VK, unlink: Lxe, propagate: Rxe, checkDirty: HK, shallowPropagate: UK } = /* @__PURE__ */ Fxe({update(e) {return e._update();},@@ -58540,7 +58553,7 @@ var zK = [], BK = 0, { link: VK, unlink: Mxe, propagate: Nxe, checkDirty: HK, she.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, JK(e));}}), WK = 0, GK = 0, KK, qK = 0;-function Pxe(e) {+function zxe(e) {try {++qK, e();} finally {@@ -58549,7 +58562,7 @@ function Pxe(e) {}function JK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = Mxe(n, e);+ for (; n !== void 0;) n = Lxe(n, e);}function YK() {if (!(qK > 0)) {@@ -58560,7 +58573,7 @@ function YK() {WK = 0, GK = 0;}}-function Fxe(e, t) {+function Bxe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -58572,7 +58585,7 @@ function Fxe(e, t) {return KK !== void 0 && VK(i, KK, BK), i._snapshot;},subscribe(e) {- let t = jxe(e), n = { current: !1 }, r = Ixe(() => {+ let t = Ixe(e), n = { current: !1 }, r = Vxe(() => {i.get(), n.current ? (KK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {@@ -58604,11 +58617,11 @@ function Fxe(e, t) {}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (Nxe(e), UK(e), YK());+ e !== void 0 && (Rxe(e), UK(e), YK());}}, i;}-function Ixe(e) {+function Vxe(e) {let t = () => {let t = KK;KK = n, ++BK, n.depsTail = void 0, n.flags = 6;@@ -58657,8 +58670,8 @@ function ZK(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var Lxe = /* @__PURE__ */ o(((e) => {- var t = A(), n = iw();+var Hxe = /* @__PURE__ */ o(((e) => {+ var t = A(), n = ow();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -58703,32 +58716,32 @@ var Lxe = /* @__PURE__ */ o(((e) => {}, [p]), l(p), p;};})), QK = /* @__PURE__ */ o(((e, t) => {- t.exports = Lxe();-})), Rxe = QK();-function zxe(e, t) {+ t.exports = Hxe();+})), Uxe = QK();+function Wxe(e, t) {return e === t;}function $K(e, t = (e) => e, n) {- let r = n?.compare ?? zxe, i = (0, F.useCallback)((t) => {+ let r = n?.compare ?? Wxe, i = (0, F.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);- return (0, Rxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, Uxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function Bxe(e) {+function Gxe(e) {let t = $K(e.source, e.selector, { compare: XK });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function Vxe(e) {+function Kxe(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();} }), "set" in e && (t.setState = e.set.bind(e)), t;}// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function Hxe(e) {+function qxe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -58758,7 +58771,7 @@ function Hxe(e) {}};}-function Uxe(e, t = Object.is) {+function Jxe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -58771,10 +58784,10 @@ function Uxe(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function Wxe() {- return Hxe({- createAtom: Fxe,- batch: Pxe+function Yxe() {+ return qxe({+ createAtom: Bxe,+ batch: zxe});}// node_modules/@tanstack/table-core/dist/utils.js@@ -58828,9 +58841,9 @@ function oq(e) {function sq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var Gxe = 3;-function Kxe(e, t) {- return cq(e, t, Gxe);+var Xxe = 3;+function Zxe(e, t) {+ return cq(e, t, Xxe);}function cq(e, t, n) {if (Object.is(e, t)) return !0;@@ -58844,17 +58857,17 @@ function cq(e, t, n) {}return !0;}-function lq(e, t, n, r = Kxe) {+function lq(e, t, n, r = Zxe) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {let t = eq(n, e);return r(e, t) ? e : t;});}-function qxe(e) {+function Qxe(e) {return e instanceof Function;}-function Jxe(e, t) {+function $xe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -58864,7 +58877,7 @@ function Jxe(e, t) {};return r(e), n;}-var Yxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var eSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -58889,7 +58902,7 @@ function dq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return Yxe({+ return eSe({...a,...o});@@ -58942,13 +58955,13 @@ function hq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function Xxe(e) {+function tSe(e) {return e.row.getValue(e.column.id);}-function Zxe(e) {+function nSe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function Qxe(e) {+function rSe(e) {return {table: e.table,column: e.column,@@ -58959,18 +58972,18 @@ function Qxe(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var $xe = { assignCellPrototype: (e, t) => {+var iSe = { assignCellPrototype: (e, t) => {mq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => Xxe(e) },- cell_renderValue: { fn: (e) => Zxe(e) },+ cell_getValue: { fn: (e) => tSe(e) },+ cell_renderValue: { fn: (e) => nSe(e) },cell_getContext: {- fn: (e) => Qxe(e),+ fn: (e) => rSe(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function eSe(e) {+function aSe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -58978,7 +58991,7 @@ function eSe(e) {}return e._columnPrototype;}-function tSe(e, t, n, r) {+function oSe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -58998,7 +59011,7 @@ function tSe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = eSe(e), u = Object.create(l);+ let l = aSe(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);@@ -59008,7 +59021,7 @@ function tSe(e, t, n, r) {function gq(e) {return e.getIsVisible?.() ?? !0;}-function nSe(e) {+function sSe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}function _q(e, t) {@@ -59021,30 +59034,30 @@ function vq(e, t, n, r) {function yq(e, t) {return e._expandRows?.(t) ?? t;}-function rSe(e) {+function cSe(e) {e.autoResetExpanded?.();}function bq(e) {e.autoResetPageIndex?.();}-function iSe(e) {+function lSe(e) {e.autoResetSorting?.();}-function aSe(e) {+function uSe(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function oSe(e) {+function dSe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function sSe(e) {+function fSe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());return _q(e.table, t);}return [e];}-function cSe(e) {+function pSe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -59059,18 +59072,18 @@ function xq(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 = tSe(e, o, r, n), c = o;+ let o = t[a], s = oSe(e, o, r, n), c = o;s.columns = c.columns ? xq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function lSe(e) {+function mSe(e) {return xq(e, e.options.columns);}-function uSe(e) {+function hSe(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function dSe(e) {+function gSe(e) {let t = rq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];@@ -59078,10 +59091,10 @@ function dSe(e) {}return t;}-function fSe(e) {+function _Se(e) {return _q(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function pSe(e) {+function vSe(e) {let t = rq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];@@ -59089,19 +59102,19 @@ function pSe(e) {}return t;}-function mSe(e, t) {+function ySe(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var hSe = {+var bSe = {assignColumnPrototype: (e, t) => {mq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => oSe(e),+ fn: (e) => dSe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => sSe(e),+ fn: (e) => fSe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -59114,23 +59127,23 @@ var hSe = {constructTableAPIs: (e) => {pq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => cSe(e),+ fn: () => pSe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => lSe(e),+ fn: () => mSe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => uSe(e),+ fn: () => hSe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => dSe(e),+ fn: () => gSe(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => fSe(e),+ fn: () => _Se(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -59139,15 +59152,15 @@ var hSe = {]},table_getAllLeafColumnsById: {- fn: () => pSe(e),+ fn: () => vSe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => mSe(e, t) }+ table_getColumn: { fn: (t) => ySe(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function gSe(e) {+function xSe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -59156,7 +59169,7 @@ function gSe(e) {return e._headerPrototype;}function Sq(e, t, n) {- let r = gSe(e), i = Object.create(r);+ let r = xSe(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);@@ -59171,14 +59184,14 @@ function Cq(e, t = 1) {}return n;}-function _Se(e, t) {+function SSe(e, t) {return e ? `${e}_${t}` : String(t);}-function vSe(e, t, n, r) {+function CSe(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 ySe(e, t) {+function wSe(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;@@ -59186,7 +59199,7 @@ function ySe(e, t) {function wq(e, t, n, r, i, a) {let o = {depth: t,- id: _Se(r, t),+ id: SSe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -59195,9 +59208,9 @@ function wq(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 = Sq(n, u, {- id: vSe(r, t, u.id, a.id),+ id: CSe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(ySe(s, u)) : void 0,+ placeholderId: d ? String(wSe(s, u)) : void 0,depth: t,index: s.length});@@ -59227,7 +59240,7 @@ function Tq(e) {} else n.rowSpan = 1;}}-function bSe(e, t, n, r) {+function TSe(e, t, n, r) {let i = Cq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);for (let e = 0; e < t.length; e++) e in t && (s[e] = Sq(n, t[e], {depth: i,@@ -59240,24 +59253,24 @@ function Eq(e, t) {for (let n = 0; n < e.subHeaders.length; n++) Eq(e.subHeaders[n], t);t.push(e);}-function xSe(e) {+function ESe(e) {let t = [];return Eq(e, t), t;}-function SSe(e) {+function DSe(e) {return {column: e.column,header: e,table: e.column.table};}-function CSe(e) {- return bSe(e.getAllColumns(), vq(e, nSe(e), (e) => e.id), e);+function OSe(e) {+ return TSe(e.getAllColumns(), vq(e, sSe(e), (e) => e.id), e);}-function wSe(e) {+function kSe(e) {return [...e.getHeaderGroups()].reverse();}-function TSe(e) {+function ASe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -59265,7 +59278,7 @@ function TSe(e) {}return n;}-function ESe(e) {+function jSe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -59274,15 +59287,15 @@ function ESe(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var DSe = {+var MSe = {assignHeaderPrototype: (e, t) => {mq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => xSe(e),+ fn: (e) => ESe(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => SSe(e),+ fn: (e) => DSe(e),memoDeps: (e) => [e.column.table.options.columns]}});@@ -59290,7 +59303,7 @@ var DSe = {constructTableAPIs: (e) => {pq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => CSe(e),+ fn: () => OSe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -59301,22 +59314,22 @@ var DSe = {]},table_getFooterGroups: {- fn: () => wSe(e),+ fn: () => kSe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => TSe(e),+ fn: () => ASe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => ESe(e),+ fn: () => jSe(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function OSe(e) {+function NSe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -59324,35 +59337,35 @@ function OSe(e) {}return e._rowPrototype;}-var kSe = (e, t, n, r, i, a, o) => {- let s = OSe(e), c = Object.create(s);+var PSe = (e, t, n, r, i, a, o) => {+ let s = NSe(e), c = Object.create(s);c._displayIndexCache = -1, c._uniqueValuesCache = rq(), c._valuesCache = rq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function ASe() {+function FSe() {return (e) => dq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => jSe(e, e.options.data),+ fn: () => ISe(e, e.options.data),onAfterUpdate: uq(() => {- rSe(e), bq(e), iSe(e), aSe(e);+ cSe(e), bq(e), lSe(e), uSe(e);})});}function Dq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = kSe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ let s = n[o], c = PSe(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 = Dq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function jSe(e, t) {+function ISe(e, t) {let n = {rows: [],flatRows: [],@@ -59361,61 +59374,61 @@ function jSe(e, t) {return n.rows = Dq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function MSe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? ASe()(e)), e._rowModels.coreRowModel();+function LSe(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? FSe()(e)), e._rowModels.coreRowModel();}-function NSe(e) {+function RSe(e) {return e.getCoreRowModel();}-function PSe(e) {+function zSe(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 FSe(e) {+function BSe(e) {return e.getFilteredRowModel();}-function ISe(e) {+function VSe(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 LSe(e) {+function HSe(e) {return e.getGroupedRowModel();}-function RSe(e) {+function USe(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 zSe(e) {+function WSe(e) {return e.getSortedRowModel();}-function BSe(e) {+function GSe(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 VSe(e) {+function KSe(e) {return e.getExpandedRowModel();}-function HSe(e) {+function qSe(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 USe(e) {+function JSe(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var WSe = { constructTableAPIs: (e) => {+var YSe = { constructTableAPIs: (e) => {pq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => MSe(e) },- table_getPreFilteredRowModel: { fn: () => NSe(e) },- table_getFilteredRowModel: { fn: () => PSe(e) },- table_getPreGroupedRowModel: { fn: () => FSe(e) },- table_getGroupedRowModel: { fn: () => ISe(e) },- table_getPreSortedRowModel: { fn: () => LSe(e) },- table_getSortedRowModel: { fn: () => RSe(e) },- table_getPreExpandedRowModel: { fn: () => zSe(e) },- table_getExpandedRowModel: { fn: () => BSe(e) },- table_getPrePaginatedRowModel: { fn: () => VSe(e) },- table_getPaginatedRowModel: { fn: () => HSe(e) },- table_getRowModel: { fn: () => USe(e) }+ table_getCoreRowModel: { fn: () => LSe(e) },+ table_getPreFilteredRowModel: { fn: () => RSe(e) },+ table_getFilteredRowModel: { fn: () => zSe(e) },+ table_getPreGroupedRowModel: { fn: () => BSe(e) },+ table_getGroupedRowModel: { fn: () => VSe(e) },+ table_getPreSortedRowModel: { fn: () => HSe(e) },+ table_getSortedRowModel: { fn: () => USe(e) },+ table_getPreExpandedRowModel: { fn: () => WSe(e) },+ table_getExpandedRowModel: { fn: () => GSe(e) },+ table_getPrePaginatedRowModel: { fn: () => KSe(e) },+ table_getPaginatedRowModel: { fn: () => qSe(e) },+ table_getRowModel: { fn: () => JSe(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function GSe(e) {+function XSe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -59423,48 +59436,48 @@ function GSe(e) {}return e._cellPrototype;}-function KSe(e, t, n) {- let r = GSe(n), i = Object.create(r);+function ZSe(e, t, n) {+ let r = XSe(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function qSe(e) {+function QSe(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function JSe(e) {+function $Se(e) {let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? yq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function YSe(e, t) {+function eCe(e, t) {if (iq(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 XSe(e, t) {+function tCe(e, t) {if (iq(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 ZSe(e, t) {+function nCe(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function QSe(e) {- return Jxe(e.subRows, (e) => e.subRows);+function rCe(e) {+ return $xe(e.subRows, (e) => e.subRows);}-function $Se(e) {+function iCe(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 eCe(e) {+function aCe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function tCe(e) {+function oCe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -59473,17 +59486,17 @@ function tCe(e) {}return t.reverse();}-function nCe(e) {+function sCe(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 = KSe(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = ZSe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function rCe(e) {+function cCe(e) {let t = rq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];@@ -59491,52 +59504,52 @@ function rCe(e) {}return t;}-function iCe(e, t, n, r) {+function lCe(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function aCe(e, t, n) {+function uCe(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var oCe = {+var dCe = {assignRowPrototype: (e, t) => {mq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => qSe(e) },+ row_getDisplayIndex: { fn: (e) => QSe(e) },row_getAllCellsByColumnId: {- fn: (e) => rCe(e),+ fn: (e) => cCe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => nCe(e),+ fn: (e) => sCe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => QSe(e),+ fn: (e) => rCe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => eCe(e) },- row_getParentRows: { fn: (e) => tCe(e) },- row_getUniqueValues: { fn: (e, t) => XSe(e, t) },- row_getValue: { fn: (e, t) => YSe(e, t) },- row_renderValue: { fn: (e, t) => ZSe(e, t) }+ row_getParentRow: { fn: (e) => aCe(e) },+ row_getParentRows: { fn: (e) => oCe(e) },+ row_getUniqueValues: { fn: (e, t) => tCe(e, t) },+ row_getValue: { fn: (e, t) => eCe(e, t) },+ row_renderValue: { fn: (e, t) => nCe(e, t) }});},constructTableAPIs: (e) => {pq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => JSe(e),+ fn: () => $Se(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => iCe(t, e, n, r) },- table_getRow: { fn: (t, n) => aCe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => lCe(t, e, n, r) },+ table_getRow: { fn: (t, n) => uCe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => $Se(e),+ fn: () => iCe(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -59559,7 +59572,7 @@ function kq(e, t, n = (e, t) => e === t) {Oq(e, t, n), e._reactivity.commit?.();});}-function sCe(e) {+function fCe(e) {let t = tq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);@@ -59571,7 +59584,7 @@ function sCe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function cCe(e, t) {+function pCe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -59604,19 +59617,19 @@ function cCe(e, t) {});}function Aq(e, t, n) {- let r = cCe(e, eq(t, e.options));+ let r = pCe(e, eq(t, e.options));e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && kq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var lCe = {- coreCellsFeature: $xe,- coreColumnsFeature: hSe,- coreHeadersFeature: DSe,- coreRowModelsFeature: WSe,- coreRowsFeature: oCe,+var mCe = {+ coreCellsFeature: iSe,+ coreColumnsFeature: bSe,+ coreHeadersFeature: MSe,+ coreRowModelsFeature: YSe,+ coreRowsFeature: dCe,coreTablesFeature: { constructTableAPIs: (e) => {pq("coreTablesFeature", e, {- table_reset: { fn: () => sCe(e) },+ table_reset: { fn: () => fCe(e) },table_setOptions: { fn: (t) => Aq(e, t) }});} }@@ -59641,17 +59654,17 @@ function Mq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function uCe(e, t = {}) {+function hCe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;}), tq(t);}-function dCe(e) {+function gCe(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: {- ...lCe,+ ...mCe,..._},_headerGroupInstanceInitFns: [],@@ -59689,7 +59702,7 @@ function dCe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = uCe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = hCe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -59704,7 +59717,7 @@ function dCe(e) {return r;}, { debugName: `table/atoms/${n}` });}- Oq(v), v.store = Vxe(t.createReadonlyAtom(() => {+ Oq(v), v.store = Kxe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -59722,7 +59735,7 @@ function dCe(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function fCe() {+function _Ce() {return rq();}function Nq(e, t) {@@ -59744,12 +59757,12 @@ function Pq(e) {function Fq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function pCe(e) {+function vCe(e) {return (t) => {Nq(e, t.target.checked);};}-function mCe(e) {+function yCe(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];@@ -59765,16 +59778,16 @@ function Iq(e) {}return t;}-function hCe(e) {+function bCe(e) {return e.getAllFlatColumns().filter((e) => hq(e, "getIsVisible", Pq));}-function gCe(e) {+function xCe(e) {return e.getAllLeafColumns().filter((e) => hq(e, "getIsVisible", Pq));}function Lq(e, t) {lq(e, "columnVisibility", t);}-function _Ce(e, t) {+function SCe(e, t) {Lq(e, t ? rq() : Object.assign(rq(), tq(e.initialState.columnVisibility ?? {})));}function Rq(e, t) {@@ -59789,10 +59802,10 @@ function Rq(e, t) {function zq(e) {return !e.getAllLeafColumns().some((e) => !hq(e, "getIsVisible", Pq));}-function vCe(e) {+function CCe(e) {return e.getAllLeafColumns().some((e) => hq(e, "getIsVisible", Pq));}-function yCe(e) {+function wCe(e) {return (t) => {Rq(e, t.target.checked);};@@ -59800,7 +59813,7 @@ function yCe(e) {// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.jsvar Bq = {getInitialState: (e) => ({- columnVisibility: fCe(),+ columnVisibility: _Ce(),...e}),getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: aq("columnVisibility", e) }),@@ -59815,14 +59828,14 @@ var Bq = {]},column_getCanHide: { fn: (e) => Fq(e) },- column_getToggleVisibilityHandler: { fn: (e) => pCe(e) },+ column_getToggleVisibilityHandler: { fn: (e) => vCe(e) },column_toggleVisibility: { fn: (e, t) => Nq(e, t) }});},assignRowPrototype: (e, t) => {mq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => mCe(e),+ fn: (e) => yCe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -59838,7 +59851,7 @@ var Bq = {constructTableAPIs: (e) => {pq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => hCe(e),+ fn: () => bCe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59848,7 +59861,7 @@ var Bq = {]},table_getVisibleLeafColumns: {- fn: () => gCe(e),+ fn: () => xCe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59858,11 +59871,11 @@ var Bq = {]},table_setColumnVisibility: { fn: (t) => Lq(e, t) },- table_resetColumnVisibility: { fn: (t) => _Ce(e, t) },+ table_resetColumnVisibility: { fn: (t) => SCe(e, t) },table_toggleAllColumnsVisible: { fn: (t) => Rq(e, t) },table_getIsAllColumnsVisible: { fn: () => zq(e) },- table_getIsSomeColumnsVisible: { fn: () => vCe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => yCe(e) }+ table_getIsSomeColumnsVisible: { fn: () => CCe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => wCe(e) }});}}, Vq = 0, Hq = 10;@@ -59872,7 +59885,7 @@ function Uq() {pageSize: Hq};}-function bCe(e) {+function TCe(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {if ((e.atoms.pagination?.get()?.pageIndex ?? Vq) === Vq) return;Kq(e, !0);@@ -59881,7 +59894,7 @@ function bCe(e) {function Wq(e, t) {lq(e, "pagination", t);}-function xCe(e, t) {+function ECe(e, t) {Wq(e, t ? Uq() : tq(e.initialState.pagination ?? Uq()));}function Gq(e, t) {@@ -59896,7 +59909,7 @@ function Gq(e, t) {function Kq(e, t) {Gq(e, t ? Vq : e.initialState.pagination?.pageIndex ?? Vq);}-function SCe(e, t) {+function DCe(e, t) {qq(e, t ? Hq : e.initialState.pagination?.pageSize ?? Hq);}function qq(e, t) {@@ -59909,31 +59922,31 @@ function qq(e, t) {};});}-function CCe(e) {+function OCe(e) {let t = Jq(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function wCe(e) {+function kCe(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function TCe(e) {+function ACe(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? Vq, n = Jq(e);return n === -1 || n !== 0 && t < n - 1;}-function ECe(e) {+function jCe(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? Vq, n = Jq(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function DCe(e) {+function MCe(e) {return Gq(e, (e) => e - 1);}-function OCe(e) {+function NCe(e) {return Gq(e, (e) => e + 1);}-function kCe(e) {+function PCe(e) {return Gq(e, 0);}-function ACe(e) {+function FCe(e) {let t = Jq(e);if (!(!Number.isFinite(t) || t <= 0)) return Gq(e, t - 1);}@@ -59958,34 +59971,34 @@ var Xq = {getDefaultTableOptions: (e) => ({ onPaginationChange: aq("pagination", e) }),constructTableAPIs: (e) => {pq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => bCe(e) },+ table_autoResetPageIndex: { fn: () => TCe(e) },table_setPagination: { fn: (t) => Wq(e, t) },- table_resetPagination: { fn: (t) => xCe(e, t) },+ table_resetPagination: { fn: (t) => ECe(e, t) },table_setPageIndex: { fn: (t) => Gq(e, t) },table_resetPageIndex: { fn: (t) => Kq(e, t) },table_setPageSize: { fn: (t) => qq(e, t) },table_getPageCount: { fn: () => Jq(e) },- table_resetPageSize: { fn: (t) => SCe(e, t) },- table_getPageOptions: { fn: () => CCe(e) },- table_getCanPreviousPage: { fn: () => wCe(e) },- table_getCanNextPage: { fn: () => TCe(e) },- table_getCanLastPage: { fn: () => ECe(e) },- table_previousPage: { fn: () => DCe(e) },- table_nextPage: { fn: () => OCe(e) },- table_firstPage: { fn: () => kCe(e) },- table_lastPage: { fn: () => ACe(e) },+ table_resetPageSize: { fn: (t) => DCe(e, t) },+ table_getPageOptions: { fn: () => OCe(e) },+ table_getCanPreviousPage: { fn: () => kCe(e) },+ table_getCanNextPage: { fn: () => ACe(e) },+ table_getCanLastPage: { fn: () => jCe(e) },+ table_previousPage: { fn: () => MCe(e) },+ table_nextPage: { fn: () => NCe(e) },+ table_firstPage: { fn: () => PCe(e) },+ table_lastPage: { fn: () => FCe(e) },table_getRowCount: { fn: () => Yq(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function jCe() {+function ICe() {return rq();}function Zq(e, t) {e.options.onRowSelectionChange?.(t);}-function MCe(e, t) {+function LCe(e, t) {e._lastSelectedRowId = null, Zq(e, t ? rq() : Object.assign(rq(), tq(e.initialState.rowSelection ?? {})));}function Qq(e, t, n) {@@ -60013,10 +60026,10 @@ function $q(e, t, n) {}), a;});}-function NCe(e) {+function RCe(e) {return e.getCoreRowModel();}-function PCe(e) {+function zCe(e) {let t = e.getCoreRowModel();return hq(e, "getIsSomeRowsSelected", rJ) ? mJ(t, e) : {rows: [],@@ -60024,7 +60037,7 @@ function PCe(e) {rowsById: rq()};}-function FCe(e) {+function BCe(e) {let t = e.getFilteredRowModel();return hq(e, "getIsSomeRowsSelected", rJ) ? mJ(t, e) : {rows: [],@@ -60032,7 +60045,7 @@ function FCe(e) {rowsById: rq()};}-function ICe(e) {+function VCe(e) {let t = e.getSortedRowModel();return hq(e, "getIsSomeRowsSelected", rJ) ? mJ(t, e) : {rows: [],@@ -60063,15 +60076,15 @@ function nJ(e) {function rJ(e) {return hq(e, "getSelectedRowIds", eJ).length > 0;}-function LCe(e) {+function HCe(e) {return e.getPaginatedRowModel().flatRows.filter((e) => sJ(e)).some((e) => aJ(e) || hq(e, "getIsSomeSelected", oJ));}-function RCe(e) {+function UCe(e) {return (t) => {Qq(e, t.target.checked);};}-function zCe(e) {+function WCe(e) {return (t) => {$q(e, t.target.checked);};@@ -60090,7 +60103,7 @@ function aJ(e) {function oJ(e) {return gJ(e) === "some";}-function BCe(e) {+function GCe(e) {return gJ(e) === "all";}function sJ(e) {@@ -60105,15 +60118,15 @@ function lJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function VCe(e, t) {+function KCe(e, t) {let n = sJ(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 && lJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && HCe(e, s, o, t) || iJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && lJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && qCe(e, s, o, t) || iJ(e, o, t), a._lastSelectedRowId = e.id;};}-function HCe(e, t, n, r) {+function qCe(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];@@ -60208,7 +60221,7 @@ var _J = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: jCe(),+ rowSelection: ICe(),...e}),getDefaultTableOptions: (e) => ({@@ -60235,7 +60248,7 @@ var _J = {]},row_getIsAllSubRowsSelected: {- fn: (e) => BCe(e),+ fn: (e) => GCe(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -60245,26 +60258,26 @@ var _J = {row_getCanSelect: { fn: (e) => sJ(e) },row_getCanSelectSubRows: { fn: (e) => cJ(e) },row_getCanMultiSelect: { fn: (e) => lJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => VCe(e, t) }+ row_getToggleSelectedHandler: { fn: (e, t) => KCe(e, t) }});},constructTableAPIs: (e) => {pq("rowSelectionFeature", e, {table_setRowSelection: { fn: (t) => Zq(e, t) },- table_resetRowSelection: { fn: (t) => MCe(e, t) },+ table_resetRowSelection: { fn: (t) => LCe(e, t) },table_toggleAllRowsSelected: { fn: (t, n) => Qq(e, t, n) },table_toggleAllPageRowsSelected: { fn: (t, n) => $q(e, t, n) },- table_getPreSelectedRowModel: { fn: () => NCe(e) },+ table_getPreSelectedRowModel: { fn: () => RCe(e) },table_getSelectedRowModel: {- fn: () => PCe(e),+ fn: () => zCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => FCe(e),+ fn: () => BCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => ICe(e),+ fn: () => VCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {@@ -60294,32 +60307,32 @@ var _J = {memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => LCe(e),+ fn: () => HCe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => RCe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => zCe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => UCe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => WCe(e) }});}-}, UCe = /([0-9]+)/gm;+}, JCe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function WCe(e) {+function YCe(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 vJ = /* @__PURE__ */ WCe({ sort: (e, t) => GCe(e, t) });-function GCe(e, t) {+var vJ = /* @__PURE__ */ YCe({ sort: (e, t) => XCe(e, t) });+function XCe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function KCe() {+function ZCe() {return [];}function yJ(e, t) {@@ -60328,7 +60341,7 @@ function yJ(e, t) {function bJ(e, t) {yJ(e, t ? [] : tq(e.initialState.sorting ?? []));}-function qCe(e) {+function QCe(e) {e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && bJ(e);}function xJ(e) {@@ -60339,7 +60352,7 @@ function xJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(UCe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(JCe).length > 1)) {r = "alphanumeric";break;}@@ -60360,7 +60373,7 @@ function SJ(e) {}function CJ(e) {let t = e.table._rowModelFns.sortFns;- return qxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? xJ(e) : t?.[e.columnDef.sortFn] ?? vJ;+ return Qxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? xJ(e) : t?.[e.columnDef.sortFn] ?? vJ;}function wJ(e, t, n) {let r = EJ(e, n && OJ(e)), i = t !== void 0;@@ -60398,13 +60411,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 JCe(e) {+function $Ce(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function YCe(e) {+function ewe(e) {yJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function XCe(e) {+function twe(e) {let t = DJ(e);return (n) => {t && wJ(e, void 0, OJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);@@ -60414,7 +60427,7 @@ function XCe(e) {var AJ = {getInitialState(e) {return {- sorting: KCe(),+ sorting: ZCe(),...e};},@@ -60442,34 +60455,34 @@ var AJ = {column_getCanSort: { fn: (e) => DJ(e) },column_getCanMultiSort: { fn: (e) => OJ(e) },column_getIsSorted: { fn: (e) => kJ(e) },- column_getSortIndex: { fn: (e) => JCe(e) },- column_clearSorting: { fn: (e) => YCe(e) },- column_getToggleSortingHandler: { fn: (e) => XCe(e) }+ column_getSortIndex: { fn: (e) => $Ce(e) },+ column_clearSorting: { fn: (e) => ewe(e) },+ column_getToggleSortingHandler: { fn: (e) => twe(e) }});},constructTableAPIs(e) {pq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => qCe(e) },+ table_autoResetSorting: { fn: () => QCe(e) },table_setSorting: { fn: (t) => yJ(e, t) },table_resetSorting: { fn: (t) => bJ(e, t) }});}-}, ZCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;+}, nwe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;function jJ(e, t) {let [{ table: n, rootSource: r }] = (0, F.useState)(() => {- let t = dCe({+ let t = gCe({...e,features: {- coreReactivityFeature: Wxe(),+ coreReactivityFeature: Yxe(),...e.features}});- return t.Subscribe = ((e) => Bxe({+ return t.Subscribe = ((e) => Gxe({...e,source: e.source ?? t.store- })), t.FlexRender = kxe, {+ })), t.FlexRender = Pxe, {table: t,- rootSource: Uxe(t.store, XK)+ rootSource: Jxe(t.store, XK)};}), i = n;Aq(i, (t) => ({@@ -60477,7 +60490,7 @@ function jJ(e, t) {...e}), { syncExternalState: !1 });let a = i.options.state, o = r.get(), s = $K(r, t, { compare: XK });- return ZCe(() => {+ return nwe(() => {r.markCommitted(o), kq(i, a ?? null, XK);}), (0, F.useMemo)(() => ({...n,@@ -60493,7 +60506,7 @@ function jJ(e, t) {function MJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, I.jsx)(ihe, {+ children: /* @__PURE__ */ (0, I.jsx)(she, {ref: r,...i,className: q("bui-table", e === "sm" && "bui-table-sm", t)@@ -60501,7 +60514,7 @@ function MJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i});}// src/react/catalog-grid/catalog-table-columns.ts-var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibility.v1", QCe = {+var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibility.v1", rwe = {select: {width: 48,min: 48,@@ -60577,14 +60590,14 @@ var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibilitymin: 112,max: 400}-}, $Ce = {+}, iwe = {release: !1,played: !1,o: !1,resolution: !1,size: !1,code: !1-}, ewe = {+}, awe = {select: "选择",name: "作品",dur: "时长",@@ -60618,11 +60631,11 @@ var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibility"code"].map((e) => ({id: e,- label: ewe[e],- ...QCe[e],+ label: awe[e],+ ...rwe[e],flex: e === "name",required: e === "select" || e === "name",- visible: $Ce[e] !== !1+ visible: iwe[e] !== !1}));function IJ(e) {try {@@ -60632,7 +60645,7 @@ function IJ(e) {return {};}}-function twe() {+function owe() {return LJ(FJ, NJ, PJ);}function LJ(e, t, n) {@@ -60656,32 +60669,32 @@ function zJ() {return !1;}}-function nwe(e) {+function swe(e) {try {e ? localStorage.setItem(RJ, "1") : localStorage.removeItem(RJ);} catch {}}-var rwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var cwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.tsfunction BJ(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : e === "people" || e === "library" || e === "studio" ? `<span data-list-skeleton-mark="${e}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>` : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function iwe(e) {- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + VJ(twe(), zJ() ? rwe : "") + "</div>";+function lwe(e) {+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + VJ(owe(), zJ() ? cwe : "") + "</div>";}function VJ(e, t = "") {let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${BJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;return "<div data-list-skeleton aria-hidden=\"true\"><div data-list-skeleton-tools><i class=\"skeleton-sheen\"></i></div>" + t + `<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>`;}function HJ(e, t) {- return lG() === "list" ? iwe(e) : ac(e, {+ return lG() === "list" ? lwe(e) : ac(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-var awe = () => {+var uwe = () => {document.documentElement.dataset.columnResizing = "";};function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {@@ -60700,9 +60713,9 @@ function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let r = t.closest("[role=\"row\"][data-key]");r && cK(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, I.jsx)(nhe, {+ children: r ? /* @__PURE__ */ (0, I.jsx)(ahe, {className: "relative min-w-0",- onResizeStart: awe,+ onResizeStart: uwe,onResize: r.resize,onResizeEnd: (e) => {delete document.documentElement.dataset.columnResizing, r.save(e);@@ -60713,7 +60726,7 @@ function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {}// src/react/components/select.tsxfunction WJ({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, I.jsx)(WU, {+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(KU, {...r,size: n,renderValue: t@@ -60723,7 +60736,7 @@ function WJ({ 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, I.jsx)(WU, {+ return /* @__PURE__ */ (0, I.jsx)(KU, {...r,size: n,renderValue: a@@ -60783,10 +60796,10 @@ function KJ({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, I.jsx)(GU, {+ children: [/* @__PURE__ */ (0, I.jsx)(qU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(qU, {id: e.id,children: e.label}, e.id))]@@ -60831,7 +60844,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记pageSize: Number(e)});},- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(qU, {id: String(e),children: `每页 ${e} ${a}`}, e))@@ -60861,7 +60874,7 @@ function YJ(e, t) {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function owe(e, t) {+function dwe(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];@@ -60893,7 +60906,7 @@ function owe(e, t) {}};}-function swe(e, t, n, r = {}) {+function fwe(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]))@@ -60912,7 +60925,7 @@ function XJ(e, t, n) {min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = owe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = swe(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 = dwe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = fwe(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,@@ -60931,14 +60944,14 @@ function XJ(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function cwe() {+function pwe() {return XJ("catalog", FJ, {widths: NJ,visibility: PJ});}// src/react/components/rating-stars.tsx-var ZJ = mV("star");+var ZJ = gV("star");function QJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, I.jsx)("span", {@@ -60978,9 +60991,9 @@ function QJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {});}// src/react/catalog-grid/catalog-table-controls.tsx-function lwe({ item: e, actions: t }) {- let { rating: n } = e, r = gH(), i = (0, F.useRef)(0), a = gP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- pP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function mwe({ item: e, actions: t }) {+ let { rating: n } = e, r = vH(), i = (0, F.useRef)(0), a = vP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ hP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -60996,7 +61009,7 @@ function lwe({ item: e, actions: t }) {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -61036,10 +61049,10 @@ function eY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {className: t === "inline" ? "shrink-0" : "w-full",onClick: e.onPress,children: e.label- }, e.label) : /* @__PURE__ */ (0, I.jsx)(hH, {+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(_H, {size: "small",href: e.href,- trailingIcon: bB,+ trailingIcon: SB,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -61056,7 +61069,7 @@ function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {"data-selection-options": "",className: "flex min-w-0 flex-col gap-1",- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(BV, {+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(HV, {isSelected: e.selected,className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",isDisabled: e.disabled,@@ -61076,14 +61089,14 @@ function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,"aria-label": t,onClick: () => u(!0),children: t- }), /* @__PURE__ */ (0, I.jsx)(pz, {+ }), /* @__PURE__ */ (0, I.jsx)(hz, {triggerRef: c,isOpen: l,onOpenChange: u,placement: "bottom end",offset: 4,- className: q(NV, "w-max overscroll-contain"),- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(yH, {+ className: q(FV, "w-max overscroll-contain"),+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(xH, {"aria-label": e,"data-selection-placement": t ?? "bottom",className: "flex w-max max-w-full flex-col gap-2 outline-none",@@ -61128,7 +61141,7 @@ function nY({ preferences: e, label: t = "表格" }) {}function rY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(phe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(ghe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsxfunction iY(e, t) {@@ -61140,7 +61153,7 @@ function iY(e, t) {}function aY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {let { all: i, some: a } = iY(e, n);- return /* @__PURE__ */ (0, I.jsx)(BV, {+ return /* @__PURE__ */ (0, I.jsx)(HV, {slot: null,"aria-label": t,isDisabled: r,@@ -61153,12 +61166,12 @@ function aY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {});}// src/react/catalog-grid/catalog-list-page.tsx-var uwe = Mq({+var hwe = Mq({rowSortingFeature: AJ,rowSelectionFeature: _J,rowPaginationFeature: Xq,columnVisibilityFeature: Bq-}), oY = FJ.map((e) => e.id), dwe = [+}), oY = FJ.map((e) => e.id), gwe = [{id: "name",label: "名称"@@ -61196,8 +61209,8 @@ var uwe = Mq({label: "观看时间"}], sY = /* @__PURE__ */ new Map();-function fwe(e) {- let t = cwe(), n = sK(), r = lP(e.filters || {}, !1), [i] = (0, F.useState)(() => {+function _we(e) {+ let t = pwe(), n = sK(), r = dP(e.filters || {}, !1), [i] = (0, F.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, F.useState)(() => sY.get(i) || {@@ -61241,7 +61254,7 @@ function fwe(e) {}}), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : IK(f, e.layout.javImage), [h] = (0, F.useState)(zJ);(0, F.useEffect)(() => {- d.data && !d.isPlaceholderData && nwe(m.length > 0);+ d.data && !d.isPlaceholderData && swe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -61274,7 +61287,7 @@ function fwe(e) {c.pageIndex]);let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = jJ({- features: uwe,+ features: hwe,columns: (0, F.useMemo)(() => {let t = jq();return t.columns([@@ -61285,7 +61298,7 @@ function fwe(e) {label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(BV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(HV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -61297,7 +61310,7 @@ function fwe(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(pwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(vwe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -61306,12 +61319,12 @@ function fwe(e) {t.display({id: "library",header: "媒体库",- cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(mwe, { item: e.original })+ cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(ywe, { item: e.original })}),t.display({id: "people",header: "艺人",- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(hwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(bwe, {item: t.original,props: e})@@ -61367,7 +61380,7 @@ function fwe(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(lwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(mwe, {item: t.original,actions: e.actions})@@ -61467,7 +61480,7 @@ function fwe(e) {"data-toolbar-actions": "",children: [/* @__PURE__ */ (0, I.jsx)(nY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(KJ, {label: "作品列表",- options: dwe,+ options: gwe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -61502,7 +61515,7 @@ function fwe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, I.jsxs)(tB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(nB, {+ children: [/* @__PURE__ */ (0, I.jsxs)(rB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(iB, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),@@ -61512,33 +61525,33 @@ function fwe(e) {children: [RK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, I.jsx)(AV, {})+ children: /* @__PURE__ */ (0, I.jsx)(MV, {})}) : null]}), /* @__PURE__ */ (0, I.jsx)(rY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, I.jsx)(nB, {+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, I.jsx)(aB, {+ })] }), /* @__PURE__ */ (0, I.jsx)(sB, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(cB, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(uB, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(uB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: BJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(uB, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(cB, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(fB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: BJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(fB, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(uB, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,"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, I.jsx)(uB, { children: RK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(uB, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(fB, { children: RK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(fB, { "data-table-space": "" })]}, e.id))})]})@@ -61554,9 +61567,9 @@ function fwe(e) {]});}-function pwe({ item: e, props: t, disabled: n }) {+function vwe({ item: e, props: t, disabled: n }) {let r = To(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() || "未命名作品";- aL();+ sL();let l = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, u = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), d = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -61576,7 +61589,7 @@ function pwe({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, I.jsx)(JU, {+ r.html ? /* @__PURE__ */ (0, I.jsx)(XU, {artwork: r,relayout: (e) => El(e, "small")}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),@@ -61628,16 +61641,16 @@ function pwe({ item: e, props: t, disabled: n }) {})]});}-function mwe({ item: e }) {+function ywe({ item: e }) {let t = sK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;return n?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-library": "",title: `媒体库:${n.name}`,- children: [/* @__PURE__ */ (0, I.jsx)(VH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]+ children: [/* @__PURE__ */ (0, I.jsx)(UH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]}) : "—";}-function hwe({ item: e, props: t }) {- aL();+function bwe({ item: e, props: t }) {+ sL();let { avatar: n, who: r } = hK(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-list-people": "",@@ -61652,13 +61665,13 @@ function hwe({ item: e, props: t }) {// src/react/catalog-grid/catalog-grid-page.tsxfunction cY(e) {let t = uG();- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(_we, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${lP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(fwe, { ...e }, n);+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(Swe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${dP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(_we, { ...e }, n);let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;- return /* @__PURE__ */ (0, I.jsx)(vwe, { ...e }, r);+ return /* @__PURE__ */ (0, I.jsx)(Cwe, { ...e }, r);}-function gwe({ name: e }) {+function xwe({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -61681,7 +61694,7 @@ function lY({ children: e, selectMode: t }) {children: e});}-function _we(e) {+function Swe(e) {let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(_K, {item: i,variant: r,@@ -61701,8 +61714,8 @@ function _we(e) {children: i});}-function vwe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Nue(e) : Mue(e), [s] = (0, F.useState)(() => e.wall ? uP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? uP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {+function Cwe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Iue(e) : Fue(e), [s] = (0, F.useState)(() => e.wall ? fP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? fP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -61728,7 +61741,7 @@ function vwe(e) {u.isPlaceholderData,e.revision]);- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Fue(u.data?.pages || [], {+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Rue(u.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -61738,7 +61751,7 @@ function vwe(e) {e.mix,a,r.javImage- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Pye(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && kye(e.item) ? [e.item] : []), y = a ? [] : IK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = ywe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || zye(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Pye(e.item) ? [e.item] : []), y = a ? [] : IK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = wwe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);(0, F.useLayoutEffect)(() => {if (!u.data || u.isPlaceholderData) return;let t = !0;@@ -61766,7 +61779,7 @@ function vwe(e) {let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {let e = await u.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(xwe, {+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(Ewe, {seed: i.seed,layout: r,helpers: t,@@ -61783,8 +61796,8 @@ function vwe(e) {actions: n,onOpen: a ? w : C}, i.item.id), O = () => {- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(bxe, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${lP(e.filters || {}, !!e.excludeVertical)}`,+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Txe, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${dP(e.filters || {}, !!e.excludeVertical)}`,items: v,finite: g,hasMore: !!u.hasNextPage,@@ -61792,7 +61805,7 @@ function vwe(e) {loading: u.isPending || !u.data && u.isFetching,error: !u.data && !u.isPending ? xn(u.error) : "",retry: () => void u.refetch(),- emptyHtml: u.data && !v.length ? Cxe({+ emptyHtml: u.data && !v.length ? Oxe({libraryEmpty: !!u.data.pages[0]?.libraryEmpty,matches: h,hasMore: !!u.hasNextPage,@@ -61824,7 +61837,7 @@ function vwe(e) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Rue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(bwe, {+ children: Vue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(Twe, {cut: t.strip,props: e,onOpen: T@@ -61916,13 +61929,13 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {onRetry: () => void d(!0)}) : null] });}-function ywe(e, t, n, r, i) {- let a = ["catalog-short-layout", lP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {+function wwe(e, t, n, r, i) {+ let a = ["catalog-short-layout", dP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()};- return t && dP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {+ return t && pP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {stamp: o,cuts: t?.cuts || [],offset: t?.offset || 0,@@ -61948,7 +61961,7 @@ function ywe(e, t, n, r, i) {let r = new AbortController();p.controllers.push(r);let i = n - 1;- B(`/api/items?${Lue(e.filters || {}, p.offset)}`, r.signal).then((e) => {+ B(`/api/items?${Bue(e.filters || {}, p.offset)}`, r.signal).then((e) => {if (c.current !== p || r.signal.aborted) return;let t = e.items || [];t.length ? f({@@ -61962,9 +61975,9 @@ function ywe(e, t, n, r, i) {}, [t, p]), (0, F.useLayoutEffect)(() => {if (!d || d.stamp !== o) return;f(null);- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Iue(n.length - t, h, l);+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = zue(n.length - t, h, l);if (!g.length) return;- let _ = dP(d.items, p.groups, e.groupCollapse !== !1);+ let _ = pP(d.items, p.groups, e.groupCollapse !== !1);if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {at: v,@@ -61981,7 +61994,7 @@ function ywe(e, t, n, r, i) {});}, [d]), m;}-function bwe({ cut: e, props: t, onOpen: n }) {+function Twe({ cut: e, props: t, onOpen: n }) {let r = (0, F.useRef)(null), { wireDrag: i } = t;return (0, F.useEffect)(() => {r.current && i(r.current);@@ -61997,7 +62010,7 @@ function bwe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, I.jsx)(gwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, I.jsx)(xwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, I.jsx)("div", {ref: r,@@ -62020,11 +62033,11 @@ function bwe({ cut: e, props: t, onOpen: n }) {function dY(e, t, n) {return Eo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function xwe({ seed: e, layout: t, helpers: n, actions: r }) {+function Ewe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);a.current = t;let o = Mo(e, n.tagLabel), s = (0, F.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => fP(e, t.javImage)).slice(0, 9);+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => mP(e, t.javImage)).slice(0, 9);return i.current = new Map(n.map((e) => [String(e.id), dY(e, t, !0).html])), n.map((e) => String(e.id));}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = dY(e, t, !1);return /* @__PURE__ */ (0, I.jsx)(xK, {@@ -62059,31 +62072,31 @@ async function fY(e) {queryFn: () => br(e)});}-var Swe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Cwe = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => B(Cwe, e), wwe = /[\s\-_.()[\]【】/\\]/;-function Twe(e) {+var Dwe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Owe = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => B(Owe, e), kwe = /[\s\-_.()[\]【】/\\]/;+function Awe(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 && !wwe.test(n[r - 1]);) --r;+ for (; r > 0 && !kwe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Ewe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Dwe(e) {+var jwe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Mwe(e) {await Promise.all([H.fetchQuery({queryKey: pY,queryFn: () => hY(e)}), fY(e)]);}-var Owe = {+var Nwe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, kwe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => kwe(e, t).filter((t) => e.some((e) => e.location !== t)), Awe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));-function jwe(e, t) {+}, Pwe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => Pwe(e, t).filter((t) => e.some((e) => e.location !== t)), Fwe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));+function Iwe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -62102,11 +62115,11 @@ function jwe(e, t) {}return n;}-function Mwe(e, t) {+function Lwe(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 Nwe(e, t) {+async function Rwe(e, t) {for (let n = 0; n < e.length; n += 200) await V(mY, {ids: e.slice(n, n + 200),operation: t,@@ -62114,7 +62127,7 @@ async function Nwe(e, t) {});}// src/react/media-repair/media-repair.ts-var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], Pwe = {+var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], zwe = {status: "idle",library: "",stage: "",@@ -62127,7 +62140,7 @@ var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "librskipped: 0,message: ""}, bY = (e) => B(_Y, e), xY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function Fwe(e) {+async function Bwe(e) {await Promise.all([H.fetchQuery({queryKey: vY,queryFn: () => bY(e)@@ -62137,28 +62150,28 @@ async function Fwe(e) {})]);}var SY = (e) => Number(e).toLocaleString();-function Iwe(e) {+function Vwe(e) {if (e.status === "running") {let t = e.total ? `${SY(Math.min(e.checked || 0, e.total))} / ${SY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${SY(e.repaired)} 部,${SY(e.failed)} 部修不了` : `修好 ${SY(e.repaired)} 部` : "";}-var Lwe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Rwe = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => B(Rwe, e);-async function zwe(e) {+var Hwe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Uwe = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => B(Uwe, e);+async function Wwe(e) {await H.fetchQuery({queryKey: CY,queryFn: () => wY(e)});}-var Bwe = (e) => e.has_cover ? lo(e) : `/poster?id=${e.id}&c=4`;+var Gwe = (e) => e.has_cover ? lo(e) : `/poster?id=${e.id}&c=4`;// src/selection.tsfunction TY(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}// src/react/review/review.ts-var Vwe = "/api/review", Hwe = "/api/review/decision", Uwe = "/api/review/genre", EY = ["review"], DY = {+var Kwe = "/api/review", qwe = "/api/review/decision", Jwe = "/api/review/genre", EY = ["review"], DY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -62168,7 +62181,7 @@ var Vwe = "/api/review", Hwe = "/api/review/decision", Uwe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Wwe = Object.keys(DY), Gwe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), Kwe = {+}, Ywe = Object.keys(DY), Xwe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), Zwe = {creator_tags: "creator",western_identity: "creator"}, kY = [@@ -62179,7 +62192,7 @@ var Vwe = "/api/review", Hwe = "/api/review/decision", Uwe = "/api/review/genre"pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, qwe = {+}, Qwe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"@@ -62187,7 +62200,7 @@ var Vwe = "/api/review", Hwe = "/api/review/decision", Uwe = "/api/review/genre"sections: e.sections,counts: e.counts} : e.queues[t];-function Jwe(e, t) {+function $we(e, t) {return {...e,...t(MY(e, "pending")),@@ -62197,7 +62210,7 @@ function Jwe(e, t) {}};}-function Ywe(e, t) {+function eTe(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;}@@ -62218,10 +62231,10 @@ function NY(e, t) {}return [...n.values()];}-function Xwe(e, t, n) {+function tTe(e, t, n) {return n && NY(e, t).find((e) => e.key === n)?.rows || e;}-function Zwe(e, t) {+function nTe(e, t) {let n = gr(e.length, 20), r = _r(t, n);return {page: r,@@ -62229,32 +62242,32 @@ function Zwe(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function Qwe(e) {+function rTe(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 $we(e, t, n, r, i, a) {+function iTe(e, t, n, r, i, a) {return TY(e, t, n, r, i, a);}-function eTe(e, t) {+function aTe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}function PY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}var FY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function tTe(e, t) {+function oTe(e, t) {let n = PY(e, t), r = FY(e, t);return r ? `${n} · ${r}` : n;}-var nTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", rTe = (e) => String(e.tags || "").split("|").filter(Boolean), iTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function aTe(e) {+var sTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", cTe = (e) => String(e.tags || "").split("|").filter(Boolean), lTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function uTe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function oTe(e, t, n, r) {+function dTe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -62270,22 +62283,22 @@ function oTe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var sTe = (e) => ({+var fTe = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];async function IY(e) {- let t = await B(Vwe, e);+ let t = await B(Kwe, e);for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${AY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function cTe(e) {- let t = await V(Hwe, e);+async function pTe(e) {+ let t = await V(qwe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(EY, (t) => t && Jwe(t, (t) => ({+ H.setQueryData(EY, (t) => t && $we(t, (t) => ({...t,sections: {...t.sections,@@ -62301,21 +62314,21 @@ async function cTe(e) {}return t;}-function lTe(e, t) {+function mTe(e, t) {let n = H.getQueryData(EY);return n && kY.flatMap((t) => MY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var uTe = (e, t) => V(Uwe, {+var hTe = (e, t) => V(Jwe, {genre: e,tag: t});-async function dTe(e) {+async function gTe(e) {await H.fetchQuery({queryKey: EY,queryFn: () => IY(e)});}-function fTe(e, t, n) {+function _Te(e, t, n) {let r = new Set(t);r.size && H.setQueryData(EY, (t) => {if (!t) return t;@@ -62354,15 +62367,15 @@ function fTe(e, t, n) {};});}-var pTe = () => H.invalidateQueries({+var vTe = () => H.invalidateQueries({queryKey: EY,exact: !0});-function mTe(e, t) {+function yTe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Cr(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var hTe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], gTe = {+var bTe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], xTe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",@@ -62373,22 +62386,22 @@ async function HY(e) {if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var UY = (e) => B(hTe, e), WY = (e) => V(LY, { status_only: !0 }, "POST", e), _Te = ({ retry: e, checkId: t }) => HY(V(LY, e ? {+var UY = (e) => B(bTe, e), WY = (e) => V(LY, { status_only: !0 }, "POST", e), STe = ({ retry: e, checkId: t }) => HY(V(LY, e ? {retry: e,check_id: t-} : { restart: !0 })), GY = (e) => B(RY, e), vTe = ({ checkId: e, ids: t }) => HY(V(RY, {+} : { restart: !0 })), GY = (e) => B(RY, e), CTe = ({ checkId: e, ids: t }) => HY(V(RY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), KY = (e) => Number(e || 0).toLocaleString(), yTe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;-function bTe(e) {+})), KY = (e) => Number(e || 0).toLocaleString(), wTe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;+function TTe(e) {let t = e.scope === "retry";return e.total ? `${t ? "已重验" : "已检查"} ${KY(e.checked)} / ${KY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", xTe = ["media-processing"], STe = (e) => B(rX, e), iX = (e) => B(YY, e), CTe = (e) => B(XY, e), wTe = (e) => B(ZY, e), TTe = (e) => B(QY, e);-function ETe(e = H) {+var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", ETe = ["media-processing"], DTe = (e) => B(rX, e), iX = (e) => B(YY, e), OTe = (e) => B(XY, e), kTe = (e) => B(ZY, e), ATe = (e) => B(QY, e);+function jTe(e = H) {return e.fetchQuery({queryKey: $Y,queryFn: ({ signal: e }) => iX(e),@@ -62401,7 +62414,7 @@ function aX() {onSuccess: (e) => H.setQueryData($Y, e)});}-function DTe() {+function MTe() {return It({mutationFn: (e) => V(XY, {enabled: e > 0,@@ -62410,7 +62423,7 @@ function DTe() {onSuccess: (e) => H.setQueryData(eX, e)});}-var OTe = {+var NTe = {follow: {url: `${XY}/run`,key: eX@@ -62420,36 +62433,36 @@ var OTe = {key: tX}};-function kTe(e) {- let { url: t, key: n } = OTe[e];+function PTe(e) {+ let { url: t, key: n } = NTe[e];return It({mutationFn: () => V(t, {}),onSuccess: (e) => H.setQueryData(n, e)});}-var ATe = (e) => e?.running ? 3e3 : !1;-function jTe() {+var FTe = (e) => e?.running ? 3e3 : !1;+function ITe() {return It({mutationFn: (e) => V(QY, { mode: e }),onSuccess: (e) => H.setQueryData(nX, e)});}// src/react/data-cleanup/organize.ts-var MTe = "/api/organize", NTe = "/api/organize/preview", PTe = "/api/organize/apply", FTe = "/api/organize/rollback", oX = ["organize"], ITe = "/api/organize/example", LTe = (e, t, n) => B(`${ITe}?${new URLSearchParams({+var LTe = "/api/organize", RTe = "/api/organize/preview", zTe = "/api/organize/apply", BTe = "/api/organize/rollback", oX = ["organize"], VTe = "/api/organize/example", HTe = (e, t, n) => B(`${VTe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), sX = (e) => B(MTe, e);-async function RTe(e) {+})}`, n), sX = (e) => B(LTe, e);+async function UTe(e) {await H.fetchQuery({queryKey: oX,queryFn: () => sX(e)});}-var zTe = (e) => V(NTe, e), BTe = (e) => V(JY, { initial: e }), VTe = (e) => e.kind === "apply" ? V(PTe, {+var WTe = (e) => V(RTe, e), GTe = (e) => V(JY, { initial: e }), KTe = (e) => e.kind === "apply" ? V(zTe, {...e.request,confirm: !0-}) : V(FTe, { confirm: !0 });-async function HTe(e) {+}) : V(BTe, { confirm: !0 });+async function qTe(e) {H.setQueryData(oX, (t) => t && {...t,templates: e@@ -62458,20 +62471,20 @@ async function HTe(e) {await V(YY, { organizeTemplates: e });} catch {}}-var UTe = (e, t) => e && {+var JTe = (e, t) => e && {...e,...t-}, WTe = /目录模板|分隔符|盘符|`\.`/;-function GTe(e) {+}, YTe = /目录模板|分隔符|盘符|`\.`/;+function XTe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}var cX = (e) => Number(e || 0).toLocaleString();-function KTe(e) {+function ZTe(e) {let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${cX(t)}`).join(" · ");return Number(e.counts?.change || 0) ? `${cX(e.counts.change)} 个文件会改名或移动,${cX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function qTe(e) {+function QTe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {text: t ? `已退回 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能退回` : ""}。` : `已整理 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能处理` : ""}。`,@@ -62480,36 +62493,36 @@ function qTe(e) {};}// src/react/data-cleanup/orphan-records.ts-var JTe = "/api/orphan-records", YTe = "/api/orphan-records/attach", lX = ["orphan-records"], XTe = [+var $Te = "/api/orphan-records", eEe = "/api/orphan-records/attach", lX = ["orphan-records"], tEe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], uX = (e) => B(JTe, e), ZTe = (e, t) => V(YTe, {+], uX = (e) => B($Te, e), nEe = (e, t) => V(eEe, {id: e,target: t-}), QTe = (e) => V(mY, {+}), rEe = (e) => V(mY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), $Te = (e) => [+}), iEe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], eEe = (e) => [...XTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...$Te(e)].filter(Boolean).join(" · "), tEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", nEe = (e) => [e.name, tEe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => V(dX, {+], aEe = (e) => [...tEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...iEe(e)].filter(Boolean).join(" · "), oEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", sEe = (e) => [e.name, oEe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => V(dX, {background: !0,status_only: !0-}, "POST", e), rEe = () => V(dX, {+}, "POST", e), cEe = () => V(dX, {background: !0,restart: !0-}), gX = (e) => B(fX, e), iEe = (e) => V(fX, {+}), gX = (e) => B(fX, e), lEe = (e) => V(fX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0}), _X = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function aEe(e) {+async function uEe(e) {_X(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({queryKey: pX,queryFn: () => hX(e)@@ -62518,7 +62531,7 @@ async function aEe(e) {queryFn: () => gX(e)})]);}-var oEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), sEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", cEe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, lEe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, uEe = (e) => e.online ? [+var dEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), fEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", pEe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, mEe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, hEe = (e) => e.online ? [`找不到文件 · 共 ${vX(e.total)} 项`,e.vanish ? `${vX(e.vanish)} 项带个人记录` : "",e.empty ? `空文件夹 ${vX(e.empty)} 个` : ""@@ -62535,59 +62548,59 @@ function SX(e) {].filter(Boolean).join(",")};}-var dEe = (e, t) => {+var gEe = (e, t) => {let { rest: n } = SX(e), r = `已永久删除 ${vX(e.purged)} 条失效记录和 ${vX(e.dirs_removed)} 个空文件夹,清理 ${vX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${vX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${vX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, CX = ["performer-delete-candidates"], wX = (e) => B("/api/performer/delete-candidates", e), fEe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), pEe = (e) => V("/api/performer/delete", {+}, CX = ["performer-delete-candidates"], wX = (e) => B("/api/performer/delete-candidates", e), _Ee = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), vEe = (e) => V("/api/performer/delete", {entity_ids: e.entity_ids,plan: e.plan-}), mEe = "/api/review?counts=1", TX = ["review", "counts"], hEe = "/api/ads?limit=1", EX = ["junk-summary"], DX = "/api/items?state=trash&limit=1", OX = ["trash-summary"], gEe = [+}), yEe = "/api/review?counts=1", TX = ["review", "counts"], bEe = "/api/ads?limit=1", EX = ["junk-summary"], DX = "/api/items?state=trash&limit=1", OX = ["trash-summary"], xEe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], kX = (e) => B(mEe, e), AX = (e) => B(hEe, e), jX = (e) => {+], kX = (e) => B(yEe, e), AX = (e) => B(bEe, e), jX = (e) => {let t = sessionStorage.getItem("peach.library");return B(t ? `${DX}&library=${encodeURIComponent(t)}` : DX, e);}, MX = (e) => Number(e || 0).toLocaleString();-function _Ee(e) {+function SEe(e) {let t = DY, 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 vEe(e) {+function CEe(e) {if (!e) return "";- let t = gEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${MX(e.counts[t])}`);+ let t = xEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${MX(e.counts[t])}`);return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${MX(e.dismissed_total)}`), t.join(" · ");}-var yEe = [+var wEe = [[TX, ({ signal: e }) => kX(e)],[CY, ({ signal: e }) => wY(e)],[OX, ({ signal: e }) => jX(e)],[EX, ({ signal: e }) => AX(e)],[pY, ({ signal: e }) => hY(e)]];-async function bEe(e) {- for (let [t, n] of yEe) H.prefetchQuery({+async function TEe(e) {+ for (let [t, n] of wEe) H.prefetchQuery({queryKey: t,queryFn: () => n({ signal: e })});- await cH(e);+ await uH(e);}-async function xEe(e, t) {+async function EEe(e, t) {switch (e) {case "organize":- await RTe(t);+ await UTe(t);break;case "media-repair":- await Fwe(t);+ await Bwe(t);break;case "resource-sync":- await fY(t), await aEe(t);+ await fY(t), await uEe(t);break;case "orphan-records":await H.prefetchQuery({@@ -62618,8 +62631,8 @@ async function xEe(e, t) {}}// src/react/feed-new/feed-new.ts-var NX = (e) => ["feed-new", e ?? "home"], SEe = 8, CEe = 1500;-function wEe(e, t, n) {+var NX = (e) => ["feed-new", e ?? "home"], DEe = 8, OEe = 1500;+function kEe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -62630,11 +62643,11 @@ function wEe(e, t, n) {setTimeout(e, n);})]);}-async function TEe(e, t, n) {- let r = new URLSearchParams({ limit: String(aM().value.feedLimit) });+async function AEe(e, t, n) {+ let r = new URLSearchParams({ limit: String(sM().value.feedLimit) });e && r.set("entity", String(e));let i = await Tn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a, e ? "" : "/jav?tab=releases");- return n && o.length && await wEe(s, SEe, CEe), {+ return n && o.length && await kEe(s, DEe, OEe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)@@ -62642,7 +62655,7 @@ async function TEe(e, t, n) {}var PX = (e, t, n = !1) => ({queryKey: NX(e),- queryFn: () => TEe(e, t, n),+ queryFn: () => AEe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1}), FX = (e, t) => Tn("/api/feeds/discovery", {@@ -62652,7 +62665,7 @@ var PX = (e, t, n = !1) => ({ids: [e]})}).then(() => void 0, () => void 0);-async function EEe(e) {+async function jEe(e) {H.removeQueries({ queryKey: NX(null) }), await H.fetchQuery(PX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts@@ -62677,7 +62690,7 @@ var IX = ["entity",e,t-], DEe = (e, t, n, r) => [+], MEe = (e, t, n, r) => ["entity-items",e,t,@@ -62689,7 +62702,7 @@ var IX = [t,n,r-], BX = (e) => String(e || "").split(",").filter(Boolean), OEe = (e, t) => BX(e).includes(t);+], BX = (e) => String(e || "").split(",").filter(Boolean), NEe = (e, t) => BX(e).includes(t);function VX(e, t, n, r, i = 0) {let a = new URLSearchParams();a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...BX(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");@@ -62706,7 +62719,7 @@ var UX = (e) => {seed: e.seed}, n = VX(e.kind, e.name, e.filters, t).toString();return {- queryKey: DEe(e.kind, e.name, n, e.revision),+ queryKey: MEe(e.kind, e.name, n, e.revision),queryFn: ({ signal: n }) => HX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};@@ -62715,7 +62728,7 @@ var UX = (e) => {queryFn: ({ signal: n }) => Tn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function kEe(e, t, n, r, i, a) {+function PEe(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)}` : ""}`;@@ -62727,7 +62740,7 @@ function kEe(e, t, n, r, i, a) {var GX = (e, t, n, r) => ({queryKey: zX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await Tn(kEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await Tn(PEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -62741,7 +62754,7 @@ var GX = (e, t, n, r) => ({} : void 0,staleTime: Infinity}), KX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function AEe(e) {+async function FEe(e) {let { kind: t, name: n } = e;if (!e.restoreNavigation) for (let e of ["entity",@@ -62768,7 +62781,7 @@ var qX = [["blogger", "网黄博主"],["animation", "动画作者"]], JX = "mb-4 flex flex-wrap gap-2";-function jEe(e) {+function IEe(e) {let t = qX.some(([t]) => t === e) ? e : "all";return `<div class="peach-react"><div aria-label="身份分类" class="${JX}">${qX.map(([e, n]) => Os({variant: e === t ? "primary" : "secondary",@@ -62778,39 +62791,39 @@ function jEe(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var MEe = "/api/follow/authors", NEe = "/api/follow/tags", PEe = (e) => [+var LEe = "/api/follow/authors", REe = "/api/follow/tags", zEe = (e) => ["follow","authors",e-], FEe = (e, t) => [+], BEe = (e, t) => ["follow","tags",e,t];-function IEe(e, t, n) {+function VEe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${MEe}?${r}`;+ return e && r.set("q", e), `${LEe}?${r}`;}-function LEe(e, t, n, r) {+function HEe(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), `${NEe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${REe}?${i}`;}-var REe = (e, t, n, r) => B(IEe(e, t, n), r), zEe = (e, t, n, r, i) => B(LEe(e, t, n, r), i), BEe = "/api/index", YX = {+var UEe = (e, t, n, r) => B(VEe(e, t, n), r), WEe = (e, t, n, r, i) => B(HEe(e, t, n, r), i), GEe = "/api/index", YX = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, VEe = {+}, KEe = {performers: "performer",creators: "creator",studios: "studio",@@ -62882,7 +62895,7 @@ function iZ(e, t, n, r, i) {limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${BEe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${GEe}?${a}`;}function aZ(e, t = QX.tags) {let n = e.what === "people" || e.what === "online-authors" ? QX.people : t, r = {@@ -62902,17 +62915,17 @@ function aZ(e, t = QX.tags) {};case "online-authors": return {...r,- queryKey: PEe(e.q),- queryFn: ({ pageParam: t, signal: r }) => REe(e.q, n, t, r)+ queryKey: zEe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => UEe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: FEe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => zEe(e.q, e.category, n, t, r)+ queryKey: BEe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => WEe(e.q, e.category, n, t, r)};}}-async function HEe(e, t) {+async function qEe(e, t) {let n = aZ(nZ(tZ(e)));await H.fetchInfiniteQuery({queryKey: n.queryKey,@@ -62925,13 +62938,13 @@ async function HEe(e, t) {staleTime: Infinity});}-var UEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], WEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, oZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", GEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, KEe = {+var JEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], YEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, oZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", XEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, ZEe = {numeric: !0,sensitivity: "base"};function sZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", KEe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", ZEe))) {let e = er(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]);}@@ -62950,18 +62963,18 @@ function cZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var qEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", JEe = mV("rss");+var QEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", $Ee = gV("rss");function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: wU({+ className: EU({radius: "plain",padding: "none",interactive: !0,- className: `${qEe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${QEe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -62970,10 +62983,10 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, I.jsx)(qU, {+ children: /* @__PURE__ */ (0, I.jsx)(YU, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, I.jsx)(JEe, {})+ children: /* @__PURE__ */ (0, I.jsx)($Ee, {})})}) : null,/* @__PURE__ */ (0, I.jsx)("span", {@@ -62991,7 +63004,7 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a}function uZ({ kind: e, items: t, layout: n, props: r }) {let i = eZ(e) || e === "series";- aL();+ sL();let a = n === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "",@@ -62999,12 +63012,12 @@ function uZ({ 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 || VEe[e], o = r.personAvatar(t, n, a);+ let n = t.entity_kind || KEe[e], o = r.personAvatar(t, n, a);return /* @__PURE__ */ (0, I.jsx)(lZ, {"data-k": t.k,"data-kind": n,name: nn(n, t.k, t.entity_id),- readout: `${GEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${XEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),@@ -63018,8 +63031,8 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {})});}-function YEe({ items: e, layout: t, props: n }) {- aL();+function eDe({ items: e, layout: t, props: n }) {+ sL();let r = t === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "",@@ -63082,7 +63095,7 @@ function mZ(e) {}return !1;}-function XEe() {+function tDe() {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, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {@@ -63129,11 +63142,11 @@ function hZ(e) {e.style.setProperty("--board-range-value", `${i}%`);}var gZ = /* @__PURE__ */ new WeakSet();-function ZEe() {+function nDe() {if (gZ.has(document)) return;gZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(hZ), $Ee(e), QEe(e);+ e.querySelectorAll("input[type=range]").forEach(hZ), iDe(e), rDe(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]") && hZ(t), e(t));@@ -63142,9 +63155,9 @@ function ZEe() {childList: !0}), document.addEventListener("input", (e) => {e.target instanceof HTMLInputElement && e.target.type === "range" && hZ(e.target);- }), XEe();+ }), tDe();}-function QEe(e) {+function rDe(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;@@ -63169,7 +63182,7 @@ function QEe(e) {});}var _Z = /* @__PURE__ */ new Map();-function $Ee(e) {+function iDe(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;@@ -63201,7 +63214,7 @@ function $Ee(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var vZ = "/vendor/swiper/14.4.0/", yZ = null, eDe = () => yZ ??= Promise.all([new Promise((e, t) => {+var vZ = "/vendor/swiper/14.4.0/", yZ = null, aDe = () => yZ ??= Promise.all([new Promise((e, t) => {let n = `${vZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();@@ -63220,7 +63233,7 @@ var vZ = "/vendor/swiper/14.4.0/", yZ = null, eDe = () => yZ ??= Promise.all([ne})]).then(([, e]) => e).catch((e) => {throw yZ = null, e;});-function tDe(e, t, n) {+function oDe(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);@@ -63244,8 +63257,8 @@ function tDe(e, t, n) {var bZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xn(t)).replace(" ", "\xA0") : "大小未知";-}, nDe = (e) => e.asset?.name || e.name || "未命名图片";-function rDe(e, t) {+}, sDe = (e) => e.asset?.name || e.name || "未命名图片";+function cDe(e, t) {let n = e.asset;if (n) return [nr[n.location ?? ""] || n.location || "来源未知", bZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";@@ -63256,31 +63269,31 @@ function rDe(e, t) {].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var xZ = null, SZ = null, iDe = 0;-function aDe() {+var xZ = null, SZ = null, lDe = 0;+function uDe() {return SZ && xZ?.isConnected || (SZ?.unmount(), xZ = document.createElement("div"), xZ.className = "peach-react", xZ.dataset.photoLightboxHost = "", document.body.append(xZ), SZ = (0, zt.createRoot)(xZ)), SZ;}async function CZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await eDe();+ r = await aDe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = aDe();- (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(oDe, {+ let i = uDe();+ (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(dDe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++iDe)));+ }, ++lDe)));}function wZ() {SZ && (0, Rt.flushSync)(() => SZ.render(null));}-function oDe({ slides: e, index: t, Swiper: n, host: r }) {+function dDe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({at: t,text: ""@@ -63323,7 +63336,7 @@ function oDe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = tDe(e, a, b);+ i(t, 0), h.current = oDe(e, a, b);let m = il(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();};@@ -63524,10 +63537,10 @@ function oDe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: nDe(j)+ children: sDe(j)}, _), /* @__PURE__ */ (0, I.jsx)("span", {"data-photo-detail-meta": "",- children: rDe(j, x[_])+ children: cDe(j, x[_])})]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -63565,17 +63578,17 @@ function oDe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function sDe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(cDe, {+function fDe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(pDe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(lDe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(fDe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(mDe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(_De, {photos: e.photos,props: e}, e.photos.revision) : null;}var TZ = QX.people;-function cDe({ roster: e, props: t }) {+function pDe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity@@ -63593,7 +63606,7 @@ function cDe({ roster: e, props: t }) {enabled: () => !0}, a) : null] });}-function lDe(e) {+function mDe(e) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-grid": "",children: /* @__PURE__ */ (0, I.jsx)(UG, {@@ -63621,14 +63634,14 @@ function lDe(e) {})});}-var uDe = (e) => Array.from({ length: e.n }, (t, n) => ({+var hDe = (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 || "官方样张"-})), EZ = (e) => e.sample === !0, DZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OZ = (e) => EZ(e) ? `/sample-thumb?${DZ(e)}` : `/photo-thumb?id=${e.id}`, dDe = (e) => EZ(e) ? {+})), EZ = (e) => e.sample === !0, DZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OZ = (e) => EZ(e) ? `/sample-thumb?${DZ(e)}` : `/photo-thumb?id=${e.id}`, gDe = (e) => EZ(e) ? {src: `/sample-image?${DZ(e)}`,thumb: OZ(e),name: e.name,@@ -63640,14 +63653,14 @@ var uDe = (e) => Array.from({ length: e.n }, (t, n) => ({name: e.name || "",asset: e};-function fDe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(uDe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {+function _De({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(hDe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, F.useCallback)((e) => {- CZ(e, o.map(dDe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(pDe, {+ CZ(e, o.map(gDe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(vDe, {item: e,index: t,lost: s.has(t),@@ -63710,7 +63723,7 @@ function kZ({ label: e, title: t, meta: n }) {]});}-function pDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function vDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63729,9 +63742,9 @@ function pDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var mDe = 2e3, hDe = (e) => e, gDe = (e, t) => t;+var yDe = 2e3, bDe = (e) => e, xDe = (e, t) => t;function AZ(e) {- let { queryKey: t, jobOf: n = hDe, withJob: r = gDe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);+ let { queryKey: t, jobOf: n = bDe, withJob: r = xDe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);(0, F.useEffect)(() => {l.current = e;});@@ -63740,7 +63753,7 @@ function AZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? mDe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? yDe : i ?? !1;}}), d = It({mutationFn: (e) => l.current.start(e),@@ -63765,11 +63778,11 @@ function AZ(e) {}// src/react/follow-feed/follow-check.tsvar jZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function _De(e, t) {+function SDe(e, t) {return t ? jZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function vDe({ sources: e, report: t }) {+function CDe({ sources: e, report: t }) {let n = jZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = AZ({queryKey: zr,queryFn: ({ signal: e }) => vi(e),@@ -63784,19 +63797,19 @@ function vDe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, I.jsx)(J, {size: "small",disabled: !n.length,- ...gV(s),+ ...vV(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }), r ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: r}) : null]});}// src/react/follow-feed/follow-card.tsx-var yDe = (e) => Number(e) > 0;+var wDe = (e) => Number(e) > 0;function MZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, I.jsx)("a", {...r,@@ -63811,7 +63824,7 @@ var NZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: _G(e) }});-function bDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function TDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);return (0, F.useEffect)(() => {c(!1);@@ -63834,8 +63847,8 @@ function bDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function xDe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ga(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) => pbe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? va(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ba({+function EDe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ga(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) => vbe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? va(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ba({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -63880,7 +63893,7 @@ function xDe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, I.jsx)(bDe, {+ p ? /* @__PURE__ */ (0, I.jsx)(TDe, {src: p,fallback: m,width: _?.width,@@ -63921,7 +63934,7 @@ function xDe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- yDe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {+ wDe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-duration": "",children: Jn(u.duration)}) : null,@@ -64072,9 +64085,9 @@ function xDe(e) {]});}-var PZ = (0, F.memo)(xDe);+var PZ = (0, F.memo)(EDe);// src/react/components/use-masonry-grid.ts-function SDe(e, t) {+function DDe(e, t) {let n = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let t = n.current;@@ -64139,7 +64152,7 @@ function zZ(e, t) {var BZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), CDe = mV("settings"), VZ = mV("chevron-down"), wDe = mV("history"), TDe = mV("arrow-up"), EDe = mV("arrow-down"), DDe = [[+}), ODe = gV("settings"), VZ = gV("chevron-down"), kDe = gV("history"), ADe = gV("arrow-up"), jDe = gV("arrow-down"), MDe = [["fixed","固定比例","layout-grid"@@ -64148,7 +64161,7 @@ var BZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"瀑布流","columns-2"]];-function ODe(e, t, n) {+function NDe(e, t, n) {return (0, F.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) => {@@ -64196,7 +64209,7 @@ function ODe(e, t, n) {n]);}-function kDe(e) {+function PDe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = Lt(ra(t, r)), o = Ft({queryKey: ia,queryFn: ({ signal: e }) => aa(e)@@ -64204,9 +64217,9 @@ function kDe(e) {sources: s?.sources || [],aliases: s?.author_aliases || [],credentials: c- }), [s, c]), u = ODe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;+ }), [s, c]), u = NDe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;(0, F.useEffect)(() => {- pm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });+ vm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });}, [d,s,@@ -64238,7 +64251,7 @@ function kDe(e) {p,i]);- let m = jDe(e, !!s);+ let m = IDe(e, !!s);if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-feed": "",children: [/* @__PURE__ */ (0, I.jsx)(HZ, {}), /* @__PURE__ */ (0, I.jsx)(HG, {@@ -64263,7 +64276,7 @@ function kDe(e) {ref: m.host,"data-follow-progress": ""}, m.generation),- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(dV, {+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",title: "检查结果",children: m.report@@ -64283,20 +64296,20 @@ function kDe(e) {dangerouslySetInnerHTML: { __html: Bs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, I.jsx)(MDe, {+ /* @__PURE__ */ (0, I.jsx)(LDe, {facets: u,pressed: u.author,context: l,props: e,onPick: (e) => h({ author: u.author === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(NDe, {+ /* @__PURE__ */ (0, I.jsx)(RDe, {rows: u.workRows,pressed: t.work,props: e,onPick: (e) => h({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(PDe, {+ /* @__PURE__ */ (0, I.jsx)(zDe, {facets: u,view: t,total: _,@@ -64304,7 +64317,7 @@ function kDe(e) {props: e,route: h}),- /* @__PURE__ */ (0, I.jsx)(FDe, {+ /* @__PURE__ */ (0, I.jsx)(BDe, {conditions: g,onDrop: (e) => i.route(Ea(t, e)),onClear: () => h({@@ -64316,8 +64329,8 @@ function kDe(e) {durMax: 0})}),- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(IDe, { count: u.broken.length }) : null,- /* @__PURE__ */ (0, I.jsx)(LDe, {+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(VDe, { count: u.broken.length }) : null,+ /* @__PURE__ */ (0, I.jsx)(HDe, {retryKey: a.dataUpdatedAt,pending: d,facets: u,@@ -64347,7 +64360,7 @@ function kDe(e) {await a.fetchNextPage({ throwOnError: !0 });},children: [/* @__PURE__ */ (0, I.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(ADe, {+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(FDe, {busy: a.isFetchingNextPage,error: a.isFetchNextPageError ? xn(a.error) : "",load: () => {@@ -64358,7 +64371,7 @@ function kDe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- leadingIcon: m.olderBusy ? void 0 : wDe,+ leadingIcon: m.olderBusy ? void 0 : kDe,"data-follow-older": "","aria-busy": m.busy || void 0,onClick: () => void m.start(!0),@@ -64384,9 +64397,9 @@ function HZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(bL, {+ children: [/* @__PURE__ */ (0, I.jsx)(SL, {variant: "secondary",- leadingIcon: CDe,+ leadingIcon: ODe,"data-follow-manage": "",href: UZ(),children: "管理关注"@@ -64394,7 +64407,7 @@ function HZ({ children: e }) {})]});}-function ADe({ busy: e, error: t, load: n }) {+function FDe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-more": "",@@ -64407,7 +64420,7 @@ function ADe({ busy: e, error: t, load: n }) {onRetry: n}) : null] });}-function jDe(e, t) {+function IDe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({helpers: n,actions: r@@ -64469,7 +64482,7 @@ function jDe(e, t) {olderBusy: c === "older" || f && o};}-function MDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function LDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, F.useRef)(null);(0, F.useEffect)(() => {r.helpers.wireDrag(a.current);@@ -64506,7 +64519,7 @@ function MDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function NDe({ rows: e, pressed: t, props: n, onPick: r }) {+function RDe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -64527,13 +64540,13 @@ function NDe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function PDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = vL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = vL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function zDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = bL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = bL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, F.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, I.jsx)(pL, {+ return /* @__PURE__ */ (0, I.jsx)(hL, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -64621,7 +64634,7 @@ function PDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: _G(t, n) }}, t)),_.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(BZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(mL, {+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(gL, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Da(e.groups, n)}`,@@ -64639,12 +64652,12 @@ function PDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {/* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "","data-follow-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(oL, {+ children: /* @__PURE__ */ (0, I.jsx)(cL, {text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,busy: r})}),- /* @__PURE__ */ (0, I.jsx)(kV, {+ /* @__PURE__ */ (0, I.jsx)(jV, {currentHref: () => location.pathname + location.search,kind: "creator"}),@@ -64655,7 +64668,7 @@ function PDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FG, {label: "图片布局",value: i.photoLayout,- options: DDe,+ options: MDe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -64686,8 +64699,8 @@ function PDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {n && a(n);},children: [n, r ? /* @__PURE__ */ (0, I.jsx)(fG, {- a: TDe,- b: EDe,+ a: ADe,+ b: jDe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -64698,7 +64711,7 @@ function PDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function FDe({ conditions: e, onDrop: t, onClear: n }) {+function BDe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -64723,21 +64736,21 @@ function FDe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function IDe({ count: e }) {+function VDe({ count: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-broken": "",dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(UZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}var UZ = () => zZ(window.location.search);-function LDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+function HDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {let { view: s, helpers: c } = i, l = s.media === "images";return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "",children: /* @__PURE__ */ (0, I.jsx)(UG, {pending: e,skeletonHtml: () => c.listSkeletonHtml(s.media),- children: e ? null : /* @__PURE__ */ (0, I.jsx)(RDe, {+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(UDe, {facets: t,data: n,context: r,@@ -64749,12 +64762,12 @@ function LDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})});}-function RDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+function UDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {let { view: s, actions: c } = r, l = GZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = SDe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = DDe(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, I.jsx)(PZ, {@@ -64771,7 +64784,7 @@ function RDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, I.jsx)(zDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(WDe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -64797,19 +64810,19 @@ function RDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,function WZ(e, t) {return ga(e, t.media).id;}-function zDe({ data: e, filtered: t, clear: n, checkAction: r }) {+function WDe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(bL, {+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -64818,7 +64831,7 @@ function zDe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var BDe = {+var GDe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"@@ -64846,7 +64859,7 @@ function GZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(BDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(GDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await V(Mr, {item: t,to: i@@ -64891,7 +64904,7 @@ function GZ(e) {};}// src/react/entity-body/entity-online.tsx-function VDe(e) {+function KDe(e) {let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(HG, {message: xn(t.error),@@ -64904,7 +64917,7 @@ function VDe(e) {children: /* @__PURE__ */ (0, I.jsxs)(UG, {pending: a,skeletonHtml: () => i.listSkeletonHtml(r),- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(HDe, {+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(qDe, {...e,data: n}), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(uY, {@@ -64917,7 +64930,7 @@ function VDe(e) {})});}-function HDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+function qDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {let u = GZ({view: e,revision: 0,@@ -64949,11 +64962,11 @@ function HDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, I.jsx)(UDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(JDe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: _De(n.sources || [], e.author)+ sources: SDe(n.sources || [], e.author)});return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list": "",@@ -64962,21 +64975,21 @@ function HDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function UDe({ searched: e, clear: t, actions: n, sources: r }) {+function JDe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(vDe, {+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(CDe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, I.jsx)(bL, {+ }) : /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -65022,7 +65035,7 @@ function YZ(e, t) {y1: a + r});}-function WDe(e, t) {+function YDe(e, t) {if (!JZ(e) || !(t > 0)) return KZ(e);let n = Math.min(e.width, e.height * t);return qZ({@@ -65032,7 +65045,7 @@ function WDe(e, t) {y1: e.height});}-function GDe(e, t, n) {+function XDe(e, t, n) {if (!JZ(t) || !(n > 0)) return KZ(t);let r = XZ(e, t), i = YZ({width: r.x1 - r.x0,@@ -65081,7 +65094,7 @@ function QZ(e, t, n, r = null) {y1: a + s / 2}, n, r);}-function KDe(e, t, n, r, i = null) {+function ZDe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,@@ -65090,7 +65103,7 @@ function KDe(e, t, n, r, i = null) {};return XZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function qDe(e, t) {+function QDe(e, t) {return JZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,@@ -65103,7 +65116,7 @@ function qDe(e, t) {height: 0};}-function JDe(e, t) {+function $De(e, t) {if (!JZ(t)) return {size: "cover",position: "50% 50%"@@ -65114,7 +65127,7 @@ function JDe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function YDe(e, t) {+function eOe(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}%`,@@ -65126,11 +65139,11 @@ function YDe(e, t) {function $Z(e, t, n) {return t > 0 ? e * n / t : 0;}-function XDe(e, t) {+function tOe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}// src/react/crop/crop-frame.tsx-var ZDe = .02, eQ = 1.08;+var nOe = .02, eQ = 1.08;function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);(0, F.useEffect)(() => {@@ -65168,14 +65181,14 @@ function tQ({ 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(ZZ(n.box, o.dx, o.dy, r)) : i(KDe(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(ZZ(n.box, o.dx, o.dy, r)) : i(ZDe(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) * ZDe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * nOe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],@@ -65183,7 +65196,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o};o[e.key] ? (e.preventDefault(), i(ZZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QZ(n, e.key === "-" ? 1 / eQ : eQ, r, t)));}- let v = n && r ? qDe(XZ(n, r, t), r) : null, y = v ? XDe(v, d) : !1, b = v ? {+ let v = n && r ? QDe(XZ(n, r, t), r) : null, y = v ? tOe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -65263,12 +65276,12 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var QDe = "/api/avatar-choices", nQ = "/api/avatar-pick", $De = "/api/avatar-code-cover", rQ = "/api/avatar-frame", eOe = "/avatar-choice", iQ = (e, t) => [+var rOe = "/api/avatar-choices", nQ = "/api/avatar-pick", iOe = "/api/avatar-code-cover", rQ = "/api/avatar-frame", aOe = "/avatar-choice", iQ = (e, t) => ["avatar-choices",e,t-], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${eOe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", tOe = (e, t, n) => B(QDe + aQ(e, t), n), nOe = (e) => V($De, { code: e });-async function rOe(e, t, n) {+], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${aOe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", oOe = (e, t, n) => B(rOe + aQ(e, t), n), sOe = (e) => V(iOe, { code: e });+async function cOe(e, t, n) {let r = await V(rQ, {kind: e,id: t,@@ -65282,11 +65295,11 @@ async function rOe(e, t, n) {bases: r.bases};}-var iOe = (e, t, n) => V(rQ, {+var lOe = (e, t, n) => V(rQ, {kind: e,id: t,url: n-}), aOe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+}), uOe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);async function cQ(e, t) {let n = await fetch(e, {method: "POST",@@ -65298,13 +65311,13 @@ async function cQ(e, t) {}function lQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? GDe(e.focus, t, n) : YZ(t, n);+ return e.focus && r ? XDe(e.focus, t, n) : YZ(t, n);}-var oOe = (e) => e.crop && JZ({+var dOe = (e) => e.crop && JZ({width: e.width,height: e.height});-async function sOe(e, t, n) {+async function fOe(e, t, n) {if (!("file" in n)) {await V(nQ, {kind: e,@@ -65322,16 +65335,16 @@ async function sOe(e, t, n) {await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}var uQ = 2;-function cOe(e, t) {+function pOe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);return n.length ? `${e}:图库里按${`「${n.slice(0, uQ).join("」「")}」`}${n.length > uQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var lOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function uOe(e) {- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${lOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var mOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function hOe(e) {+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${mOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var dQ = (e) => e.cast > 1, dOe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, fOe = {+var dQ = (e) => e.cast > 1, gOe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, _Oe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -65341,7 +65354,7 @@ var dQ = (e) => e.cast > 1, dOe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function pOe(e) {+function vOe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -65352,19 +65365,19 @@ function pOe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var mOe = (e) => `${fOe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), hOe = 8, gOe = 3 / 4;-async function _Oe(e, t, n) {+var yOe = (e) => `${_Oe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), bOe = 8, xOe = 3 / 4;+async function SOe(e, t, n) {switch (n.via) {- case "choice": return { choice: await rOe(e, t, n.choice) };- case "code": return { choice: await nOe(n.code) };- case "url": return { choice: await iOe(e, t, n.url) };+ case "choice": return { choice: await cOe(e, t, n.choice) };+ case "code": return { choice: await sOe(n.code) };+ case "url": return { choice: await lOe(e, t, n.url) };case "file": return {- choice: await aOe(e, t, n.file),+ choice: await uOe(e, t, n.file),file: n.file};}}-function vOe({ kind: e, entityId: t, name: n, onPicked: r }) {+function COe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -65374,17 +65387,17 @@ function vOe({ 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, I.jsx)(Khe, {+ children: /* @__PURE__ */ (0, I.jsx)(Yhe, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(dV, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, I.jsx)(yOe, {+ children: /* @__PURE__ */ (0, I.jsx)(wOe, {kind: e,entityId: t,name: n,@@ -65393,10 +65406,10 @@ function vOe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, F.useRef)(null), o = VV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = iQ(e, t), m = (0, F.useRef)(!1), h = Ft({+function wOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, F.useRef)(null), o = UV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = iQ(e, t), m = (0, F.useRef)(!1), h = Ft({queryKey: p,- queryFn: ({ signal: n }) => tOe(e, t, n),+ queryFn: ({ signal: n }) => oOe(e, t, n),retryOnMount: !0,refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1@@ -65405,12 +65418,12 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {m.current && H.removeQueries({ queryKey: iQ(e, t) });}, [e, t]);let g = It({- mutationFn: (n) => sOe(e, t, n),+ mutationFn: (n) => fOe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = It({- mutationFn: (n) => _Oe(e, t, n),+ mutationFn: (n) => SOe(e, t, n),onMutate: () => {g.reset();},@@ -65431,39 +65444,39 @@ function yOe({ 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 ? lr(g.error) : "") || (!d && _.error ? lr(_.error) : "") || (h.error ? lr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : uOe(x), E = !!C && !!h.error && C === lr(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? lr(g.error) : "") || (!d && _.error ? lr(_.error) : "") || (h.error ? lr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : hOe(x), E = !!C && !!h.error && C === lr(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(uV, { children: /* @__PURE__ */ (0, I.jsx)($B, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(fV, { children: /* @__PURE__ */ (0, I.jsx)(tV, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(HL, {+ children: [/* @__PURE__ */ (0, I.jsx)(WL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(qU, {+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(YU, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? dOe(d.choice) : cOe(n, x)+ children: d ? gOe(d.choice) : pOe(n, x)}),- T ? /* @__PURE__ */ (0, I.jsx)(dV, {+ T ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, I.jsx)(dV, {+ C ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: E ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(h.isFetching),+ ...vV(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -65473,14 +65486,14 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, I.jsx)(cL, {- icon: EB,+ /* @__PURE__ */ (0, I.jsx)(uL, {+ icon: OB,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, I.jsx)(xOe, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(EOe, {kind: e,entityId: t,choice: d.choice,@@ -65500,7 +65513,7 @@ function yOe({ 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: hOe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: h.isPending ? Array.from({ length: bOe }, (e, t) => /* @__PURE__ */ (0, I.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",@@ -65513,8 +65526,8 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: mOe(n),- ...gV(w),+ title: yOe(n),+ ...vV(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -65523,7 +65536,7 @@ function yOe({ 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, I.jsx)(bOe, {+ /* @__PURE__ */ (0, I.jsx)(TOe, {src: oQ(e, t, n.ref, sQ(n, n.ref)),choice: n}),@@ -65533,7 +65546,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, I.jsx)(qU, {+ children: /* @__PURE__ */ (0, I.jsx)(YU, {variant: "caption",color: "gray",children: "在用"@@ -65541,7 +65554,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null,dQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, I.jsxs)(qU, {+ children: /* @__PURE__ */ (0, I.jsxs)(YU, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -65563,7 +65576,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(cV, {+ children: /* @__PURE__ */ (0, I.jsx)(uV, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -65573,7 +65586,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...gV(v("code")),+ ...vV(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65582,7 +65595,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: () => a.current?.click(),- ...gV(v("file")),+ ...vV(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, I.jsx)("input", {@@ -65602,7 +65615,7 @@ function yOe({ 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, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(cV, {+ children: /* @__PURE__ */ (0, I.jsx)(uV, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -65612,7 +65625,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",disabled: !s.trim(),- ...gV(v("url")),+ ...vV(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -65626,7 +65639,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function bOe({ src: e, choice: t }) {+function TOe({ src: e, choice: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);(0, F.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -65634,7 +65647,7 @@ function bOe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = oOe(t) ? YDe(lQ(t, s, gOe), s) : null, l = r || a ? !0 : void 0;+ }, c = dOe(t) ? eOe(lQ(t, s, xOe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -65660,12 +65673,12 @@ function bOe({ src: e, choice: t }) {})]});}-function xOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = VV();+function EOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = UV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? JDe(d, l) : null;+ let _ = d && l ? $De(d, l) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.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",@@ -65690,7 +65703,7 @@ function xOe({ 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: pOe(e)+ children: vOe(e)}, e))}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65710,12 +65723,12 @@ function xOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",onClick: i,- ...gV(r),+ ...vV(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...gV(r),+ ...vV(r),onClick: () => {r || a(null);},@@ -65723,7 +65736,7 @@ function xOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, I.jsx)(J, {disabled: !d || !l,- ...gV(r),+ ...vV(r),onClick: () => {d && !r && a({ref: s,@@ -65742,13 +65755,13 @@ var fQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encofunction pQ({ title: e, detail: t, busy: n, onRetry: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, I.jsx)(fV, {+ children: /* @__PURE__ */ (0, I.jsx)(mV, {size: "compact",- icon: RB,+ icon: BB,title: e,actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",- ...gV(!!n),+ ...vV(!!n),onClick: r,children: "立即重试"}),@@ -65756,8 +65769,8 @@ function pQ({ title: e, detail: t, busy: n, onRetry: r }) {})});}-function SOe({ code: e }) {- let t = gH(), [n, r] = (0, F.useState)("");+function DOe({ code: e }) {+ let t = vH(), [n, r] = (0, F.useState)("");return /* @__PURE__ */ (0, I.jsx)(pQ, {title: "封面未取得",detail: t.error || n,@@ -65791,7 +65804,7 @@ function mQ({ item: e, image: t, thumbnail: n = !1 }) {src: p,alt: f})- }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(SOe, { code: e.code });+ }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(DOe, { code: e.code });if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(pQ, {title: "图片未取得",onRetry: () => i((e) => e + 1)@@ -65842,7 +65855,7 @@ function mQ({ item: e, image: t, thumbnail: n = !1 }) {}// src/react/components/source-avatar.tsxfunction hQ({ code: e, person: t, detail: n = !1 }) {- aL();+ sL();let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");(0, F.useEffect)(() => {if (!r.current || i) return;@@ -65999,7 +66012,7 @@ function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function COe({ following: e, busy: t, onToggle: n, tip: r }) {+function OOe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {yQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {@@ -66051,29 +66064,29 @@ function COe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function wOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function kOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, I.jsxs)(hme, {+ }, []), /* @__PURE__ */ (0, I.jsxs)(vme, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, I.jsx)(BL, {+ children: [/* @__PURE__ */ (0, I.jsx)(HL, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",children: /* @__PURE__ */ (0, I.jsx)(_Q, { name: "chevron-down" })- }), /* @__PURE__ */ (0, I.jsx)(pz, {+ }), /* @__PURE__ */ (0, I.jsx)(hz, {placement: "bottom start",offset: 8,containerPadding: 8,- className: NV,+ className: FV,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, I.jsxs)(_me, {+ children: /* @__PURE__ */ (0, I.jsxs)(bme, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, I.jsx)(xz, {+ /* @__PURE__ */ (0, I.jsx)(Cz, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -66081,15 +66094,15 @@ function wOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Cz, {+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Tz, {id: e.value,textValue: e.label,"data-namepick-name": e.value,children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]}, e.value))}),- /* @__PURE__ */ (0, I.jsx)(Qpe, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, I.jsx)(xz, { children: /* @__PURE__ */ (0, I.jsxs)(Cz, {+ /* @__PURE__ */ (0, I.jsx)(tme, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, I.jsx)(Cz, { children: /* @__PURE__ */ (0, I.jsxs)(Tz, {id: "alias",textValue: "添加别名","data-namepick-alias": "",@@ -66101,8 +66114,8 @@ function wOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {})]});}-var TOe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", EOe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function DOe(e, t = "zh-CN") {+var AOe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", jOe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function MOe(e, t = "zh-CN") {return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({value: e,label: e@@ -66125,7 +66138,7 @@ function wQ(e, t) {return r && [e.label, n].map(Un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}var TQ = (e) => ({ site: zn(e) });-function OOe(e, t) {+function NOe(e, t) {let n = CQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,@@ -66167,9 +66180,9 @@ function OOe(e, t) {mark: TQ(e)};});- return [...r, ...kOe(a)];+ return [...r, ...POe(a)];}-function kOe(e) {+function POe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -66178,7 +66191,7 @@ function kOe(e) {}];}var EQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function AOe(e) {+function FOe(e) {return [["legal_name",@@ -66234,7 +66247,7 @@ function AOe(e) {}]}] : []);}-function jOe(e) {+function IOe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -66298,7 +66311,7 @@ function DQ(e, t = 4) {rest: e.length - n};}-function MOe(e) {+function LOe(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 ? {@@ -66308,7 +66321,7 @@ function MOe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function NOe(e) {+function ROe(e) {return go({id: e.id,hasImage: e.has_image,@@ -66319,9 +66332,9 @@ function NOe(e) {standIn: e.avatar_stand_in});}-function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- aL();- let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = SQ(e), u = TOe(e), d = l ? jOe(n.profile) : u ? AOe(n.company_profile) : [], f = OOe(n, e), p = EQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);+function zOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ sL();+ let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = SQ(e), u = AOe(e), d = l ? IOe(n.profile) : u ? FOe(n.company_profile) : [], f = NOe(n, e), p = EQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.wireScroller(h.current);}, [o, f.length]), (0, F.useEffect)(() => {@@ -66334,7 +66347,7 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, I.jsx)(FOe, {+ children: [/* @__PURE__ */ (0, I.jsx)(BOe, {kind: e,name: s,helpers: o,@@ -66342,7 +66355,7 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: u}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, I.jsx)(vOe, {+ children: /* @__PURE__ */ (0, I.jsx)(COe, {kind: e,entityId: Number(n.id),name: s || t,@@ -66357,17 +66370,17 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {- lang: VI(s),+ lang: UI(s),title: c || void 0,children: s}),- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(wOe, {+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(kOe, {current: n.canonical_name,- choices: DOe(n, Xt()),+ choices: MOe(n, Xt()),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, I.jsx)(OV, { item: {+ n.id ? /* @__PURE__ */ (0, I.jsx)(AV, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -66381,7 +66394,7 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,className: "text-caption-1-regular text-text-secondary",children: c}) : null,- /* @__PURE__ */ (0, I.jsx)(IOe, {+ /* @__PURE__ */ (0, I.jsx)(VOe, {kind: e,entity: n,actions: a@@ -66402,14 +66415,14 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,f.length ? /* @__PURE__ */ (0, I.jsx)("div", {ref: h,"data-entity-links": "",- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(HOe, { link: e }, t))+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(qOe, { link: e }, t))}) : null,- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(UOe, {+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(JOe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(zOe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(WOe, {follow: n.follow,displayName: s,actions: a@@ -66418,11 +66431,11 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {"data-entity-facts": "",- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(BOe, {+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(GOe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(VOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(KOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -66441,7 +66454,7 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(er(nn("performer", e.k, e.id)))}</span>${NOe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z(er(nn("performer", e.k, e.id)))}</span>${ROe(e)}` }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-hero-costar-name": "",children: nn("performer", e.k, e.id)@@ -66456,7 +66469,7 @@ function POe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function FOe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function BOe({ kind: e, name: t, helpers: n, people: r, company: i }) {let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z(er(t))}</span>`);return (0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-portrait-initial]");@@ -66470,7 +66483,7 @@ function FOe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: o }});}-function IOe({ kind: e, entity: t, actions: n }) {+function VOe({ kind: e, entity: t, actions: n }) {let r = CQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {@@ -66480,7 +66493,7 @@ function IOe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = t.name_display?.groups[Xt()] ?? t.name_groups, r = MOe(e);+ let e = t.name_display?.groups[Xt()] ?? t.name_groups, r = LOe(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [@@ -66490,7 +66503,7 @@ function IOe({ kind: e, entity: t, actions: n }) {title: "视频",children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(ROe, {+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(UOe, {follow: t.follow,actions: n}) : null,@@ -66507,7 +66520,7 @@ function IOe({ kind: e, entity: t, actions: n }) {"data-alias-names": "",title: "别名",children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {- lang: VI(e),+ lang: UI(e),children: e}, t))}),@@ -66560,11 +66573,11 @@ function IOe({ kind: e, entity: t, actions: n }) {children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, I.jsx)(LOe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, I.jsx)(HOe, { aliases: s }) : null]});}-function LOe({ aliases: e }) {+function HOe({ aliases: e }) {let { shown: t, rest: n } = DQ(e, 3);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names",@@ -66587,7 +66600,7 @@ function LOe({ aliases: e }) {]});}-function ROe({ follow: e, actions: t }) {+function UOe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",@@ -66602,7 +66615,7 @@ function ROe({ follow: e, actions: t }) {})]});}-function zOe({ follow: e, displayName: t, actions: n }) {+function WOe({ follow: e, displayName: t, actions: n }) {let [r, i] = (0, F.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -66616,12 +66629,12 @@ function zOe({ follow: e, displayName: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(dV, {+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(pV, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",- ...gV(r === e.key),+ ...vV(r === e.key),onClick: () => {a(e.key, e.name);},@@ -66648,19 +66661,19 @@ function kQ({ label: e, names: t }) {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-pop-name": "",- lang: VI(e.name),+ lang: UI(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function BOe({ glyph: e, label: t, clip: n, children: r }) {+function GOe({ glyph: e, label: t, clip: n, children: r }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function VOe({ tags: e }) {+function KOe({ tags: e }) {let { shown: t, rest: n } = DQ(e);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {"data-fact-tag": "",@@ -66693,7 +66706,7 @@ function AQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function HOe({ link: e }) {+function qOe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {"data-link": "icon",@@ -66741,7 +66754,7 @@ function HOe({ link: e }) {});}}-function UOe({ entity: e, actions: t, helpers: n }) {+function JOe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -66773,19 +66786,19 @@ function UOe({ entity: e, actions: t, helpers: n }) {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(COe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(OOe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: EOe(r)+ tip: jOe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var WOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function GOe(e, t, n) {+var YOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function XOe(e, t, n) {let [r, i] = (0, F.useState)(() => _a(e));r.author !== e && i(_a(e));let [a, o] = (0, F.useState)({@@ -66864,7 +66877,7 @@ function GOe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: ea,- seed: WOe()+ seed: YOe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -66894,7 +66907,7 @@ function GOe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function KOe(e) {+function ZOe(e) {let { kind: t, name: n } = e, r = Ft(WX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a@@ -66918,7 +66931,7 @@ function KOe(e) {onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(YOe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(eke, {...e,entity: r.data});@@ -66935,17 +66948,17 @@ function jQ(e) {};return n(r), r.n;}-var qOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function JOe(e, t) {+var QOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function $Oe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function YOe(e) {+function eke(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 = Lt(GX(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 || KX(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} : LX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = GOe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = XOe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,@@ -66993,11 +67006,11 @@ function YOe(e) {pe,T.key]), (0, F.useEffect)(() => {- c.body.isConnected && !document.getElementById("index")?.hidden && (lm("entity", {+ c.body.isConnected && !document.getElementById("index")?.hidden && (mm("entity", {seed: e.seed,revision: e.revision,jav: e.jav- }), !A.isPending && !ae.isPending && pm(() => c.body.isConnected && !document.getElementById("index")?.hidden, c.filter));+ }), !A.isPending && !ae.isPending && vm(() => c.body.isConnected && !document.getElementById("index")?.hidden, c.filter));}, [c,e.seed,@@ -67178,7 +67191,7 @@ function YOe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = qOe(), a = await H.fetchInfiniteQuery(GX(t, n, re, r)).catch(() => null);+ let r = QOe(), a = await H.fetchInfiniteQuery(GX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -67213,7 +67226,7 @@ function YOe(e) {k: e.k,label: Ll(e.k),n: e.n,- selected: OEe(i.tag, e.k)+ selected: NEe(i.tag, e.k)})), Te = [u.length,!_,@@ -67255,7 +67268,7 @@ function YOe(e) {Pe = !A.data;let e = BX(i.tag).length;Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : JOe(oe, KX(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : $Oe(oe, KX(oe).length) : Pe = ae.isPending;let Fe = (0, F.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -67272,7 +67285,7 @@ function YOe(e) {u]);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(POe, {+ /* @__PURE__ */ (0, I.jsx)(zOe, {kind: t,name: n,entity: r,@@ -67282,7 +67295,7 @@ function YOe(e) {actions: be,helpers: xe}, D),- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(vbe, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Cbe, {kind: t,name: n,view: w,@@ -67299,9 +67312,9 @@ function YOe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(abe, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(ube, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(VDe, {+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(KDe, {view: T.view,media: T.media,result: T.result,@@ -67320,11 +67333,11 @@ function YOe(e) {onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, I.jsx)(XOe, {+ }) : je ? /* @__PURE__ */ (0, I.jsx)(tke, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, I.jsx)(sDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(fDe, {kind: t,name: n,view: w,@@ -67357,9 +67370,9 @@ function YOe(e) {}), c.body)] });}-function XOe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV("search"),+function tke({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -67367,14 +67380,14 @@ function XOe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV("film"),+ }) : /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, I.jsx)(bL, {+ }) : /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/",children: "浏览馆藏"@@ -67384,7 +67397,7 @@ function XOe({ filtered: e, onShowAll: t, onOnline: n }) {}// src/react/diagnostics/diagnostics.tsvar MQ = ["diagnostics"], NQ = (e) => B("/api/diagnostics", e);-async function ZOe(e) {+async function nke(e) {await H.fetchQuery({queryKey: MQ,queryFn: () => NQ(e),@@ -67392,7 +67405,7 @@ async function ZOe(e) {});}// src/react/feed-new/feed-new-page.tsx-function QOe({ host: e, revision: t, helpers: n, actions: r }) {+function rke({ host: e, revision: t, helpers: n, actions: r }) {let i = Ft(PX(null, n.feedRowHtml)), a = (0, F.useRef)(t);return (0, F.useEffect)(() => {a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: NX(null) }));@@ -67405,7 +67418,7 @@ function QOe({ host: e, revision: t, helpers: n, actions: r }) {}), e);}// src/react/index/index-search.tsx-var $Oe = mV("search");+var ike = gV("search");function PQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);(0, F.useEffect)(() => {@@ -67423,15 +67436,15 @@ function PQ({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, I.jsx)(aV, {+ children: /* @__PURE__ */ (0, I.jsx)(sV, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, I.jsx)(sV, {+ children: /* @__PURE__ */ (0, I.jsx)(lV, {type: "search",- leadingIcon: $Oe,+ leadingIcon: ike,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -67481,7 +67494,7 @@ var LQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), RQ = mV("pencil"), zQ = (e, t) => ({+}), RQ = gV("pencil"), zQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -67490,7 +67503,7 @@ var LQ = () => /* @__PURE__ */ (0, I.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function eke({ tag: e, actions: t }) {+function ake({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -67516,8 +67529,8 @@ function eke({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(OV, { item: zQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, I.jsx)(DV, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(AV, { item: zQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, I.jsx)(kV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),children: /* @__PURE__ */ (0, I.jsx)(RQ, {})@@ -67531,17 +67544,17 @@ function BQ({ groups: e, actions: t }) {className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {"data-alpha-group": r,- className: wU({+ className: EU({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, I.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, I.jsx)(gW, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, I.jsx)(vW, { value: n.length })]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(eke, {+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(ake, {tag: e,actions: t}, e.k))@@ -67549,7 +67562,7 @@ function BQ({ groups: e, actions: t }) {}, e))});}-var tke = "\xA0";+var oke = "\xA0";function VQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-tag-cloud": "",@@ -67568,7 +67581,7 @@ function VQ({ 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, I.jsx)("span", {className: "min-w-0 truncate",- children: e.label + tke+ children: e.label + oke}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -67577,7 +67590,7 @@ function VQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(OV, { item: zQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(DV, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(AV, { item: zQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(kV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),children: /* @__PURE__ */ (0, I.jsx)(RQ, {})@@ -67586,7 +67599,7 @@ function VQ({ tags: e, actions: t }) {}, e.k))});}-var nke = [[+var ske = [["cloud","标签云","tags"@@ -67596,28 +67609,28 @@ var nke = [["text-aa"]];function HQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = dL();- return /* @__PURE__ */ (0, I.jsx)(pL, {+ let d = pL();+ return /* @__PURE__ */ (0, I.jsx)(hL, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(mL, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(gL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !l.blocked && l.hidden === e,onPress: () => l.onChange(!!e),children: t- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(mL, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(gL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(mL, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(gL, {"data-tag-pill": "","data-tag-cat": e === "all" ? "all" : oZ(n, e),pressed: t === e,@@ -67643,19 +67656,19 @@ function HQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, I.jsx)(Nz, {+ /* @__PURE__ */ (0, I.jsx)(Fz, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${sU}`,- children: nke.map(([e, t, n]) => {- let r = mV(n);- return /* @__PURE__ */ (0, I.jsx)(Pz, {+ className: `ml-auto ${lU}`,+ children: ske.map(([e, t, n]) => {+ let r = gV(n);+ return /* @__PURE__ */ (0, I.jsx)(Iz, {value: e,"aria-label": t,"data-glass-segment": "",- className: cU,+ className: uU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -67667,13 +67680,13 @@ function HQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function rke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, I.jsxs)(Tj, {+function cke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, I.jsxs)(Dj, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, I.jsx)(BV, {+ /* @__PURE__ */ (0, I.jsx)(HV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -67720,7 +67733,7 @@ var JQ = (e, t) => {WQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, I.jsxs)(UV, { children: [/* @__PURE__ */ (0, I.jsx)(ZV, {+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(GV, { children: [/* @__PURE__ */ (0, I.jsx)($V, {id: "receipts",position: "bottom-right",closeButton: !0,@@ -67744,7 +67757,7 @@ var JQ = (e, t) => {success: UQ(t.success, !0),error: UQ(t.error, !1)}- }), /* @__PURE__ */ (0, I.jsx)(ZV, {+ }), /* @__PURE__ */ (0, I.jsx)($V, {id: "processing",position: "bottom-right",gap: 8,@@ -67765,13 +67778,13 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, ike = 6e3, YQ = (e, t) => {+}, lke = 6e3, YQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? KV.error : KV.success, r = t.action;+ let n = t.alert ? JV.error : JV.success, r = t.action;n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : ike,+ duration: t.timeout > 0 ? t.timeout : lke,action: r ? {label: r.label,onClick: (e) => {@@ -67850,7 +67863,7 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}), () => {e.abort(), n.close();};- }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(ake, {+ }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(uke, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -67859,7 +67872,7 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function ake({ operation: e, selected: t, dialog: n, update: r }) {+function uke({ operation: e, selected: t, dialog: n, update: r }) {let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? XQ(t[0]) : 0);return (0, F.useEffect)(() => {r({@@ -67873,7 +67886,7 @@ function ake({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(cV, {+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(uV, {autoFocus: !0,"aria-label": "标签名称",value: i,@@ -67887,7 +67900,7 @@ function ake({ operation: e, selected: t, dialog: n, update: r }) {let n = t.find((t) => String(XQ(t)) === String(e));n && s(XQ(n));},- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(qU, {id: String(XQ(e)),children: e.k}, XQ(e)))@@ -67924,7 +67937,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,(0, F.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = gH(), ee = E.data?.items || [], N = ee, te = (s ? ZX : XX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = vH(), ee = E.data?.items || [], N = ee, te = (s ? ZX : XX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({...e,label: e.k})), ne = g === "alphabet" ? sZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {@@ -67992,7 +68005,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(hL, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(_L, {busy: M.busy === "repair",onPress: () => ie({operation: "repair",@@ -68000,11 +68013,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- N.length ? /* @__PURE__ */ (0, I.jsx)(hL, {+ N.length ? /* @__PURE__ */ (0, I.jsx)(_L, {onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, I.jsx)(hL, {+ k.size ? /* @__PURE__ */ (0, I.jsx)(_L, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null@@ -68013,7 +68026,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: rc({mode: g,pageSize: C.pageSize- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -68027,7 +68040,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : /* @__PURE__ */ (0, I.jsx)(VQ, {tags: P,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(dV, {+ }) : /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",children: "没有符合条件的标签。"}),@@ -68043,11 +68056,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,pageSizes: nc})}) : null,- M.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ M.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, I.jsxs)(Tj, {+ /* @__PURE__ */ (0, I.jsxs)(Dj, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,@@ -68069,7 +68082,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(!!M.busy),+ ...vV(!!M.busy),onClick: () => ie({operation: v ? "restore" : "hide",ids: ae@@ -68079,7 +68092,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,s ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(!!M.busy),+ ...vV(!!M.busy),onClick: () => ie({operation: b ? "unblock" : "block",ids: ae@@ -68099,7 +68112,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var oke = [+var dke = [{value: "studios",label: "厂牌",@@ -68115,7 +68128,7 @@ var oke = [label: "系列",symbol: "list"}-], ske = [{+], fke = [{value: "local",label: "本地",symbol: "hard-drive"@@ -68123,7 +68136,7 @@ var oke = [value: "online",label: "在线",symbol: "rss"-}], cke = [+}], pke = [{value: "performers",label: "艺人",@@ -68139,7 +68152,7 @@ var oke = [label: "在线",symbol: "rss"}-], lke = {+], mke = {people: [["big","大图 · 竖幅头像",@@ -68168,20 +68181,20 @@ var oke = ["layout-grid"]]};-function uke({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, I.jsx)(iU, {+function hke({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, I.jsx)(oU, {"aria-label": `${YX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${aU}`,- children: lke[e === "series" ? "series" : eZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = mV(n);- return /* @__PURE__ */ (0, I.jsx)(Pz, {+ className: `flex-none ${sU}`,+ children: mke[e === "series" ? "series" : eZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = gV(n);+ return /* @__PURE__ */ (0, I.jsx)(Iz, {value: e,"aria-label": t,- className: _ve,+ className: bve,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -68191,7 +68204,7 @@ function uke({ kind: e, layout: t, onChange: n }) {})});}-function dke(e) {+function gke(e) {let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => tZ({kind: e.kind,q: e.q,@@ -68240,16 +68253,16 @@ function dke(e) {getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,enabled: !(t && h === "tags"),placeholderData: ke- }), O = UEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;+ }), O = JEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;(0, F.useEffect)(() => {- pm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });+ vm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });}, [D.data,D.isPending,D.isPlaceholderData,r]), IQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : WEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : YEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;te && !D.isPlaceholderData && (N.current = {key: ee,counts: te@@ -68272,8 +68285,8 @@ function dke(e) {x]), oe = (t) => {l(t), e.savePreference({ layout: t });- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: ske,+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(yW, {+ tabs: fke,value: _,label: "词表",onChange: (e) => {@@ -68283,8 +68296,8 @@ function dke(e) {view: e === "online" ? "alphabet" : v});}- }) : eZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: oke,+ }) : eZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(yW, {+ tabs: dke,value: h,label: "资料类型",onChange: (e) => C({ kind: e })@@ -68311,7 +68324,7 @@ function dke(e) {$X(h) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-index-count": "",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: /* @__PURE__ */ (0, I.jsx)(oL, {+ children: /* @__PURE__ */ (0, I.jsx)(cL, {text: k ? void 0 : D.isError ? "" : M,busy: k,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -68320,18 +68333,18 @@ function dke(e) {})})}) : null,- $X(h) ? /* @__PURE__ */ (0, I.jsx)(uke, {+ $X(h) ? /* @__PURE__ */ (0, I.jsx)(hke, {kind: h,layout: c,onChange: oe}) : null,- /* @__PURE__ */ (0, I.jsx)(kV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, I.jsx)(jV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: mV("pencil"),+ leadingIcon: gV("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -68348,8 +68361,8 @@ function dke(e) {})]}),- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: cke,+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(yW, {+ tabs: pke,value: S ? "online" : h,label: "人物名册",onChange: (t) => {@@ -68412,8 +68425,8 @@ function dke(e) {}),children: (() => {if (k) return null;- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV("alert"),+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV("alert"),title: `没能读取${b}`,actions: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -68422,7 +68435,7 @@ function dke(e) {}),children: xn(D.error)});- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(pke, {+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(vke, {kind: h,filtered: !!g || y !== "all",online: x || S,@@ -68431,7 +68444,7 @@ function dke(e) {category: "all"})});- if (S) return /* @__PURE__ */ (0, I.jsx)(YEe, {+ if (S) return /* @__PURE__ */ (0, I.jsx)(eDe, {items: O,layout: c,props: e@@ -68484,7 +68497,7 @@ function dke(e) {}) : null, "载入更多"]})}) : null,- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(rke, {+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(cke, {count: u.size,match: f,onMatch: p,@@ -68498,7 +68511,7 @@ function dke(e) {]});}-var fke = {+var _ke = {tags: "标签",performers: "艺人",creators: "卖家",@@ -68506,9 +68519,9 @@ var fke = {agencies: "事务所",series: "系列"};-function pke({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV("search"),+function vke({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, I.jsx)(J, {size: "small",@@ -68517,16 +68530,16 @@ function pke({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : fke[e], a = /* @__PURE__ */ (0, I.jsx)(bL, {+ let i = n && e === "performers" ? "创作者" : _ke[e], a = /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, I.jsx)(fV, {- icon: mV(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: gV(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bL, {+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -68541,8 +68554,8 @@ var n$ = {audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, mke = (e) => n$[e.junk_kind || "other"] || n$.other;-function hke(e) {+}, yke = (e) => n$[e.junk_kind || "other"] || n$.other;+function bke(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -68553,21 +68566,21 @@ function hke(e) {glyph: "check"};}-var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), gke = (e, t) => [+var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), xke = (e, t) => ["junk-queue",e.view,e.kind,t];-function _ke({ kind: e, view: t }) {+function Ske({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function vke(e, t) {- let n = await B(`/api/ads?${_ke(e)}`, t);+async function Cke(e, t) {+ let n = await B(`/api/ads?${Ske(e)}`, t);return {...n,items: n.items || []@@ -68582,8 +68595,8 @@ function i$({ name: e }) {});}var a$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function yke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = mke(e), m = String(e.name || ""), h = hke(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+function wke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = yke(e), m = String(e.name || ""), h = bke(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {t.target.closest("[data-junk-actions]") || a$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {t.stopPropagation(), a$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);@@ -68713,7 +68726,7 @@ function yke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var bke = (0, F.memo)(yke);+var Tke = (0, F.memo)(wke);// src/react/components/collection-summary.tsxfunction o$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -68754,10 +68767,10 @@ function c$({ scope: e, count: t }) {children: t.toLocaleString()})] }) : null;}-function xke({ route: e, page: t, failed: n, onNavigate: r }) {- let i = VV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = vL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? LU.map(([e]) => r$(t, e)).join(",") : ""}`), l = BU(s), u = (e) => {+function Eke({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = UV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = bL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? zU.map(([e]) => r$(t, e)).join(",") : ""}`), l = HU(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") || zU()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || VU()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-junk-count": "",@@ -68765,7 +68778,7 @@ function xke({ route: e, page: t, failed: n, onNavigate: r }) {"data-junk-summary": "","aria-live": "polite",children: /* @__PURE__ */ (0, I.jsx)(o$, {- label: VU(s),+ label: UU(s),figure: d,pending: !t && !n,flush: !0@@ -68785,8 +68798,8 @@ function xke({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- LU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {- href: zU(e, s),+ zU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {+ href: VU(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,@@ -68823,33 +68836,33 @@ function xke({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var Ske = mV("check"), Cke = (e, t) => e[1] === t.view && e[2] === t.kind;-function wke(e) {+var Dke = gV("check"), Oke = (e, t) => e[1] === t.view && e[2] === t.kind;+function kke(e) {let t = {kind: e.kind,view: e.view}, n = Ft({- queryKey: gke(t, e.revision),- queryFn: ({ signal: e }) => vke(t, e),- placeholderData: (e, n) => n && Cke(n.queryKey, t) ? e : void 0+ queryKey: xke(t, e.revision),+ queryFn: ({ signal: e }) => Cke(t, e),+ placeholderData: (e, n) => n && Oke(n.queryKey, t) ? e : void 0});(0, F.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = Tke(e.countRow), i = n.isPending;+ let r = Ake(e.countRow), i = n.isPending;(0, F.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {r && n.data && ec(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(xke, {+ let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Eke, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(Eke, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(jke, {props: e,data: n.data,pending: i,@@ -68857,7 +68870,7 @@ function wke(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function Tke(e) {+function Ake(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -68867,8 +68880,8 @@ function Tke(e) {};}, [e]), t;}-function Eke({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = Rbe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {+function jke({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = Ube(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -68882,10 +68895,10 @@ function Eke({ props: e, data: t, pending: n, error: r, retry: i }) {});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, I.jsx)(fV, {- icon: Ske,+ return /* @__PURE__ */ (0, I.jsx)(mV, {+ icon: Dke,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, I.jsx)(bL, {+ actions: t ? /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: "/junk-files",children: "查看待判断"@@ -68898,7 +68911,7 @@ function Eke({ 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, I.jsx)(bke, {+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(Tke, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -68907,7 +68920,7 @@ function Eke({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(Dke, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(Mke, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -68917,7 +68930,7 @@ function Eke({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function Dke({ onMore: e }) {+function Mke({ onMore: e }) {let t = (0, F.useRef)(null);return (0, F.useEffect)(() => {let n = t.current;@@ -68934,7 +68947,7 @@ function Dke({ onMore: e }) {});}// src/react/components/fieldset-layout.ts-var Oke = wU({+var Nke = EU({padding: "none",className: "overflow-hidden"}), l$ = {@@ -68945,11 +68958,11 @@ var Oke = wU({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 d$(e) {- return `${Oke} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+ return `${Nke} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/react/data-cleanup/cleanup-entry.tsvar f$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", p$ = {- face: wU({+ face: EU({padding: "none",radius: "plain",interactive: !0,@@ -68961,26 +68974,26 @@ var f$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", psummary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"-}, kke = [+}, Pke = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], Ake = [+], Fke = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function jke(e = {}) {- return `${wU({+function Ike(e = {}) {+ return `${EU({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var Mke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Nke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+var Lke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Rke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";function m$({ interactive: e = !1 } = {}) {- return wU({+ return EU({padding: "none",radius: "plain",interactive: e,@@ -68988,7 +69001,7 @@ function m$({ interactive: e = !1 } = {}) {});}var h$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function Pke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+function zke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -69021,13 +69034,13 @@ function Pke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet})] });}-function Fke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function Bke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, I.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${kke[n % 4]} ${Ake[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Pke[n % 4]} ${Fke[n % 4]}`,children: /* @__PURE__ */ (0, I.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -69048,10 +69061,10 @@ function Fke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {] });}// src/management.ts-var g$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", _$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", v$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", y$ = "disabled data-skeleton-action", Ike = "aria-disabled=\"true\"", b$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, x$ = (e, t, n) => `<div class="${l$[n]}"><div class="flex flex-col gap-2">+var g$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", _$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", v$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", y$ = "disabled data-skeleton-action", Vke = "aria-disabled=\"true\"", b$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, x$ = (e, t, n) => `<div class="${l$[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 Lke() {+function Hke() {return b$(`<section aria-label="扫描与采集" class="${d$("stack")}" data-cleanup-task data-cleanup-processing>${x$("扫描与采集", g$, "stack")}<footer class="${u$.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>${Ts("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Os({@@ -69063,19 +69076,19 @@ function Lke() {})}</span></footer></section>`);}-function Rke() {+function Uke() {return b$(`<section aria-label="媒体修复" class="${d$("split")}" data-cleanup-task data-cleanup-processing>${x$("媒体修复", _$, "split")}<footer class="${u$.split}">${As(v$, {className: "w-48",- attrs: Ike+ attrs: Vke})}${Os({label: "开始修复",attrs: y$})}</footer></section>`);}-function zke() {+function Wke() {let e = (e, t, n, r = "") => `<div class="${p$.face}"><span class="${p$.icon}">${Ts(t, "size-5")}</span><span class="${p$.body}"><span class="${p$.title}">${e}</span><span class="${p$.summary}">${n}</span>${r ? `<span class="${p$.detail}">${r}</span>` : ""}</span>${Ts("chevron-right", p$.arrow)}</div>`, t = (e, t) => `<div class="${m$()}"><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">${Ts(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${v$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${v$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Yf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8"><section class="flex flex-col gap-4">${n("待处理事项")}<div class="${h$}">${[@@ -69085,18 +69098,18 @@ function zke() {["高清版", "sparkles"],["回收站", "trash"]].map(([e, n]) => t(e, n)).join("")}</div></section>- <div id="libraryProcessing" class="scroll-mt-20">${Lke()}</div>+ <div id="libraryProcessing" class="scroll-mt-20">${Hke()}</div><section class="flex flex-col gap-4">${n("整理与维护")}<div class="${f$}">${r(!1)}</div></section><section class="flex flex-col gap-4">${n("清理与删除")}<div class="${f$}">${r(!0)}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var Bke = wU({+var Gke = EU({padding: "none",radius: "surface",className: "overflow-hidden"-}), Vke = "border-t border-border-button-default p-4 first:border-t-0";-function Hke({ id: e, children: t }) {+}), Kke = "border-t border-border-button-default p-4 first:border-t-0";+function qke({ id: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",@@ -69147,7 +69160,7 @@ function T$({ title: e, href: t, children: n }) {});}// src/react/components/status-label.tsx-var Uke = {+var Jke = {success: "lime",progress: "blue",warning: "yellow",@@ -69155,15 +69168,15 @@ var Uke = {neutral: "neutral"};function E$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, I.jsx)(qU, {+ return /* @__PURE__ */ (0, I.jsx)(YU, {"data-status-tone": e,variant: "caption",- color: Uke[e],+ color: Jke[e],...t});}// src/react/components/path-line.tsx-function Wke({ className: e }) {+function Yke({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -69176,7 +69189,7 @@ function Wke({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })});}-var Gke = "打开文件管理器失败,请重试";+var Xke = "打开文件管理器失败,请重试";function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);(0, F.useEffect)(() => () => {@@ -69188,7 +69201,7 @@ function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {try {await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");} catch (e) {- l.current && c(e instanceof sr ? e.message : Gke);+ l.current && c(e instanceof sr ? e.message : Xke);} finally {l.current && o(!1);}@@ -69203,12 +69216,12 @@ function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {children: [t, e]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(cL, {- icon: Wke,+ children: [/* @__PURE__ */ (0, I.jsx)(uL, {+ icon: Yke,size: "small","aria-label": "在资源管理器中显示",onClick: () => void u(),- ...gV(a)+ ...vV(a)}), r]})]}), s ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -69218,7 +69231,7 @@ function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {});}// src/react/library-processing/issue-export.ts-async function Kke(e, t) {+async function Zke(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -69241,69 +69254,69 @@ async function Kke(e, t) {rows: n}, null, 2);}-function qke(e, t) {+function Qke(e, t) {let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);}// src/react/library-processing/library-processing-card.tsx-var Jke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Yke = (e) => {+var $ke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", eAe = (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(",")}。`;-}, Xke = (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} 部视频预览。` : "") + Yke(e);-function Zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = P_e(e), o = gH(), s = gH(), [c, l] = (0, F.useState)(""), u = nH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = j_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && rH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = eH(e), y = VV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(QV, {+}, tAe = (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} 部视频预览。` : "") + eAe(e);+function nAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = L_e(e), o = vH(), s = vH(), [c, l] = (0, F.useState)(""), u = iH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = P_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && aH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = nH(e), y = UV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(eH, {action: t ? "archive" : "unarchive",job_id: e.job_id}, "POST", n), (n) => {- H.setQueryData($V, n), l(t ? e.job_id : "");+ H.setQueryData(tH, n), l(t ? e.job_id : "");}), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(!!o.busy),- onClick: () => void o.run("export", (t) => Kke(e, t), (t) => {- qke(e.job_id, t), i("已导出问题清单");+ ...vV(!!o.busy),+ onClick: () => void o.run("export", (t) => Zke(e, t), (t) => {+ Qke(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, S = p ? [t || e.error || "处理未完成,请重试",- m ? iH : "",+ m ? oH : "",f].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;return /* @__PURE__ */ (0, I.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- v ? /* @__PURE__ */ (0, I.jsx)(L_e, {+ v ? /* @__PURE__ */ (0, I.jsx)(B_e, {state: e,slow: v- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "warning",title: "处理较慢",- children: Jke+ children: $ke}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(dV, {+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "success",title: "处理完成",- children: Xke(n)+ children: tAe(n)}) : null,- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(dV, {+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",title: "已取消上次任务",children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(dV, {+ h ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: p ? m ? "warning" : "error" : "neutral",className: "gap-0 p-3",title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,action: /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- m ? /* @__PURE__ */ (0, I.jsx)(hH, {- href: aH,+ m ? /* @__PURE__ */ (0, I.jsx)(_H, {+ href: sH,size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: "查看全部内容"}) : null,d ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -69317,7 +69330,7 @@ function Zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {variant: "secondary",size: "small","aria-label": "归档提示",- ...gV(!!s.busy),+ ...vV(!!s.busy),onClick: () => b(!0),children: "归档"}) : null@@ -69325,7 +69338,7 @@ function Zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}),extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",- children: /* @__PURE__ */ (0, I.jsx)(BH, {+ children: /* @__PURE__ */ (0, I.jsx)(HH, {summary: a.label,contentClassName: "gap-0",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -69362,18 +69375,18 @@ function Zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null] }),children: S}) : null,- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(dV, {+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- ...gV(!!s.busy),+ ...vV(!!s.busy),onClick: () => b(!1),children: "撤销"}),children: "已归档上一趟的问题提示,完整记录仍保留。"}) : null,- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "warning",children: o.error || s.error}) : null@@ -69381,16 +69394,16 @@ function Zke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {});}function O$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = DH(e), o = It({- mutationFn: (e) => V(QV, e),+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = kH(e), o = It({+ mutationFn: (e) => V(eH, e),onSuccess: (e) => {- a(), H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });+ a(), H.setQueryData(tH, e), H.invalidateQueries({ queryKey: tH });}});(0, F.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = nU(c), u = o.error ? lr(o.error) : r.isError ? r.data ? lH : lr(r.error) : "", d = o.isPending || nH(s), f = async (e) => {+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = iU(c), u = o.error ? lr(o.error) : r.isError ? r.data ? dH : lr(r.error) : "", d = o.isPending || iH(s), f = async (e) => {d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69399,33 +69412,33 @@ function O$(e) {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(hH, {+ /* @__PURE__ */ (0, I.jsx)(_H, {href: "/sources",size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: "来源和凭证"}),- /* @__PURE__ */ (0, I.jsx)(hH, {+ /* @__PURE__ */ (0, I.jsx)(_H, {href: "/settings/diagnostics",size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: "诊断与日志"}),- s.candidates ? /* @__PURE__ */ (0, I.jsx)(hH, {+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(_H, {href: "/review",size: "small",- trailingIcon: bB,+ trailingIcon: SB,children: "复核资料"}) : null,/* @__PURE__ */ (0, I.jsx)(FK, {scan: !0,busy: o.isPending,- occupied: nH(s),+ occupied: iH(s),metadataOnly: s?.metadata_only,speedMode: s.speed_mode,pendingCount: s.new_asset_count,onRun: f,- onOccupied: () => t(k_e(s))+ onOccupied: () => t(M_e(s))})] }),children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69435,7 +69448,7 @@ function O$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(S$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(qU, {+ children: [/* @__PURE__ */ (0, I.jsx)(S$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(YU, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69443,10 +69456,10 @@ function O$(e) {children: [s.new_asset_count.toLocaleString(), " 部待补全"]})}) : null]- }), l && (nH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), l && (iH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- onClick: () => tU(c, !0),+ onClick: () => rU(c, !0),children: "显示进度浮窗"}) : null]}),@@ -69457,17 +69470,17 @@ function O$(e) {s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {className: "self-start",children: /* @__PURE__ */ (0, I.jsx)(E$, { children: "已暂停" })- }) : nH(s) ? /* @__PURE__ */ (0, I.jsx)(G_e, { state: s }) : null,- nH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {+ }) : iH(s) ? /* @__PURE__ */ (0, I.jsx)(J_e, { state: s }) : null,+ iH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: oH(s)+ children: cH(s)}) : null,- nH(s) ? /* @__PURE__ */ (0, I.jsx)(JH, { traffic: s.traffic }) : null,- nH(s) ? /* @__PURE__ */ (0, I.jsx)(EH, { state: s }) : null+ iH(s) ? /* @__PURE__ */ (0, I.jsx)(XH, { traffic: s.traffic }) : null,+ iH(s) ? /* @__PURE__ */ (0, I.jsx)(OH, { state: s }) : null]})- }), /* @__PURE__ */ (0, I.jsx)(Zke, {+ }), /* @__PURE__ */ (0, I.jsx)(nAe, {state: s,problem: u,settled: i,@@ -69482,30 +69495,30 @@ function O$(e) {});}// src/react/playlists/playlists.ts-var Qke = "/api/playlists", k$ = "/api/playlist", A$ = ["playlists"], j$ = (e) => B(Qke, e);-async function $ke(e) {+var rAe = "/api/playlists", k$ = "/api/playlist", A$ = ["playlists"], j$ = (e) => B(rAe, e);+async function iAe(e) {await H.fetchQuery({queryKey: A$,queryFn: () => j$(e),staleTime: 0});}-var eAe = () => H.invalidateQueries({+var aAe = () => H.invalidateQueries({queryKey: A$,exact: !0-}), tAe = (e) => e.current_asset_id || e.preview_asset_id || null, nAe = (e) => `/poster?id=${e}&c=4`, rAe = (e) => V(k$, {+}), oAe = (e) => e.current_asset_id || e.preview_asset_id || null, sAe = (e) => `/poster?id=${e}&c=4`, cAe = (e) => V(k$, {action: "create",name: e,asset_ids: []-}), iAe = (e, t) => V(k$, {+}), lAe = (e, t) => V(k$, {action: "rename",id: e,name: t-}), aAe = (e) => V(k$, {+}), uAe = (e) => V(k$, {action: "delete",id: e-}), oAe = (e) => B(`${k$}?id=${e}`).catch(() => null);-function sAe(e) {+}), dAe = (e) => B(`${k$}?id=${e}`).catch(() => null);+function fAe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;return V(k$, {action: "create",@@ -69516,8 +69529,8 @@ function sAe(e) {});}// src/react/scraping/custom-source-data.ts-var M$ = "/api/custom-metadata", N$ = ["custom-metadata"], P$ = (e) => B(M$, e), cAe = "/api/scraping", lAe = "/api/scraping/settings", uAe = "/api/scraping/check", F$ = "/api/scraping/cover", dAe = "/api/scraping/amane-bridge", fAe = "/api/scraping/amane-bridge/check", pAe = "/api/scraping/amane-bridge/rebuild", I$ = ["scraping"], L$ = ["scraping", "cover"], R$ = ["scraping", "amane-bridge"], mAe = 262144, z$ = (e) => B(cAe, e), B$ = (e) => B(F$, e), V$ = (e) => B(dAe, e);-async function hAe(e) {+var M$ = "/api/custom-metadata", N$ = ["custom-metadata"], P$ = (e) => B(M$, e), pAe = "/api/scraping", mAe = "/api/scraping/settings", hAe = "/api/scraping/check", F$ = "/api/scraping/cover", gAe = "/api/scraping/amane-bridge", _Ae = "/api/scraping/amane-bridge/check", vAe = "/api/scraping/amane-bridge/rebuild", I$ = ["scraping"], L$ = ["scraping", "cover"], R$ = ["scraping", "amane-bridge"], yAe = 262144, z$ = (e) => B(pAe, e), B$ = (e) => B(F$, e), V$ = (e) => B(gAe, e);+async function bAe(e) {await Promise.all([H.fetchQuery({queryKey: I$,@@ -69537,7 +69550,7 @@ async function hAe(e) {})]);}-function gAe(e, t) {+function xAe(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}` : "");}var H$ = /* @__PURE__ */ new Set([@@ -69564,7 +69577,7 @@ function W$(e) {};}var G$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function _Ae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+function SAe({ 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,@@ -69655,7 +69668,7 @@ function _Ae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function vAe(e, t, n = Math.random) {+function CAe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));@@ -69664,7 +69677,7 @@ function vAe(e, t, n = Math.random) {return r.filter((e) => !t.some((t) => G$(t) === G$(e))).slice(0, 5);}// src/react/search/search-page.tsx-var yAe = () => ({+var wAe = () => ({dismissed: !1,history: [],pool: [],@@ -69690,7 +69703,7 @@ var yAe = () => ({active: -1,reveal: !1,rewind: !1-}), K$ = (e) => _Ae({+}), K$ = (e) => SAe({query: e.query,history: e.history,picks: e.picks,@@ -69699,8 +69712,8 @@ var yAe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), bAe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q$ = 4e3, xAe = 5e3, J$ = 1200;-function SAe(e) {+}), TAe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q$ = 4e3, EAe = 5e3, J$ = 1200;+function DAe(e) {if (window.requestIdleCallback) {let t = window.requestIdleCallback(e, { timeout: q$ });return () => window.cancelIdleCallback(t);@@ -69713,13 +69726,13 @@ var Y$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});-function CAe(e) {+function OAe(e) {let t = (0, F.useRef)(e);t.current = e;let n = (0, F.useRef)(null);- n.current ??= yAe();+ n.current ??= wAe();let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);- o.current ??= TAe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= AAe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, F.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => {@@ -69730,7 +69743,7 @@ function CAe(e) {e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o), e.addEventListener("click", c);let l = { close: s.close };t.current.expose(l), s.warm();- let u = window.setInterval(s.rotatePlaceholder, xAe);+ let u = window.setInterval(s.rotatePlaceholder, EAe);return () => {e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), e.removeEventListener("click", c), clearTimeout(r.timer), r.cancelIdle(), window.clearInterval(u), r.cancelRoll(), r.recommendationRequest++, t.current.expose(null);};@@ -69738,7 +69751,7 @@ function CAe(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 = K$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(DAe, {+ let c = K$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(MAe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -69772,7 +69785,7 @@ function CAe(e) {e.pending ? /* @__PURE__ */ (0, I.jsx)("div", {"data-search-items": "","aria-busy": "true",- children: wAe(e)+ children: kAe(e)}) : e.kind ? /* @__PURE__ */ (0, I.jsx)("div", {"data-search-items": "",children: e.options.map(u)@@ -69786,7 +69799,7 @@ function CAe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, I.jsx)(EAe, {+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(jAe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -69825,7 +69838,7 @@ function X$(e, t) {}}var Z$ = "\xA0";-function wAe(e) {+function kAe(e) {let t = U$.has(e.kind ?? "");return Array.from({ length: e.pending ?? 0 }, (e, n) => t ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "work",@@ -69860,7 +69873,7 @@ function wAe(e) {})]}, n));}-function TAe(e, t, n, r) {+function AAe(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 () => {@@ -69906,7 +69919,7 @@ function TAe(e, t, n, r) {let n = e().helpers;n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, X$(t.recommendations.map(W$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));}, h = () => {- t.cancelIdle(), t.cancelIdle = SAe(() => {+ t.cancelIdle(), t.cancelIdle = DAe(() => {t.nextRecommendations || p();});}, g = h, _ = (n) => {@@ -69942,9 +69955,9 @@ function TAe(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, h(), r();}, x = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : vAe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : CAe(t.pool, o()), t.active = -1;let a = n();- a && (bAe(K$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (TAe(K$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, S = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -70021,7 +70034,7 @@ function TAe(e, t, n, r) {rotatePlaceholder: d};}-function EAe({ tabs: e, kind: t, onPick: n, wire: r }) {+function jAe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {r(i.current);@@ -70035,9 +70048,9 @@ function EAe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(gW, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(vW, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, I.jsxs)(LI, {+ return /* @__PURE__ */ (0, I.jsxs)(zI, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -70047,8 +70060,8 @@ function EAe({ tabs: e, kind: t, onPick: n, wire: r }) {});}var Q$ = (e) => e.preventDefault();-function DAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {- aL();+function MAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+ sL();let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -70212,7 +70225,7 @@ function e1({ item: e, kind: t }) {}// src/react/settings/configuration.tsvar t1 = ["configuration"], n1 = (e) => B(qY, e);-async function OAe(e) {+async function NAe(e) {await H.fetchQuery({queryKey: t1,queryFn: () => n1(e)@@ -70265,7 +70278,7 @@ function a1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function kAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function PAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({onStep: a,onSettle: o@@ -70299,7 +70312,7 @@ function kAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var AAe = [+var FAe = [["strength","强度",@@ -70326,8 +70339,8 @@ var AAe = [100]];-function jAe({ host: e, spot: t, index: n, glow: r }) {- let i = ole[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = VV(), [l, u] = (0, F.useState)("all");+function IAe({ host: e, spot: t, index: n, glow: r }) {+ let i = lle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = UV(), [l, u] = (0, F.useState)("all");(0, F.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -70340,7 +70353,7 @@ function jAe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Zj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), os(), o.current?.focus();+ r[t].color = $j(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), os(), o.current?.focus();};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-glow-stop": t,@@ -70365,7 +70378,7 @@ function jAe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-down" })+ /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-down" })]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "popmenu",@@ -70377,7 +70390,7 @@ function jAe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: lle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: fle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -70391,7 +70404,7 @@ function jAe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: ule.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: ple.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -70408,8 +70421,8 @@ function jAe({ host: e, spot: t, index: n, glow: r }) {})]});}-function MAe({ host: e }) {- let t = e.store.value.homeGlow, n = Wj(t.preset);+function LAe({ host: e }) {+ let t = e.store.value.homeGlow, n = Kj(t.preset);return /* @__PURE__ */ (0, I.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -70428,10 +70441,10 @@ function MAe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {"data-glow-preset-name": "",- children: sle(t.preset)+ children: ule(t.preset)})]}),- /* @__PURE__ */ (0, I.jsx)(VM, {+ /* @__PURE__ */ (0, I.jsx)(UM, {store: e.store,label: "光晕配色"}),@@ -70442,7 +70455,7 @@ function MAe({ host: e }) {}),/* @__PURE__ */ (0, I.jsx)("div", {"data-glow-fields": "",- children: AAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(kAe, {+ children: FAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(PAe, {field: r,label: i,max: a,@@ -70463,7 +70476,7 @@ function MAe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = $j(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = tM(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -70482,7 +70495,7 @@ function MAe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-stops": "",- children: Vj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(jAe, {+ children: Uj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(IAe, {host: e,spot: n,index: r,@@ -70494,7 +70507,7 @@ function MAe({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var NAe = {+var RAe = {batchSizeSetting: {min: 1,max: 200,@@ -70548,8 +70561,8 @@ function s1(e, t) {return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = NAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);- d.current ||= Aj(Number(localStorage.getItem(o1(e))), o, s, n && n > 0 ? n : l);+ let a = RAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);+ d.current ||= Mj(Number(localStorage.getItem(o1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);y.current = i, (0, F.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));@@ -70631,8 +70644,8 @@ function u1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var PAe = "__home__", d1 = (e) => e === "" ? PAe : e;-function FAe({ host: e }) {+var zAe = "__home__", d1 = (e) => e === "" ? zAe : e;+function BAe({ host: e }) {let t = l1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {let a = u1(n, e, r, i);a && t(a);@@ -70694,9 +70707,9 @@ function FAe({ host: e }) {/* @__PURE__ */ (0, I.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(UF, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(GF, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, I.jsx)(UF, { name: a ?? "" }),+ /* @__PURE__ */ (0, I.jsx)(GF, { name: a ?? "" }),/* @__PURE__ */ (0, I.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -70710,7 +70723,7 @@ function FAe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70720,7 +70733,7 @@ function FAe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70732,7 +70745,7 @@ function FAe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, I.jsx)(UF, { name: "eye-off" })+ children: /* @__PURE__ */ (0, I.jsx)(GF, { name: "eye-off" })})]})]@@ -70752,13 +70765,13 @@ function FAe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(UF, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, I.jsx)(GF, { name: v[2] ?? "" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(GF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -70776,7 +70789,7 @@ function FAe({ host: e }) {onClick: () => {s(d1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, I.jsx)(UF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]+ children: [/* @__PURE__ */ (0, I.jsx)(GF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]}, d1(e)))}) : null]}), /* @__PURE__ */ (0, I.jsx)("button", {@@ -70799,7 +70812,7 @@ var f1 = [["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], IAe = [+], VAe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -70808,7 +70821,7 @@ var f1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], LAe = [["desc", "降序"], ["asc", "升序"]], RAe = [[+], HAe = [["desc", "降序"], ["asc", "升序"]], UAe = [["cover","官方封面",""@@ -70816,7 +70829,7 @@ var f1 = ["thumbnail","预览图",""-]], zAe = [+]], WAe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -70835,32 +70848,32 @@ var f1 = ["切片","隐藏切片"]-], BAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", p1 = null, m1 = {+], GAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", p1 = null, m1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null}, h1 = 0, g1 = null, _1 = /* @__PURE__ */ new Set();-function VAe(e) {+function KAe(e) {return _1.add(e), () => {_1.delete(e);};}-function HAe() {+function qAe() {for (let e of [..._1]) e();}function v1(e) {m1 = {...m1,...e- }, (0, Rt.flushSync)(HAe);+ }, (0, Rt.flushSync)(qAe);}-async function UAe(e) {+async function JAe(e) {let t = m1.epoch, n = await e.configurable();m1.open && m1.epoch === t && v1({ configurable: n });}-function WAe(e = "") {+function YAe(e = "") {let t = p1;if (!t) return;let n = f1.findIndex(([t]) => t === e);@@ -70869,7 +70882,7 @@ function WAe(e = "") {return;}os(), h1 += 1, g1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = ETe();+ let r = jTe();v1({open: !0,closing: !1,@@ -70878,7 +70891,7 @@ function WAe(e = "") {tab: n >= 0 ? n : m1.tab}), r.then((e) => {e && t.syncRemote(e);- }), UAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), JAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}function y1(e = !0) {if (!m1.open || m1.closing) return;@@ -70892,31 +70905,31 @@ function y1(e = !0) {};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var GAe = {- open: WAe,+var XAe = {+ open: YAe,close: y1,isOpen: () => m1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function KAe(e) {- return p1 = e, GAe;+function ZAe(e) {+ return p1 = e, XAe;}-function qAe() {- let e = (0, F.useSyncExternalStore)(VAe, () => m1);- return p1 ? /* @__PURE__ */ (0, I.jsx)(XAe, {+function QAe() {+ let e = (0, F.useSyncExternalStore)(KAe, () => m1);+ return p1 ? /* @__PURE__ */ (0, I.jsx)(tje, {host: p1,view: e}) : null;}-function JAe(e) {+function $Ae(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(BAe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(GAe)].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 b1 = (e) => `settings-tab-${e}`, x1 = (e) => `settings-group-${e}`;-function YAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+function eje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -70988,7 +71001,7 @@ function YAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(UF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Bde, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(GF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Ude, { name: n }), t]}, t)),/* @__PURE__ */ (0, I.jsx)("div", {"data-settings-service": "",@@ -70999,9 +71012,9 @@ function YAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(UF, { name: "folder-cog" }),+ /* @__PURE__ */ (0, I.jsx)(GF, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-right" })]})})@@ -71018,7 +71031,7 @@ function S1({ index: e, tab: t, children: n, cards: r = !1 }) {hidden: e !== t,children: [/* @__PURE__ */ (0, I.jsx)("h3", { children: f1[e][0] }),- /* @__PURE__ */ (0, I.jsx)(Hve, { chapter: [+ /* @__PURE__ */ (0, I.jsx)(Gve, { chapter: ["appearance","playback","jav-settings",@@ -71054,7 +71067,7 @@ function w1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]});}-function XAe({ host: e, view: t }) {+function tje({ host: e, view: t }) {(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -71086,7 +71099,7 @@ function XAe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: JAe,+ onKeyDown: $Ae,onClick: (e) => {e.target === e.currentTarget && y1();},@@ -71100,13 +71113,13 @@ function XAe({ host: e, view: t }) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {id: "settingsTitle",children: f1[t.tab][0]- }), /* @__PURE__ */ (0, I.jsx)(hV, {+ }), /* @__PURE__ */ (0, I.jsx)(_V, {id: "settingsClose",label: "关闭设置",onPress: () => y1()})]}),- /* @__PURE__ */ (0, I.jsx)(YAe, {+ /* @__PURE__ */ (0, I.jsx)(eje, {tab: t.tab,epoch: d,configurable: t.configurable,@@ -71175,7 +71188,7 @@ function XAe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, I.jsx)(MAe, { host: e }),+ /* @__PURE__ */ (0, I.jsx)(LAe, { host: e }),/* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -71187,18 +71200,18 @@ function XAe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, I.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, I.jsx)(FAe, { host: e })+ children: /* @__PURE__ */ (0, I.jsx)(BAe, { host: e })})})]})]}),- /* @__PURE__ */ (0, I.jsx)(QAe, {+ /* @__PURE__ */ (0, I.jsx)(rje, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsx)($Ae, {+ /* @__PURE__ */ (0, I.jsx)(ije, {host: e,tab: t.tab,epoch: d@@ -71207,7 +71220,7 @@ function XAe({ host: e, view: t }) {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, I.jsx)(rje, {+ /* @__PURE__ */ (0, I.jsx)(cje, {host: e,epoch: d}),@@ -71229,7 +71242,7 @@ function XAe({ host: e, view: t }) {title: "口味与记录",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(bL, {+ children: /* @__PURE__ */ (0, I.jsx)(SL, {variant: "secondary",href: "/taste",onClick: () => y1(!1),@@ -71257,7 +71270,7 @@ function XAe({ host: e, view: t }) {})});}-function ZAe(e, t) {+function nje(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Ks("arrow-up", "arrow-down", "a", {@@ -71267,7 +71280,7 @@ function ZAe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function QAe({ host: e, tab: t, epoch: n }) {+function rje({ 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, I.jsxs)(S1, {index: 1,@@ -71299,7 +71312,7 @@ function QAe({ host: e, tab: t, epoch: n }) {children: [/* @__PURE__ */ (0, I.jsx)(a1, {id: "defaultSortSetting",label: "默认排序",- options: IAe,+ options: VAe,value: r.defaultSort,epoch: n,onPick: (t) => {@@ -71308,7 +71321,7 @@ function QAe({ host: e, tab: t, epoch: n }) {}), /* @__PURE__ */ (0, I.jsx)(a1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: LAe,+ options: HAe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -71316,7 +71329,7 @@ function QAe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => ZAe(e, o)+ decorate: (e) => nje(e, o)})]})}),@@ -71357,7 +71370,7 @@ function QAe({ host: e, tab: t, epoch: n }) {label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Aj(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Mj(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -71366,14 +71379,14 @@ function QAe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, I.jsx)(nje, {+ /* @__PURE__ */ (0, I.jsx)(sje, {host: e,epoch: n})]});}-function $Ae({ host: e, tab: t, epoch: n }) {+function ije({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();return /* @__PURE__ */ (0, I.jsxs)(S1, {index: 2,@@ -71383,7 +71396,7 @@ function $Ae({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, I.jsx)(eje, {+ /* @__PURE__ */ (0, I.jsx)(aje, {host: e,epoch: n}),@@ -71393,7 +71406,7 @@ function $Ae({ host: e, tab: t, epoch: n }) {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: RAe,+ options: UAe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -71417,7 +71430,7 @@ function $Ae({ host: e, tab: t, epoch: n }) {label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Aj(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Mj(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})@@ -71430,7 +71443,7 @@ function $Ae({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- zAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(tje, {+ WAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(oje, {host: e,id: t,settingKey: n,@@ -71440,7 +71453,7 @@ function $Ae({ host: e, tab: t, epoch: n }) {]});}-function eje({ host: e, epoch: t }) {+function aje({ host: e, epoch: t }) {let n = Ft({queryKey: $Y,queryFn: ({ signal: e }) => iX(e),@@ -71470,12 +71483,12 @@ function eje({ host: e, epoch: t }) {}));}})- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: "未取得数据库中的名称偏好,请重新打开设置。"}) : null] });}-function tje({ host: e, id: t, settingKey: n, label: r, title: i }) {+function oje({ host: e, id: t, settingKey: n, label: r, title: i }) {let a = aX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {s(t), Xc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {@@ -71500,7 +71513,7 @@ function tje({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function nje({ host: e, epoch: t }) {+function sje({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(C1, {@@ -71535,7 +71548,7 @@ function nje({ host: e, epoch: t }) {})] });}-function rje({ host: e, epoch: t }) {+function cje({ host: e, epoch: t }) {let n = e.store.value, r = aX();return /* @__PURE__ */ (0, I.jsx)(w1, {title: "搜索记录数量",@@ -71546,14 +71559,14 @@ function rje({ host: e, epoch: t }) {label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Aj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Mj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})});}// src/react/sidebar/use-sidebar-reorder.ts-function ije(e, t, n, r) {+function lje(e, t, n, r) {let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({order: t,commit: n,@@ -71689,7 +71702,7 @@ function ije(e, t, n, r) {};}// src/react/sidebar/sidebar-island.tsx-var T1 = "__home__", aje = {+var T1 = "__home__", uje = {creator: 26,tag: 30,tech: 16@@ -71701,7 +71714,7 @@ var T1 = "__home__", aje = {},epoch: 0}, k1 = /* @__PURE__ */ new Set();-function oje(e) {+function dje(e) {return k1.add(e), () => {k1.delete(e);};@@ -71709,7 +71722,7 @@ function oje(e) {function A1() {for (let e of [...k1]) e();}-var sje = {+var fje = {render(e) {O1 = {...O1,@@ -71723,7 +71736,7 @@ var sje = {}, (0, Rt.flushSync)(A1);}};-function cje(e) {+function pje(e) {return D1 = e, O1 = {...O1,props: {@@ -71731,26 +71744,26 @@ function cje(e) {filters: {},latest: null}- }, sje;+ }, fje;}-function lje() {- let e = (0, F.useSyncExternalStore)(oje, () => O1);- return D1 ? /* @__PURE__ */ (0, I.jsx)(uje, {+function mje() {+ let e = (0, F.useSyncExternalStore)(dje, () => O1);+ return D1 ? /* @__PURE__ */ (0, I.jsx)(hje, {host: D1,props: e.props,epoch: e.epoch}) : null;}-function uje({ host: e, props: t, epoch: n }) {+function hje({ host: e, props: t, epoch: n }) {let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, I.jsx)(dje, {+ /* @__PURE__ */ (0, I.jsx)(gje, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, I.jsx)(pje, {+ t.content ? /* @__PURE__ */ (0, I.jsx)(vje, {host: e,content: t.content,filters: t.filters,@@ -71758,8 +71771,8 @@ function uje({ host: e, props: t, epoch: n }) {}) : null] });}-function dje({ host: e, epoch: t, version: n }) {- let r = l1(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, F.useRef)(null), l = (0, F.useRef)(null), u = vL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || T1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function gje({ host: e, epoch: t, version: n }) {+ let r = l1(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, F.useRef)(null), l = (0, F.useRef)(null), u = bL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || T1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, F.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -71778,7 +71791,7 @@ function dje({ host: e, epoch: t, version: n }) {i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);};}, [e, d]);- let f = ije(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;+ let f = lje(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-nav": "",ref: c,@@ -71814,7 +71827,7 @@ function dje({ host: e, epoch: t, version: n }) {alt: "",decoding: "async",draggable: !1- }) : /* @__PURE__ */ (0, I.jsx)(UF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ }) : /* @__PURE__ */ (0, I.jsx)(GF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]}, t || T1);}),f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -71837,7 +71850,7 @@ function dje({ host: e, epoch: t, version: n }) {}), p) : null] });}var j1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function fje(e) {+function _je(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -71851,7 +71864,7 @@ function fje(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function pje({ host: e, content: t, filters: n, latest: r }) {+function vje({ 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, F.useLayoutEffect)(() => {t.kind === "catalog" && ec(e.scroll, "drawer");@@ -71860,8 +71873,8 @@ function pje({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? mje(e, t.facets, n, r, i) : hje(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(gje, {+ let a = t.kind === "catalog" ? yje(e, t.facets, n, r, i) : bje(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(xje, {title: e.title,kind: e.kind,active: e.active,@@ -71870,8 +71883,8 @@ function pje({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function mje(e, t, n, r, i) {- let a = fje(r), o = (t, r, i) => {+function yje(e, t, n, r, i) {+ let a = _je(r), o = (t, r, i) => {if (!t.length) return null;let o = j1(n, r);return /* @__PURE__ */ (0, I.jsx)(P1, {@@ -71896,12 +71909,12 @@ function mje(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, I.jsx)(vje, {+ body: /* @__PURE__ */ (0, I.jsx)(Cje, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: aje[d],+ limit: uje[d],filterKey: l,selected: f,counts: a,@@ -71940,7 +71953,7 @@ function mje(e, t, n, r, i) {} : null];}-function hje(e, t, n) {+function bje(e, t, n) {let r = t.providers || [], i = j1(n, "provider"), a = new Set(t.selected);return [r.length ? {@@ -71987,7 +72000,7 @@ function M1(e, t) {} catch {}return n === null ? t : n === "open";}-function gje({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+function xje({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => M1(e, n)), u = (0, F.useRef)(!1);(0, F.useLayoutEffect)(() => {let t = o.current, r = s.current;@@ -72013,7 +72026,7 @@ function gje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -72034,8 +72047,8 @@ function gje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })});}var N1 = (0, F.createContext)(() => {});-function _je({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(UF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {+function Sje({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(GF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""@@ -72058,7 +72071,7 @@ function P1({ 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, I.jsx)(_je, { dot: e.dot }),+ /* @__PURE__ */ (0, I.jsx)(Sje, { dot: e.dot }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -72073,7 +72086,7 @@ function P1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function vje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+function Cje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {let u = (0, F.useContext)(N1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);p !== e && (m(e), f(null));let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;@@ -72114,7 +72127,7 @@ function vje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, I.jsx)(UF, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(GF, { name: "chevron-down" })}) : null] });}function F1({ rows: e, host: t, selected: n, badges: r }) {@@ -72223,11 +72236,11 @@ function R1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", yje = [+var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", wje = ["自动补全","仅使用本地资料","自定义"-], bje = [+], Tje = [["读本地 NFO 和图片","✓",@@ -72258,7 +72271,7 @@ var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], xje = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", B1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", V1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", H1 = "只填域名,留空用默认地址", Sje = [+], Eje = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", B1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", V1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", H1 = "只填域名,留空用默认地址", Dje = [{provider: "coomer",label: "Coomer",@@ -72348,7 +72361,7 @@ var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], U1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", Cje = "peach.configuration.shape.v1";+], U1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", Oje = "peach.configuration.shape.v1";function W1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");@@ -72357,11 +72370,11 @@ function W1() {return {};}}-function wje(e, t) {+function kje(e, t) {try {let n = W1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(Cje, JSON.stringify({+ localStorage.setItem(Oje, JSON.stringify({...n,[e]: t}));@@ -72372,13 +72385,13 @@ var G1 = (e) => W1()[e], K1 = (e) => e === !0, q1 = (e, t) => Number.isInteger(evariant: t,size: n,attrs: Y1-}), n0 = (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>`, r0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, Tje = (e, t, n) => {+}), n0 = (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>`, r0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, Aje = (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">${e0()}${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;-}, i0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${Tje(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? n0(n, i) : ""}</div></section>`, a0 = (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>`, o0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => a0(e, t, `<span class="skeleton ${n}"></span>`), s0 = (e, t = "", n = "4em") => a0(e, t, X1(n)), c0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, l0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, u0 = (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>${Z1()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, d0 = (e) => `<div class="flex flex-col gap-1">${l0(e)}${As(X1("8em"))}</div>`, f0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${Q1("16px", "16px")}${e}</span>`, p0 = (e) => `<span class="inline-flex items-center gap-1">${e0()}${e}</span>`, m0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ts("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, Eje = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), h0 = (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">${Eje.has(e) ? X1("100%") + X1("80%") + X1("6em") : X1("6em")}</dd></div>`).join("")}</dl>`, Dje = Sje;-function Oje(e = G1("credentials")) {+}, i0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${Aje(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? n0(n, i) : ""}</div></section>`, a0 = (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>`, o0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => a0(e, t, `<span class="skeleton ${n}"></span>`), s0 = (e, t = "", n = "4em") => a0(e, t, X1(n)), c0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, l0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, u0 = (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>${Z1()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, d0 = (e) => `<div class="flex flex-col gap-1">${l0(e)}${As(X1("8em"))}</div>`, f0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${Q1("16px", "16px")}${e}</span>`, p0 = (e) => `<span class="inline-flex items-center gap-1">${e0()}${e}</span>`, m0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ts("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, jje = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), h0 = (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">${jje.has(e) ? X1("100%") + X1("80%") + X1("6em") : X1("6em")}</dd></div>`).join("")}</dl>`, Mje = Dje;+function Nje(e = G1("credentials")) {let t = new Set(J1(e?.done, 64, String));- return Dje.map((e) => {+ return Mje.map((e) => {let n = t.has(e.provider);return {...e,@@ -72387,19 +72400,19 @@ function Oje(e = G1("credentials")) {};});}-function kje(e) {+function Pje(e) {let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = $1() + (n && !e.done ? t.map(() => $1("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${Q1("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? c0(z(e.why)) : ""}</div>`;let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + c0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? c0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => u0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${t0("保存配置")}</div>${m0("凭据文件")}</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>${m0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}function g0() {- let e = Oje(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ let e = Nje(), t = e.filter((e) => e.requirement === "required" && !e.done).length;return i0("来源凭据", r0(`<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(kje).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? X1("5em") : "" });+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(Pje).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? X1("5em") : "" });}function _0() {let e = J1(G1("indexers")?.open, 20, K1).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">${Ts("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${X1("6em")}${X1("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${u0("名称")}${u0("Torznab 地址")}${u0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${f0("启用")}${t0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");@@ -72414,25 +72427,25 @@ function b0() {let e = G1("cloudProxy"), t = J1(e?.accounts, 12, (e) => Array.isArray(e) ? [K1(e[0]), K1(e[1])] : [!1, !1]), n = q1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${l0(p0(X1("6em")))}${c0(X1("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${l0(p0(X1("8em")))}${c0(X1("50%"))}${y0("数据代理", e)}${y0("API 代理", t)}<div class="flex justify-end">${t0("保存配置")}</div></div>`).join("") : c0(X1("60%"));return i0("CloudDrive 代理", r0(`${c0(U1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), t0("重新读取", "secondary"));}-var x0 = (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>`, Aje = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+var x0 = (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>`, Fje = (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">${Z1()}</span>${Os({glyph: "folder-search",variant: "secondary",attrs: Y1})}</div><div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${x0("来源", As(X1("6em")), "w-full @lg:w-60")}${x0("读取策略", As(X1("4em")), "w-full @lg:w-32")}${e > 1 ? x0("移到媒体库", As(X1("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, jje = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ </div>`, Ije = (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>${Os({label: "自动识别",variant: "secondary",attrs: Y1})}${Z1()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${As(X1("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${Aje(t).repeat(e)}<div class="flex">${Os({+ <div data-library-folders>${Fje(t).repeat(e)}<div class="flex">${Os({label: "添加文件夹",variant: "secondary",attrs: Y1-})}</div></div></div>`, Mje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${z1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, Nje = "<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 Pje(e = G1("media")) {+})}</div></div></div>`, Lje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${z1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, Rje = "<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 zje(e = G1("media")) {let t = J1(e?.folders, 12, (e) => q1(e, 50)).filter(Boolean);return t.length ? {folders: t,@@ -72442,7 +72455,7 @@ function Pje(e = G1("media")) {cloud: !1};}-function Fje() {+function Bje() {let e = G1("discovery"), t = K1(e?.enabled), n = t && K1(e?.cloud), r = n && K1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${Z1()}</span>${As(X1("4em"), { prefix: "对应目录" })}${Os({glyph: "trash",variant: "secondary",@@ -72450,13 +72463,13 @@ function Fje() {})}</div>`;return i0("自动发现新文件", r0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${$1()}</div>`) + o0("发现新文件后自动入库", t ? X1("10em") : "") + o0("监视本机文件夹", t && K1(e?.watchLocal) ? X1("12em") : "") + o0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? a0("Webhook 配置", X1("20em"), "") : "") + (r ? r0(m0("查看配置"), !0) : "") + (n ? r0(`<div class="flex flex-col gap-3">${l0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(q1(e?.prefixes, 20))}</div><div>${t0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? t0("更换密钥", "secondary") : "") + t0("保存配置"));}-var Ije = () => {- let e = Pje();- return i0("媒体库与目录", r0(`${Mje}<div class="flex flex-col gap-4">${e.folders.map((t) => jje(t, e.folders.length)).join("")}</div>+var Vje = () => {+ let e = zje();+ return i0("媒体库与目录", r0(`${Lje}<div class="flex flex-col gap-4">${e.folders.map((t) => Ije(t, e.folders.length)).join("")}</div><div class="self-start">${t0("添加媒体库", "secondary")}</div><p class="text-body-2-regular text-text-secondary">${B1}</p>- ${e.cloud ? Nje : ""}<span class="text-body-medium text-text-primary">${X1("15em")}</span>`), t0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? b0() : "") + Fje() + i0("番号识别规则", r0(`${X1("90%")}${X1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), t0("保存配置")) + i0("视频预览", o0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + o0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + o0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, Lje = () => `<div>${t0("采集来源与登录状态", "secondary")}</div>` + g0() + i0("关注采集", a0("自动检查更新", "", "<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>") + s0("订阅源拉取") + o0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + s0("头像刷新", "重新获取关注创作者的头像。") + s0("favicon 刷新", "重新获取来源站点的图标。")) + _0() + i0("作品资料站点", r0(`<p class="text-body-2-regular text-text-secondary">${V1}</p>${u0(p0("JavDB 地址"), H1)}${u0(p0("MISSAV 地址"), H1)}`), t0("保存配置")), Rje = () => {+ ${e.cloud ? Rje : ""}<span class="text-body-medium text-text-primary">${X1("15em")}</span>`), t0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? b0() : "") + Bje() + i0("番号识别规则", r0(`${X1("90%")}${X1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), t0("保存配置")) + i0("视频预览", o0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + o0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + o0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, Hje = () => `<div>${t0("采集来源与登录状态", "secondary")}</div>` + g0() + i0("关注采集", a0("自动检查更新", "", "<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>") + s0("订阅源拉取") + o0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + s0("头像刷新", "重新获取关注创作者的头像。") + s0("favicon 刷新", "重新获取来源站点的图标。")) + _0() + i0("作品资料站点", r0(`<p class="text-body-2-regular text-text-secondary">${V1}</p>${u0(p0("JavDB 地址"), H1)}${u0(p0("MISSAV 地址"), H1)}`), t0("保存配置")), Uje = () => {let e = G1("downloads"), t = K1(e?.pikpak), n = K1(e?.pikpakRoots) ? d0(p0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${l0(p0("PikPak 根目录对应的媒体目录"))}${c0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = K1(e?.cloud) ? i0("云下载", r0(u0("CloudDrive2 地址") + u0("CloudDrive2 API 令牌", "需要离线任务权限。") + (K1(e?.has115) ? u0(p0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? u0(p0("PikPak 目标目录"), "目录要已经存在。") + n : "") + u0("等待上限(小时)", X1("14em"))), t0("检查连接", "secondary") + t0("保存配置")) : "", i = K1(e?.pikpakLoggedIn);return r + (t ? i0("PikPak 账号", i ? h0(["账号", X1("4em")]) : r0(u0("账号") + u0("密码") + f0("保存密码,登录过期时自动重新登录")), i ? t0("登出", "secondary") : (K1(e?.browserLogin) ? t0("用浏览器登录", "secondary") : "") + t0("登录"), {aside: $1(),@@ -72470,24 +72483,24 @@ var Ije = () => {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function zje(e) {+function Wje(e) {let t = e === "locked" ? "" : u0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + u0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");return (S0[e] ? c0(S0[e]) : "") + (e === "open" ? Q1("100%", "64px") : "") + (e === "password" || e === "legacy" ? f0("关闭访问密码") : "") + (e === "password" ? u0("当前访问密码 *") : "") + t;}-var Bje = () => {+var Gje = () => {let e = G1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = K1(e?.tunnelNamed), r = (n && K1(e?.tunnelNamedMode) ? c0(C0.named) + u0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + u0("隧道令牌", X1("16em")) : c0(C0.quick)) + (K1(e?.tunnelNote) ? Q1("100%", "64px") : ""), i = q1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${u0(["本机地址","手机连接地址","备用 IP 地址"][t])}</div>${t0("复制地址", "secondary")}</div>`).join("");- return (i || K1(e?.port) ? i0("访问地址", r0(a + (i ? Q1("100%", "40px") : "") + (K1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${l0("谁可以访问")}${Q1("min(100%, 20em)", "36px")}</div>` + (K1(e?.lan) ? u0("局域网访问地址") : "") : "") + (K1(e?.port) ? u0("端口") : "")), K1(e?.port) ? t0("保存配置") : "", K1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + i0("访问密码", r0(zje(t)), t === "locked" ? "" : t0("保存配置")) + i0("Cloudflare 公网入口", r0((n ? Q1("10.5em", "36px") : "") + r), t0("启动公网入口", n ? "secondary" : "primary") + (n ? t0("保存配置") : ""), { aside: $1() }) + i0("Peach 代理", o0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (K1(e?.proxyAddress) ? r0(u0("代理地址"), !0) : ""), t0("保存配置"));-}, Vje = [+ return (i || K1(e?.port) ? i0("访问地址", r0(a + (i ? Q1("100%", "40px") : "") + (K1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${l0("谁可以访问")}${Q1("min(100%, 20em)", "36px")}</div>` + (K1(e?.lan) ? u0("局域网访问地址") : "") : "") + (K1(e?.port) ? u0("端口") : "")), K1(e?.port) ? t0("保存配置") : "", K1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + i0("访问密码", r0(Wje(t)), t === "locked" ? "" : t0("保存配置")) + i0("Cloudflare 公网入口", r0((n ? Q1("10.5em", "36px") : "") + r), t0("启动公网入口", n ? "secondary" : "primary") + (n ? t0("保存配置") : ""), { aside: $1() }) + i0("Peach 代理", o0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (K1(e?.proxyAddress) ? r0(u0("代理地址"), !0) : ""), t0("保存配置"));+}, Kje = ["版本","操作系统","数据目录","设置文件","日志目录"-], Hje = () => {+], qje = () => {let e = G1("maintenance"), t = ["当前版本","安装方式",@@ -72498,23 +72511,23 @@ var Bje = () => {return i0("检查更新", h0(t) + (n ? r0(c0(X1("50%")).repeat(n), !0) : ""), t0("检查更新"), {aside: $1("4em"),status: X1("5em")- }) + i0("自动更新", o0("自动检查新版本") + o0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + o0("检查频率", K1(e?.autoUpdateHelp) ? X1("12em") : "", "ui-configuration-skeleton-select"), t0("保存配置")) + i0("开机自启", o0("开机后启动 Peach") + o0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + o0("在桌面创建快捷方式", K1(e?.desktopNote) ? X1("12em") : "") + (K1(e?.startupNote) ? r0(c0(X1("60%")), !0) : ""), t0("保存配置")) + i0("视频播放", o0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + i0("存储空间", h0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => a0(X1("6em"), "", X1("4em"))).join("") : r0(c0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? r0(c0(X1("80%")).repeat(i), !0) : ""), t0("更改位置", "secondary") + t0(r ? "重新统计" : "统计占用")) + (c || l ? i0("数据上传", c + l) : "") + i0("运行信息", h0(a.length ? a : Vje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${a0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", t0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? i0("卸载 Peach", (K1(e?.uninstallHelp) ? r0(c0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + o0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + r0(m0("数据目录"), !0), t0("卸载 Peach"), { status: X1("16em") }) : "");+ }) + i0("自动更新", o0("自动检查新版本") + o0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + o0("检查频率", K1(e?.autoUpdateHelp) ? X1("12em") : "", "ui-configuration-skeleton-select"), t0("保存配置")) + i0("开机自启", o0("开机后启动 Peach") + o0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + o0("在桌面创建快捷方式", K1(e?.desktopNote) ? X1("12em") : "") + (K1(e?.startupNote) ? r0(c0(X1("60%")), !0) : ""), t0("保存配置")) + i0("视频播放", o0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + i0("存储空间", h0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => a0(X1("6em"), "", X1("4em"))).join("") : r0(c0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? r0(c0(X1("80%")).repeat(i), !0) : ""), t0("更改位置", "secondary") + t0(r ? "重新统计" : "统计占用")) + (c || l ? i0("数据上传", c + l) : "") + i0("运行信息", h0(a.length ? a : Kje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${a0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", t0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? i0("卸载 Peach", (K1(e?.uninstallHelp) ? r0(c0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + o0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + r0(m0("数据目录"), !0), t0("卸载 Peach"), { status: X1("16em") }) : "");};-function Uje(e) {+function Jje(e) {switch (e) {case "系统诊断": return R1();- case "来源与订阅": return Lje();- case "下载渠道": return Rje();- case "网络与访问": return Bje();- case "应用与维护": return Hje();- default: return Ije();+ case "来源与订阅": return Hje();+ case "下载渠道": return Uje();+ case "网络与访问": return Gje();+ case "应用与维护": return qje();+ default: return Vje();}}-function Wje(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).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">${Uje(e)}</div></div></div>`;+function Yje(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).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">${Jje(e)}</div></div></div>`;}// src/filter-controls-skeleton.ts-var w0 = (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>` : Ts(e, "size-4 shrink-0"), T0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", E0 = (e, t, n) => `<span data-entity-layout="" class="${sU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${cU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${T0}>${w0(r)}</span>`).join("")}</span>`;+var w0 = (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>` : Ts(e, "size-4 shrink-0"), T0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", E0 = (e, t, n) => `<span data-entity-layout="" class="${lU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${uU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${T0}>${w0(r)}</span>`).join("")}</span>`;function D0(e, t, { folders: n = !0 } = {}) {let r = lG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? E0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${T0}>${w0("ri-folder-3-line")}</button>` : "";return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${T0}>${w0("shuffle")}</button>${a}${E0("馆藏显示方式", r, [[@@ -72533,13 +72546,13 @@ var O0 = 64, k0 = (e) => e.replace(/[&<>"]/g, (e) => ({"<": "<",">": ">","\"": """-})[e]), Gje = (e) => e.repeat(O0), A0 = (e) => Gje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span> </span></span>`);-function Kje(e, t, n) {+})[e]), Xje = (e) => e.repeat(O0), A0 = (e) => Xje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span> </span></span>`);+function Zje(e, t, n) {let r = e.map((e) => `<a href="${k0(e.href)}" data-catalog-view="${k0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${k0(e.label)}</a>`).join(""), i = RG();return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${A0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${A0("studio")}</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(O0) + `</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>${Es()}</span>` + (n ? D0(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/react/jav/release-table-columns.ts-var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.visibility.v1", qje = {+var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.visibility.v1", Qje = {name: {width: 300,min: 240,@@ -72585,7 +72598,7 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vimin: 112,max: 320}-}, Jje = {+}, $je = {name: "作品",people: "艺人",studio: "厂牌",@@ -72595,7 +72608,7 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.viscore: "来源评分",release: "发行时间",actions: "操作"-}, Yje = {+}, eMe = {code: "code",dur: "duration",score: "source_score",@@ -72612,17 +72625,17 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vi"code"].map((e) => ({id: e,- label: Jje[e],- ...qje[e],+ label: $je[e],+ ...Qje[e],flex: e === "name",required: e === "name",visible: e !== "code"}));-function Xje() {+function tMe() {return LJ(N0, j0, M0);}// src/jav-skeleton.ts-var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, Zje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";+var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, nMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";function I0() {return ["w-20",@@ -72633,10 +72646,10 @@ function I0() {"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 L0(e, t = gM()) {- 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">${Zje("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 = wM({- ...CM({+function L0(e, t = vM()) {+ 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">${nMe("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 = EM({+ ...TM({active: !0,home: !1,portrait: !1@@ -72652,24 +72665,24 @@ function L0(e, t = gM()) {<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>`;}-var Qje = {+var rMe = {releases: "筛选新作",discover: "筛选推荐",wants: "筛选想要"};-function $je(e) {- let t = new URLSearchParams(location.search).get("q") || "", n = 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)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${eMe()}${lG() === "list" ? `<div data-catalog-table>${VJ(Xje())}</div>` : L0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${tMe()}${L0(e)}</section>`;+function iMe(e) {+ let t = new URLSearchParams(location.search).get("q") || "", n = 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)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${aMe()}${lG() === "list" ? `<div data-catalog-table>${VJ(tMe())}</div>` : L0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${oMe()}${L0(e)}</section>`;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 min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, Qje[e] || "筛选")}</div>${Os({+ <div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, rMe[e] || "筛选")}</div>${Os({variant: "primary",label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${lU.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">${dU.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>${n}</div></div>`;}-function eMe() {- let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = uW.map(([e, r, i]) => ({+function aMe() {+ let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = fW.map(([e, r, i]) => ({key: e,label: r,ariaLabel: i,@@ -72686,14 +72699,14 @@ function eMe() {${D0(r, {name: "jav-layout",label: "JAV 卡片版式",- value: gM(),- options: dM+ value: vM(),+ options: pM}, { folders: !1 })}</div></div>`;}-function tMe() {- 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="" ${gM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ts(t, "size-4")}</span>`;+function oMe() {+ 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="" ${vM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ts(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>${I0()}</div></div>@@ -72702,14 +72715,14 @@ function tMe() {<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>${Es()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Ts("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>- ${lW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ts("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${dW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ts("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.tsvar 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 nMe() {+function sMe() {let e = ["馆藏视频","看过",@@ -72750,7 +72763,7 @@ function nMe() {</section></div></div>`;}-function rMe() {+function cMe() {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 = ["浏览记录","口味维度",@@ -72806,7 +72819,7 @@ function rMe() {</div></div></div>`;}-function iMe() {+function lMe() {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="${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>@@ -72834,7 +72847,7 @@ function iMe() {${t.repeat(2)}</div></div>`;}-function aMe() {+function uMe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3"><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>@@ -72852,14 +72865,14 @@ function aMe() {</div></div>`;}// src/board-skeleton.ts-var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oMe = () => `${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>`, sMe = "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">${[+var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dMe = () => `${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>`, fMe = "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="${sMe}"><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>`, cMe = (e = "") => FZ.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">${FZ.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>`, lMe = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${fMe}"><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>`, pMe = (e = "") => FZ.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">${FZ.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>`, mMe = ({ table: e, sort: t, dir: n }) => {let r = ur.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">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Os({glyph: "refresh-cw",@@ -72894,7 +72907,7 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oMesize: "small",glyph: "trash",attrs: W0-})}</span>`, uMe = () => `<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">${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>${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>${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">${Os({+})}</span>`, hMe = () => `<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">${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>${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>${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">${Os({variant: "secondary",size: "small",glyph: "refresh-cw",@@ -72911,13 +72924,13 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oMeglyph: "chevron-up",label: "收起",attrs: W0-})}</span></span></div><div data-source-divider>${U0(uMe(), e)}</div></section>`, dMe = () => {+})}</span></span></div><div data-source-divider>${U0(hMe(), e)}</div></section>`, gMe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, fMe = [+}, _Me = [["select", ""],["author", "创作者"],["source", "来源"],@@ -72925,13 +72938,13 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oMe["status", "状态"],["checked", "上次检查"],["actions", ""]-], pMe = {+], vMe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, Q0 = "<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>", mMe = (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>${fMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${pMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[+}, Q0 = "<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>", yMe = (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>${_Me.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${vMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[Y0(),`<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,G0("10em"),@@ -72939,39 +72952,39 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oMeK0(48, 24),G0("113px"),X0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, hMe = (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>${As(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, gMe = () => `<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>${[+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, bMe = (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>${As(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, xMe = () => `<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">${G0(e)}</span>`).join("")}</div>`, _Me = (e) => {- let t = cMe(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">${J0(t)}<div class="flex flex-col gap-4">${gMe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || dMe(), a = n ? mMe(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">${q0()}<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"}">${lMe({+].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, SMe = (e) => {+ let t = pMe(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">${J0(t)}<div class="flex flex-col gap-4">${xMe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || gMe(), a = n ? yMe(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">${q0()}<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"}">${mMe({table: n,...r- })}${a}${hMe(n, i)}</div></div></div></div></div>`;+ })}${a}${bMe(n, i)}</div></div></div></div></div>`;};-function vMe() {- 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(oMe(), 4)}</div></aside></div>`;+function CMe() {+ 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(dMe(), 4)}</div></aside></div>`;}-function yMe(e, t = {}) {+function wMe(e, t = {}) {let n = "";- if (e === "/stats") n = nMe();+ if (e === "/stats") n = sMe();else if (e === "/jav") {- let e = uU(new URLSearchParams(location.search).get("tab"));- n = $je(e === "library" ? "discover" : e);- } else if (e === "/taste") n = rMe();- else if (e === "/subscriptions") n = _Me(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = Wje(kf[e.split("/")[2]]);+ let e = fU(new URLSearchParams(location.search).get("tab"));+ n = iMe(e === "library" ? "discover" : e);+ } else if (e === "/taste") n = cMe();+ else if (e === "/subscriptions") n = SMe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = Yje(kf[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 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 = iMe();- else if (e === "/quality-goals") n = aMe();+ else if (e === "/duplicates") n = lMe();+ else if (e === "/quality-goals") n = uMe();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>${Os({label: "新建",attrs: W0@@ -72980,7 +72993,7 @@ function yMe(e, t = {}) {return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}// src/react/components/overlay-host.ts-function bMe(e) {+function TMe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");@@ -72988,10 +73001,10 @@ function bMe(e) {}function $0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return bMe(n ?? t.body);+ return TMe(n ?? t.body);}var e2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";-function xMe(e) {+function EMe(e) {let t = e.querySelector(":scope > [data-react-overlays]");for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {let t = e.matches(e2) ? e : e.querySelector(e2);@@ -73004,13 +73017,13 @@ function t2(e) {t && t.parentElement !== n && n.append(t);}// src/react/follow-detail/follow-detail.ts-var n2 = (e) => ["follow-item", e], SMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, CMe = "/api/follow/save", wMe = "/api/follow/media/hide", r2 = class extends Error {+var n2 = (e) => ["follow-item", e], DMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, OMe = "/api/follow/save", kMe = "/api/follow/media/hide", r2 = class extends Error {constructor() {super("这条关注内容已不存在");}};async function i2(e, t) {- let n = await B(SMe(e), t);+ let n = await B(DMe(e), t);for (let t of n.groups || []) {let r = la(t).find((t) => t.id === e);if (r) return {@@ -73022,7 +73035,7 @@ async function i2(e, t) {}throw new r2();}-function TMe(e) {+function AMe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = la(t.group).find((t) => t.id === e);@@ -73040,13 +73053,13 @@ async function a2(e, t) {}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? TMe(e.id);+ } : H.getQueryData(n) ?? AMe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,queryFn: () => i2(e.id, t)}), await i;}-function EMe(e, t, n, r) {+function jMe(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 && va(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,@@ -73061,32 +73074,32 @@ function EMe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var DMe = (e) => la(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), OMe = {+var MMe = (e) => la(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), NMe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, kMe = {+}, PMe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function AMe(e) {+function FMe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return OMe[t] || t;+ return NMe[t] || t;} catch {return "外部文件页";}}function o2(e, t) {- return kMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+ return PMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function jMe(e, t, n = "") {+function IMe(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;@@ -73095,16 +73108,16 @@ function jMe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var MMe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", NMe = /* @__PURE__ */ new Set([+var LMe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", RMe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function PMe(e, t) {+function zMe(e, t) {let n = s2(e, t);- return `r34-${NMe.has(n) ? n : "general"}`;+ return `r34-${RMe.has(n) ? n : "general"}`;}var c2 = ["copyright",@@ -73113,7 +73126,7 @@ var c2 = ["general","metadata"];-function FMe(e, t) {+function BMe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {let n = c2.indexOf(s2(e, t));return n < 0 ? c2.length : n;@@ -73124,12 +73137,12 @@ function l2(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 IMe = (e, t) => ({+var VMe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t}), u2 = (e) => e?.size ? { size: e.size } : {};-function LMe(e, t) {+function HMe(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}`,@@ -73150,7 +73163,7 @@ function LMe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var RMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, zMe = [+var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, WMe = ["3em","5em","5em",@@ -73160,7 +73173,7 @@ var RMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2"8em","8em","10em"-], BMe = [+], GMe = ["5.8em","6.4em","7em",@@ -73175,7 +73188,7 @@ var RMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2size: "small",label: v2(t)});-function VMe() {+function KMe() {return `<section class="${d$("stack")}"><div class="${l$.stack}">${b2("整理", "mb-3")}<p class="text-body-regular text-text-secondary">${d2}</p>@@ -73189,9 +73202,9 @@ function VMe() {</div><p class="text-caption-1-regular text-text-secondary">${f2}</p>${x2(v2("12em"), { label: "文件名模板" })}${x2(v2("8em"), { label: "目录模板" })}- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${zMe.map((e) => S2("secondary", e)).join("")}</div></div>+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${WMe.map((e) => S2("secondary", e)).join("")}</div></div><p class="text-caption-1-regular text-text-secondary">路径示例:${v2("16em")}</p>- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${BMe.map((e) => S2("ghost", e)).join("")}</div></div>+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${GMe.map((e) => S2("ghost", e)).join("")}</div></div><p class="text-caption-1-regular leading-4.5 text-text-secondary">${p2}</p></div></div>@@ -73201,7 +73214,7 @@ function VMe() {})}</footer></section>`;}-var HMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+var qMe = () => `<section class="flex scroll-mt-20 flex-col gap-4"><section class="${d$("split")}"><div class="${l$.split}">${b2("资源同步", "mb-2")}<p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${m2}</p></div><footer class="${u$.split}">${Os({@@ -73209,7 +73222,7 @@ var HMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">label: "检查文件",attrs: _2})}</footer></section>-</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, UMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, JMe = () => `<section class="flex scroll-mt-20 flex-col gap-4"><section class="${d$("stack")}"><div class="${l$.stack}">${b2("链接管理", "mb-2")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${C2("链接总数", !0)}${[0,@@ -73229,7 +73242,7 @@ var HMe = () => `<section class="flex scroll-mt-20 flex-col gap-4"></section>`;function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${Y0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${Y0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", "", n)}</div>` : "";- return `<div data-data-table-panel class="${wU({+ return `<div data-data-table-panel class="${EU({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"})}">@@ -73251,14 +73264,14 @@ function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {<div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${v2("8em")}</span><div data-toolbar-actions>${As("每页 20 条", { size: "sm" })}</div></div></div>`;}-var WMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, GMe = {+var YMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, XMe = {organize: {label: "正在读取整理配置",- body: VMe+ body: KMe},"resource-sync": {label: "正在读取资源同步状态",- body: HMe+ body: qMe},"orphan-records": {label: "正在读取文件已丢失的记录",@@ -73270,7 +73283,7 @@ var WMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl{label: "作品",width: 480,- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${WMe("70%", "40%")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${YMe("70%", "40%")}</span>`},{label: "个人记录",@@ -73292,11 +73305,11 @@ var WMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl},"media-repair": {label: "正在读取媒体修复状态",- body: Rke+ body: Uke},links: {label: "正在读取链接统计",- body: UMe+ body: JMe},"batch-delete": {label: "正在读取女优列表",@@ -73331,7 +73344,7 @@ var WMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl}};function T2(e) {- let { label: t, body: n } = GMe[e];+ let { label: t, body: n } = XMe[e];return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;}// src/management-placeholder.ts@@ -73343,7 +73356,7 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), KMe = [+}), ZMe = ["元数据字段","创作者标签","厂牌 Logo",@@ -73353,15 +73366,15 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], qMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], QMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${KMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${ZMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, JMe = {- "/data-cleanup": () => zke(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, $Me = {+ "/data-cleanup": () => Wke(),...Object.fromEntries(Yf.map((e) => [e.path, () => T2(e.key)])),"/resource-sync": () => T2("resource-sync"),- "/review": () => qMe(),+ "/review": () => QMe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>${E2("正在读取采集来源", {cards: !0,@@ -73371,13 +73384,13 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill})}</div>`};function D2(e, { followLayout: t, followSort: n, followDir: r }) {- return yMe(e, {+ return wMe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (JMe[e] ?? (() => E2("正在读取页面")))();+ }) || ($Me[e] ?? (() => E2("正在读取页面")))();}var O2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";function k2(e, t) {@@ -73404,11 +73417,11 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,})}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(fV, {+ children: /* @__PURE__ */ (0, I.jsx)(mV, {size: "compact",- icon: eV,+ icon: nV,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, I.jsx)(bL, {+ actions: /* @__PURE__ */ (0, I.jsx)(SL, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -73512,7 +73525,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(YMe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(eNe, {item: e,selected: r === t,onSelect: n,@@ -73531,7 +73544,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function YMe({ item: e, selected: t, onSelect: n, render: r }) {+function eNe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");return (0, F.useEffect)(() => {if (!i.current || a) return;@@ -73557,7 +73570,7 @@ function YMe({ item: e, selected: t, onSelect: n, render: r }) {});}// src/react/follow-detail/follow-related.ts-var XMe = (e, t, n) => [+var tNe = (e, t, n) => ["follow-feed","related",e,@@ -73579,19 +73592,19 @@ function N2(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);}-var ZMe = /* @__PURE__ */ new Set(["metadata", "artist"]);-function QMe(e, t, n) {+var nNe = /* @__PURE__ */ new Set(["metadata", "artist"]);+function rNe(e, t, n) {let r = (e) => e.detail_tags || e.tags || [], i = new Set(r(t.item)), a = t.sources.find((e) => e.id === t.item.source_id)?.author_key, o = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e])), s = /* @__PURE__ */ new Map();for (let t of e.flatMap((e) => e.groups || [])) for (let e of r(ga(t, n))) s.set(e, (s.get(e) || 0) + 1);return (e) => {- let t = ga(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !ZMe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));+ let t = ga(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !nNe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));return {reasons: a && c?.author_key === a ? ["同创作者"] : [],tags: l};};}-async function $Me(e, t, n, r) {+async function iNe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {..._a(i),status: "new",@@ -73614,13 +73627,13 @@ async function $Me(e, t, n, r) {var P2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), eNe = 20;+}), aNe = 20;function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Ft({queryKey: ["tag-management", n],queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),enabled: f && (n === "online" || !t.length)- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = gH(), _ = (e) => {+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = vH(), _ = (e) => {g.run("rename", async (t) => {let r = (await H.fetchQuery({queryKey: ["tag-management", n],@@ -73631,7 +73644,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}, (e) => d(e));}, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)([]), S = (e) => {x((t) => [...t, Un(e)]), s(e);- }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < eNe || b.includes(Un(e.k))) : e;+ }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < aNe || b.includes(Un(e.k))) : e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-tags": "",@@ -73655,7 +73668,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"data-edit-tag": e.k,title: "修改标签名称","aria-label": `修改标签 ${a(e.k)}`,- ...gV(!!g.busy),+ ...vV(!!g.busy),onClick: () => _(e),children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "pencil" })}),@@ -73675,11 +73688,11 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labesize: "small","data-tags-more": "","aria-expanded": v,- trailingIcon: v ? SB : yB,+ trailingIcon: v ? wB : xB,onClick: () => y(!v),children: v ? "收起" : `还有 ${e.length - w.length} 个`}) : null,- /* @__PURE__ */ (0, I.jsx)(tNe, {+ /* @__PURE__ */ (0, I.jsx)(oNe, {tags: e,candidates: h,label: a,@@ -73691,11 +73704,11 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe})]}),- g.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ g.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: g.error}) : null,- m.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {+ m.isError ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -73713,8 +73726,8 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function tNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {- let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = VV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({+function oNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+ let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = UV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({adding: i,query: h,tags: e,@@ -73759,7 +73772,7 @@ function tNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? Kue(_, t, RP()) : {+ let w = p ? Yue(_, t, BP()) : {recent: [],results: [],create: ""@@ -73822,7 +73835,7 @@ function tNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,title: "添加标签","aria-label": "添加标签","aria-expanded": p,- ...gV(!!i),+ ...vV(!!i),children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" })}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: l,@@ -73897,8 +73910,8 @@ function tNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function nNe({ item: e, label: t, actions: n }) {- let r = gH(), i = () => H.invalidateQueries({ predicate: (e) => [+function sNe({ item: e, label: t, actions: n }) {+ let r = vH(), i = () => H.invalidateQueries({ predicate: (e) => ["follow-feed","follow","tag-management"@@ -73921,7 +73934,7 @@ function nNe({ item: e, label: t, actions: n }) {}, "POST", t);a(n), await i();}, () => {- o === "add" && zP(s);+ o === "add" && VP(s);let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {let t = await V("/api/follow/tag", {@@ -73938,9 +73951,9 @@ function nNe({ item: e, label: t, actions: n }) {"data-follow-tag-editor": "","data-follow-detail-tags": "",children: [/* @__PURE__ */ (0, I.jsx)(F2, {- tags: FMe(e, t).map((t) => ({+ tags: BMe(e, t).map((t) => ({k: t,- cat: PMe(e, t)+ cat: zMe(e, t)})),scope: "online",adding: !!r.busy,@@ -73949,19 +73962,19 @@ function nNe({ item: e, label: t, actions: n }) {onOpen: n.openTag,onAdd: (e) => o("add", e),onRemove: (e) => o("remove", e.k),- busyAttrs: () => gV(!!r.busy)- }), r.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ busyAttrs: () => vV(!!r.busy)+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: r.error}) : null]});}// src/react/follow-detail/follow-detail-page.tsx-var I2 = (e) => Number(e) > 0, rNe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var I2 = (e) => Number(e) > 0, cNe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }}), L2 = R("external-link", "ui-externalmark");-function iNe(e) {+function lNe(e) {let { id: t, actions: n } = e, r = Ft({queryKey: n2(t),queryFn: ({ signal: e }) => i2(t, e)@@ -73969,10 +73982,10 @@ function iNe(e) {queryKey: ia,queryFn: ({ signal: e }) => aa(e)}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, I.jsx)(sNe, {+ return r.data ? /* @__PURE__ */ (0, I.jsx)(fNe, {...e,data: r.data,- context: IMe(r.data, a),+ context: VMe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, I.jsx)("div", {@@ -73983,7 +73996,7 @@ function iNe(e) {"data-follow-detail-media": "none",children: [/* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? aNe(r.error) ? /* @__PURE__ */ (0, I.jsx)(oNe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(HG, {+ children: r.isError ? uNe(r.error) ? /* @__PURE__ */ (0, I.jsx)(dNe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(HG, {message: xn(r.error),onRetry: () => void r.refetch()}) : null@@ -73991,8 +74004,8 @@ function iNe(e) {})});}-var aNe = (e) => e instanceof r2 || e instanceof sr && e.status === 404;-function oNe({ onBack: e }) {+var uNe = (e) => e instanceof r2 || e instanceof sr && e.status === 404;+function dNe({ onBack: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -74010,8 +74023,8 @@ var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = EMe(c, l, n, i), d = pNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({+function fNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = jMe(c, l, n, i), d = vNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({key: "",kind: ""}), h = {@@ -74031,7 +74044,7 @@ function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? DMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {+ let g = !u.embedded.length && u.collection ? MMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {item: c,current: u.selected.index,helpers: o,@@ -74044,7 +74057,7 @@ function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relactions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, I.jsx)(uNe, {+ }) : /* @__PURE__ */ (0, I.jsx)(hNe, {group: u.collection,itemId: c.id,helpers: o,@@ -74054,14 +74067,14 @@ function sNe({ 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, I.jsx)(lNe, {+ children: [/* @__PURE__ */ (0, I.jsx)(mNe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, I.jsx)(dNe, {+ }, f), /* @__PURE__ */ (0, I.jsx)(gNe, {item: c,data: e,context: t,@@ -74073,7 +74086,7 @@ function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel})]}), /* @__PURE__ */ (0, I.jsx)(j2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(cNe, {+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(pNe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -74083,10 +74096,10 @@ function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function cNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function pNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = Ft({- queryKey: XMe(e.item.id, t, n),- queryFn: ({ signal: r }) => $Me(e, t, n, r)+ queryKey: tNe(e.item.id, t, n),+ queryFn: ({ signal: r }) => iNe(e, t, n, r)}), [s] = (0, F.useState)(() => E2("正在读取推荐", {cards: !0,className: "related-skeleton"@@ -74094,7 +74107,7 @@ function cNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: a.canFlip- }), [a]), l = N2(o.data?.pages || [], e, t, n), u = QMe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {+ }), [a]), l = N2(o.data?.pages || [], e, t, n), u = rNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {...r,sources: d,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases@@ -74127,8 +74140,8 @@ function cNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function lNe({ 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, F.useRef)(null), p = LMe(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, F.useState)(g), b = (0, F.useRef)({+function mNe({ 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, F.useRef)(null), p = HMe(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, F.useState)(g), b = (0, F.useRef)({item: e,selected: o}), x = (0, F.useRef)(i.failed);@@ -74196,7 +74209,7 @@ function V2(e) {t && e.wireDrag(t);}, [e]);}-function uNe({ group: e, itemId: t, helpers: n, actions: r }) {+function hNe({ group: e, itemId: t, helpers: n, actions: r }) {let i = va(e), a = V2(n);return /* @__PURE__ */ (0, I.jsx)(TK, {kind: "collection",@@ -74206,7 +74219,7 @@ function uNe({ group: e, itemId: t, helpers: n, actions: r }) {listRef: a,summary: `${vG(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = jMe(e, n, i ? n.provider_label : ""), o = i ? gG(n.provider, n.provider_label) : "";+ let i = e.duplicates.includes(n), a = IMe(e, n, i ? n.provider_label : ""), o = i ? gG(n.provider, n.provider_label) : "";return /* @__PURE__ */ (0, I.jsxs)(EK, {current: n.id === t,"data-follow-queue-item": n.id,@@ -74254,7 +74267,7 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,onClose: i.close,listRef: s,summary: `${vG(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(_xe, {+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Sxe, {label: n.label,count: n.items.length}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(EK, {@@ -74266,7 +74279,7 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, I.jsx)("b", {"data-middle-truncate": "",- children: MMe(n)+ children: LMe(n)}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -74274,7 +74287,7 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function gNe({ 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: [],@@ -74362,7 +74375,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, I.jsx)(fNe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, I.jsx)(_Ne, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, I.jsx)("p", {"data-follow-media-issue": "",children: h@@ -74385,7 +74398,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [AMe(e), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [FMe(e), /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: L2 }})]@@ -74487,7 +74500,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(rNe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(cNe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -74496,7 +74509,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, I.jsx)(nNe, {+ /* @__PURE__ */ (0, I.jsx)(sNe, {item: e,label: o.tagLabel,actions: s@@ -74505,7 +74518,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function fNe({ text: e }) {+function _Ne({ text: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -74518,7 +74531,7 @@ function fNe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: VI(e),+ lang: UI(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -74530,7 +74543,7 @@ function fNe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function pNe(e, t, n) {+function vNe(e, t, n) {let r = e.id, i = n2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;@@ -74550,7 +74563,7 @@ function pNe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && cW(), t.toast(RMe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && uW(), t.toast(UMe(n), { undo: i === "saved" ? void 0 : async () => {await V(Mr, {item: r,to: i@@ -74560,7 +74573,7 @@ function pNe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = It({- mutationFn: () => V(CMe, { item: r }),+ mutationFn: () => V(OMe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -74568,7 +74581,7 @@ function pNe(e, t, n) {onSettled: () => l("save", !1)}), m = It({mutationFn: async ({ index: e, hidden: t }) => {- await V(wMe, {+ await V(kMe, {item: r,media: e,hidden: t@@ -74584,12 +74597,12 @@ function pNe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = Ft({- queryKey: pye(r),- queryFn: ({ signal: e }) => gye(r, e)+ queryKey: gye(r),+ queryFn: ({ signal: e }) => yye(r, e)}).data?.want ?? null, g = It({- mutationFn: async (e) => (e ? await sW([e.id]) : await oW({ follow: r }), !e),+ mutationFn: async (e) => (e ? await lW([e.id]) : await cW({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), cW();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), uW();},onError: d,onSettled: () => l("want", !1)@@ -74629,7 +74642,7 @@ function pNe(e, t, n) {}// src/react/components/identity-cell.tsxfunction U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {- aL();+ sL();let o = nn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(er(o))}</span>` + go({@@ -74741,7 +74754,7 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(c)- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -74759,20 +74772,20 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), mNe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => H.ensureQueryData({+var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), yNe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => H.ensureQueryData({queryKey: q2(e.code),queryFn: () => J2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function hNe(e, t) {+function bNe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsxvar X2 = "peach.playback-target.v1", Z2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function gNe() {+function xNe() {try {return localStorage.getItem(X2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {@@ -74780,7 +74793,7 @@ function gNe() {}}function Q2({ id: e, onOpened: t }) {- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(gNe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = gH();+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(xNe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = vH();(0, F.useEffect)(() => {let e = new AbortController();return B("/api/local-players", e.signal).then((t) => {@@ -74827,12 +74840,12 @@ function Q2({ id: e, onOpened: t }) {variant: "secondary","aria-label": "使用外部播放器打开",disabled: n === null,- ...gV(f.busy === "open"),+ ...vV(f.busy === "open"),onClick: p,children: "打开"})]}),- f.error || c ? /* @__PURE__ */ (0, I.jsx)(RH, { children: f.error || c }) : null,+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(BH, { children: f.error || c }) : null,c ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",disabled: !!f.busy,@@ -74841,16 +74854,16 @@ function Q2({ id: e, onOpened: t }) {},children: "重新检测播放器"}) : null,- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(cV, {+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(uV, {label: "网络播放地址",value: o.url,isReadOnly: !0- }), /* @__PURE__ */ (0, I.jsx)(LH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null+ }), /* @__PURE__ */ (0, I.jsx)(zH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null]});}// src/react/boardui/components/base/switch/switch.tsx-var _Ne = FI({+var SNe = LI({sm: {track: "h-4 w-7",trackRadius: {@@ -74912,8 +74925,8 @@ var _Ne = FI({}}});-function vNe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = _Ne[t];+function CNe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = SNe[t];return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("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"),@@ -74924,11 +74937,11 @@ function vNe({ state: e, size: t = "md", shape: n = "pill" }) {});}function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(Bme, {+ return /* @__PURE__ */ (0, I.jsx)(Ume, {ref: i,...a,className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vNe, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(CNe, {state: e,size: n,shape: r@@ -74939,7 +74952,7 @@ function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var yNe = "/api/cover-crop", bNe = (e, t) => V(yNe, {+var wNe = "/api/cover-crop", TNe = (e, t) => V(wNe, {code: e,box: t});@@ -74957,7 +74970,7 @@ function e4({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })});}-function xNe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function ENe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74968,12 +74981,12 @@ function xNe({ code: e, coverUrl: t, box: n, onSaved: r }) {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, I.jsx)(e4, { className: "size-3.75" })- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(dV, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, I.jsx)(SNe, {+ children: /* @__PURE__ */ (0, I.jsx)(DNe, {code: e,coverUrl: t,box: n,@@ -74982,9 +74995,9 @@ function xNe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function SNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = VV(), f = It({- mutationFn: (t) => bNe(e, t),+function DNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = UV(), f = It({+ mutationFn: (t) => TNe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -74996,7 +75009,7 @@ function SNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : WDe(e, no);+ } : YDe(e, no);c(XZ(t, e, null));}let m = f.isPending;@@ -75004,11 +75017,11 @@ function SNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(uV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(fV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(HL, {+ /* @__PURE__ */ (0, I.jsx)(WL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -75017,14 +75030,14 @@ function SNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: lr(f.error)}) : null]}),- /* @__PURE__ */ (0, I.jsx)(cL, {- icon: EB,+ /* @__PURE__ */ (0, I.jsx)(uL, {+ icon: OB,size: "small","aria-label": "关闭",onClick: i@@ -75061,14 +75074,14 @@ function SNe({ 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, I.jsx)(J, {variant: "secondary",- ...gV(m),+ ...vV(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, I.jsx)(J, {disabled: !s || !a,- ...gV(m),+ ...vV(m),onClick: () => {s && !m && f.mutate(s);},@@ -75086,14 +75099,14 @@ var t4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }}), r4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";-function CNe(e) {+function ONe(e) {let { queue: t, actions: n } = e, r = Ft({- queryKey: t ? yP(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => OP(t, e.helpers, n),+ queryKey: t ? xP(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => AP(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? jP(i, e.id) : t ? null : e.id, o = Ft({- queryKey: vP(a ?? 0),- queryFn: ({ signal: e }) => DP(a, e),+ }), i = t && r.data || null, a = i ? NP(i, e.id) : t ? null : e.id, o = Ft({+ queryKey: bP(a ?? 0),+ queryFn: ({ signal: e }) => kP(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -75116,9 +75129,9 @@ function CNe(e) {})});}- return /* @__PURE__ */ (0, I.jsx)(wNe, {+ return /* @__PURE__ */ (0, I.jsx)(kNe, {...e,- item: Uue(o.data, i),+ item: Kue(o.data, i),queue: i}, o.data.id);}@@ -75131,23 +75144,23 @@ var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function wNe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = zNe(t, r, i.tagLabel), o = (0, F.useRef)(t);+function kNe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = WNe(t, r, i.tagLabel), o = (0, F.useRef)(t);(0, F.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, F.useEffect)(() => {- n?.kind === "playlist" && V(bP, {+ n?.kind === "playlist" && V(SP, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = QN() ? "" : $ue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = MP(n, t.id);+ let s = eP() ? "" : nde(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = PP(n, t.id);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(TNe, {+ children: [/* @__PURE__ */ (0, I.jsx)(ANe, {item: t,gate: s,helpers: i,@@ -75160,7 +75173,7 @@ function wNe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, I.jsx)(ANe, {+ }), /* @__PURE__ */ (0, I.jsx)(FNe, {item: t,queue: n,write: a,@@ -75169,13 +75182,13 @@ function wNe(e) {})]}), /* @__PURE__ */ (0, I.jsx)(j2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, I.jsx)(DNe, {+ queue: n ? /* @__PURE__ */ (0, I.jsx)(MNe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(RNe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(UNe, {...e,item: n ? {...t,@@ -75184,7 +75197,7 @@ function wNe(e) {}) : null})] });}-function TNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function ANe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Ft({queryKey: q2(e.code || ""),queryFn: ({ signal: t }) => {@@ -75274,7 +75287,7 @@ function TNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...gV(f.isFetching),+ ...vV(f.isFetching),title: f.data?.message || xn(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -75283,7 +75296,7 @@ function TNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(ENe, {+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(jNe, {item: e,badge: y,helpers: n,@@ -75324,7 +75337,7 @@ function TNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a]});}-function ENe({ item: e, badge: t, helpers: n, actions: r }) {+function jNe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -75349,8 +75362,8 @@ function ENe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function DNe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Yue(e), a = (0, F.useRef)(null), o = kNe(e, t, r), s = (0, F.useRef)(o);+function MNe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Que(e), a = (0, F.useRef)(null), o = PNe(e, t, r), s = (0, F.useRef)(o);s.current = o;let c = (0, F.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -75358,7 +75371,7 @@ function DNe({ 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 = ONe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {+ }, [n, e.kind]), l = NNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -75386,10 +75399,10 @@ function DNe({ 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, I.jsx)("i", {- className: `javedition ${que[i.edition_label] || "censored"}`,+ className: `javedition ${Xue[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && AP(i);+ }) : null, s = e.kind === "playlist" && MP(i);return /* @__PURE__ */ (0, I.jsxs)(EK, {current: i.id === t,"data-queue-item": i.id,@@ -75429,14 +75442,14 @@ function DNe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? BP(i.part_label) : Mo(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? HP(i.part_label) : Mo(i, n.tagLabel)})]}, i.id);})});}-function ONe(e, t) {- let n = It({ mutationFn: (t) => V(bP, {+function NNe(e, t) {+ let n = It({ mutationFn: (t) => V(SP, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -75449,11 +75462,11 @@ function ONe(e, t) {save: (e) => n.mutateAsync(e)});}-function kNe(e, t, n) {- let r = yP({+function PNe(e, t, n) {+ let r = xP({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, kP(e)), e), a = (t) => V(bP, {+ }), i = (e) => (H.setQueryData(r, jP(e)), e), a = (t) => V(SP, {id: e.playlistId,...t}).then((e) => e.playlist), o = It({@@ -75469,8 +75482,8 @@ function kNe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Zue(s, t, r, c);- if (Que(l, s)) return;+ let l = ede(s, t, r, c);+ if (tde(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -75512,7 +75525,7 @@ function kNe(e, t, n) {}};}-function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function FNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-side": "",@@ -75520,7 +75533,7 @@ function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, I.jsx)(jNe, {+ /* @__PURE__ */ (0, I.jsx)(INe, {item: e,queue: t,helpers: r,@@ -75532,7 +75545,7 @@ function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, I.jsx)(NNe, {+ /* @__PURE__ */ (0, I.jsx)(RNe, {item: e,write: n}),@@ -75571,12 +75584,12 @@ function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, I.jsx)(PNe, {+ /* @__PURE__ */ (0, I.jsx)(zNe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(FNe, {+ /* @__PURE__ */ (0, I.jsx)(BNe, {item: e,write: n,helpers: r,@@ -75585,10 +75598,10 @@ function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {/* @__PURE__ */ (0, I.jsx)(LK, {assetIds: IK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: vP(e.id) });+ H.invalidateQueries({ queryKey: bP(e.id) });}}),- /* @__PURE__ */ (0, I.jsx)(INe, { item: e }),+ /* @__PURE__ */ (0, I.jsx)(VNe, { item: e }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -75682,7 +75695,7 @@ function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})]}),- /* @__PURE__ */ (0, I.jsx)(LNe, {+ /* @__PURE__ */ (0, I.jsx)(HNe, {item: e,open: s,write: n@@ -75706,8 +75719,8 @@ function ANe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function jNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Xue(e, t);+function INe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + $ue(e, t);return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -75734,23 +75747,23 @@ function jNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, I.jsx)(PH, {})+ children: /* @__PURE__ */ (0, I.jsx)(IH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, I.jsx)(xNe, {+ children: /* @__PURE__ */ (0, I.jsx)(ENe, {code: e.cover_key || e.code || "",coverUrl: lo(e),box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: vP(e.id),+ queryKey: bP(e.id),exact: !0- }), mP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), gP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(MNe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(LNe, {id: e.id,actions: r,onStatus: i@@ -75760,7 +75773,7 @@ function jNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function MNe({ id: e, actions: t, onStatus: n }) {+function LNe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, F.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -75793,14 +75806,14 @@ function MNe({ id: e, actions: t, onStatus: n }) {children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "folder-sync" })})] });}-function NNe({ item: e, write: t }) {- let n = gP(e.rating);+function RNe({ item: e, write: t }) {+ let n = vP(e.rating);return /* @__PURE__ */ (0, I.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": hP(e.rating),+ "data-value": _P(e.rating),children: [/* @__PURE__ */ (0, I.jsx)(QJ, {value: n,onRate: (e) => t.rate(e),@@ -75815,12 +75828,12 @@ function NNe({ item: e, write: t }) {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: zue(e.rating)+ children: Hue(e.rating)})]});}-function PNe({ item: e, actions: t }) {- let n = (0, F.useMemo)(() => Wue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function zNe({ item: e, actions: t }) {+ let n = (0, F.useMemo)(() => que(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;return /* @__PURE__ */ (0, I.jsx)(U2, {kind: e,@@ -75866,7 +75879,7 @@ function PNe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: yB,+ trailingIcon: xB,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -75891,12 +75904,12 @@ function PNe({ item: e, actions: t }) {})]});}-function FNe({ item: e, write: t, helpers: n, actions: r }) {+function BNe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-tags": "",children: /* @__PURE__ */ (0, I.jsx)(F2, {id: "detailTags",- tags: Gue(e, n),+ tags: Jue(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -75907,8 +75920,8 @@ function FNe({ item: e, write: t, helpers: n, actions: r }) {}, e.id)});}-function INe({ item: e }) {- let t = ede(e);+function VNe({ item: e }) {+ let t = rde(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -75942,7 +75955,7 @@ function INe({ item: e }) {})]});}-function LNe({ item: e, open: t, write: n }) {+function HNe({ item: e, open: t, write: n }) {let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);(0, F.useEffect)(() => {t && a.current?.focus();@@ -75981,10 +75994,10 @@ function LNe({ item: e, open: t, write: n }) {})]});}-function RNe(e) {+function UNe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({- queryKey: Bue(t.id, n),- queryFn: async ({ signal: e }) => (await B(Hue(t.id, n), e)).items || []+ queryKey: Uue(t.id, n),+ queryFn: async ({ signal: e }) => (await B(Gue(t.id, n), e)).items || []}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());return /* @__PURE__ */ (0, I.jsx)(A2, {wireDrag: r.wireDrag,@@ -76010,8 +76023,8 @@ function RNe(e) {}) : /* @__PURE__ */ (0, I.jsx)(n4, { html: o })});}-function zNe(e, t, n) {- let r = e.id, i = vP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {+function WNe(e, t, n) {+ let r = e.id, i = bP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => H.getQueryData(i) || e, p = (e) => {@@ -76027,7 +76040,7 @@ function zNe(e, t, n) {rating: t.rating,o_count: t.o_count};- return pP(r, n), t;+ return hP(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -76042,7 +76055,7 @@ function zNe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(xP, t === void 0 ? { kind: e } : {+ let n = await m(CP, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -76062,21 +76075,21 @@ function zNe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = _P(n, e);- await _("rate", r), t.toast(r ? `已评 ${gP(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = yP(n, e);+ await _("rate", r), t.toast(r ? `已评 ${vP(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(VP(e, r), { undo: async () => {+ t.toast(UP(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(CP, {});+ let e = await m(TP, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(CP, {})).watch_later });+ p({ watch_later: (await m(TP, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -76086,9 +76099,9 @@ function zNe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(wP, { wanted: !e.wanted });+ }), r = await m(EP, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(wP, e));+ n(await m(EP, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -76102,7 +76115,7 @@ function zNe(e, t, n) {});u("保存中…");try {- o(await m(TP, {+ o(await m(DP, {liked: a,reason: i}));@@ -76112,7 +76125,7 @@ function zNe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(TP, r));+ o(await m(DP, r));} });});},@@ -76121,30 +76134,30 @@ function zNe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => FP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(SP, {+ p((t) => LP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(wP, {operation: "add",tag: e.k- }), p((t) => IP(t, e));+ }), p((t) => RP(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(SP, {+ let e = await m(wP, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- PP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => IP(e, {+ IP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => RP(e, {k: i,cat: "general"- })), zP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(SP, {+ })), VP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(wP, {operation: "remove",tag: i- }), p((e) => FP(e, i));+ }), p((e) => LP(e, i));} }));});}@@ -76163,12 +76176,12 @@ function s4(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function BNe(e, t = Date.now()) {+function GNe(e, t = Date.now()) {let n = s4(e);return n !== void 0 && o4(t) > n ? Infinity : a4;}function c4(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : BNe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : GNe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;}// src/react/wants/resource-cache.tsvar l4 = "peach.want-resources.v2";@@ -76190,11 +76203,11 @@ function f4() {return [];}}-function VNe(e, t) {+function KNe(e, t) {let n = f4().find((t) => t.code === e);return n && c4(n.saved, t) ? n : void 0;}-function HNe(e) {+function qNe(e) {let t = new Map(f4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;@@ -76203,7 +76216,7 @@ function HNe(e) {}return n;}-function UNe(e, t) {+function JNe(e, t) {if (t.state === "ready" && u4(t)) try {let n = f4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");localStorage.setItem(l4, JSON.stringify([{@@ -76214,11 +76227,11 @@ function UNe(e, t) {} catch {}}// src/react/wants/resource-display.ts-function WNe(e) {+function YNe(e) {let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Xn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";}-function GNe(e) {+function XNe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx@@ -76233,7 +76246,7 @@ function p4({ icon: e, children: t, title: n }) {});}function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = gH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => VNe(h, e.release_date), [h, e.release_date]);+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = vH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => KNe(h, e.release_date), [h, e.release_date]);(0, F.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -76253,7 +76266,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", UNe(h, i), i;+ return m.current = n && i.state === "busy", JNe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,@@ -76268,7 +76281,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc(0, F.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, F.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && hye(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && vye(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -76276,7 +76289,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await V(YU, {+ let n = await V(ZU, {magnet: r.uri,provider: v.key,target: v.target,@@ -76287,7 +76300,7 @@ function m4({ 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: XU });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: QU });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -76305,39 +76318,39 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: GB,- ...gV(x),+ leadingIcon: qB,+ ...vV(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, I.jsx)(OH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, I.jsx)(dV, {+ x ? /* @__PURE__ */ (0, I.jsx)(AH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(dV, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",- children: GNe(e)+ children: XNe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(bL, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(SL, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: AB,+ trailingIcon: MB,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(dV, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",title: "操作未完成",children: f.error@@ -76352,7 +76365,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(qU, {+ children: [/* @__PURE__ */ (0, I.jsx)(YU, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -76367,25 +76380,25 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, I.jsx)(p4, {- icon: yge,+ icon: Sge,children: e.source}),/* @__PURE__ */ (0, I.jsx)(p4, {- icon: LB,+ icon: zB,title: e.size ? `来源大小:${e.size}` : void 0,- children: WNe(e.size)+ children: YNe(e.size)}),e.files ? /* @__PURE__ */ (0, I.jsx)(p4, {- icon: cge,+ icon: dge,children: e.files.replaceAll("個", "个")}) : null,/* @__PURE__ */ (0, I.jsx)(p4, {- icon: Xhe,+ icon: $he,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(p4, {- icon: WB,+ icon: KB,children: e}, e))]@@ -76394,11 +76407,11 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(bL, {+ /* @__PURE__ */ (0, I.jsx)(SL, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: AB,+ trailingIcon: MB,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76407,18 +76420,18 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: oge,- ...gV(f.busy === `copy:${e.id}`),+ leadingIcon: lge,+ ...vV(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? UH(v.key) : tge,+ leadingIcon: v ? GH(v.key) : ige,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...gV(f.busy === e.id),+ ...vV(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -76429,7 +76442,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(BH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(HH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -76452,7 +76465,7 @@ function g4() {return [];}}-function KNe(e, t) {+function ZNe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,@@ -76462,7 +76475,7 @@ function KNe(e, t) {i.length <= 2e6 && localStorage.setItem(h4, i);} catch {}}-function qNe(e, t) {+function QNe(e, t) {let n = g4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);@@ -76474,11 +76487,11 @@ function qNe(e, t) {saved: i} : void 0;}-function JNe(e, t, n) {+function $Ne(e, t, n) {return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && c4(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function YNe(e) {+function ePe(e) {let t = (0, F.useRef)(!1), n = Ft({queryKey: q2(e.code),queryFn: ({ signal: n }) => {@@ -76493,7 +76506,7 @@ function YNe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, I.jsx)(XNe, {+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(tPe, {...e,item: n.data,retry: r,@@ -76516,7 +76529,7 @@ var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function tPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, F.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, F.useEffect)(() => {@@ -76536,13 +76549,13 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = gH(), m = () => {- p.run("want", async (e) => d ? (await sW([d], e), null) : (await oW({ code: t.code }, e)).want.id, (t) => {+ ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = vH(), m = () => {+ p.run("want", async (e) => d ? (await lW([d], e), null) : (await cW({ code: t.code }, e)).want.id, (t) => {f(t), H.setQueryData(q2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), cW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), uW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [@@ -76559,7 +76572,7 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: aonClick: () => s(o === -2 ? -1 : -2),children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)($Ne, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(mQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(iPe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(mQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),@@ -76582,7 +76595,7 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, I.jsx)(ZNe, { item: t }),+ /* @__PURE__ */ (0, I.jsx)(nPe, { item: t }),Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {className: "mono",@@ -76598,7 +76611,7 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avalue: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, I.jsx)(QNe, {+ /* @__PURE__ */ (0, I.jsx)(rPe, {item: t,navigate: n.navigate}),@@ -76637,14 +76650,14 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.summary ? /* @__PURE__ */ (0, I.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: VI(t.summary),+ lang: UI(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, I.jsx)(dV, {+ t.message ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...gV(a),+ ...vV(a),onClick: i,children: "立即重试"}),@@ -76653,10 +76666,10 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, I.jsx)(bL, {+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(SL, {"data-button-link": "",variant: "secondary",- trailingIcon: AB,+ trailingIcon: MB,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76666,7 +76679,7 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...gV(!!p.busy),+ ...vV(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -76684,16 +76697,16 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, I.jsx)(dV, {+ p.error ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, I.jsx)(ePe, {+ /* @__PURE__ */ (0, I.jsx)(aPe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, I.jsx)(tPe, {+ /* @__PURE__ */ (0, I.jsx)(oPe, {item: t,actions: n,readOnly: r@@ -76701,7 +76714,7 @@ function XNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, I.jsx)(nW, {+ /* @__PURE__ */ (0, I.jsx)(iW, {prefill: l,close: () => u(null),receipt: n.receipt@@ -76717,7 +76730,7 @@ var v4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {title: t,children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]}) : null;-function ZNe({ item: e }) {+function nPe({ item: e }) {let { text: t, expanded: n, foldable: r, toggle: i } = G2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-title": "",@@ -76734,7 +76747,7 @@ function ZNe({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {- lang: VI(a),+ lang: UI(a),children: a})] }) : null]})@@ -76748,7 +76761,7 @@ function ZNe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, I.jsx)(PH, {})+ children: /* @__PURE__ */ (0, I.jsx)(IH, {})})})]});@@ -76766,7 +76779,7 @@ function b4({ score: e, review: t = !1 }) {})]});}-function QNe({ item: e, navigate: t }) {+function rPe({ item: e, navigate: t }) {let n = (e, n) => t(Pn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -76808,18 +76821,18 @@ function QNe({ item: e, navigate: t }) {})]});}-function $Ne({ src: e }) {+function iPe({ src: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);return (0, F.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), Eue(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), kue(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, I.jsx)(dV, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",@@ -76832,8 +76845,8 @@ function $Ne({ src: e }) {}) : null});}-function ePe({ code: e, count: t, released: n }) {- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => qNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({+function aPe({ code: e, count: t, released: n }) {+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => QNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -76842,12 +76855,12 @@ function ePe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => JNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => $Ne(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await mNe(e, n, t, s.current);- if (KNe(e, i), !i.ok || i.cache_stale) {+ let i = await yNe(e, n, t, s.current);+ if (ZNe(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,@@ -76857,7 +76870,7 @@ function ePe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: hNe+ getNextPageParam: bNe});(0, F.useEffect)(() => {c.isFetching || (s.current = !1);@@ -76865,10 +76878,10 @@ function ePe({ 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 ? lr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, I.jsxs)(BH, {+ children: /* @__PURE__ */ (0, I.jsxs)(HH, {trailing: !0,summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Zhe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(ege, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -76917,28 +76930,28 @@ function ePe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, I.jsx)("p", {"data-long-text": "",- lang: VI(e.content),+ lang: UI(e.content),children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, I.jsx)(dV, {+ d ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",action: /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...gV(c.isFetching),+ ...vV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(dV, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(pV, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...gV(c.isFetching),+ ...vV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -76946,13 +76959,13 @@ function ePe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- ...gV(c.isFetchingNextPage),+ ...vV(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(dV, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(pV, {tone: "neutral",children: ["已显示 ",@@ -76964,15 +76977,15 @@ function ePe({ code: e, count: t, released: n }) {})});}-function tPe({ item: e, actions: t, readOnly: n }) {+function oPe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, F.useState)(!1), a = Ft({- queryKey: XU,+ queryKey: QU,enabled: r,- queryFn: ({ signal: e }) => B(`${YU}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${ZU}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, I.jsx)(BH, {+ children: /* @__PURE__ */ (0, I.jsx)(HH, {trailing: !0,summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: "link" }), "资源"] }),onOpenChange: (e) => {@@ -76996,16 +77009,16 @@ function tPe({ item: e, actions: t, readOnly: n }) {}// src/react/stage/stage-player.tsvar x4 = null, S4 = null, C4 = null, w4 = null, T4 = null, E4 = !1, D4 = 0, O4 = null, k4 = () => !1, A4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function nPe(e, t) {- x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Vle({+function sPe(e, t) {+ x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Wle({...e.player,stage: () => document.getElementById("stage")- }), Hle({+ }), Gle({inMiniplayer: (e) => S4?.player === e,kind: (e) => S4?.player === e ? S4.kind : C4?.kind ?? w4?.kind ?? "item",expand: () => X4(),toMiniplayer: () => Z4()- }), j4 || (j4 = !0, addEventListener("pagehide", () => qN()));+ }), j4 || (j4 = !0, addEventListener("pagehide", () => YN()));}var j4 = !1;function M4() {@@ -77015,10 +77028,10 @@ function M4() {function N4(e) {w4 = e;}-var rPe = () => w4;+var cPe = () => w4;function P4(e, t) {let { kind: n, item: r, media: i = null } = t, a = A4(n, r.id, i?.index ?? null);- if (S4 && S4.key === a) return aPe(e, S4);+ if (S4 && S4.key === a) return uPe(e, S4);S4 && Y4();let o = {player: null,@@ -77030,7 +77043,7 @@ function P4(e, t) {C4 = 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 = oP(s, {+ let c = cP(s, {kind: n,item: r,media: i,@@ -77043,10 +77056,10 @@ function P4(e, t) {});return () => {let e = !!o.player && S4?.player === o.player;- C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), qN());+ C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), YN());};}-async function iPe(e, t, n) {+async function lPe(e, t, n) {let r = await Tn(`/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("这条作品没有可播放的视频");@@ -77070,9 +77083,9 @@ async function iPe(e, t, n) {s || (s = !0, e && w4 === a && I4(!0), o(), w4 === a && N4(null));};}-function aPe(e, t) {+function uPe(e, t) {let { player: n } = t;- q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), iP(e), e.append(n.el()), ZM(n);+ q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), oP(e), e.append(n.el()), $M(n);let r = {player: n,kind: t.kind,@@ -77081,9 +77094,9 @@ function aPe(e, t) {key: t.key};C4 = r;- let i = aP(n, e);- return QM(n), () => {- C4 === r && (C4 = null), i(), S4?.player !== n && (XM() === n && ZM(null), RN(n), qN());+ let i = sP(n, e);+ return eN(n), () => {+ C4 === r && (C4 = null), i(), S4?.player !== n && (QM() === n && $M(null), BN(n), YN());};}var F4 = () => {@@ -77096,7 +77109,7 @@ function I4(e) {let n = C4, r = n?.player, i = w4;if (!n || !r || r.isDisposed() || !i || !T4) return;let a = M4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && lPe({+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && mPe({player: r,kind: n.kind,item: n.item,@@ -77111,11 +77124,11 @@ function R4(e) {T4 = e, T4 && G4();}var z4 = () => !!S4 && !S4.pending && !S4.player.isDisposed();-function oPe() {+function dPe() {return z4() ? T4?.frame.querySelector("video") ?? null : null;}-function sPe() {- return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? oPe();+function fPe() {+ return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? dPe();}function B4(e) {T4 && (T4.title.textContent = e.title || "", T4.sub.textContent = e.sub || "", T4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));@@ -77164,7 +77177,7 @@ function K4(e) {function q4(e) {e.off.forEach((e) => e()), e.off = [];}-function cPe() {+function pPe() {let e = T4?.root;if (!e) return;let t = e.hidden;@@ -77185,7 +77198,7 @@ function J4() {e.style.transform = "";}}-function lPe(e, t) {+function mPe(e, t) {if (!T4) return;let n = {...e,@@ -77193,13 +77206,13 @@ function lPe(e, t) {off: [],pending: !1};- S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), cPe(), QM(e.player);+ S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), pPe(), eN(e.player);}function Y4() {let e = S4;e && q4(e), S4 = null, D4++;let t = e?.player ?? null;- t && XM() === t && ZM(null), RN(t), t && qN(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), JM(), J4();+ t && QM() === t && $M(null), BN(t), t && YN(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), XM(), J4();}function X4() {if (!z4() || !S4) return;@@ -77209,7 +77222,7 @@ function X4() {function Z4() {z4() && !k4() ? X4() : k4() && F4() && O4 && (E4 = !0, O4());}-function uPe() {+function hPe() {let e = S4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}@@ -77222,7 +77235,7 @@ function Q4(e) {function $4(e) {return !(!z4() || !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 || M4().sourceOffline(String(e.root_id || e.location || "")));}-async function dPe(e) {+async function gPe(e) {if (!z4() || !S4 || !T4) return;let t = ++D4, n = await Tn(`/api/item?id=${e}`).catch(() => null);if (t !== D4 || !z4() || !S4 || !T4 || !n || n.error) return;@@ -77231,7 +77244,7 @@ async function dPe(e) {return;}let r = S4;- q4(r), XM() === r.player && ZM(null), RN(r.player), qN(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ q4(r), QM() === r.player && $M(null), BN(r.player), YN(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", T4.frame.prepend(i);let a = {@@ -77240,14 +77253,14 @@ async function dPe(e) {title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- B4(a), oP(i, {+ B4(a), cP(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {if (t !== D4) {- r && XM() === r && ZM(null), RN(r);+ r && QM() === r && $M(null), BN(r);return;}if (!r) {@@ -77274,9 +77287,9 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })-}), fPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {+}), _Pe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {t.stopPropagation(), e();-}, pPe = (0, F.memo)(function() {+}, vPe = (0, F.memo)(function() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => (R4({root: e.current,@@ -77288,7 +77301,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => R4(null)), []), (0, F.useEffect)(() => gPe(e.current, t.current), []), (0, F.useEffect)(() => mPe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {+ }), () => R4(null)), []), (0, F.useEffect)(() => xPe(e.current, t.current), []), (0, F.useEffect)(() => yPe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -77338,8 +77351,8 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: t3(uPe),- dangerouslySetInnerHTML: fPe+ onClick: t3(hPe),+ dangerouslySetInnerHTML: _Pe}),/* @__PURE__ */ (0, I.jsx)("button", {ref: o,@@ -77378,7 +77391,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {})});});-function mPe(e) {+function yPe(e) {let t = () => {let t = e.dataset.corner || "";!e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");@@ -77392,7 +77405,7 @@ function mPe(e) {n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");};}-function hPe(e, t, n) {+function bPe(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@@ -77414,7 +77427,7 @@ function hPe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function gPe(e, t) {+function xPe(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 = {@@ -77440,7 +77453,7 @@ function gPe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), hPe(e, i.dx, i.dy));+ }, 0), bPe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -77459,25 +77472,25 @@ function d3() {if (!n3) throw Error("舞台还没有接上宿主(configureStage)");return n3;}-function _Pe(e) {+function SPe(e) {return a3.add(e), () => {a3.delete(e);};}-function vPe() {+function CPe() {for (let e of [...a3]) e();}function f3() {- (0, Rt.flushSync)(vPe);+ (0, Rt.flushSync)(CPe);}-function yPe({ view: e }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(bPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(pPe, {})] });+function wPe({ view: e }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(TPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(vPe, {})] });}var p3 = () => /* @__PURE__ */ (0, I.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: vMe() }+ dangerouslySetInnerHTML: { __html: CMe() }});function m3(e) {let t = e.currentTarget;@@ -77486,14 +77499,14 @@ function m3(e) {return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}function h3() {- let e = u3(), t = e && xMe(e);+ let e = u3(), t = e && EMe(e);t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {key: "Escape",bubbles: !0,cancelable: !0}))) : g3();}-function bPe({ view: e }) {+function TPe({ view: e }) {let t = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current, n = (t) => {@@ -77501,7 +77514,7 @@ function bPe({ view: e }) {};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(CNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(YNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(iNe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(ONe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(ePe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(lNe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, I.jsxs)("dialog", {ref: t,id: "stage",@@ -77528,7 +77541,7 @@ function bPe({ view: e }) {"data-stage-scroll": "",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(TD, {+ children: /* @__PURE__ */ (0, I.jsx)(DD, {getContainer: () => $0(t.current),children: i})@@ -77621,7 +77634,7 @@ function v3(e) {}};}-function xPe(e, t) {+function EPe(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 = () => {@@ -77638,7 +77651,7 @@ function y3(e) {let t = u3();return !r3 || r3.content.kind !== e || c3 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function SPe(e) {+async function DPe(e) {!i3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (i3 = {left: window.scrollX,top: window.scrollY,@@ -77646,7 +77659,7 @@ async function SPe(e) {});let t = y3(e.kind);if (t) {- await wPe(e, t);+ await kPe(e, t);return;}r3 && b3({ miniplayer: !1 });@@ -77659,12 +77672,12 @@ async function SPe(e) {content: i,phase: "skeleton"};- let a = i.kind === "item" ? NP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);+ let a = i.kind === "item" ? FP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);if (n !== o3 || r3?.request !== e) {await a.catch(() => {});return;}- let o = CPe(i);+ let o = OPe(i);r3 = {...r3,phase: o ? "content" : "skeleton"@@ -77685,31 +77698,31 @@ async function SPe(e) {r3 = {...r3,phase: c ? "content" : "reveal"- }, f3(), c || xPe(s, n), tc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, f3(), c || EPe(s, n), tc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function CPe(e) {+function OPe(e) {if (e.kind === "jav") return !!H.getQueryData(q2(e.props.code));if (e.kind === "follow") return !!H.getQueryData(n2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(yP(t)) : null;+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(xP(t)) : null;if (t && !r) return !1;- let i = r ? jP(r, n) : n;- return i != null && !!H.getQueryData(vP(i));+ let i = r ? NP(r, n) : n;+ return i != null && !!H.getQueryData(bP(i));}-async function wPe(e, t) {+async function kPe(e, t) {let n = ++o3;s3?.abort();let r = new AbortController();s3 = r, l3 = !1;let i = v3(e);try {- i.kind === "item" ? await NP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);+ i.kind === "item" ? await FP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);} catch {if (r.signal.aborted) return;}if (n !== o3 || !r3 || y3(e.kind) !== t) return;- e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), Nl(t), JM(), r3 = {+ e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), Nl(t), XM(), r3 = {...r3,request: e,content: i,@@ -77718,7 +77731,7 @@ async function wPe(e, t) {let a = document.activeElement;a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function TPe() {+function APe() {t2(null);let e = u3();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {@@ -77733,7 +77746,7 @@ function TPe() {function b3({ miniplayer: e = !0 } = {}) {if (o3++, s3?.abort(), s3 = null, I4(e), !r3) return;let t = u3();- t && Nl(t), JM(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");+ t && Nl(t), XM(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");let n = i3;i3 = null;let r = () => {@@ -77745,7 +77758,7 @@ function b3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function EPe(e) {+function jPe(e) {r3 && (r3 = {...r3,content: r3.content.kind === "item" ? {@@ -77763,62 +77776,62 @@ function EPe(e) {}}, f3());}-function DPe() {- let e = rPe(), t = e?.kind === "item" ? e.item : null, n = t ? ko(t, d3().player.settings().javImage) : "";+function MPe() {+ let e = cPe(), t = e?.kind === "item" ? e.item : null, n = t ? ko(t, d3().player.settings().javImage) : "";if (!n) return;let r = F4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var OPe = {- open: SPe,- update: EPe,- exit: TPe,+var NPe = {+ open: DPe,+ update: jPe,+ exit: APe,dispose: b3,requestClose: g3,requestEscape: h3,- repaintPoster: DPe,+ repaintPoster: MPe,isOpen: () => !!r3,showing: () => r3 && y3(r3.content.kind) ? r3.content.kind : null,- activeVideo: () => sPe(),- mountWallPlayer: iPe,+ activeVideo: () => fPe(),+ mountWallPlayer: lPe,toggleTheater: () => {- r3 && TN(!d3().player.settings().theaterMode);+ r3 && DN(!d3().player.settings().theaterMode);},toggleMiniplayer: () => Z4(),closeMiniplayer: () => Y4(),miniplayerActive: () => z4(),miniplayerTakesCard: (e) => $4(e),miniplayerPlay: (e) => {- dPe(e);+ gPe(e);}};-function kPe(e) {- return n3 = e, nPe(e, {+function PPe(e) {+ return n3 = e, sPe(e, {isOpen: () => !!r3,requestClose: g3- }), OPe;+ }), NPe;}-function APe() {- let e = (0, F.useSyncExternalStore)(_Pe, () => r3);- return n3 ? /* @__PURE__ */ (0, I.jsx)(yPe, { view: e }) : null;+function FPe() {+ let e = (0, F.useSyncExternalStore)(SPe, () => r3);+ return n3 ? /* @__PURE__ */ (0, I.jsx)(wPe, { view: e }) : null;}// src/react/stats/stats.ts-var jPe = "/api/stats", x3 = ["stats"], S3 = (e) => B(jPe, e);-async function MPe(e) {+var IPe = "/api/stats", x3 = ["stats"], S3 = (e) => B(IPe, e);+async function LPe(e) {await H.fetchQuery({queryKey: x3,queryFn: () => S3(e)});}-var C3 = (e) => e != null && Number.isFinite(e), NPe = (e) => C3(e) ? e.toLocaleString() : "未取得", PPe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, FPe = (e, t) => {- let n = PPe(e, t);+var C3 = (e) => e != null && Number.isFinite(e), RPe = (e) => C3(e) ? e.toLocaleString() : "未取得", zPe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, BPe = (e, t) => {+ let n = zPe(e, t);return !n && C3(e) && e > 0 && C3(t) && t > 0 ? "<1%" : `${n}%`;}, w3 = (e) => {if (!C3(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)} 分钟`;-}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, IPe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", LPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function RPe(e, t = 6) {+}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, VPe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", HPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function UPe(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);@@ -77828,7 +77841,7 @@ function RPe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var zPe = (e) => Math.max(1, ...e) * 1.1, BPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, VPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), HPe = {+var WPe = (e) => Math.max(1, ...e) * 1.1, GPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, KPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), qPe = {video: "视频",image: "图片",illustration: "插画",@@ -77836,10 +77849,10 @@ var zPe = (e) => Math.max(1, ...e) * 1.1, BPe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, UPe = (e) => e.map((e) => ({- name: HPe[e.k] ?? e.k,+}, JPe = (e) => e.map((e) => ({+ name: qPe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), WPe = {+})).sort((e, t) => t.value - e.value), YPe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",@@ -77847,7 +77860,7 @@ var zPe = (e) => Math.max(1, ...e) * 1.1, BPe = (e, t) => e > 0 ? Math.max(e, t}, D3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), GPe = (e) => D3(e, WPe), KPe = [+})), XPe = (e) => D3(e, YPe), ZPe = [[1,1,@@ -77883,7 +77896,7 @@ var zPe = (e) => Math.max(1, ...e) * 1.1, BPe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], qPe = (e) => KPe.map(([t, n, r]) => ({+], QPe = (e) => ZPe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));@@ -77918,7 +77931,7 @@ function A3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function JPe(e, t) {+function $Pe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js@@ -77940,13 +77953,13 @@ function P3(e, t) {function F3(e) {return e.value;}-function YPe(e) {+function eFe(e) {return e.index;}-function XPe(e) {+function tFe(e) {return e.nodes;}-function ZPe(e) {+function nFe(e) {return e.links;}function I3(e, t) {@@ -77961,8 +77974,8 @@ function L3({ nodes: e }) {for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function QPe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = YPe, c = JPe, l, u, d = XPe, f = ZPe, p = 6;+function rFe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = eFe, c = $Pe, l, u, d = tFe, f = nFe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),@@ -78147,7 +78160,7 @@ function QPe() {return m;}// node_modules/d3-path/src/path.js-var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, $Pe = z3 - B3;+var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, iFe = z3 - B3;function V3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}@@ -78188,7 +78201,7 @@ V3.prototype = H3.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) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > $Pe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + 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) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > iFe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + 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";@@ -78204,25 +78217,25 @@ function U3(e) {};}// node_modules/d3-shape/src/point.js-function eFe(e) {+function aFe(e) {return e[0];}-function tFe(e) {+function oFe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var nFe = Array.prototype.slice;+var sFe = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function rFe(e) {+function cFe(e) {return e.source;}-function iFe(e) {+function lFe(e) {return e.target;}-function aFe(e) {- var t = rFe, n = iFe, r = eFe, i = tFe, a = null;+function uFe(e) {+ var t = cFe, n = lFe, r = aFe, i = oFe, a = null;function o() {- var o, s = nFe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ var o, s = sFe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);if (a ||= o = H3(), 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) {@@ -78237,54 +78250,54 @@ function aFe(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function oFe(e, t, n, r, i) {+function dFe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function sFe() {- return aFe(oFe);+function fFe() {+ return uFe(dFe);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function cFe(e) {+function pFe(e) {return [e.source.x1, e.y0];}-function lFe(e) {+function mFe(e) {return [e.target.x0, e.y1];}-function uFe() {- return sFe().source(cFe).target(lFe);+function hFe() {+ return fFe().source(pFe).target(mFe);}// src/react/taste/taste.ts-var dFe = "/api/taste", W3 = "/api/taste/refresh", fFe = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], pFe = ["taste", "refresh"], mFe = [+var gFe = "/api/taste", W3 = "/api/taste/refresh", _Fe = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], vFe = ["taste", "refresh"], yFe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], hFe = 2e3, gFe = (e) => e?.stale && !e.error ? hFe : !1, _Fe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], bFe = 2e3, xFe = (e) => e?.stale && !e.error ? bFe : !1, SFe = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", vFe = (e, t) => V(G3, {+}) : "—", CFe = (e, t) => V(G3, {...e,window: t-}), q3 = (e, t, n = !1) => B(`${dFe}?window=${e}${n ? "&retry=1" : ""}`, t), yFe = (e) => B(W3, e);-async function bFe(e, t) {+}), q3 = (e, t, n = !1) => B(`${gFe}?window=${e}${n ? "&retry=1" : ""}`, t), wFe = (e) => B(W3, e);+async function TFe(e, t) {await H.fetchQuery({queryKey: K3(e),queryFn: () => q3(e, t)});}-var xFe = (e) => V(W3, {+var EFe = (e) => V(W3, {window: e,background: !0-}), SFe = (e, t) => V(G3, {+}), DFe = (e, t) => V(G3, {operation: "remove",source_key: e,window: t});-async function CFe(e) {- let t = await fetch(fFe, {+async function OFe(e) {+ let t = await fetch(_Fe, {method: "POST",credentials: "same-origin",headers: {@@ -78302,8 +78315,8 @@ async function CFe(e) {}return n;}-var wFe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function TFe(e) {+var kFe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function AFe(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", {@@ -78312,31 +78325,31 @@ function TFe(e) {}) : J3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var EFe = w3, DFe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), OFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function kFe(e) {+var jFe = w3, MFe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), NFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function PFe(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 AFe(e) {- let t = e.map(OFe), n = Math.max(1, ...t);+function FFe(e) {+ let t = e.map(NFe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}var Y3 = (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 jFe(e) {+function IFe(e) {let t = Y3(e, 6);return t.length < 3 ? [] : t;}var X3 = {width: 720,height: 435-}, MFe = {+}, LFe = {source: 145,target: 545-}, Z3 = 30, NFe = 240;+}, Z3 = 30, RFe = 240;function Q3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);@@ -78344,7 +78357,7 @@ function Q3(e, t, n) {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 PFe(e = []) {+function zFe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;let n = Q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();@@ -78356,7 +78369,7 @@ function PFe(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Z3 + NFe), u = QPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Z3 + RFe), u = rFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -78371,7 +78384,7 @@ function PFe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = uFe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = hFe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -78402,14 +78415,14 @@ function PFe(e = []) {height: l + X3.height - 404};}-var FFe = (e) => tr(e, 17), $3 = {+var BFe = (e) => tr(e, 17), $3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, IFe = [[+}, VFe = [["big","大图 · 竖幅头像","maximize"@@ -78417,7 +78430,7 @@ var FFe = (e) => tr(e, 17), $3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], LFe = [[+]], HFe = [["big","大图 · 完整标识","maximize"@@ -78425,7 +78438,7 @@ var FFe = (e) => tr(e, 17), $3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], RFe = [[+]], UFe = [["big","大图 · 系列图片","maximize"@@ -78433,7 +78446,7 @@ var FFe = (e) => tr(e, 17), $3 = {"compact","紧凑 · 系列图片","layout-grid"-]], zFe = [+]], WFe = [["studios","厂牌",@@ -78449,7 +78462,7 @@ var FFe = (e) => tr(e, 17), $3 = {"系列","file-stack"]-], BFe = [[+], GFe = [["local","本地","hard-drive"@@ -78457,7 +78470,7 @@ var FFe = (e) => tr(e, 17), $3 = {"online","在线","rss"-]], VFe = [+]], KFe = [["performers","艺人",@@ -78473,7 +78486,7 @@ var FFe = (e) => tr(e, 17), $3 = {"在线","rss"]-], HFe = [[+], qFe = [["cloud","标签云","tags"@@ -78500,12 +78513,12 @@ var n6 = (e, t, n) => Us(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), UFe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">+}), JFe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div><div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>- <span class="ml-auto">${$c("tag-view", "标签视图", HFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function WFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? $c("people-layout", o + "索引版式", e === "series" ? RFe : c ? LFe : IFe, a) : "";+ <span class="ml-auto">${$c("tag-view", "标签视图", qFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function YFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? $c("people-layout", o + "索引版式", e === "series" ? UFe : c ? HFe : VFe, 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}@@ -78517,26 +78530,26 @@ function WFe({ 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">${Ds("", t, "过滤" + o)}</div></div>- ${e === "tags" ? n6(BFe, n, "词表") : e === "performers" || e === "creators" ? n6(VFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(zFe, e, "资料类型") : ""}- ${e === "tags" ? UFe(r) : ""}- ${e === "performers" && n !== "online" ? jEe(i) : ""}+ ${e === "tags" ? n6(GFe, n, "词表") : e === "performers" || e === "creators" ? n6(KFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(WFe, e, "资料类型") : ""}+ ${e === "tags" ? JFe(r) : ""}+ ${e === "performers" && n !== "online" ? IEe(i) : ""}${oc({kind: e,layout: a,mode: r})}`;}-var GFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+var XFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";function r6(e, t, n) {- let r = WFe(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== GFe(r) && (e.innerHTML = r, pc(e));+ let r = YFe(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== XFe(r) && (e.innerHTML = r, pc(e));}// src/react/router/pages/index-entity.tsx-var KFe = () => pu, qFe = () => Ql, i6 = () => document.getElementById("index");+var ZFe = () => pu, QFe = () => Ql, i6 = () => document.getElementById("index");function a6(e, t, n = {}) {- let r = (0, F.useSyncExternalStore)(Cu, KFe);+ let r = (0, F.useSyncExternalStore)(Cu, ZFe);ef();- let i = Bf(Op.navigation.location.pathname), a = (0, F.useRef)({+ let i = Bf(Np.navigation.location.pathname), a = (0, F.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -78561,7 +78574,7 @@ function a6(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== pu, r = t.opens !== pu;- if (t.epoch = e, t.opens = pu, Bf(Op.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = pu, Bf(Np.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -78582,11 +78595,11 @@ function a6(e, t, n = {}) {i]);}-async function JFe(e, t, n, r) {+async function $Fe(e, t, n, r) {let i = i6();if (!i) return;- let a = `/${t}`, o = t6(t, n), s = e6(aM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;- c || (e.surfaceChanged("index", a), r6(i, o, s), pm(r, i, { pending: !0 })), await mp(a, {+ let a = `/${t}`, o = t6(t, n), s = e6(sM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;+ c || (e.surfaceChanged("index", a), r6(i, o, s), vm(r, i, { pending: !0 })), await yp(a, {...o,layout: s,selectMode: Ql,@@ -78595,25 +78608,25 @@ async function JFe(e, t, n, r) {container: i,isCurrent: r,reuse: c- }) && r() && (e.surfaceShown?.("index", a), pm(r, i));+ }) && r() && (e.surfaceShown?.("index", a), vm(r, i));}-function YFe(e) {- let t = i6(), n = t ? lp(t) : null;+function eIe(e) {+ let t = i6(), n = t ? mp(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function XFe({ epoch: e }) {+function tIe({ epoch: e }) {let t = (0, F.useContext)(eG), n = ef(), r = n.pathname.split("/").filter(Boolean)[0];return a6(e, (e, i) => {- t && JFe(t, r, n.search, i);- }, { shown: () => YFe(`/${r}`) }), null;+ t && $Fe(t, r, n.search, i);+ }, { shown: () => eIe(`/${r}`) }), null;}-function ZFe() {- let e = $W(), t = (0, F.useSyncExternalStore)(Cu, qFe), n = (0, F.useRef)(t);+function nIe() {+ let e = $W(), t = (0, F.useSyncExternalStore)(Cu, QFe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && gp(i6(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, I.jsx)(XFe, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && xp(i6(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, I.jsx)(tIe, { epoch: e }, e);}-function QFe(e) {+function rIe(e) {let t;try {t = decodeURIComponent(e);@@ -78628,7 +78641,7 @@ function QFe(e) {} : null;}var o6 = /* @__PURE__ */ new WeakMap();-function $Fe(e) {+function iIe(e) {let t = o6.get(e);return t || (t = {helpers: {@@ -78642,10 +78655,10 @@ function $Fe(e) {}, o6.set(e, t)), t;}function s6() {- let e = i6(), t = e ? lp(e) : null;+ let e = i6(), t = e ? mp(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function eIe(e, t, n, r, i, a, o) {+async function aIe(e, t, n, r, i, a, o) {let s = i6();if (!s) return;let { segment: c, kind: l, name: u } = n;@@ -78659,9 +78672,9 @@ async function eIe(e, t, n, r, i, a, o) {body: d.content.querySelector("[data-entity-body]>.peach-react")}, h = {...t.props(l, u, i),- ...um("entity")+ ...hm("entity")};- lm("entity", {+ mm("entity", {seed: h.seed,revision: h.revision,jav: h.jav@@ -78669,9 +78682,9 @@ async function eIe(e, t, n, r, i, a, o) {let g = {...h,hosts: m,- card: $Fe(e),+ card: iIe(e),resolvedEntity: o,- restoreNavigation: dm(),+ restoreNavigation: gm(),actions: {...h.actions,javContext: (e) => {@@ -78679,21 +78692,21 @@ async function eIe(e, t, n, r, i, a, o) {}}};- await mp(`/${c}/*`, g, {+ await yp(`/${c}/*`, g, {container: s,isCurrent: a,beforePlace: () => e.surfaceChanged("entity", r),place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && s6() && (e.surfaceShown?.("entity", r), pm(a, m.filter));+ }) && a() && s6() && (e.surfaceShown?.("entity", r), vm(a, m.filter));}-function tIe({ target: e }) {+function oIe({ target: e }) {let t = (0, F.useContext)(eG), n = $W(), r = ef();return a6(n, (n, i) => {let a = t?.entity;t && a && (async () => {if (n || !s6()) {if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;- pm(i, i6(), { pending: !0 });+ vm(i, i6(), { pending: !0 });}let o = new URLSearchParams({ kind: e.kind });o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);@@ -78704,113 +78717,113 @@ function tIe({ target: e }) {e.name],queryFn: ({ signal: e }) => B(`/api/entity?${o}`, e),- staleTime: dm() ? Infinity : 0+ staleTime: gm() ? Infinity : 0}).catch(() => null);if (!i()) return;if (s?.redirect) {- kp(Pn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ Pp(Pn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state});return;}if (!s?.id || s.error) {- a.missing(e.kind), pm(i);+ a.missing(e.kind), vm(i);return;}let c = String(s.canonical_name || e.name), l = Pn(e.kind, c, Number(s.id));- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? pm(i, i6()?.querySelector("[data-entity-filter]")) : eIe(t, a, {+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? vm(i, i6()?.querySelector("[data-entity-filter]")) : aIe(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : kp(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : Pp(l + r.search + r.hash, {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state});})();}, { shown: () => s6() && !i6()?.hidden }), null;}-function nIe() {- let e = QFe(ef().pathname);- return e ? /* @__PURE__ */ (0, I.jsx)(tIe, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function sIe() {+ let e = rIe(ef().pathname);+ return e ? /* @__PURE__ */ (0, I.jsx)(oIe, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/router/pages/follow.tsx-var c6 = () => document.getElementById("stats"), rIe = () => yu;-async function iIe(e, t) {+var c6 = () => document.getElementById("stats"), cIe = () => yu;+async function lIe(e, t) {let n = c6(), r = e.follow;if (!n || !r) return;- let i = um("follow"), a = r.refresh(i), o = r.props();- if (lm("follow", {+ let i = hm("follow"), a = r.refresh(i), o = r.props();+ if (mm("follow", {view: o.view,seed: o.seed,revision: o.revision}), a) return;let s = H.getQueryData(ra(o.view, o.revision).queryKey) !== void 0;- s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), pm(t, n, { pending: !0 })), await mp("/follow", o, {+ s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), vm(t, n, { pending: !0 })), await yp("/follow", o, {container: n,isCurrent: t,beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0- }), t() && pm(t, n.querySelector("[data-filter-frame]"));+ }), t() && vm(t, n.querySelector("[data-filter-frame]"));}-function aIe() {- let e = c6(), t = e ? lp(e) : null;+function uIe() {+ let e = c6(), t = e ? mp(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function oIe() {+function dIe() {let e = (0, F.useContext)(eG);return a6($W(), (t, n) => {- e && iIe(e, n);+ e && lIe(e, n);}, {- shown: aIe,+ shown: uIe,onCovered: () => {- Op.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ Np.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}function l6(e) {- let t = e ? lp(e) : null;+ let t = e ? mp(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function sIe(e, t) {+async function fIe(e, t) {let n = c6();n && (e.surfaceChanged("playlists", "/playlists"), k2(n, D2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), pm(t, n, { pending: !0 }), await mp("/playlists", { revision: yu }, {+ })), vm(t, n, { pending: !0 }), await yp("/playlists", { revision: yu }, {container: n,isCurrent: t- }), t() && pm(t));+ }), t() && vm(t));}-function cIe() {- let e = (0, F.useContext)(eG), t = (0, F.useSyncExternalStore)(Cu, rIe), n = (0, F.useRef)(t);+function pIe() {+ let e = (0, F.useContext)(eG), t = (0, F.useSyncExternalStore)(Cu, cIe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {if (n.current === t) return;n.current = t;let e = c6();- l6(e) && gp(e, { revision: t });+ l6(e) && xp(e, { revision: t });}, [t]), a6($W(), (t, n) => {- e && sIe(e, n);+ e && fIe(e, n);}, { shown: () => {let e = c6();return l6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function lIe() {- let e = new URLSearchParams(Op.navigation.location.search).get("id");+function mIe() {+ let e = new URLSearchParams(Np.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function uIe() {+function hIe() {let e = (0, F.useContext)(eG);return ZW(() => {- e?.openImmerse(lIe());+ e?.openImmerse(mIe());}, !0), null;}-function dIe() {- return /* @__PURE__ */ (0, I.jsx)(uIe, {}, $W());+function gIe() {+ return /* @__PURE__ */ (0, I.jsx)(hIe, {}, $W());}// src/react/router/pages/managed.tsx-var fIe = () => pu > 0, u6 = () => (0, F.useSyncExternalStore)(Cu, fIe), d6 = () => aM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);+var _Ie = () => pu > 0, u6 = () => (0, F.useSyncExternalStore)(Cu, _Ie), d6 = () => sM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);function p6(e) {return Tn("/healthz", { signal: e.controller.signal }).catch((e) => {if (En(e)) return null;@@ -78824,11 +78837,11 @@ function m6(e, t) {writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function pIe(e, t) {+async function vIe(e, t) {if (e === "/jav") {let e = await p6(t);return t.live ? {- tab: uU(f6().get("tab")),+ tab: fU(f6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -78853,7 +78866,7 @@ async function pIe(e, t) {if (e === "/subscriptions") {let e = LZ("?" + f6().toString()), n = await p6(t);if (!t.live) return null;- let r = aM().value;+ let r = sM().value;return {...e,pageSize: Number(r.followPageSize) || 20,@@ -78863,18 +78876,18 @@ async function pIe(e, t) {}return {};}-async function mIe(e, t, n) {- let r = Op.navigation.seq, i = () => n.live && Op.navigation.seq === r;- if (e === "/jav" && uU(f6().get("tab")) === "library") {- Op.replace(vve(window.location.search));+async function yIe(e, t, n) {+ let r = Np.navigation.seq, i = () => n.live && Np.navigation.seq === r;+ if (e === "/jav" && fU(f6().get("tab")) === "library") {+ Np.replace(xve(window.location.search));return;}if (e === "/subscriptions" && f6().get("tab") === "wants") {- kp("/jav?tab=wants", { replace: !0 });+ Pp("/jav?tab=wants", { replace: !0 });return;}if (e === "/subscriptions" && f6().get("tab") === "source") {- kp("/settings/subscriptions", { replace: !0 });+ Pp("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -78883,7 +78896,7 @@ async function mIe(e, t, n) {followLayout: d6(),followSort: f6().get("sort") || "",followDir: f6().get("dir") || ""- })), pm(i, a, { pending: !0 }), e === "/taste" && (W({ state: {+ })), vm(i, a, { pending: !0 }), e === "/taste" && (W({ state: {...U,creator: "",studio: "",@@ -78898,37 +78911,37 @@ async function mIe(e, t, n) {q: "",jav: ""} }), t.clearSearch());- let o = await pIe(e, n);+ let o = await vIe(e, n);if (!o) return;- let s = await mp(e, o, {+ let s = await yp(e, o, {container: a,isCurrent: i});- if (s && (n.revision = lp(a)?.revision ?? 0), e.startsWith("/settings/") && s && W({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = mp(a)?.revision ?? 0), e.startsWith("/settings/") && s && W({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && kp("/data-cleanup#libraryProcessing", {+ i() && Pp("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : pm(i);+ }) : vm(i);}}function h6({ path: e }) {let t = $W();ef();- let n = Bf(Op.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);+ let n = Bf(Np.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.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, I.jsx)(hIe, {+ return /* @__PURE__ */ (0, I.jsx)(bIe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function hIe({ path: e, covered: t }) {+function bIe({ path: e, covered: t }) {let n = (0, F.useContext)(eG), r = u6(), i = (0, F.useRef)(null);return (0, F.useEffect)(() => {- e.startsWith("/settings/") && gp(document.getElementById("stats"), { section: Af(e) });+ e.startsWith("/settings/") && xp(document.getElementById("stats"), { section: Af(e) });}, [e]), (0, F.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -78937,32 +78950,32 @@ function hIe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && mIe(e, n, a);+ a.live && yIe(e, n, a);});}, [r]), (0, F.useEffect)(() => () => {let e = i.current;e && (e.live = !1, e.controller.abort());}, []), null;}-function gIe() {+function xIe() {let e = u6(), t = (0, F.useRef)(!1);return (0, F.useEffect)(() => {- if (!e || t.current || Bf(Op.navigation.location.pathname)) return;+ if (!e || t.current || Bf(Np.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && kp("/data-cleanup/resource-sync", { replace: !0 });+ n && Pp("/data-cleanup/resource-sync", { replace: !0 });}), () => {n = !1;};}, [e]), null;}// src/react/router/route-chunk.ts-var g6 = [], _6 = "peach.chunkReloadAt", _Ie = 3e4;-async function vIe() {+var g6 = [], _6 = "peach.chunkReloadAt", SIe = 3e4;+async function CIe() {try {let e = Number(sessionStorage.getItem(_6) || 0);- if (Date.now() - e < _Ie || !(await fetch("/healthz", {+ if (Date.now() - e < SIe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;@@ -78975,7 +78988,7 @@ function v6(e) {});return g6.push(r), {preload: () => r().catch(async (e) => {- throw await vIe(), e;+ throw await CIe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -78983,7 +78996,7 @@ function v6(e) {}};}-function yIe() {+function wIe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;let t = [...g6], n = () => {@@ -79007,7 +79020,7 @@ var b6 = v6(() => import("./peach-app.jav-page-DXAjQAx0.js")), x6 = v6(() => impDiagnosticsPage: t};}), k6 = v6(() => import("./peach-app.activity-page-CDOzqSMm.js")), A6 = v6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function bIe(e, t, n) {+function TIe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -79017,7 +79030,7 @@ function bIe(e, t, n) {}var M6 = (e) => ({element: /* @__PURE__ */ (0, I.jsx)(h6, { path: e }),- prefetch: (t, n) => y6(O6, Promise.all([OAe(n), ...e === "/settings/diagnostics" ? [ZOe(n)] : []]).then(() => {})),+ prefetch: (t, n) => y6(O6, Promise.all([NAe(n), ...e === "/settings/diagnostics" ? [nke(n)] : []]).then(() => {})),page: (t, n) => {let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();return /* @__PURE__ */ (0, I.jsx)(r, {@@ -79033,7 +79046,7 @@ var M6 = (e) => ({}), N6 = {...Yf.reduce((e, t) => (e[t.path] = {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: t.path }),- prefetch: (e, n) => y6(w6, xEe(t.key, n)),+ prefetch: (e, n) => y6(w6, EEe(t.key, n)),page: (e, n) => {let { DataCleanupToolPage: r } = w6.get();return /* @__PURE__ */ (0, I.jsx)(r, {@@ -79045,7 +79058,7 @@ var M6 = (e) => ({}, e), {}),"/jav": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/jav" }),- prefetch: (e, t) => y6(b6, wye(e.tab, t)),+ prefetch: (e, t) => y6(b6, Dye(e.tab, t)),page: (e, t) => {let { JavPage: n } = b6.get();return /* @__PURE__ */ (0, I.jsx)(n, {@@ -79057,7 +79070,7 @@ var M6 = (e) => ({},"/stats": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/stats" }),- prefetch: (e, t) => y6(x6, MPe(t)),+ prefetch: (e, t) => y6(x6, LPe(t)),page: (e, t) => {let { StatsPage: n } = x6.get();return /* @__PURE__ */ (0, I.jsx)(n, {@@ -79068,7 +79081,7 @@ var M6 = (e) => ({},"/taste": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/taste" }),- prefetch: (e, t) => y6(S6, bFe("all", t)),+ prefetch: (e, t) => y6(S6, TFe("all", t)),page: (e, t, n) => {let { TastePage: r } = S6.get();return /* @__PURE__ */ (0, I.jsx)(r, {@@ -79081,7 +79094,7 @@ var M6 = (e) => ({},"/review": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/review" }),- prefetch: (e, t) => y6(C6, dTe(t)),+ prefetch: (e, t) => y6(C6, gTe(t)),page: (e, t) => {let { ReviewPage: n } = C6.get();return /* @__PURE__ */ (0, I.jsx)(n, {@@ -79096,20 +79109,20 @@ var M6 = (e) => ({},"/data-cleanup": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/data-cleanup" }),- prefetch: (e, t) => y6(w6, bEe(t)),+ prefetch: (e, t) => y6(w6, TEe(t)),page: (e, t, n) => {let { DataCleanupPage: r } = w6.get();return /* @__PURE__ */ (0, I.jsx)(r, {navigate: n,failure: t.failure,- open: (e) => bIe(e, t, n),+ open: (e) => TIe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/duplicates" }),- prefetch: (e, t) => y6(T6, Dwe(t)),+ prefetch: (e, t) => y6(T6, Mwe(t)),page: (e, t) => {let { DuplicatesPage: n } = T6.get();return /* @__PURE__ */ (0, I.jsx)(n, {@@ -79121,13 +79134,13 @@ var M6 = (e) => ({},"/quality-goals": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/quality-goals" }),- prefetch: (e, t) => y6(E6, zwe(t)),+ prefetch: (e, t) => y6(E6, Wwe(t)),page: (e, t) => {let { QualityGoalsPage: n } = E6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,- javTitleHtml: WI,- javDisplayName: UI,+ javTitleHtml: KI,+ javDisplayName: GI,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});@@ -79135,7 +79148,7 @@ var M6 = (e) => ({},"/sources": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/sources" }),- prefetch: (e, t) => y6(D6, hAe(t)),+ prefetch: (e, t) => y6(D6, bAe(t)),page: (e, t) => {let { ScrapingPage: n } = D6.get();return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });@@ -79149,7 +79162,7 @@ var M6 = (e) => ({"/settings/diagnostics": M6("/settings/diagnostics"),"/tasks": {element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/tasks" }),- prefetch: (e, t) => y6(k6, ipe(t)),+ prefetch: (e, t) => y6(k6, spe(t)),page: () => {let { ActivityPage: e } = k6.get();return /* @__PURE__ */ (0, I.jsx)(e, {});@@ -79169,10 +79182,10 @@ var M6 = (e) => ({});}}-}, P6 = (e) => Object.hasOwn(N6, e), xIe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(gIe, {}) } }, SIe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(dIe, {}) } }, F6 = {+}, P6 = (e) => Object.hasOwn(N6, e), EIe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(xIe, {}) } }, DIe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(gIe, {}) } }, F6 = {"/playlists": {- element: /* @__PURE__ */ (0, I.jsx)(cIe, {}),- prefetch: (e, t) => y6(j6, $ke(t)),+ element: /* @__PURE__ */ (0, I.jsx)(pIe, {}),+ prefetch: (e, t) => y6(j6, iAe(t)),page: (e, t) => {let { PlaylistsPage: n } = j6.get();return /* @__PURE__ */ (0, I.jsx)(n, {@@ -79185,14 +79198,14 @@ var M6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, I.jsx)(oIe, {}),+ element: /* @__PURE__ */ (0, I.jsx)(dIe, {}),prefetch: (e, t) => oa(e, t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(kDe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(PDe, { ...e })}}, I6 = (e) => Object.hasOwn(F6, e), L6 = {- element: /* @__PURE__ */ (0, I.jsx)(ZFe, {}),- prefetch: (e, t) => HEe(e, t),- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(dke, {+ element: /* @__PURE__ */ (0, I.jsx)(nIe, {}),+ prefetch: (e, t) => qEe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(gke, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -79213,9 +79226,9 @@ var M6 = (e) => ({"/tags": L6,"/series": L6}, z6 = {- element: /* @__PURE__ */ (0, I.jsx)(nIe, {}),- prefetch: (e) => AEe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)(KOe, { ...e })+ element: /* @__PURE__ */ (0, I.jsx)(sIe, {}),+ prefetch: (e) => FEe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(ZOe, { ...e })}, B6 = {"/performers/*": z6,"/studios/*": z6,@@ -79232,53 +79245,53 @@ var M6 = (e) => ({"/junk-files": {element: /* @__PURE__ */ (0, I.jsx)(YW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(wke, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(kke, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), CIe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(cve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(O$, { ...e }), U6 = {+}, H6 = (e) => Object.hasOwn(V6, e), OIe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(dve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(O$, { ...e }), U6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(Abe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Fbe, { ...e })},"feed-new": {- prefetch: (e) => EEe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)(QOe, { ...e })+ prefetch: (e) => jEe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(rke, { ...e })},"library-processing": {- prefetch: (e, t) => cH(t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(CIe, { ...e })+ prefetch: (e, t) => uH(t),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(OIe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(CAe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(OAe, { ...e })}}, W6 = (e) => Object.hasOwn(U6, e), G6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(rle, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(ole, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(zle, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Hle, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Lfe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Bfe, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Pde, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Lde, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(qAe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(QAe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(lje, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(mje, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(APe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(FPe, {})}}, K6 = (e) => Object.hasOwn(G6, e), q6 = ["/",@@ -79300,32 +79313,32 @@ var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) |function Y6(e) {return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];}-function wIe(e, t, n) {+function kIe(e, t, n) {return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function TIe(e, t, n, r) {+function AIe(e, t, n, r) {return Y6(e).page(t, n, r);}// src/react/application-residents.tsvar X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();-function EIe(e) {+function jIe(e) {return X6 = e, Z6 && e(Z6), () => {X6 === e && (X6 = null);};}-function DIe(e) {- return X6 && (Z6 = e, X6(e), cp(Promise.resolve(wIe)), yIe()), Promise.resolve();+function MIe(e) {+ return X6 && (Z6 = e, X6(e), pp(Promise.resolve(kIe)), wIe()), Promise.resolve();}async function e8(e, t, n = (e) => e) {let r = Q6;- if (t.isConnected || $6.add(t), !await mp(e, {}, {+ if (t.isConnected || $6.add(t), !await yp(e, {}, {container: t,resident: !0,isCurrent: () => !!X6 && r === Q6,place: () => n(t)}) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");}-function OIe() {+function NIe() {Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;for (let e of $6) e.remove();$6.clear(), qQ();@@ -79333,49 +79346,49 @@ function OIe() {var t8 = null, n8 = null;function r8(e) {return t8 ??= (async () => {- let t = kPe(e), n = document.createElement("div");+ let t = PPe(e), n = document.createElement("div");return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;})(), t8;}var i8 = () => n8, a8 = null, o8 = null;-function kIe(e) {+function PIe(e) {return a8 ??= (async () => {- let t = Nde(e), n = document.createElement("div");+ let t = Ide(e), n = document.createElement("div");return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;})(), a8;}var s8 = () => o8, c8 = null, l8 = null;-function AIe(e) {+function FIe(e) {return c8 ??= (async () => {- let t = KAe(e), n = document.createElement("div");+ let t = ZAe(e), n = document.createElement("div");return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;})(), c8;}var u8 = () => l8, d8 = null, f8 = null;-function jIe(e) {+function IIe(e) {return d8 ??= (async () => {- let t = cje(e);+ let t = pje(e);return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;})(), d8;}var p8 = () => f8, m8 = null, h8 = null;-function MIe(e) {+function LIe(e) {return m8 ??= (async () => {- let t = Ife(e);+ let t = zfe(e);return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;})(), m8;}var g8 = () => h8, _8 = null, v8 = null;-function NIe(e) {+function RIe(e) {return _8 ??= (async () => {- let t = nle(e);+ let t = ale(e);return await e8("batch-dock", e.root), v8 = t, t;})(), _8;}var y8 = () => v8, b8 = null;-function PIe(e) {+function zIe(e) {return b8 ??= (async () => {- Rle(e), await e8("glow-picker", e.root);+ Vle(e), await e8("glow-picker", e.root);})(), b8;}function x8(e, t, n, r) {@@ -79391,7 +79404,7 @@ var S8 = {rollSeed: void 0,seededSample: void 0};-function FIe() {+function BIe() {JQ(L("#toasts"), {success: R("check"),error: R("circle-alert")@@ -79435,7 +79448,7 @@ function FIe() {};}// src/react/catalog-grid/catalog-state.ts-var IIe = [+var VIe = ["loc","creator","studio",@@ -79457,9 +79470,9 @@ var IIe = ["folder_recursive"];function C8(e, t, n, r = n.defaultSort) {- return Bj(e, t, n.defaultSort, n.defaultSortDirection, r);+ return Hj(e, t, n.defaultSort, n.defaultSortDirection, r);}-function LIe(e, t, n) {+function HIe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = jn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -79485,18 +79498,18 @@ function LIe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function RIe(e, t) {+function UIe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function zIe(e) {+function WIe(e) {let t = On[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of IIe) {+ for (let t of VIe) {let r = e[t];- !r || t === "tag_match" && r === "all" || t === "dir" && r === Lj(e.sort ?? "") || n.set(t, r);+ !r || t === "tag_match" && r === "all" || t === "dir" && r === zj(e.sort ?? "") || n.set(t, r);}return !On[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function BIe(e, t, n) {+function GIe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -79512,7 +79525,7 @@ function BIe(e, t, n) {year: "",state: "",sort: t.defaultSort,- dir: zj(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Vj(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -79533,7 +79546,7 @@ function w8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var VIe = class {+var KIe = class {currentRevision = 0;currentPage = "";painting = null;@@ -79578,16 +79591,16 @@ var VIe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = Infinity, E8 = 0, HIe = (e, t = E8) => [+}, T8 = Infinity, E8 = 0, qIe = (e, t = E8) => ["facets",e,t-], UIe = (e, t, n = E8) => [+], JIe = (e, t, n = E8) => ["tops",e,t,n-], WIe = (e, t = E8) => [+], YIe = (e, t = E8) => ["tops",e,t@@ -79596,20 +79609,20 @@ async function D8(e) {let t = String(e), n = await Tn(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Tn(`/api/tops?${r}`));}-function GIe(e, t) {+function XIe(e, t) {return Promise.all([H.fetchQuery({- queryKey: HIe(e),+ queryKey: qIe(e),queryFn: () => Tn(`/api/facets${e ? `?${e}` : ""}`),staleTime: T8}), H.fetchQuery({- queryKey: UIe(t, e),+ queryKey: JIe(t, e),queryFn: () => D8(t),staleTime: T8})]);}-function KIe(e) {+function ZIe(e) {return H.fetchQuery({- queryKey: WIe(e),+ queryKey: YIe(e),queryFn: () => D8(e),staleTime: T8});@@ -79730,11 +79743,11 @@ var k8 = ["follow","activity","configuration"-], qIe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], QIe = (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-]]), JIe = [...k8, ...M8], YIe = {+]]), $Ie = [...k8, ...M8], eLe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -79770,7 +79783,7 @@ 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="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Va({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function XIe(e) {+function tLe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(ka(t));};@@ -79871,11 +79884,11 @@ var L8 = class {if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}}, R8 = new L8();-function ZIe() {+function nLe() {return R8.dispose(), R8 = new L8(), R8;}// src/application/source-action.ts-function QIe(e) {+function rLe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -79896,12 +79909,12 @@ function B8(e, t) {for (let e of IX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Bj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Hj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}function V8(e) {let t = new URLSearchParams();- for (let n of IX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Lj(e.sort || "") || t.set(n, e[n]);+ for (let n of IX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === zj(e.sort || "") || t.set(n, e[n]);return t.toString();}function H8(e) {@@ -79915,11 +79928,11 @@ function U8(e, t) {let n = new URLSearchParams(V8(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 $Ie(e, t, n, r) {+function iLe(e, t, n, r) {let i = U8(n, r);return Pn(e, t) + (i ? `?${i}` : "");}-function eLe() {+function aLe() {let e = "";return {fresh(t, n) {@@ -79940,10 +79953,10 @@ function eLe() {};}// src/react/entity-page/photo-surface.ts-function tLe(e, t) {+function oLe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function nLe(e) {+function sLe(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);@@ -79965,12 +79978,12 @@ function nLe(e) {};}// src/react/entity-page/entity-controller.ts-function rLe(e, t, n) {+function cLe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route($Ie(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(iLe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -79997,7 +80010,7 @@ function rLe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Rj(e, n.sort || "new", n.dir || "");+ let n = c(), i = Bj(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -80048,7 +80061,7 @@ function rLe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function iLe(e) {+function lLe(e) {return async (t, n, r) => {e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {r() && e.syncParts(t, n);@@ -80058,7 +80071,7 @@ function iLe(e) {};}// src/react/entity-page/entity-portrait.ts-function aLe(e, t) {+function uLe(e, t) {let n = e === "studio" || e === "agency", r = t.id ? go({kind: e,id: t.id,@@ -80080,11 +80093,11 @@ function aLe(e, t) {return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Va({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function oLe(e) {- let t = eLe(), n = {+function dLe(e) {+ let t = aLe(), n = {...e.helpers,- portraitImg: aLe- }, r = rLe(e.controller, n, e.actions);+ portraitImg: uLe+ }, r = cLe(e.controller, n, e.actions);return {...r,helpers: n,@@ -80093,12 +80106,12 @@ function oLe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: iLe(e.loading),- photos: nLe(e.photos)+ loading: lLe(e.loading),+ photos: sLe(e.photos)};}// src/card-art/feed-identity.ts-function sLe(e) {+function fLe(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : _o(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(Pn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -80125,23 +80138,23 @@ var W8 = {function G8(e) {return e.has_cover ? So(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Hs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : So(e, "big").replace(/ src="[^"]*"/, ` src="${z(fo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function cLe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? WI({+function pLe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? KI({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${mM}">${n}+ ${a}<div class="pic" style="--card-ratio:${gM}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>- <div class="meta">${sLe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${fLe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function lLe() {+function mLe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");@@ -80160,7 +80173,7 @@ function J8(e) {localStorage.setItem(q8, e ? "1" : "0");} catch {}}-function uLe() {+function hLe() {try {let e = localStorage.getItem(q8);return e === "1" || e !== "0" && null;@@ -80169,9 +80182,9 @@ function uLe() {}}function Y8(e) {- !e || up(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));+ !e || hp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));}-function dLe(e, t) {+function gLe(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : zs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -80180,8 +80193,8 @@ function dLe(e, t) {});}function X8(e, t = "") {- let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${mM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";- return dLe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(cLe).join("")}${r}</div>`;+ let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${gM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";+ return gLe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(pLe).join("")}${r}</div>`;}function Z8(e) {e && ($7(e), Z.appSettings.feedAutoScroll && Bc(e));@@ -80189,9 +80202,9 @@ function Z8(e) {function Q8(e) {return jn(e) && e !== "/junk-files";}-function fLe() {+function _Le() {let e = L("#feedNew");- up(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), mp("feed-new", {+ hp(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), yp("feed-new", {host: e,revision: W8.feedRevision,helpers: W8.feedNewHelpers,@@ -80206,28 +80219,28 @@ function $8() {e.querySelectorAll(".feednewrow").forEach(Vc), e.hidden = !0;}function e5() {- W8.feedRevision += 1, gp(L("#feedNew"), { revision: W8.feedRevision }), r5({ feedRevision: W8.feedRevision });+ W8.feedRevision += 1, xp(L("#feedNew"), { revision: W8.feedRevision }), r5({ feedRevision: W8.feedRevision });}-function pLe() {+function vLe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Bc(e) : Vc(e));}var t5 = 0;-function mLe([e]) {+function yLe([e]) {let t = e.contentRect.width >= W8.HERO_WIDE_PX;cancelAnimationFrame(t5), t5 = requestAnimationFrame(() => {t5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function hLe() {- W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${mM}"></div>+function bLe() {+ W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${gM}"></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(W8.FEED_SKELETON_CARDS)}</div>`, W8.entityShapes = null, W8.entityShapesComplete = !1, W8.hasEntityShape = (e, t) => W8.entityShapesComplete || !!W8.entityShapes?.has(`${e}/${Un(t)}`), W8.hasEntityPart = (e, t, n) => !!t && !!W8.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), W8.feedNewSkeletonSection = () => `<section class="feednew">${W8.feedNewSkeletonHtml()}</section>`, W8.COSTAR_SKELETON_PEOPLE = 12, W8.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(W8.COSTAR_SKELETON_PEOPLE)}</div></div>`, W8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, W8.feedRevision = 0, W8.feedNewHelpers = {feedRowHtml: X8,wireFeedRow: (e) => Z8(e)- }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(mLe).observe(L("#index"));+ }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(yLe).observe(L("#index"));}// src/entity-skeleton.ts-function gLe(e, t, n, r = "") {+function xLe(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">@@ -80267,11 +80280,11 @@ var Y = {application: void 0};function n5() {- let e = lp(L("#index"));+ let e = mp(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function r5(e) {- Y.entityPageCurrent() && gp(L("#index"), e);+ Y.entityPageCurrent() && xp(L("#index"), e);}function i5() {if (Jl.type === "item") return Jl;@@ -80288,14 +80301,14 @@ function i5() {return Jl;}function a5(e, t, n = n7()) {- return lRe(n).map(([n, r]) => {- let i = e === n, a = Rj(n, e, t);+ return mRe(n).map(([n, r]) => {+ let i = e === n, a = Bj(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Ij(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Ij(a.sort, a.dir) : ""}排序` : ""+ dir: i && Rj(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Rj(a.sort, a.dir) : ""}排序` : ""};});}@@ -80303,7 +80316,7 @@ function o5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}function s5() {- return tLe({+ return oLe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -80316,12 +80329,12 @@ function c5() {Y.photos.sync();}function l5() {- s5() ? jle(bM()) : NM();+ s5() ? Ple(SM()) : FM();}-function _Le(e) {+function SLe(e) {Y.photos.setSize(e);}-var u5 = QIe({+var u5 = rLe({request: (e) => Tn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })@@ -80333,7 +80346,7 @@ async function d5(e) {let t = { textContent: "" };return await u5(e, t), t.textContent;}-async function vLe(e) {+async function CLe(e) {let t = { textContent: "" }, n = [];return await f5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));@@ -80372,17 +80385,17 @@ async function f5(e, t, n) {t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);}}-function yLe(e) {+function wLe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function bLe(e, t) {+function TLe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");r && R8.handler(r, "onclick", () => u5(Number(r.dataset.reveal), n, { button: r })), i && R8.handler(i, "onclick", () => f5(Number(i.dataset.sync), n, t));}-async function xLe(e, t) {+async function ELe(e, t) {let n = sl({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -80424,12 +80437,12 @@ function p5(e, t) {let n = ["performer", "studio"].includes(e) && W8.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>${Es()}${e === "agency" ? "" : D0(a5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: gM(),- options: dM- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${T0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${T0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${T0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = gLe(e, r, e === "agency" ? oc({+ value: vM(),+ options: pM+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${T0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${T0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${T0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = xLe(e, r, e === "agency" ? oc({kind: "performers",layout: k5.peopleIndexLayout()- }) : HJ("正在读取作品", wM(CM({+ }) : HJ("正在读取作品", EM(TM({active: n,home: !1,portrait: !1@@ -80451,7 +80464,7 @@ function h5(e) {function g5(e, t) {_9(Y.application.fresh(e, t));}-function SLe() {+function DLe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -80474,7 +80487,7 @@ function SLe() {return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function CLe() {+function OLe() {Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!n5(), Y.entityPageLive = (e, t) => {let n = n5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;@@ -80492,9 +80505,9 @@ function CLe() {feedRowHtml: X8,receipt: (e, t) => S8.actionReceipt(e, t),failure: (e, t) => S8.actionFailure(e, t),- aliasForm: (e, t) => xLe(e, t),- sourceToolsHtml: (e) => yLe(e),- wireSourceTools: (e, t) => bLe(e, t),+ aliasForm: (e, t) => ELe(e, t),+ sourceToolsHtml: (e) => wLe(e),+ wireSourceTools: (e, t) => TLe(e, t),comboItems: (e) => P7(e),sortKeys: (e, t, n) => a5(e, t, n)}, Y.entityFollowActions = {@@ -80519,8 +80532,8 @@ function CLe() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function wLe() {- Y.application = oLe({+function kLe() {+ Y.application = dLe({controller: {context: () => {let e = i5();@@ -80543,12 +80556,12 @@ function wLe() {preferences: () => ({revision: Y.entityPageRevision,feedRevision: W8.feedRevision,- photoSize: bM(),- photoLayout: xM(),- photoLayouts: pM,+ photoSize: SM(),+ photoLayout: CM(),+ photoLayouts: hM,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: gM(),- javLayouts: dM,+ javLayout: vM(),+ javLayouts: pM,states: X.VIEW_PILLS,peopleLayout: k5.peopleIndexLayout(),layout: W7(),@@ -80570,8 +80583,8 @@ function wLe() {U.seed = e, Su();},setJavLayout: a7,- javLayout: gM,- setPhotoLayout: EM,+ javLayout: vM,+ setPhotoLayout: OM,syncPhotoWalls: c5,openEntity: g5,photoViewActive: s5,@@ -80580,7 +80593,7 @@ function wLe() {},syncDensity: l5,scheduleSticky: f7,- releasePage: () => _p(L("#index")),+ releasePage: () => Sp(L("#index")),showMissing: h5,dropBars: O8},@@ -80596,15 +80609,15 @@ function wLe() {},photos: {preferences: () => ({- size: bM(),- layout: xM(),+ size: SM(),+ layout: CM(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: r5,pushFollow: S9,syncDensity: l5,- storeSize: kle+ storeSize: Mle},helpers: Y.entityPageHelpers,actions: {@@ -80620,7 +80633,7 @@ function wLe() {}// src/application/playlists.jsvar _5 = { playlistWrite: void 0 };-function TLe(e, t) {+function ALe(e, t) {e === "tag" ? (W({ state: {...U,tag: t,@@ -80636,7 +80649,7 @@ function v5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function ELe({ title: e, count: t, save: n }) {+async function jLe({ title: e, count: t, save: n }) {let r = sl({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,@@ -80657,7 +80670,7 @@ async function ELe({ title: e, count: t, save: n }) {}), _9("/playlists");} }));}-async function DLe(e) {+async function MLe(e) {let t = ((await Tn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Gs(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = sl({title: "加入播放列表",@@ -80703,10 +80716,10 @@ async function DLe(e) {}function y5() {Nl(), r9(!1), B5();- let e = lp(L("#stats"));+ let e = mp(L("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? W({ pageOpens: pu + 1 }) : (z5({ manage: !1 }), W({ playlistsRevision: yu + 1 }));}-function OLe(e) {+function NLe(e) {let t = new URLSearchParams(location.search);for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);Q.route("/review" + (t.size ? "?" + t : ""));@@ -80714,7 +80727,7 @@ function OLe(e) {function b5(e) {W({ configurationRequestedSection: e }), Q.navigatePath(Pf(e));}-function kLe() {+function PLe() {_5.playlistWrite = (e) => Tn("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -80739,12 +80752,12 @@ function C5(e, t, n, r, i, a = !1) {...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function ALe(e, t, n, r) {+function FLe(e, t, n, r) {let i = x5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: RU(n).view === "dismissed"+ junkDismissed: BU(n).view === "dismissed"};}// src/application/selection.js@@ -80766,7 +80779,7 @@ function T5() {}), S9({selected: new Set(Zl),selectMode: Ql- }), w5.batchDockProps = BLe(), y8() && (y8().render(w5.batchDockProps), Z.syncGlassOptics());+ }), w5.batchDockProps = GLe(), y8() && (y8().render(w5.batchDockProps), Z.syncGlassOptics());}function E5(e, t = !1) {W(S5({@@ -80774,25 +80787,25 @@ function E5(e, t = !1) {followSelected: Zl}, O5(), x5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ql), Ql && Nl(), L("#selectMode").setAttribute("aria-pressed", String(Ql)), T5();}-function jLe() {+function ILe() {return [...N5.gridCards()].map((e) => +e.dataset.id);}function D5(e, t = !1) {W(C5({selected: Xl,followSelected: Zl- }, O5(), x5(location.pathname), jLe(), e, t)), E5(!0);+ }, O5(), x5(location.pathname), ILe(), e, t)), E5(!0);}-function MLe() {+function LLe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function NLe(e, t = !1) {+function RLe(e, t = !1) {W(C5({selected: Xl,followSelected: Zl- }, O5(), "follow", MLe(), e, t)), E5(!0);+ }, O5(), "follow", LLe(), e, t)), E5(!0);}-async function PLe(e, t) {+async function zLe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -80861,7 +80874,7 @@ async function PLe(e, t) {}});}-async function FLe() {+async function BLe() {let e = [...Xl];if (!e.length) return;let t = sl({@@ -80893,7 +80906,7 @@ async function FLe() {let { confirmed: n, result: r } = await t.done;n && (E5(!1, !0), await s7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function ILe(e, t) {+async function VLe(e, t) {let n = [...Zl];if (!n.length) return;let r = {@@ -80928,7 +80941,7 @@ async function ILe(e, t) {}});}-async function LLe(e, t) {+async function HLe(e, t) {let n = [...Xl];if (!n.length) return;let r = {@@ -80974,8 +80987,8 @@ async function LLe(e, t) {}});}-function RLe() {- NIe({+function ULe() {+ RIe({root: L("[data-batch-dock]"),run: (e, t, n) => {w5.BATCH_RUNNERS[e]?.(t, n);@@ -80984,7 +80997,7 @@ function RLe() {e.render(w5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function zLe() {+function WLe() {w5.batchDockProps = {count: 0,context: "catalog",@@ -80997,14 +81010,14 @@ function zLe() {["other", "其他"],["none", "撤回判定"]], w5.BATCH_RUNNERS = {- batch: PLe,- region: FLe,- follow: ILe,- junk: LLe,+ batch: zLe,+ region: BLe,+ follow: VLe,+ junk: HLe,clear: () => E5(!1, !0)}, R8.handler(L("#density"), "onclick", () => {- s5() ? _Le(bM() === "big" ? "small" : "big") : Ale();- }), NM(), jl({+ s5() ? SLe(SM() === "big" ? "small" : "big") : Nle();+ }), FM(), jl({selecting: () => Ql,censored: () => Z7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds@@ -81024,8 +81037,8 @@ function O5() {followLastSelectedId: eu};}-function BLe() {- return ALe({+function GLe() {+ return FLe({selected: Xl,followSelected: Zl}, location.pathname, location.search, U.state);@@ -81035,22 +81048,22 @@ var k5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function VLe() {+function KLe() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function HLe() {+function qLe() {return LZ(location.search);}-function ULe(e) {+function JLe(e) {return RZ(e);}-function WLe(e) {- Q.route(ULe(e));+function YLe(e) {+ Q.route(JLe(e));}-function GLe(e = "") {+function XLe(e = "") {return zZ(location.search, e);}-function KLe(e) {+function ZLe(e) {return I8(e);}function A5(e) {@@ -81059,7 +81072,7 @@ function A5(e) {function j5() {L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function qLe(e, t) {+function QLe(e, t) {W({ state: {...U,state: "",@@ -81070,16 +81083,16 @@ function qLe(e, t) {function M5(e) {k5.controller.openFollowAuthor(e);}-function JLe(e) {+function $Le(e) {k5.controller.openFollowTag(e);}-function YLe() {+function eRe() {$.FOLLOW_MANAGE_TABS = IZ, R8.listen(document, "click", (e) => {e.target.closest?.("[data-empty-settings]") && b5("媒体库与入库");}), k5.peopleIndexLayout = () => e6(Z.appSettings.peopleLayout), k5.personAvatar = F8;}-function XLe() {- k5.controller = XIe({+function tRe() {+ k5.controller = tLe({route: Q.route,followView: y9,adoptFollowView: b9,@@ -81105,7 +81118,7 @@ function P5(e = "正在读取作品") {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 = Qve(RU(location.search)), pc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && C7({+ 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 = tye(BU(location.search)), pc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && C7({count: null,...E7()})), L("#loadSentinel").hidden = !0, V7()) return;@@ -81125,13 +81138,13 @@ function I5() {});return Promise.race([N5.entityShapesReady ||= K8(), e]);}-function ZLe() {+function nRe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), F5(), Fye();+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), F5(), Bye();else if (/^\/assets\/\d+$/.test(e)) F5();else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) F5();else if (e === "/junk-files") P5("正在读取垃圾文件");- else if (e === "/jav" && uU(new URLSearchParams(location.search).get("tab")) === "library") P5("正在读取馆藏");+ else if (e === "/jav" && fU(new URLSearchParams(location.search).get("tab")) === "library") P5("正在读取馆藏");else if (Q.managedPagePath(e)) {F5();let t = L("#stats");@@ -81145,12 +81158,12 @@ function ZLe() {});} else Q.routeMeta(e) ? P5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function QLe() {+function rRe() {$.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => E2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: bM()+ gridSize: SM()}), $.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>@@ -81161,12 +81174,12 @@ function QLe() {${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Hs(Vs), N5.setGridCards = (e) => ic(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;}), N5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), N5.managementPlaceholder = (e) => D2(e, {- followLayout: VLe(),+ followLayout: KLe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(HLe())+ }))(qLe())}), N5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", N5.entityShapesReady = null, N5.ENTITY_SHAPES_WAIT = 400, N5.syncPageTitle = (e) => {let t = new URL(e, location.origin), n = ep(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, d9();@@ -81180,7 +81193,7 @@ var L5 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function $Le(e, t, n) {+function iRe(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-${L5(r)}"/></svg>`;@@ -81188,7 +81201,7 @@ function $Le(e, t, n) {}).join("")}</div>`;}// src/application/filter-scroll.js-function eRe(e, t, n, r = !1) {+function aRe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -81235,9 +81248,9 @@ function B5() {L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), F5(), document.body.classList.remove("entity-open", "index-open");}function V5() {- L("#javLibraryHeader").hidden = !jn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), _p(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Q8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", S7(), Y5(), Z5();+ L("#javLibraryHeader").hidden = !jn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), Sp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Q8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", S7(), Y5(), Z5();}-function tRe() {+function oRe() {Q.route("/"), V5();}function H5({ tags: e = [], providers: t = [], duration: n = !1 }) {@@ -81265,7 +81278,7 @@ function H5({ tags: e = [], providers: t = [], duration: n = !1 }) {});}function U5(e) {- nze({+ sze({...y9(),...e}), f9({ filters: $.followSidebarFilters() });@@ -81280,30 +81293,30 @@ function G5(e) {function K5() {W5() && G5(!1);}-function nRe() {+function sRe() {du === null && (W({ runtimeConfigurable: !1 }), Tn("/healthz").then((e) => {W({ runtimeConfigurable: !!e.configurable }), du && J5() && Y5();}).catch(() => {}));}function q5(e = "", t = !1) {if (!t && !Mf(location.pathname)) {- let t = Op.navigation;- Op.push(Pf(e), { settingsBackground: {+ let t = Np.navigation;+ Np.push(Pf(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && kp(Pf(e), {+ } else !t && e && Pp(Pf(e), {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state});- return e ||= Nf(location.pathname), AIe(R5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= Nf(location.pathname), FIe(R5.settingsHost()).then((t) => (t.open(e), t));}-function rRe() {- Mf(location.pathname) && (Ff(Op.navigation.location.state) ? Op.go(-1) : Q.navigatePath("/", !0));+function cRe() {+ Mf(location.pathname) && (Ff(Np.navigation.location.state) ? Np.go(-1) : Q.navigatePath("/", !0));}-function iRe() {+function lRe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,@@ -81311,7 +81324,7 @@ function iRe() {navOn: l7,navTo: u7,navToTop: () => {- K5(), fm();+ K5(), _m();},toggleChip: (e, t, n) => x7((r) => {if (n) {@@ -81338,31 +81351,31 @@ function iRe() {}};}-function aRe() {+function uRe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = $Le(Z.appSettings.sidebarOrder, R5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {+ e.innerHTML = iRe(Z.appSettings.sidebarOrder, R5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {if (p8()) return;let t = e.target.closest?.("[data-nav]");t && u7(t.dataset.nav);- }), jIe(iRe()).then((e) => e.render(R5.sidebarProps)).catch(() => {});+ }), IIe(lRe()).then((e) => e.render(R5.sidebarProps)).catch(() => {});}-async function oRe() {+async function dRe() {let e = R8, t = null;try {t = await Tn("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && oM(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && cM(t, (e) => Z.settingsEffects[e]?.());}function J5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}function Y5() {let e = J5();- nRe(), e && F5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (w5.trashCount = null), X5(e);+ sRe(), e && F5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (w5.trashCount = null), X5(e);}-function sRe(e) {+function fRe(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -81373,16 +81386,16 @@ function sRe(e) {}function X5(e = J5()) {Z5();- let t = sRe(e), n = g8();+ let t = fRe(e), n = g8();if (n) n.render(t);else {- let e = Rde(t);+ let e = Vde(t);e !== R5.manageHeaderSkeleton && (R5.manageHeaderSkeleton = e, R5.manageHeaderRoot().innerHTML = e);}- let r = zF(t)?.title || "";+ let r = VF(t)?.title || "";r !== R5.lastManagePageLabel && (R5.lastManagePageLabel = r, r && tc(R5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function cRe() {+function pRe() {let e = R5.manageHeaderRoot();R8.listen(e, "click", (e) => {if (g8()) return;@@ -81392,7 +81405,7 @@ function cRe() {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();- }), MIe({+ }), LIe({root: e,openManage: t7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),@@ -81437,35 +81450,35 @@ function e7(e) {}function t7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(zU()), V5(), p9(), j7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(VU()), V5(), p9(), j7());}function n7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || hu : !1;}-function lRe(e = n7()) {- let t = jj.filter(([e]) => e !== "seed");- return e ? [Mj, ...t] : t;+function mRe(e = n7()) {+ let t = Nj.filter(([e]) => e !== "seed");+ return e ? [Pj, ...t] : t;}function r7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}function i7() {- return _M(r7());+ return yM(r7());}-function uRe(e) {- Dle(e), o7(), L("#grid").hidden || q7();+function hRe(e) {+ Ale(e), o7(), L("#grid").hidden || q7();}function a7(e) {- TM(e), o7(), q7();+ DM(e), o7(), q7();}function o7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === i7();}), X.catalogFilterProps && C7({ layout: T7() });}-function dRe(e) {- Ole(e), o7(), q7();+function gRe(e) {+ jle(e), o7(), q7();}async function s7() {O8(), X.mixRelatedCache.clear(), await Promise.all([c7(), j7()]);@@ -81493,7 +81506,7 @@ function l7(e) {return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !J5() && !U.state && !n7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}function u7(e) {- let t = om(e);+ let t = dm(e);if (t === location.pathname + location.search + location.hash) return;if (K5(), t) {Q.navigatePath(t);@@ -81524,11 +81537,11 @@ function d7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Nn, t[0]), r = jn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";L("#selectMode").hidden = !i, L("#density").hidden = !a, c5(), !i && Ql && E5(!1, !0);}-function fRe() {+function _Re() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== R5.mobileFilterHost || location.pathname !== R5.mobileFilterPath) && (R5.mobileFilterScroll = null), R5.mobileFilterHost = t, R5.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\"]");- R5.mobileFilterScroll = eRe(R5.mobileFilterScroll, n, innerWidth <= 760, r);+ R5.mobileFilterScroll = aRe(R5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && R5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -81542,44 +81555,44 @@ function fRe() {});}}-function pRe() {- fRe(), [".board-filter-frame", "#count"].forEach((e) => {+function vRe() {+ _Re(), [".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 f7() {R5.stickyFrame ||= R8.frame(() => {- R5.stickyFrame = 0, pRe();+ R5.stickyFrame = 0, vRe();});}-function mRe() {+function yRe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), R8.handler(L("#filterBtn"), "onclick", () => G5(!L("#drawer").classList.contains("open"))), R5.SIDEBAR_ITEMS = k8, R5.MANAGE_SECTIONS = A8, R5.MANAGE_MENU_SECTIONS = j8, R5.manageMenuSections = () => qIe(du === !0), R5.OPTIONAL_SIDEBAR_ITEMS = M8, R5.NAV_CATALOG = JIe, R5.DIRECT_MANAGE_NAV = YIe, R5.settingsHost = () => ({- selectSection: (e) => kp(Pf(e), {+ }), R8.handler(L("#filterBtn"), "onclick", () => G5(!L("#drawer").classList.contains("open"))), R5.SIDEBAR_ITEMS = k8, R5.MANAGE_SECTIONS = A8, R5.MANAGE_MENU_SECTIONS = j8, R5.manageMenuSections = () => QIe(du === !0), R5.OPTIONAL_SIDEBAR_ITEMS = M8, R5.NAV_CATALOG = $Ie, R5.DIRECT_MANAGE_NAV = eLe, R5.settingsHost = () => ({+ selectSection: (e) => Pp(Pf(e), {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state}),- closed: rRe,+ closed: cRe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => Qo(e),navCatalog: R5.NAV_CATALOG,- themeOptions: Sle,- videoLayouts: dM,+ themeOptions: Tle,+ videoLayouts: pM,followInitialRanges: N8,videoLayout: () => i7(),- setVideoLayout: dRe,+ setVideoLayout: gRe,censored: Z7,- setCensored: FRe,+ setCensored: BRe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: IRe,+ setHighContrast: VRe,receipt: (e) => S8.actionReceipt(e),failure: S8.actionFailure,- syncRemote: (e) => oM(e, (e) => Z.settingsEffects[e]?.()),+ syncRemote: (e) => cM(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => Tn("/healthz").then((e) => (W({ runtimeConfigurable: !!e.configurable }), du)).catch(() => null)@@ -81626,22 +81639,22 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function hRe() {+function bRe() {X.initialParams.has("loc") || (U.loc = p7(U.loc), Su());}function p7(e) {- return RIe(e, Z.sourceOnline);+ return UIe(e, Z.sourceOnline);}function m7(e = U) {- return zIe(e);+ return WIe(e);}-function gRe() {- W(w8(BIe(U, Z.appSettings, S8.rollSeed)));+function xRe() {+ W(w8(GIe(U, Z.appSettings, S8.rollSeed)));}function h7(e = null) {- gRe(), e && (Object.assign(U, e), Su()), Q.route(e ? m7() : "/"), X.clearSearchField(), r9(!1), p9(), j7();+ xRe(), e && (Object.assign(U, e), Su()), Q.route(e ? m7() : "/"), X.clearSearchField(), r9(!1), p9(), j7();}-function _Re(e, t = null) {+function SRe(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") : D5(n);}@@ -81650,13 +81663,13 @@ function g7(e) {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function vRe(e, t) {+function CRe(e, t) {i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : _7(e, t);}function _7(e, t) {- e.edition_group ? URe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? WRe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);+ e.edition_group ? JRe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? YRe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);}-async function yRe(e, t) {+async function wRe(e, t) {try {let n = await Tn("/api/watch-later", {method: "POST",@@ -81673,7 +81686,7 @@ async function yRe(e, t) {S8.actionFailure("更新稍后看", e);}}-async function bRe(e, t) {+async function TRe(e, t) {try {await Tn("/api/batch", {method: "POST",@@ -81697,8 +81710,8 @@ async function bRe(e, t) {throw S8.actionFailure("操作", e), e;}}-async function xRe(e, t, n, r) {- let i = Number(e.rating) || 0, a = _P(i, t), o = async (t, r) => {+async function ERe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = yP(i, t), o = async (t, r) => {let i = (await Tn("/api/feedback", {method: "POST",body: JSON.stringify({@@ -81712,7 +81725,7 @@ async function xRe(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${gP(e)} 星` : "已取消评分", { undo: () => o(i) });+ S8.actionReceipt(e ? `已评 ${vP(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {throw r?.aborted || S8.actionFailure("评分", e), e;}@@ -81741,7 +81754,7 @@ async function v7(e) {e[n] && t.set(n, e[n]);});}- return GIe(t.toString(), X.topsQueryParams(e).toString());+ return XIe(t.toString(), X.topsQueryParams(e).toString());}function y7(e) {i5().type !== "entity" && C7({ tags: D7(e) }), f9({ filters: { ...e } }), F7();@@ -81767,7 +81780,7 @@ function x7(e) {} }), Q.route(m7()), V5(), j7();} else e(U), Su(), Q.route(m7()), y7(U), b7(Jl);}-function SRe() {+function DRe() {return {tiers: null,tiersPending: !1,@@ -81803,12 +81816,12 @@ function C7(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || SRe(),+ ...X.catalogFilterProps || DRe(),...e- }, !X.catalogFilterMounting && (up(t) ? gp(t, e) : (!t.firstChild && !n && (t.innerHTML = Kje(X.catalogViews(), X.catalogFilterProps.state, E7()), pc(t)), X.catalogFilterMounting = mp("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (hp(t) ? xp(t, e) : (!t.firstChild && !n && (t.innerHTML = Zje(X.catalogViews(), X.catalogFilterProps.state, E7()), pc(t)), X.catalogFilterMounting = yp("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => gp(t, X.catalogFilterProps)).finally(() => {+ }).then(() => xp(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}@@ -81830,17 +81843,17 @@ function w7() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Rj(e, U.sort, U.dir);+ let t = Bj(e, U.sort, U.dir);t && (U.sort = t.sort, U.dir = t.dir, Su(), Y7());},- reshuffle: () => PRe(),+ reshuffle: () => zRe(),setLayout: (e) => {- n7() ? a7(e) : uRe(e);+ n7() ? a7(e) : hRe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await KIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ let n = (await ZIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];return e === "performers" ? n.map(O7) : n.map(k7);}};@@ -81849,13 +81862,13 @@ function T7() {return n7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: gM(),- options: dM+ value: vM(),+ options: pM} : r7() ? {name: "home-layout",label: "首页卡片版式",value: i7(),- options: dM+ options: pM} : null;}function E7() {@@ -81893,7 +81906,7 @@ function k7(e) {logo: e.has_logo ? po(e.k, "icon", e.logo_version) : ""};}-function CRe(e, t) {+function ORe(e, t) {X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? C7({tiersPending: !0,state: e.state || ""@@ -81916,7 +81929,7 @@ async function j7() {U.seed || "",n7()]);- CRe(n, e);+ ORe(n, e);let i;try {i = await v7(t);@@ -81972,7 +81985,7 @@ async function j7() {latest: null});}-function wRe(e, t) {+function kRe(e, t) {e9.total = e, U.state === "trash" && (w5.trashCount = {total: e9.total,shown: t@@ -82041,12 +82054,12 @@ async function I7() {filters: U},detailReturnBarsContext: null- }), r9(!1), U.state === "ads") return DRe(e);+ }), r9(!1), U.state === "ads") return MRe(e);X.controller.page === "/junk-files" && R7(), P5(), V5();let t = z7(e);if (Q8(location.pathname) && U.browse !== "folders") {if (await N5.entityShapesReady, !Q.surfaceCurrent(e)) return;- fLe();+ _Le();} else $8();return F7(), L("#count").classList.remove("manage-static", "junkcount"), t;}@@ -82055,22 +82068,22 @@ function L7(e) {}function R7() {let e = L("#grid");- Nl(e), _p(e), X.controller.clear(), e.innerHTML = "";+ Nl(e), Sp(e), X.controller.clear(), e.innerHTML = "";}function z7(e) {- return U7("/", ERe, e, { place: ize });+ return U7("/", jRe, e, { place: lze });}-function TRe(e) {- return U7("/junk-files", kRe, e);+function ARe(e) {+ return U7("/junk-files", PRe, e);}function B7() {- return !!lp(L("#grid"));+ return !!mp(L("#grid"));}function V7() {return X.controller.taken(B7());}function H7(e) {- gp(L("#grid"), e);+ xp(L("#grid"), e);}function U7(e, t, n, r = {}) {let i = L("#grid");@@ -82078,8 +82091,8 @@ function U7(e, t, n, r = {}) {let a = X.controller.begin(e, B7()), o = t();if (!a.mount) return H7(o), a.settled;Nl(i);- let s = () => _p(i);- return a.signal.addEventListener("abort", s, { once: !0 }), mp(e, o, {+ let s = () => Sp(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), yp(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()@@ -82089,7 +82102,7 @@ function U7(e, t, n, r = {}) {}function W7() {let e = r7();- return CM({+ return TM({active: n7() || e,home: e,portrait: U.orient === "竖屏"@@ -82099,7 +82112,7 @@ function G7(e = "正在读取作品") {return HJ(e, K7());}function K7() {- return U ? wM(W7()) : 16 / 9;+ return U ? EM(W7()) : 16 / 9;}function q7() {V7() && (Nl(L("#grid")), H7({@@ -82110,7 +82123,7 @@ function q7() {seekSeconds: Z.appSettings.seekSeconds}));}-function ERe() {+function jRe() {let e = decodeURIComponent(location.pathname), t = jn(e), n = U.state === "trash";return {mode: "catalog",@@ -82118,7 +82131,7 @@ function ERe() {actions: X.gridActions,layout: W7(),wall: e === "/wall",- restoreNavigation: dm(),+ restoreNavigation: gm(),selectMode: Ql,selected: new Set(Xl),seekSeconds: Z.appSettings.seekSeconds,@@ -82133,7 +82146,7 @@ function ERe() {mix: t && e !== "/wall" && !n && U.browse !== "folders",shorts: t && e !== "/wall" && !n7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: wRe,+ onCount: kRe,onCountFailed: () => C7({ count: !1 }),emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : MK({jav: n7() && !t,@@ -82143,11 +82156,11 @@ function ERe() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function DRe(e) {+function MRe(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(), P5("正在读取垃圾文件")), V5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), TRe(e);+ return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), P5("正在读取垃圾文件")), V5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), ARe(e);}-async function ORe(e, t) {+async function NRe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await Tn("/api/batch", {@@ -82172,9 +82185,9 @@ async function ORe(e, t) {throw S8.actionFailure("操作", e), e;}}-function kRe() {+function PRe() {return {- ...RU(location.search),+ ...BU(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -82190,8 +82203,8 @@ function kRe() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function ARe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), W(w8(LIe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function FRe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), W(w8(HIe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -82212,21 +82225,21 @@ function ARe() {};};}-function jRe() {+function IRe() {R8.handler(L("#wallBtn"), "onclick", () => {E5(!1, !0);let e = i5(), t = {...Y.activeFilterState(),jav: n7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(yxe(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(wxe(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => WI(e, t),- displayName: (e, t) => UI(e, t),+ titleHtml: (e, t) => KI(e, t),+ displayName: (e, t) => GI(e, t),tagLabel: (e) => Ll(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {@@ -82234,11 +82247,11 @@ function jRe() {return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},wallDetails: _7,- open: (e, t) => vRe(e, t),- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : _Re(e, t),+ open: (e, t) => CRe(e, t),+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : SRe(e, t),openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : u9(e.id),openShorts: () => u9(),- openMix: (e, t) => HRe(e, e, !0, t),+ openMix: (e, t) => qRe(e, e, !0, t),openEntity: (e, t) => g5(e, t),openUnowned: () => h7({ owner: "none" }),toggleTag: (e) => {@@ -82247,9 +82260,9 @@ function jRe() {});},toggleSelection: (e, t) => D5(e, t),- watchLater: (e, t) => yRe(e, t),- rate: (e, t, n, r) => xRe(e, t, n, r),- resourceOperation: (e, t) => bRe(e, t),+ watchLater: (e, t) => wRe(e, t),+ rate: (e, t, n, r) => ERe(e, t, n, r),+ resourceOperation: (e, t) => TRe(e, t),mixRelated: (e) => g7(e),canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {@@ -82289,7 +82302,7 @@ function jRe() {X.catalogFilterProps && C7({ comboHidden: !0 });};}-function MRe() {+function LRe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {Ql && E5(!1, !0), Q.route(e);@@ -82306,10 +82319,10 @@ function MRe() {return Y.sourceHint(e.message);}},- operate: (e, t) => ORe(e, t)+ operate: (e, t) => NRe(e, t)};}-X.controller = new VIe();+X.controller = new KIe();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -82343,18 +82356,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)), hRe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), bRe(), Z.sourceOnline;}function Y7() {let e = Q.surfacePath();if (!jn(e) || e === "/junk-files") return I7();let t = Z.nextCatalogLoad();- return kp(m7(), {+ return Pp(m7(), {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state}), t;}-function NRe(e) {+function RRe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -82386,7 +82399,7 @@ function X7(e, t) {value: e.k,label: nr[e.k] || e.k,n: e.n ?? null,- dot: NRe(e.k),+ dot: RRe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -82399,7 +82412,7 @@ function X7(e, t) {duration: !!e.stats?.duration};}-async function PRe(e = !1) {+async function zRe(e = !1) {if (e && (document.hidden || !jn(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Ql || Xl.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;@@ -82409,11 +82422,11 @@ async function PRe(e = !1) {return;}let n = t === "reopen" ? e : "/stats";- sm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Op.navigation.location.state) : Q.navigatePath(n);+ fm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Np.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), Su(), O8(), C7({ refreshing: !0 });try {- sm();+ fm();let e = Y7();await null, await Promise.all([e, j7()]);} finally {@@ -82431,47 +82444,47 @@ function Z7() {function Q7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function FRe(e) {+function BRe(e) {localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && Nl();}-function IRe(e) {+function VRe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function $7(e) {return Ac(e, { drag: !0 });}-function LRe() {+function HRe() {["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);}-function RRe() {+function URe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function zRe() {+function WRe() {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 = aM(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Zo(Z.appSettings.uiSounds), rs(), lM(), Tle(), PM(), LM(), RM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = sM(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Zo(Z.appSettings.uiSounds), rs(), dM(), Ole(), IM(), zM(), BM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {performerNameLanguage: () => {Zt(Z.appSettings.performerNameLanguage), N5.syncPageTitle(location.href), X.barsRendered = "", j7();},- theme: () => lM(),+ theme: () => dM(),uiSounds: () => {Zo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Qo("toggle-on");},- glowFrame: () => IM(),+ glowFrame: () => RM(),glow: () => {- IM(), LM();+ RM(), zM();},batchSize: () => {location.pathname === "/" && I7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = zj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();+ U.sort = Z.appSettings.defaultSort, U.dir = Vj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();},sortDirection: () => {- U.dir = zj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();+ U.dir = Vj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -82480,16 +82493,16 @@ function zRe() {},seekSeconds: () => q7(),groupCollapse: () => c7(),- feedAutoScroll: () => pLe(),+ feedAutoScroll: () => vLe(),feedLimit: () => e5(),feedCompilations: () => e5(),miniplayer: () => {Z.appSettings.miniplayer || i8()?.closeMiniplayer();},javImage: () => {- ao(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(fl), VRe();+ ao(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(fl), KRe();},- searchHistoryLimit: () => gp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => xp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {...Object.fromEntries(Object.entries(_s).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),online: R("rss")@@ -82498,7 +82511,7 @@ function zRe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = Ws;}-function BRe() {+function GRe() {Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js@@ -82534,7 +82547,7 @@ function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), f7(), e && Q.route(nu || "/");}-function VRe() {+function KRe() {i8()?.repaintPoster();}function i9(e, t, n, r, i = null, a = {}) {@@ -82553,19 +82566,19 @@ function i9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {m9();let e = Q.queueOpenRequest = {- seq: Op.navigation.seq,+ seq: Np.navigation.seq,cancelled: !1};Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), W({ queueOpens: mu + 1 });} else return s9(n == null ? null : +n, !1, s, i, r);}-function HRe(e, t = e, n = !0, r = null) {+function qRe(e, t = e, n = !0, r = null) {return i9("mix", e, t, n, r);}-function URe(e, t = e, n = !0, r = null) {+function JRe(e, t = e, n = !0, r = null) {return i9("editions", e, t, n, r);}-function WRe(e, t = e, n = !0, r = null) {+function YRe(e, t = e, n = !0, r = null) {return i9("parts", e, t, n, r);}function a9(e, t = null, n = !0) {@@ -82635,14 +82648,14 @@ async function l9(e, t = !0) {W({ detailReturnPath: location.pathname + location.search }), h9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));return;}- let n = Op.navigation.seq, r = Y.cloneBarsContext(i5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : nu) || "/jav?tab=discover";+ let n = Np.navigation.seq, r = Y.cloneBarsContext(i5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : nu) || "/jav?tab=discover";i8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), W({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), Nl();let [o, s] = await Promise.all([r8(e9.stageHost), B("/healthz")]);- Op.navigation.seq === n && (await o.open({+ Np.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,@@ -82650,9 +82663,9 @@ async function l9(e, t = !0) {close: () => void c9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- Op.navigation.seq === n && t && t !== e && kp("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ Np.navigation.seq === n && t && t !== e && Pp("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state});},openTag: (e) => x7((t) => {@@ -82663,9 +82676,9 @@ async function l9(e, t = !0) {}), f7());}async function u9(e = null, t = !0) {- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await kIe(e9.immerseHost)).open(e));+ t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await PIe(e9.immerseHost)).open(e));}-function GRe() {+function XRe() {e9.total = 0, e9.facets = null, e9.stageHost = {player: {settings: () => Z.appSettings,@@ -82681,11 +82694,11 @@ function GRe() {openItem: (e) => void s9(e)}, e9.stageOpen = () => !!i8()?.isOpen();}-function KRe() {+function ZRe() {e9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => WI(e),- displayName: (e) => UI(e),+ titleHtml: (e) => KI(e),+ displayName: (e) => GI(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => Ll(e),isDurationTag: (e) => ar.has(e),@@ -82734,12 +82747,12 @@ function KRe() {openTag: (e) => x7((t) => {t.tag = e;}),- addToPlaylist: (e) => DLe(e),- saveMix: (e) => ELe(e),+ addToPlaylist: (e) => MLe(e),+ saveMix: (e) => jLe(e),editPlaylist: () => _9("/playlists"),openPlaylists: () => _9("/playlists"),reveal: (e) => d5(e),- sync: (e) => vLe(e),+ sync: (e) => CLe(e),trashChanged: async (e, t) => {U.state === "ads" && (t || e === "trash") && (t || (Gf(), r9(!0, !1, { miniplayer: !1 })), await I7());},@@ -82749,7 +82762,7 @@ function KRe() {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => UI(e),+ displayName: (e) => GI(e),route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => h7(),openItem: (e) => void s9(e),@@ -82813,7 +82826,7 @@ function g9() {function _9(e) {Q.route(e), W({ pageOpens: pu + 1 });}-function qRe() {+function QRe() {Q.routeMeta = (e) => {let t = ep(e);return t ? { route: t } : null;@@ -82821,7 +82834,7 @@ function qRe() {let t = ep(e);return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Bf(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? u9(RRe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? GLe() : e) : (E5(!1, !0), _9(A5({+ e === "/immerse" ? u9(URe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? XLe() : e) : (E5(!1, !0), _9(A5({kind: e.slice(1),q: "",scope: "local",@@ -82830,34 +82843,34 @@ function qRe() {})));};}-function JRe() {+function $Re() {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) => (Q8(e) || $8(), _p(L("#stats"), L("#index")), !jn(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++, kp(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Q8(e) || $8(), Sp(L("#stats"), L("#index")), !jn(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++, Pp(e, {replace: t,state: n}), N5.syncPageTitle(e), queueMicrotask(() => {d7(), Z5(), f9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? Op.replace(e, n) : Op.push(e, n), queueMicrotask(() => {+ t ? Np.replace(e, n) : Np.push(e, n), queueMicrotask(() => {d7(), Z5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function YRe(e, t, n) {+function eze(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${z(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${z(e)}<small>${Math.round(i)}%</small></span></div>`;}-function XRe(e, t = 0, n = 0) {- return n > 0 ? YRe(e, t, n) : Hs(e);+function tze(e, t = 0, n = 0) {+ return n > 0 ? eze(e, t, n) : Hs(e);}-async function ZRe(e) {+async function nze(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -82872,14 +82885,14 @@ async function ZRe(e) {await t(2e3);}}-function QRe(e) {+function rze(e) {let t = e.note || ((e) => zs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Hs, r = e.progress || ((e, t, n) => XRe(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 || Hs, r = e.progress || ((e, t, n) => tze(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;- ZRe({+ nze({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -82928,7 +82941,7 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function $Re(e) {+function ize(e) {let t = (e.results || []).filter((e) => !e.ok).length;S8.toast({ text: Hi(e) }, {warn: !!t,@@ -82943,7 +82956,7 @@ function $Re(e) {function v9() {return ka(y9());}-function eze() {+function aze() {return $.controller.read();}function y9() {@@ -82964,17 +82977,17 @@ function y9() {function b9(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 tze() {- let e = lp(L("#stats"));+function oze() {+ let e = mp(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function x9() {- return !!tze();+ return !!oze();}function S9(e) {- x9() && gp(L("#stats"), e);+ x9() && xp(L("#stats"), e);}-function nze(e, t = {}) {+function sze(e, t = {}) {return $.controller.route(e, t);}function C9(e = !1) {@@ -82998,16 +83011,16 @@ async function w9(e, t = !0, n = null, r = !1) {resume: t ? null : t9()}), f7();}-async function rze() {- await n9(), r9(!1, !1, { miniplayer: !1 }), Gf(), Q.route(lu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && x9() ? (eze(), S9({ view: y9() })) : W({ pageOpens: pu + 1 }));+async function cze() {+ await n9(), r9(!1, !1, { miniplayer: !1 }), Gf(), Q.route(lu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && x9() ? (aze(), S9({ view: y9() })) : W({ pageOpens: pu + 1 }));}-function ize(e) {+function lze(e) {let t = document.createElement("div");return t.className = "peach-react", ic(e, () => {e.textContent = "", e.append(t);}), t;}-function aze() {+function uze() {$.followFeedHelpers = zl({wireDrag: (e) => {e && $7(e);@@ -83016,32 +83029,32 @@ function aze() {e && Ac(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: QRe+ jobProgress: rze}), $.followFeedActions = {loaded: (e) => H5(e),openDetail: (e) => w9(e),openAuthor: (e) => Q.navigatePath(Pn("creator", e)),- toggleSelection: (e, t) => NLe(e, t),+ toggleSelection: (e, t) => RLe(e, t),setImagesOnly: (e) => {Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), c5();},setPhotoLayout: (e) => {- EM(e), c5();+ OM(e), c5();},canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion(),toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),failure: (e, t) => S8.actionFailure(e, t),- checkReport: (e) => $Re(e)+ checkReport: (e) => ize(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- i8()?.showing() !== "follow" && (Nl(), r9(!1), B5(), !x9() && (Q.claimSurface(Q.surfacePath()), z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && _p(L("#stats")), L("#stats").replaceChildren()));+ i8()?.showing() !== "follow" && (Nl(), r9(!1), B5(), !x9() && (Q.claimSurface(Q.surfacePath()), z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && Sp(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = ql({view: y9,adoptView: b9,rememberReturn: (e) => W({ followDetailReturnPath: e }),- close: () => void rze(),+ close: () => void cze(),open: (e, t, n) => void w9(e, !0, t, n),drawer: H5,openAuthor: (e) => Q.navigatePath(Pn("creator", e))@@ -83051,7 +83064,7 @@ function aze() {canFlip: $.followFeedActions.canFlip});}-function oze() {+function dze() {$.controller = Ma({location: () => location,view: y9,@@ -83069,14 +83082,14 @@ function oze() {preferences: () => ({selectMode: Ql,selected: Zl,- photoSize: bM(),- photoLayout: xM(),+ photoSize: SM(),+ photoLayout: CM(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: x9,push: S9,route: (e) => {- Q.route(e), lm("follow", {+ Q.route(e), mm("follow", {view: y9(),seed: gu,revision: _u@@ -83090,13 +83103,13 @@ function oze() {},syncPhotoWalls: c5,scrollTop: () => {- pm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));+ vm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));}}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function sze() {- ZEe(), Qc(document), Ro(document.documentElement, { variant: "page" }), Ro(L("#drawerScroll")), R8.own(Yc()), Wa(document.body), X.homeHasFeed = uLe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, R5.sidebarProps = {+function fze() {+ nDe(), Qc(document), Ro(document.documentElement, { variant: "page" }), Ro(L("#drawerScroll")), R8.own(Yc()), Wa(document.body), X.homeHasFeed = hLe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, R5.sidebarProps = {content: null,filters: {},latest: null@@ -83107,19 +83120,19 @@ function sze() {], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/application/tutorial.js-async function cze() {- CU({ reopen: !0 });+async function pze() {+ TU({ reopen: !0 });}-function lze() {+function mze() {let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";- W({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => CU()), CU({ invitation: !0 }), t && e.searchParams.delete("onboarding");+ W({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => TU()), TU({ invitation: !0 }), t && e.searchParams.delete("onboarding");let n = e.searchParams.get("agentation");try {localStorage.removeItem("peach.agentation");} catch {}- n !== null && e.searchParams.delete("agentation"), e.href !== location.href && kp(e, {+ n !== null && e.searchParams.delete("agentation"), e.href !== location.href && Pp(e, {replace: !0,- state: Op.navigation.location.state+ state: Np.navigation.location.state}), n === "on" && import("/dev/agentation.js").catch(() => {});}// src/react/search/recommendations.ts@@ -83174,15 +83187,15 @@ var T9 = [size: 5}];-function uze() {+function hze() {return T9.map((e) => ({...e,items: [],pending: !0}));}-var dze = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), E9 = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";-async function fze(e) {+var gze = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), E9 = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";+async function _ze(e) {let t = await e("/api/search/recommendations"), n = (e, t, n, r = "") => ({value: String(e.code || e.display_title || e.title || e.name || "未命名作品"),id: e.id,@@ -83217,7 +83230,7 @@ async function fze(e) {avatar_focus: n.avatar_focus,rep: n.has_avatar ? n.rep : null,works: [e],- subtitle: r ? `最新作 ${r.code || "无番号"} · ${dze(r.release_date)}` : "最新作未取得"+ subtitle: r ? `最新作 ${r.code || "无番号"} · ${gze(r.release_date)}` : "最新作未取得"});}a.performer = o && [...s.values()];@@ -83272,7 +83285,7 @@ async function fze(e) {};}// src/application/search-morph.js-function pze(e, t, n, r, i, a, o) {+function vze(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);@@ -83297,7 +83310,7 @@ var D9 = {function O9() {D9.searchControl?.close();}-function mze(e) {+function yze(e) {let t = e ? to({...e,is_jav: !!e.code@@ -83316,7 +83329,7 @@ function A9(e) {if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Uc();t.classList.add("search-morphing");- let h = t.animate(pze(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(vze(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -83325,13 +83338,13 @@ function A9(e) {D9.searchMorph === h && k9();});}-function hze() {+function bze() {return e9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;}-function gze(e) {+function xze(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function _ze() {+function Sze() {D9.searchControl = null, D9.searchActions = {search: (e) => {X.rememberSearchValue(), r9(!1), U.q = e, Su(), Q.route(U.jav === "1" ? m7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);@@ -83343,11 +83356,11 @@ function _ze() {$.followMediaView = t, w9(e, !0, n);}}, D9.searchHelpers = {- pool: () => Sxe(U, Tn),- recommendations: () => fze(Tn),- pendingRecommendations: uze,+ pool: () => Dxe(U, Tn),+ recommendations: () => _ze(Tn),+ pendingRecommendations: hze,rollPlaceholder: (e, t) => Qs(e, t),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : mze(e)}</span>`,+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : yze(e)}</span>`,present: (e) => cs(e),dismiss: (e) => ls(e),wireScroller: (e) => Ac(e),@@ -83362,7 +83375,7 @@ function _ze() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, mp("search", {+ }, yp("search", {input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,actions: D9.searchActions,@@ -83381,7 +83394,7 @@ function _ze() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function vze() {+function Cze() {D9.searchMorph = null, D9.searchMorphViewport = innerWidth, R8.listen.bind(R8, window)("resize", () => {innerWidth !== D9.searchMorphViewport && (D9.searchMorphViewport = innerWidth, k9());}, { passive: !0 }), R8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), R8.handler(L("#searchBtn"), "onclick", () => {@@ -83423,7 +83436,7 @@ function vze() {}return;}- if (gze(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (xze(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) {@@ -83431,26 +83444,26 @@ function vze() {return;}}- let t = hze();+ let t = bze();if (t) {if (e.key === "t" || e.key === "T") {e.preventDefault(), i8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), cP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), uP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), sP(t);+ e.preventDefault(), lP(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), SN(t, ".vjs-mute-control");+ e.preventDefault(), wN(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), SN(t, ".vjs-fullscreen-control");+ e.preventDefault(), wN(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {@@ -83461,7 +83474,7 @@ function vze() {});}// src/history/links.ts-function yze(e) {+function wze(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;@@ -83484,23 +83497,23 @@ var j9 = {shellActions: void 0,routing: void 0};-function bze() {+function Tze() {let e = R8, t = (e) => {e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? w9(e.id, !1) : i9(e.queue, e.key, e.item, !1);};- if (lLe(), N5.entityShapesReady = K8(), ZLe(), location.pathname === "/") {+ if (mLe(), N5.entityShapesReady = K8(), nRe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, Q5(L("#catalogPageHeading"), e.get("q")));}- Q8(decodeURIComponent(location.pathname)) && Y8(L("#feedNew")), aRe(), j9.shellActions = {+ Q8(decodeURIComponent(location.pathname)) && Y8(L("#feedNew")), uRe(), j9.shellActions = {openSettings: (e) => q5(e, !0),closeSettings: () => u8()?.close(!1),openItem: (e) => void s9(e),openEntity: (e, t) => void g5(e, t),openTag: (e) => {- tRe(), N7(e);+ oRe(), N7(e);},- openTasteSignal: TLe,+ openTasteSignal: ALe,navigate: (e) => {let n = new URL(e, location.href), r = zf(n.pathname, n.search);if (r) {@@ -83508,8 +83521,8 @@ function bze() {h9(n.pathname + n.search + n.hash, e, () => t(r));} else if (n.hash && n.pathname === location.pathname && n.search === location.search && !Bf(location.pathname)) {Q.route(e);- let t = Op.navigation.seq;- Np(n.hash, () => Op.navigation.seq === t);+ let t = Np.navigation.seq;+ Rp(n.hash, () => Np.navigation.seq === t);} else Q.navigatePath(e);},openManage: t7,@@ -83519,9 +83532,9 @@ function bze() {toast: (e, t) => S8.toast(e, t),failure: S8.actionFailure,revealSource: d5,- reopenTutorial: cze,- routeReview: OLe,- routeFollowManage: WLe,+ reopenTutorial: pze,+ routeReview: NLe,+ routeFollowManage: YLe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},@@ -83532,10 +83545,10 @@ function bze() {},exitSelectMode: () => E5(!1, !1),personAvatar: (e, t, n) => k5.personAvatar(e, t, n),- authorAvatar: (e) => KLe(e),- showIndexTags: qLe,+ authorAvatar: (e) => ZLe(e),+ showIndexTags: QLe,openFollowAuthor: M5,- openFollowTag: JLe,+ openFollowTag: $Le,openPlaylist: (e, t) => void a9(e, t, !0),canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {@@ -83555,7 +83568,7 @@ function bze() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, Op.navigation.claimed && (!Ap() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Ap() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, Np.navigation.claimed && (!Fp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Fp() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {e9.stageOpen() && r9(!1);@@ -83587,7 +83600,7 @@ function bze() {open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (g9(), d7(), Z5()), t && O8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), p9(), j7(), Z.handOff(I7())),load: () => Z.handOff(I7()),fill: () => {- if (V7() || !Ap() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (V7() || !Fp() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));},@@ -83596,23 +83609,23 @@ function bze() {}}}, j9.routing = !1, e.listen(document, "click", (e) => {- let t = yze(e);+ let t = wze(e);t && (e.preventDefault(), j9.shellActions.navigate(t));- }), R8.own(Op.listen((e) => {+ }), R8.own(Np.listen((e) => {Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Bf(e.location.pathname) && r9(!1), j9.routing && !e.claimed && g9();- })), DIe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), cRe(), RLe(), Y5(), Promise.all([+ })), MIe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), pRe(), ULe(), Y5(), Promise.all([J7(),- oRe(),+ dRe(),N5.entityShapesReady]).then(() => {- e.isActive && (N5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), p9(), LRe(), j9.routing = !0, W({ pageOpens: 1 }), g9(), f7());+ e.isActive && (N5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), p9(), HRe(), j9.routing = !0, W({ pageOpens: 1 }), g9(), f7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar M9 = !1;-async function xze(e, t) {+async function Eze(e, t) {if (M9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -83634,7 +83647,7 @@ async function xze(e, t) {}}// src/application/chrome.js-function Sze() {+function Dze() {(() => {let e = R8, t = ["#brandHome",@@ -83734,14 +83747,14 @@ function Sze() {(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" && xze(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), lM();+ t.getAttribute("aria-pressed") !== "true" && Eze(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), dM();});- })), lM();+ })), dM();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 = fs(g, v, _);- e.own(y.dispose), e.own(Lle(v)), PIe({+ e.own(y.dispose), e.own(Ble(v)), zIe({root: _,store: Z.settingsStore,openDetails: () => {@@ -83883,16 +83896,50 @@ function Sze() {}})(), G5(!W5() && sessionStorage.getItem("board.sidebar") !== "closed");}+// src/navigation-progress.ts+var Oze = 200, kze = 400, Aze = 240;+function jze() {+ let e = document.createElement("div");+ e.className = "navprogress", e.setAttribute("aria-hidden", "true"), e.append(document.createElement("i")), document.body.append(e);+ let t = /* @__PURE__ */ new Set(), n = 0, r = 0, i = 0, a = !1, o = () => up() || t.size > 0, s = () => {+ if (o()) {+ if (clearTimeout(r), r = 0, e.dataset.state) {+ e.dataset.state = "running";+ return;+ }+ n ||= window.setTimeout(() => {+ n = 0, i = performance.now(), e.dataset.state = "running";+ }, Oze);+ } else clearTimeout(n), n = 0, !(e.dataset.state !== "running" || r) && (r = window.setTimeout(() => {+ e.dataset.state = "done", r = window.setTimeout(() => {+ r = 0, delete e.dataset.state;+ }, Aze);+ }, Math.max(0, kze - (performance.now() - i))));+ }, c = () => {+ a || (a = !0, queueMicrotask(() => {+ a = !1, s();+ }));+ }, l = (e) => {+ let { status: n, fetchStatus: r, errorUpdateCount: i } = e.state;+ n === "pending" && r === "fetching" && !i && e.getObserversCount() > 0 ? t.add(e) : t.delete(e);+ }, u = H.getQueryCache().subscribe((e) => {+ e.type === "removed" ? t.delete(e.query) : l(e.query), c();+ }), d = dp(c);+ for (let e of H.getQueryCache().getAll()) l(e);+ return c(), () => {+ u(), d(), clearTimeout(n), clearTimeout(r), e.remove();+ };+}// src/application/initialize.js-function Cze() {- sze(), qRe(), QLe(), JRe(), zRe(), FIe(), ARe(), lze(), SLe(), GRe(), zLe(), jRe(), hLe(), kLe(), aze(), YLe(), CLe(), oze(), XLe(), wLe(), mRe(), MRe(), _ze(), KRe(), vze(), BRe(), bze(), Sze(), R8.own(R7), R8.own(m9);+function Mze() {+ fze(), QRe(), rRe(), $Re(), WRe(), BIe(), FRe(), mze(), DLe(), XRe(), WLe(), IRe(), bLe(), PLe(), uze(), eRe(), OLe(), dze(), tRe(), kLe(), yRe(), LRe(), Sze(), ZRe(), Cze(), GRe(), Tze(), Dze(), R8.own(jze()), R8.own(R7), R8.own(m9);}// src/ui-kit/middle-truncate.ts-var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {+var Nze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {if (t >= e.length) return e.join("");let n = Math.ceil(t / 2), r = Math.floor(t / 2);- return e.slice(0, n).join("") + wze + (r ? e.slice(-r).join("") : "");-}, Tze = (e, t) => {+ return e.slice(0, n).join("") + Nze + (r ? e.slice(-r).join("") : "");+}, Pze = (e, t) => {if (!e.length || t(e.join(""))) return e.length;let n = 0, r = e.length - 1, i = 0;for (; n <= r;) {@@ -83900,21 +83947,21 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vt(V9(e, a)) ? (i = a, n = a + 1) : r = a - 1;}return i;-}, Eze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿-]/u, Dze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, Oze = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, kze = /[-]/u, Aze = (e) => Dze.test(e) ? 1 : Oze.test(e) && !kze.test(e) ? 2 : 0, jze = (e) => {+}, Fze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿-]/u, Ize = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, Lze = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, Rze = /[-]/u, zze = (e) => Ize.test(e) ? 1 : Lze.test(e) && !Rze.test(e) ? 2 : 0, Bze = (e) => {let t = 0, n = 0;for (let r of e) {- let e = Aze(r);+ let e = zze(r);n && e && n !== e && t++, n = e;}return t;-}, Mze = null, Nze = (e, t) => {- let n = getComputedStyle(e), r = (Mze ||= document.createElement("canvas")).getContext("2d");+}, Vze = null, Hze = (e, t) => {+ let n = getComputedStyle(e), r = (Vze ||= document.createElement("canvas")).getContext("2d");if (!r) return () => Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = parseFloat(n.letterSpacing), a = parseFloat(n.wordSpacing), o = n.getPropertyValue("text-autospace"), s = t && o && o !== "no-autospace" ? (parseFloat(n.fontSize) || 0) / 8 : 0;return (e) => {let t = r.measureText(e).width;- return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += jze(e) * s), t;+ return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += Bze(e) * s), t;};}, H9 = ["font-family",@@ -83941,7 +83988,7 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v"text-autospace","text-spacing-trim","white-space-collapse"-], U9 = null, Pze = (e) => {+], U9 = null, Uze = (e) => {if (!U9) {let e = document.createElement("div");e.setAttribute("aria-hidden", "true"), e.dataset.middleTruncateProbe = "", e.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none;contain:strict", U9 = {@@ -83952,8 +83999,8 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vU9.box.isConnected || document.documentElement.append(U9.box);let t = getComputedStyle(e), n = H9.map((e) => t.getPropertyValue(e)), r = e.closest("[lang]")?.getAttribute("lang") || "", i = n.join("\n") + "\n" + r, a = U9.groups.get(i);return a || (a = document.createElement("div"), n.forEach((e, t) => a.style.setProperty(H9[t], e)), a.lang = r, U9.box.append(a), U9.groups.set(i, a)), a;-}, Fze = 8, Ize = (e) => {- for (let t = 0; e.length && t < Fze; t++) {+}, Wze = 8, Gze = (e) => {+ for (let t = 0; e.length && t < Wze; t++) {let t = e.map((e) => e.tries.map((t) => {let n = document.createElement("span");return n.style.cssText = "display:block;width:max-content;text-wrap-mode:nowrap", n.textContent = V9(e.fit.parts, t), e.group.append(n), n;@@ -83971,28 +84018,28 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v])].filter((t) => t > e.fits && t < e.fails), !0;});}-}, Lze = (e) => {+}, Kze = (e) => {let t = [];for (let n of e) {- let e = n.state.full, r = Eze.test(e), i = Nze(n.element, r);- if (n.kept = Tze(n.parts, (e) => i(e) <= n.available), !r) continue;+ let e = n.state.full, r = Fze.test(e), i = Hze(n.element, r);+ if (n.kept = Pze(n.parts, (e) => i(e) <= n.available), !r) continue;let a = [n.kept, n.kept + 1].filter((e) => e > 0 && e <= n.parts.length);t.push({fit: n,- group: Pze(n.element),+ group: Uze(n.element),fits: 0,fails: n.parts.length + 1,tries: a});}- Ize(t);-}, Rze = (e) => {+ Gze(t);+}, qze = (e) => {let t = getComputedStyle(e), n = parseFloat(t.width);if (!Number.isFinite(n)) return e.clientWidth;let r = t.boxSizing === "border-box" ? n - (parseFloat(t.borderLeftWidth) || 0) - (parseFloat(t.borderRightWidth) || 0) : n + (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0);return Math.max(e.clientWidth, r + 1 / 64);-}, zze = (e) => {- if (e.dataset.middleTruncateWithin === void 0) return Rze(e);+}, Jze = (e) => {+ if (e.dataset.middleTruncateWithin === void 0) return qze(e);let t = e.parentElement;if (!t) return e.clientWidth;let n = getComputedStyle(t), r = parseFloat(n.columnGap) || 0, i = 0, a = 0;@@ -84001,7 +84048,7 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vn === 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);-}, Bze = () => {+}, Yze = () => {I9 = 0;let e = [];for (let t of F9) {@@ -84009,12 +84056,12 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vn && t.isConnected && e.push({element: t,state: n,- available: zze(t),+ available: Jze(t),parts: B9(n.full),kept: 0});}- F9.clear(), Lze(e.filter((e) => e.available > 0));+ F9.clear(), Kze(e.filter((e) => e.available > 0));for (let { element: t, state: n, available: r, parts: i, kept: a } of e) {let e = r > 0 ? V9(i, a) : n.full;n.rendered = e, t.textContent !== e && (t.textContent = e);@@ -84022,7 +84069,7 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vt.classList.toggle("middle-truncated", o), t.setAttribute("aria-label", n.full), t.hasAttribute("title") && t.dataset.middleTitle !== "true" || (t.title = n.full, t.dataset.middleTitle = "true");}}, W9 = (e) => {- P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(Bze));+ P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(Yze));}, G9 = (e) => {e instanceof HTMLElement && (P9.has(e) || P9.set(e, {full: e.textContent || "",@@ -84033,7 +84080,7 @@ var wze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(vlet t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function Vze(e = document) {+function Xze(e = document) {z9?.(), L9 = /* @__PURE__ */ new WeakSet();let t = !0;R9 = new ResizeObserver((e) => e.forEach((e) => {@@ -84100,7 +84147,7 @@ var q9 = ["jav-detail","wants","index"-], Hze = {+], Zze = {catalog: [...q9,...J9,@@ -84121,10 +84168,10 @@ var q9 = ["avatar-choices"]};-function Uze() {+function Qze() {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 Hze[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of Zze[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -84137,12 +84184,12 @@ function Uze() {})), t || Promise.resolve();};}-function Wze() {+function $ze() {let e = Ft({- queryKey: KI,- queryFn: ({ signal: e }) => JI(e),- refetchInterval: (e) => qI(e.state.data)- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(Uze), r = e.data?.result_versions;+ queryKey: JI,+ queryFn: ({ signal: e }) => XI(e),+ refetchInterval: (e) => YI(e.state.data)+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(Qze), r = e.data?.result_versions;return (0, F.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -84152,52 +84199,52 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function Gze() {+function eBe() {if (!X9) {- let e = ZIe();+ let e = nLe();X9 = {effects: e,owners: 0- }, e.own(Vze(document)), e.own(() => {+ }, e.own(Xze(document)), e.own(() => {Nl(), H.cancelQueries();- }), e.own(OIe), e.own(vp), e.own(os);+ }), e.own(NIe), e.own(Cp), e.own(os);}return X9.owners += 1, X9.effects.resume(), X9;}-function Kze() {+function tBe() {let [e, t] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {- let e = X9 === null, n = Gze(), r = EIe(t);+ let e = X9 === null, n = eBe(), r = jIe(t);if (e) try {- Cze();+ Mze();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, I.jsx)(ebe, {+ }, []), /* @__PURE__ */ (0, I.jsx)(abe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, I.jsx)(Wze, {}) : null+ background: e ? /* @__PURE__ */ (0, I.jsx)($ze, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function qze(e) {+function nBe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, zt.createRoot)(e, tbe);+ let n = (0, zt.createRoot)(e, obe);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, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(Kze, {}))), n;+ }, (0, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(tBe, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-qze($9);-export { HL as $2ec61d1d4f780267$export$a8a3e93435678ff9, XL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, pz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, TD as $72abaeab4d80592f$export$78efe591171d7d45, aB as $76d00c5a4edb230a$export$76ccd210b9029917, nB as $76d00c5a4edb230a$export$816b5d811295e6bc, cB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, uB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, tB as $76d00c5a4edb230a$export$f850895b287ef28e, khe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Ohe as $b4f18e3395fe64d7$export$3e41faf802a29e71, The as $b4f18e3395fe64d7$export$b2539bed5023c21c, mB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Mhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, fE as $ea3928288112382f$export$439d29a4e110a164, Ez as $f2ff30fde7b014be$export$3ddf2d174ce01153, Nz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Pz as $fe21c36db05242bb$export$d7b12c4107be0d61, dge as $l, qj as ACCENTS, fAe as AMANE_BRIDGE_CHECK_URL, R$ as AMANE_BRIDGE_KEY, pAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, JU as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, bL as ButtonLink, KB as Bx, p$ as CLEANUP_ENTRY, f$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, U1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, t1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, mAe as COOKIE_TEXT_LIMIT, L$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, N$ as CUSTOM_SOURCES_KEY, M$ as CUSTOM_SOURCES_URL, dG as CatalogViewToggle, BV as Checkbox, zV as CheckboxGlyph, AV as ChevronSortDown, qU as Chip, nW as CloudDownloadDialog, PH as CollapseChevron, NH as CollapseRegion, o$ as CollectionSummary, Gwe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, WTe as DIRECTORY_TEMPLATE_ERROR, lW as DISCOVERY_SORTS, XU as DOWNLOADS_KEY, YU as DOWNLOADS_URL, pY as DUPLICATES_KEY, qJ as DataTableFooter, UJ as DataTableFrame, KJ as DataTableSort, BH as Disclosure, aye as DownloadsPanel, nge as E3, Kwe as ENTITY_REVIEW_KINDS, V1 as ENTRY_LINKS_HELP, H1 as ENTRY_LINKS_HINT, RB as Ea, Ige as EmptyFocusButton, fV as EmptyState, RH as ErrorText, Q_e as ExternalLink, Vr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, u$ as FIELDSET_FOOT, MFe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, tve as Fact, eve as FactList, zH as FieldLabel, C$ as Fieldset, S$ as FieldsetTitle, Epe as FilterGlass, pL as FilterGlassRows, fL as FilterIconButton, mL as FilterPill, Z_e as Footer, UB as Gg, hL as GlassPill, XB as HN, LH as Help, rV as HintText, wFe as IDLE_POLL_MS, Pwe as IDLE_REPAIR, cL as IconButton, PQ as IndexSearch, cV as Input, sV as InputBase, T$ as IssueRow, dM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, EX as JUNK_KEY, vW as JavHeader, Owe as KEEP_LABELS, Ur as LAYOUTS, B1 as LIBRARY_FOLDER_HELP, $V as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, gTe as LINK_KINDS, VY as LINK_PRUNE_KEY, nr as LOC, nV as Label, O$ as LibraryProcessingCard, kV as LibraryShortcuts, hH as LinkButton, pge as Lo, OH as LoadingDots, rge as M6, xTe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, PV as MENU_ITEM, FV as MENU_ITEM_INTERACTIVE, NV as MENU_POPOVER_SURFACE, hge as Ma, yH as MenuDialog, xK as MixCard, lV as ModalFrame, Sx as MotionConfigContext, eV as NR, w$ as NameLink, dV as Note, Mge as OA, oX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, lX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, VB as OV, EB as P7, CX as PERFORMER_DELETE_KEY, mye as PHASES, JY as PICK_FOLDER_URL, h$ as PLAIN_STAT_STRIP, A$ as PLAYLISTS_KEY, yje as POLICY_COLUMNS, xje as POLICY_COVER_NOTE, bje as POLICY_MATRIX, z1 as POLICY_SUMMARY, GJ as Pagination, D$ as PathLine, QB as Pf, LI as PillTabList, Pke as PlainStat, AH as Progress, CY as QUALITY_GOALS_KEY, ZB as RB, M0 as RELEASE_COLUMN_VISIBILITY_KEY, j0 as RELEASE_COLUMN_WIDTHS_KEY, uW as RELEASE_SORTS, Yje as RELEASE_SORT_COLUMNS, _$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, Bke as RESULT_PANEL, Vke as RESULT_SECTION, Wwe as REVIEW_CATEGORIES, TX as REVIEW_COUNTS_KEY, qwe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, HG as RetryNote, jge as Rf, tV as Rk, J_e as Rows, uAe as SCRAPING_CHECK_URL, F$ as SCRAPING_COVER_URL, I$ as SCRAPING_KEY, lAe as SCRAPING_SETTINGS_URL, oU as SEGMENT, aU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, x3 as STATS_KEY, Mke as STAT_STRIP, Nke as STAT_STRIP_SIX, q_e as Section, Hke as SectionHeading, X_e as SectionSkeleton, iU as SegmentedRadioGroup, gve as SegmentedTabList, FG as Segments, WJ as Select, WU as Select$1, a1 as SelectField, GU as SelectItem, eY as SelectionActions, Tj as SelectionDock, tY as SelectionPopover, FH as SettingsCard, K_e as SettingsRow, IH as SettingsSectionLabel, IG as Shuffle, ave as SiteLabel, pG as SortDirectionIcon, LG as SortKeys, hQ as SourceAvatar, WH as SourceLabel, VH as SourceMark, Y_e as Stack, Fke as StatCard, E$ as StatusLabel, Oge as Su, $2 as Switch, KI as TASKS_KEY, pFe as TASTE_REFRESH_KEY, mFe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, OX as TRASH_KEY, ape as TRIGGER_LABELS, MJ as Table, nY as TableColumnControls, rY as TableColumnResizer, aY as TableSelectionHeader, t$ as TagManager, $_e as TaskCenterLink, jH as TaskProgress, aV as TextField, iV as TextFieldContext, zB as Un, iW as WANTS_KEY, m4 as WantMagnets, Kg as WithPromise, AB as Wt, LB as Xc, $B as Xf, MB as Xl, jB as Xt, OB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Age as aB, Ei as addAlias, Ti as addSource, oW as addWant, dS as animate, B as apiGet, V as apiSend, aM as appSettingsStore, lEe as applyConfirmText, SX as applyLeftovers, cEe as applyPlanText, dEe as applyText, lM as applyTheme, vy as asNumber, ZTe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, bq as autoResetPageIndex, _o as avatarInner, D3 as bandRows, GTe as baseName, Nwe as batchOperate, Cue as beginPlayerGuidePreview, Aj as boundedPreference, Awe as bulkCloudPreferences, gV as busyProps, kge as cB, HNe as cachedMagnetStates, Bg as calcGeneratorVelocity, eTe as canApprove, mg as cancelFrame, nEe as candidateText, wU as cardClass, wM as cardRatio, BJ as catalogListSkeletonCellHtml, IB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, bTe as checkLine, Hi as checkReceipt, Ui as checkSummary, gAe as checkText, Ki as checkedText, cK as clickedBlank, K5 as closeDrawerAfterNav, Swe as cloudLocations, b0 as cloudProxySkeleton, GC as clsx, vge as cn, sv as collectMotionValues, Bq as columnVisibilityFeature, DJ as column_getCanSort, CJ as column_getSortFn, Qwe as commonReviewSources, Af as configurationSection, vFe as configureTasteBrowser, ll as confirmModal, rpe as controlTask, nq as copyInstancePropertiesWithoutMemos, lo as coverUrl, jq as createColumnHelper, rAe as createPlaylist, Xi as credentialDone, g0 as credentialsSkeleton, lTe as currentReviewRow, q as cx, GB as dZ, oTe as decisionPayload, sTe as decisionReceipt, aTe as defaultChoice, pEe as deletePerformerVideos, aAe as deletePlaylist, x as diagnosticHeaders, R1 as diagnosticsSkeleton, Cye as discoveryArtwork, dW as discoveryKey, bye as discoveryScore, r9 as disposeStage, Ewe as distinctName, Bi as dropSources, Dge as du, jwe as duplicateVictims, $I as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, yq as expandRowModel, yB as f1, bo as facePos, ei as feedIntervalText, V$ as fetchAmaneBridge, vi as fetchCheckJob, n1 as fetchConfiguration, B$ as fetchCoverJob, _i as fetchCredentials, P$ as fetchCustomSources, wX as fetchDeletePerformers, fEe as fetchDeletePlan, NQ as fetchDiagnostics, fW as fetchDiscoveries, hY as fetchDuplicates, $fe as fetchEarlier, wTe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, CTe as fetchFollowSchedule, AX as fetchJunkSummary, sH as fetchLibraryProcessing, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, STe as fetchMediaProcessing, bY as fetchMediaRepair, br as fetchMediaSources, sX as fetchOrganize, LTe as fetchOrganizeExample, uX as fetchOrphanRecords, ji as fetchPending, j$ as fetchPlaylists, wY as fetchQualityGoals, hW as fetchReleases, xY as fetchRepairLibraries, yi as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, kX as fetchReviewCounts, iX as fetchSettings, z$ as fetchSources, S3 as fetchStats, bi as fetchSuggestions, JI as fetchTasks, q3 as fetchTaste, yFe as fetchTasteJob, TTe as fetchThumbnailJobs, jX as fetchTrashSummary, aW as fetchWants, Xwe as filterReviewRows, er as firstGrapheme, RK as flexRender, PFe as flowGraph, FFe as flowLabel, NPe as fmtCount, Jn as fmtDur, Xn as fmtSize, Qfe as foldByKind, hpe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, _pe as followupDetail, Zfe as followupTally, pg as frame, wB as g4, Uq as getDefaultPaginationState, CM as gridLayout, li as groupByAuthor, mpe as groupFollowups, NY as groupReviewRows, oEe as hasChanges, _X as hasResourceRoots, XI as hasResultProblems, TFe as historySpan, bB as i2, CFe as importTasteExport, _0 as indexersSkeleton, Ig as interpolate, cW as invalidateWants, QI as isActive, $r as isBroken, qr as isLayout, vv as isMotionValue, OY as isReviewCategory, gpe as isRoutine, v0 as javBrowserSkeleton, L0 as javContentSkeleton, gM as javLayout, I0 as javTagSkeleton, vEe as junkBreakdown, oAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, C3 as known, Qhe as l7, ppe as latestOfKind, $n as leadingGraphemes, GPe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, TB as m7, WB as mM, Dn as mapLimit, Ai as markItem, O3 as max, UPe as mediumRows, epe as mergeFinished, k3 as min, mTe as mirrorText, Lwe as missingToolText, gY as mixedCloudPreferences, rL as momentText, fS as motion, lv as motionValue, rn as nameFallback, Ue as notifyManager, ige as oe, qTe as organizeOutcome, $0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Op as peachHistory, Op as peachHistory$1, iTe as pendingGenres, FPe as percentText, BTe as pickOrganizeFolder, m$ as plainStatClass, KTe as planSummary, w3 as playedFor, LPe as playedItemUrl, qI as pollInterval, Ys as popCount, nAe as posterUrl, Kbe as previewLibraryColor, zTe as previewOrganize, Bwe as previewUrl, dpe as problemDestination, nH as processingActive, eL as progressText, UH as providerIcon, yTe as pruneText, yX as purgeCount, QTe as purgeOrphan, qB as pv, Ege as qE, H as queryClient, xB as r2, jFe as radarRows, BPe as radialArc, VPe as radialBarSize, zPe as radialCeiling, RPe as radialSlices, zN as randomId, kFe as rankDetail, AFe as rankShares, E3 as reachedShare, tL as readableErrorHeadline, xye as recommendationScore, uTe as recordGenre, eEe as recordsText, sAe as recreatePlaylist, eAe as refreshPlaylists, El as relayoutCovers, N0 as releaseColumns, pW as releaseFilters, mW as releaseKey, Vi as reloadFollowManage, pTe as reloadReview, wje as rememberShape, HTe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, SFe as removeTasteSource, sW as removeWants, Oi as renameAliasGroup, iAe as renamePlaylist, Se as replaceEqualDeep, qPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, QK as require_with_selector, _ye as resetWants, mr as resolveFollowSort, Ug as resolveStartTime, O_e as restartEffectText, tAe as resumeAssetId, Ywe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, _Ee as reviewSummary, Zwe as reviewWindow, nTe as rowEvidence, FY as rowFieldName, Xq as rowPaginationFeature, _J as rowSelectionFeature, AJ as rowSortingFeature, PY as rowSubject, rTe as rowTags, tTe as rowTitle, Yhe as s5, ki as saveCredential, sEe as scanLine, ATe as schedulePollInterval, yye as searchNote, $we as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, fTe as settleReviewRows, Twe as sharedNamePrefix, kp as shellNavigate, x8 as showToast, Bn as siteMarkUrl, uq as skipFirstRun, FI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, uEe as sourceMeta, Bs as spinnerHtml, Pg as spring, mV as spriteGlyph, xi as startCheck, _Te as startLinkCheck, vTe as startLinkPrune, VTe as startOrganize, Si as startResolve, iEe as startResourceApply, rEe as startResourceScan, xFe as startTasteRefresh, jke as statCardClass, spe as statusLabel, Iwe as statusLine, Qr as statusText, TM as storeJavLayout, cTe as submitDecision, iL as summaryItems, Mq as tableFeatures, dq as tableMemo, di as tableRows, upe as taskIssues, fpe as taskSubject, J3 as tasteDate, DFe as tasteDimensions, EFe as tasteHours, K3 as tasteKey, gFe as tasteRefetchInterval, _Fe as tasteTime, VI as textLang, A0 as tierPlaceholdersHtml, rh as time, lge as tl, hi as toggleGroup, Y3 as topScores, bge as um, mge as uo, gH as useAction, AZ as useBackgroundJob, uG as useCatalogView, IU as useClientUpdates, hm as useConstant, aL as useEntityNames, dL as useHorizontalScroller, gm as useIsomorphicLayoutEffect, sK as useLibraryTints, It as useMutation, VV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, eS as useReducedMotion, kTe as useRunSchedule, DTe as useSaveFollowSchedule, aX as useSaveSettings, jTe as useSaveThumbnailMode, jJ as useTable, XJ as useTablePreferences, vL as useViewGlide, Mwe as victimBytes, uge as vl, vye as wantName, IPe as watchNote, T3 as watchedShare, Ac as wireHorizontalScroller, UTe as withOrganizeJob, Sye as writeJavQuery };+nBe($9);+export { WL as $2ec61d1d4f780267$export$a8a3e93435678ff9, QL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, hz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, DD as $72abaeab4d80592f$export$78efe591171d7d45, sB as $76d00c5a4edb230a$export$76ccd210b9029917, iB as $76d00c5a4edb230a$export$816b5d811295e6bc, uB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, fB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, rB as $76d00c5a4edb230a$export$f850895b287ef28e, Mhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, jhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ohe as $b4f18e3395fe64d7$export$b2539bed5023c21c, gB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Fhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, mE as $ea3928288112382f$export$439d29a4e110a164, Oz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Fz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Iz as $fe21c36db05242bb$export$d7b12c4107be0d61, mge as $l, Yj as ACCENTS, _Ae as AMANE_BRIDGE_CHECK_URL, R$ as AMANE_BRIDGE_KEY, vAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, XU as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, SL as ButtonLink, JB as Bx, p$ as CLEANUP_ENTRY, f$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, U1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, t1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, yAe as COOKIE_TEXT_LIMIT, L$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, N$ as CUSTOM_SOURCES_KEY, M$ as CUSTOM_SOURCES_URL, dG as CatalogViewToggle, HV as Checkbox, VV as CheckboxGlyph, MV as ChevronSortDown, YU as Chip, iW as CloudDownloadDialog, IH as CollapseChevron, FH as CollapseRegion, o$ as CollectionSummary, Xwe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, YTe as DIRECTORY_TEMPLATE_ERROR, dW as DISCOVERY_SORTS, QU as DOWNLOADS_KEY, ZU as DOWNLOADS_URL, pY as DUPLICATES_KEY, qJ as DataTableFooter, UJ as DataTableFrame, KJ as DataTableSort, HH as Disclosure, cye as DownloadsPanel, age as E3, Zwe as ENTITY_REVIEW_KINDS, V1 as ENTRY_LINKS_HELP, H1 as ENTRY_LINKS_HINT, BB as Ea, zge as EmptyFocusButton, mV as EmptyState, BH as ErrorText, tve as ExternalLink, Vr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, u$ as FIELDSET_FOOT, LFe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, ive as Fact, rve as FactList, VH as FieldLabel, C$ as Fieldset, S$ as FieldsetTitle, kpe as FilterGlass, hL as FilterGlassRows, mL as FilterIconButton, gL as FilterPill, eve as Footer, GB as Gg, _L as GlassPill, QB as HN, zH as Help, aV as HintText, kFe as IDLE_POLL_MS, zwe as IDLE_REPAIR, uL as IconButton, PQ as IndexSearch, uV as Input, lV as InputBase, T$ as IssueRow, pM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, EX as JUNK_KEY, bW as JavHeader, Nwe as KEEP_LABELS, Ur as LAYOUTS, B1 as LIBRARY_FOLDER_HELP, tH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, xTe as LINK_KINDS, VY as LINK_PRUNE_KEY, nr as LOC, iV as Label, O$ as LibraryProcessingCard, jV as LibraryShortcuts, _H as LinkButton, gge as Lo, AH as LoadingDots, oge as M6, ETe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, IV as MENU_ITEM, LV as MENU_ITEM_INTERACTIVE, FV as MENU_POPOVER_SURFACE, vge as Ma, xH as MenuDialog, xK as MixCard, dV as ModalFrame, Tx as MotionConfigContext, nV as NR, w$ as NameLink, pV as Note, Fge as OA, oX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, lX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, UB as OV, OB as P7, CX as PERFORMER_DELETE_KEY, _ye as PHASES, JY as PICK_FOLDER_URL, h$ as PLAIN_STAT_STRIP, A$ as PLAYLISTS_KEY, wje as POLICY_COLUMNS, Eje as POLICY_COVER_NOTE, Tje as POLICY_MATRIX, z1 as POLICY_SUMMARY, GJ as Pagination, D$ as PathLine, eV as Pf, zI as PillTabList, zke as PlainStat, MH as Progress, CY as QUALITY_GOALS_KEY, $B as RB, M0 as RELEASE_COLUMN_VISIBILITY_KEY, j0 as RELEASE_COLUMN_WIDTHS_KEY, fW as RELEASE_SORTS, eMe as RELEASE_SORT_COLUMNS, _$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, Gke as RESULT_PANEL, Kke as RESULT_SECTION, Ywe as REVIEW_CATEGORIES, TX as REVIEW_COUNTS_KEY, Qwe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, HG as RetryNote, Pge as Rf, rV as Rk, Z_e as Rows, hAe as SCRAPING_CHECK_URL, F$ as SCRAPING_COVER_URL, I$ as SCRAPING_KEY, mAe as SCRAPING_SETTINGS_URL, cU as SEGMENT, sU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, x3 as STATS_KEY, Lke as STAT_STRIP, Rke as STAT_STRIP_SIX, X_e as Section, qke as SectionHeading, $_e as SectionSkeleton, oU as SegmentedRadioGroup, yve as SegmentedTabList, FG as Segments, WJ as Select, KU as Select$1, a1 as SelectField, qU as SelectItem, eY as SelectionActions, Dj as SelectionDock, tY as SelectionPopover, LH as SettingsCard, Y_e as SettingsRow, RH as SettingsSectionLabel, IG as Shuffle, cve as SiteLabel, pG as SortDirectionIcon, LG as SortKeys, hQ as SourceAvatar, KH as SourceLabel, UH as SourceMark, Q_e as Stack, Bke as StatCard, E$ as StatusLabel, jge as Su, $2 as Switch, JI as TASKS_KEY, vFe as TASTE_REFRESH_KEY, yFe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, OX as TRASH_KEY, cpe as TRIGGER_LABELS, MJ as Table, nY as TableColumnControls, rY as TableColumnResizer, aY as TableSelectionHeader, t$ as TagManager, nve as TaskCenterLink, NH as TaskProgress, sV as TextField, oV as TextFieldContext, VB as Un, oW as WANTS_KEY, m4 as WantMagnets, Yg as WithPromise, MB as Wt, zB as Xc, tV as Xf, PB as Xl, NB as Xt, AB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Nge as aB, Ei as addAlias, Ti as addSource, cW as addWant, mS as animate, B as apiGet, V as apiSend, sM as appSettingsStore, mEe as applyConfirmText, SX as applyLeftovers, pEe as applyPlanText, gEe as applyText, dM as applyTheme, xy as asNumber, nEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, bq as autoResetPageIndex, _o as avatarInner, D3 as bandRows, XTe as baseName, Rwe as batchOperate, Eue as beginPlayerGuidePreview, Mj as boundedPreference, Fwe as bulkCloudPreferences, vV as busyProps, Mge as cB, qNe as cachedMagnetStates, Ug as calcGeneratorVelocity, aTe as canApprove, vg as cancelFrame, sEe as candidateText, EU as cardClass, EM as cardRatio, BJ as catalogListSkeletonCellHtml, RB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, TTe as checkLine, Hi as checkReceipt, Ui as checkSummary, xAe as checkText, Ki as checkedText, cK as clickedBlank, K5 as closeDrawerAfterNav, Dwe as cloudLocations, b0 as cloudProxySkeleton, qC as clsx, xge as cn, lv as collectMotionValues, Bq as columnVisibilityFeature, DJ as column_getCanSort, CJ as column_getSortFn, rTe as commonReviewSources, Af as configurationSection, CFe as configureTasteBrowser, ll as confirmModal, ope as controlTask, nq as copyInstancePropertiesWithoutMemos, lo as coverUrl, jq as createColumnHelper, cAe as createPlaylist, Xi as credentialDone, g0 as credentialsSkeleton, mTe as currentReviewRow, q as cx, qB as dZ, dTe as decisionPayload, fTe as decisionReceipt, uTe as defaultChoice, vEe as deletePerformerVideos, uAe as deletePlaylist, x as diagnosticHeaders, R1 as diagnosticsSkeleton, Eye as discoveryArtwork, pW as discoveryKey, Cye as discoveryScore, r9 as disposeStage, jwe as distinctName, Bi as dropSources, Age as du, Iwe as duplicateVictims, tL as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, yq as expandRowModel, xB as f1, bo as facePos, ei as feedIntervalText, V$ as fetchAmaneBridge, vi as fetchCheckJob, n1 as fetchConfiguration, B$ as fetchCoverJob, _i as fetchCredentials, P$ as fetchCustomSources, wX as fetchDeletePerformers, _Ee as fetchDeletePlan, NQ as fetchDiagnostics, mW as fetchDiscoveries, hY as fetchDuplicates, npe as fetchEarlier, kTe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, OTe as fetchFollowSchedule, AX as fetchJunkSummary, lH as fetchLibraryProcessing, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, DTe as fetchMediaProcessing, bY as fetchMediaRepair, br as fetchMediaSources, sX as fetchOrganize, HTe as fetchOrganizeExample, uX as fetchOrphanRecords, ji as fetchPending, j$ as fetchPlaylists, wY as fetchQualityGoals, _W as fetchReleases, xY as fetchRepairLibraries, yi as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, kX as fetchReviewCounts, iX as fetchSettings, z$ as fetchSources, S3 as fetchStats, bi as fetchSuggestions, XI as fetchTasks, q3 as fetchTaste, wFe as fetchTasteJob, ATe as fetchThumbnailJobs, jX as fetchTrashSummary, sW as fetchWants, tTe as filterReviewRows, er as firstGrapheme, RK as flexRender, zFe as flowGraph, BFe as flowLabel, RPe as fmtCount, Jn as fmtDur, Xn as fmtSize, tpe as foldByKind, vpe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, bpe as followupDetail, epe as followupTally, _g as frame, EB as g4, Uq as getDefaultPaginationState, TM as gridLayout, li as groupByAuthor, _pe as groupFollowups, NY as groupReviewRows, dEe as hasChanges, _X as hasResourceRoots, QI as hasResultProblems, AFe as historySpan, SB as i2, OFe as importTasteExport, _0 as indexersSkeleton, zg as interpolate, uW as invalidateWants, eL as isActive, $r as isBroken, qr as isLayout, xv as isMotionValue, OY as isReviewCategory, ype as isRoutine, v0 as javBrowserSkeleton, L0 as javContentSkeleton, vM as javLayout, I0 as javTagSkeleton, CEe as junkBreakdown, dAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, C3 as known, tge as l7, gpe as latestOfKind, $n as leadingGraphemes, XPe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, DB as m7, KB as mM, Dn as mapLimit, Ai as markItem, O3 as max, JPe as mediumRows, rpe as mergeFinished, k3 as min, yTe as mirrorText, Hwe as missingToolText, gY as mixedCloudPreferences, aL as momentText, hS as motion, dv as motionValue, rn as nameFallback, Ue as notifyManager, sge as oe, QTe as organizeOutcome, $0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Np as peachHistory, Np as peachHistory$1, lTe as pendingGenres, BPe as percentText, GTe as pickOrganizeFolder, m$ as plainStatClass, ZTe as planSummary, w3 as playedFor, HPe as playedItemUrl, YI as pollInterval, Ys as popCount, sAe as posterUrl, Zbe as previewLibraryColor, WTe as previewOrganize, Gwe as previewUrl, mpe as problemDestination, iH as processingActive, nL as progressText, GH as providerIcon, wTe as pruneText, yX as purgeCount, rEe as purgeOrphan, YB as pv, kge as qE, H as queryClient, CB as r2, IFe as radarRows, GPe as radialArc, KPe as radialBarSize, WPe as radialCeiling, UPe as radialSlices, VN as randomId, PFe as rankDetail, FFe as rankShares, E3 as reachedShare, rL as readableErrorHeadline, wye as recommendationScore, hTe as recordGenre, aEe as recordsText, fAe as recreatePlaylist, aAe as refreshPlaylists, El as relayoutCovers, N0 as releaseColumns, hW as releaseFilters, gW as releaseKey, Vi as reloadFollowManage, vTe as reloadReview, kje as rememberShape, qTe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, DFe as removeTasteSource, lW as removeWants, Oi as renameAliasGroup, lAe as renamePlaylist, Se as replaceEqualDeep, QPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, QK as require_with_selector, bye as resetWants, mr as resolveFollowSort, Kg as resolveStartTime, j_e as restartEffectText, oAe as resumeAssetId, eTe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, SEe as reviewSummary, nTe as reviewWindow, sTe as rowEvidence, FY as rowFieldName, Xq as rowPaginationFeature, _J as rowSelectionFeature, AJ as rowSortingFeature, PY as rowSubject, cTe as rowTags, oTe as rowTitle, Qhe as s5, ki as saveCredential, fEe as scanLine, FTe as schedulePollInterval, Sye as searchNote, iTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, _Te as settleReviewRows, Awe as sharedNamePrefix, Pp as shellNavigate, x8 as showToast, Bn as siteMarkUrl, uq as skipFirstRun, LI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, hEe as sourceMeta, Bs as spinnerHtml, Lg as spring, gV as spriteGlyph, xi as startCheck, STe as startLinkCheck, CTe as startLinkPrune, KTe as startOrganize, Si as startResolve, lEe as startResourceApply, cEe as startResourceScan, EFe as startTasteRefresh, Ike as statCardClass, upe as statusLabel, Vwe as statusLine, Qr as statusText, DM as storeJavLayout, pTe as submitDecision, oL as summaryItems, Mq as tableFeatures, dq as tableMemo, di as tableRows, ppe as taskIssues, hpe as taskSubject, J3 as tasteDate, MFe as tasteDimensions, jFe as tasteHours, K3 as tasteKey, xFe as tasteRefetchInterval, SFe as tasteTime, UI as textLang, A0 as tierPlaceholdersHtml, ch as time, fge as tl, hi as toggleGroup, Y3 as topScores, Cge as um, _ge as uo, vH as useAction, AZ as useBackgroundJob, uG as useCatalogView, RU as useClientUpdates, bm as useConstant, sL as useEntityNames, pL as useHorizontalScroller, xm as useIsomorphicLayoutEffect, sK as useLibraryTints, It as useMutation, UV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, rS as useReducedMotion, PTe as useRunSchedule, MTe as useSaveFollowSchedule, aX as useSaveSettings, ITe as useSaveThumbnailMode, jJ as useTable, XJ as useTablePreferences, bL as useViewGlide, Lwe as victimBytes, pge as vl, xye as wantName, VPe as watchNote, T3 as watchedShare, Ac as wireHorizontalScroller, JTe as withOrganizeJob, Tye as writeJavQuery };-//# debugId=5a9bc9b9-3012-4a6c-a6df-be4202ab4bcc\ No newline at end of file+//# debugId=5905c59e-bd37-4f38-bc3c-afe7cd7f4629\ No newline at end of file