Peach: Local-first video metadata scraper and media manager.
fix(web): 对齐新作标签并统一详情 Escape 请求
longmeidaob1fec6000b95
diff --git a/frontend/e2e/jav-detail.test.ts b/frontend/e2e/jav-detail.test.tsindex 84c4a8552..685f3552a 100644--- a/frontend/e2e/jav-detail.test.ts+++ b/frontend/e2e/jav-detail.test.ts@@ -104,7 +104,23 @@ describe('库外 JAV 作品详情', () => {await page.keyboard.press('Escape');await page.locator('[data-modal-surface]').waitFor({ state: 'detached' });await withPageDiagnostics(page, `焦点在 body 时 Escape 关掉了整个详情;弹层容器:${layers}`, async () => {- assert.equal(await page.locator('#stage[open]').count(), 1);+ assert.equal(await page.locator('#stage[open]').count(), 1, '焦点在 body 时 Escape 关掉了整个详情');+ });+ /* 固定从 body 发出键盘事件,焦点恢复不能把它变成弹层内的按键。 */+ await page.locator('[data-jav-actions]').getByRole('button', { name: '查找资源', exact: true }).click();+ await page.getByRole('heading', { name: '查找资源', exact: true }).waitFor();+ await page.locator('body').evaluate(node => node.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true, cancelable: true })));+ await page.locator('[data-modal-surface]').waitFor({ state: 'detached' });+ await withPageDiagnostics(page, '全局 Escape 只关里层弹层', async () => {+ assert.equal(await page.locator('#stage[open]').count(), 1, '全局键盘入口关掉了整个详情');+ });+ /* 直接触发原生关闭请求,使焦点恢复的快慢不能绕过 cancel 分支。 */+ await page.locator('[data-jav-actions]').getByRole('button', { name: '查找资源', exact: true }).click();+ await page.getByRole('heading', { name: '查找资源', exact: true }).waitFor();+ await page.locator('#stage').evaluate(node => node.dispatchEvent(new Event('cancel', { cancelable: true })));+ await page.locator('[data-modal-surface]').waitFor({ state: 'detached' });+ await withPageDiagnostics(page, '原生 cancel 只关里层弹层', async () => {+ assert.equal(await page.locator('#stage[open]').count(), 1, '原生 cancel 关掉了整个详情');});await page.locator('[data-jav-actions]').getByRole('button', { name: '想要', exact: true }).click();await page.locator('#toasts [data-sonner-toast]').filter({ hasText: '已加入想要' }).waitFor();@@ -233,6 +249,8 @@ describe('库外 JAV 作品详情', () => {});const stars = [...el.querySelectorAll('[data-jav-rating] [data-rate]')];const code = el.querySelector('[data-detail-title] b')!.getBoundingClientRect();+ const tag = el.querySelector('[data-jav-tags] [data-detail-tag]')!;+ const tagStyle = getComputedStyle(tag), detailStyle = getComputedStyle(el);const range = document.createRange();// 标题文字在带语言标记的 span 里:量它的第一个字。const text = el.querySelector('[data-detail-title] > span')!.firstChild!;@@ -241,7 +259,10 @@ describe('库外 JAV 作品详情', () => {icons: el.querySelectorAll('[data-stage-meta] [data-spec-item] svg').length,codeY: code.y, titleY: range.getBoundingClientRect().y,tag: el.querySelector('[data-jav-tags] [data-tag]')?.textContent,- tagCat: el.querySelector('[data-jav-tags] [data-tag-cat]')?.getAttribute('data-tag-cat') };+ tagCat: el.querySelector('[data-jav-tags] [data-tag-cat]')?.getAttribute('data-tag-cat'),+ tagShape: { height: parseFloat(tagStyle.height), radius: parseFloat(tagStyle.borderRadius), border: parseFloat(tagStyle.borderTopWidth) },+ tagTokens: { height: parseFloat(detailStyle.getPropertyValue('--control-h-inline')),+ radius: parseFloat(detailStyle.getPropertyValue('--tag-radius')), border: 1 } };});assert.equal(shared.faces.length, 3, '女优、未知出演者与厂牌各有独立身份格');assert.equal(await page.locator('[data-id-gender="male"]').count(), 0);@@ -267,6 +288,7 @@ describe('库外 JAV 作品详情', () => {assert.equal(shared.icons, 2);assert.ok(Math.abs(shared.codeY - shared.titleY) < 2, '番号与标题在同一行开始');assert.equal(shared.tag, '痴女'); assert.equal(shared.tagCat, 'role');+ assert.deepEqual(shared.tagShape, shared.tagTokens, '新作标签沿用本地详情的高度、圆角与边框');await page.locator('[data-id-gender="female"] [data-id-face] img').waitFor({ state: 'visible' });assert.equal(await page.locator('[data-id-cell="studio"]').evaluate(node => node.tagName), 'SPAN', '未登记厂牌只显示名称');assert.equal(await page.locator('[data-follow-image-dots] button').count(), 13);@@ -395,8 +417,10 @@ describe('库外 JAV 作品详情', () => {const values = commentFrames.map(frame => frame[field]);assert.ok(Math.max(...values) - Math.min(...values) < 1, `评论切换 ${field} 保持一致:${JSON.stringify(values)}`);}- await resourcesToggle.click();- await page.getByText('EXM-001 示例资源 1', { exact: false }).waitFor({ state: 'visible' });+ await withPageDiagnostics(page, '展开作品资源列表', async () => {+ await resourcesToggle.click();+ await page.getByText('EXM-001 示例资源 1', { exact: false }).waitFor({ state: 'visible' });+ });assert.equal(await page.locator('[data-jav-resources] [data-resource-protocol]:visible').count(), 3);await page.getByText('更多资源(3 条)', { exact: true }).click();await page.getByText('EXM-001 示例资源 6', { exact: true }).waitFor({ state: 'visible' });diff --git a/frontend/src/application/search.js b/frontend/src/application/search.jsindex ca4637f19..0d83e2e87 100644--- a/frontend/src/application/search.js+++ b/frontend/src/application/search.js@@ -147,7 +147,7 @@ applicationEffects.listen(document, 'keydown', e=>{if(mediaState.immerseOpen()){immerseApi().close();return}/* 详情开着:Escape 归舞台。焦点在浮窗里时舞台自己已经收了这一下;里层弹层(标签搜索框、右键菜单)先收掉的会 `preventDefault`,那一下只关弹层。焦点落在浮窗外(body)时在这里转给舞台。 */- if(mediaState.stageOpen()){if(!e.defaultPrevented){e.preventDefault();stageApi().requestClose()}return}+ if(mediaState.stageOpen()){if(!e.defaultPrevented){e.preventDefault();stageApi().requestEscape()}return}if($('#drawer').classList.contains('open')){openDrawer(false);return}if(selectMode||selected.size||followSelected.size){setSelectMode(false,true);return}return;diff --git a/frontend/src/react/jav-detail/jav-detail-page.tsx b/frontend/src/react/jav-detail/jav-detail-page.tsxindex e6c30662e..595aab8ad 100644--- a/frontend/src/react/jav-detail/jav-detail-page.tsx+++ b/frontend/src/react/jav-detail/jav-detail-page.tsx@@ -88,7 +88,7 @@ function Work({ code, item, actions, readOnly, retry, retrying }: JavDetailProps<Spec glyph="briefcase" label="发行商" value={item.publisher} /><Spec glyph="clapperboard" label="导演" value={item.director} /></div>- {(item.tag_refs?.length ?? item.tags.length) > 0 ? <div data-stage-tags="" data-jav-tags="">{(item.tag_refs || item.tags.map(name => ({ name, category: 'general', source_name: name }))).map(tag =>+ {(item.tag_refs?.length ?? item.tags.length) > 0 ? <div data-stage-tags="" data-detail-tags="" data-jav-tags="">{(item.tag_refs || item.tags.map(name => ({ name, category: 'general', source_name: name }))).map(tag =><span data-detail-tag="" data-tag-cat={tag.category} key={tag.name}><button type="button" data-tag={tag.name}title={tagLabel(tag.name)} onClick={() => actions.openTag(tag.name)}>{tagLabel(tag.name)}</button></span>)}</div> : null}{item.summary ? <p data-jav-summary="" data-long-text="" lang={textLang(item.summary)}>{item.summary}</p> : null}diff --git a/frontend/src/react/stage/stage-api.ts b/frontend/src/react/stage/stage-api.tsindex 883d49fe8..c3b7da1f7 100644--- a/frontend/src/react/stage/stage-api.ts+++ b/frontend/src/react/stage/stage-api.ts@@ -41,8 +41,10 @@ export interface StageApi {isOpen(): boolean;/** 浮窗此刻开着、能原地换条的那一种详情;没开、在退场或已要求关闭时为空。壳据此决定换条前拆不拆舞台。 */showing(): StageRequest['kind'] | null;- /** 关闭键、Escape 与点浮窗外面走的那一条:交给当前详情自己的 `close`,退场期间再要一次不重复。 */+ /** 显式关闭详情:交给当前详情自己的 `close`,退场期间再要一次不重复。 */requestClose(): void;+ /** Escape 先关闭最上层弹层;没有弹层时才关闭详情。 */+ requestEscape(): void;/** 该响应播放快捷键的 video:舞台开着取舞台里的,否则取小窗里的。 */activeVideo(): HTMLVideoElement | null;toggleTheater(): void;diff --git a/frontend/src/react/stage/stage.tsx b/frontend/src/react/stage/stage.tsxindex b7835716b..c92ee2e16 100644--- a/frontend/src/react/stage/stage.tsx+++ b/frontend/src/react/stage/stage.tsx@@ -110,31 +110,28 @@ function outside(event: MouseEvent | PointerEvent): boolean {return event.clientX < box.left || event.clientX > box.right || event.clientY < box.top || event.clientY > box.bottom;}+function requestEscape(): void {+ const dialog = stageDialog();+ const layer = dialog && topOverlay(dialog);+ if (!layer) { requestClose(); return }+ layer.focus({ preventScroll: true });+ layer.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true, cancelable: true }));+}+function StageDialog({ view: current }: { view: View }) {const ref = useRef<HTMLDialogElement>(null);- /* 关闭请求先交给浮窗里最上面那层弹层,没有才关详情。焦点在浮窗里的 Escape 由下面的 `onKeyDown`- 处理;里层下拉刚卸掉、焦点要等下一帧才回到触发框,这一帧里焦点在 `body`,Escape 不经过浮窗,- 由 document 上的 keydown 接住。两处都在 keydown 上 `preventDefault`,浏览器不再派 `cancel`:- `cancel` 只在窗口还有历史操作激活时才可取消,取消不了就会原生关掉整个浮窗。- 原生 `cancel` 只剩 Escape 之外的关闭请求,例如安卓返回手势。 */+ /* 全局键盘入口与浮窗共用 requestEscape,在 keydown 上 preventDefault,避免焦点在 body 时+ 绕过弹层判断。原生 cancel 保留给其他关闭请求;不可取消的事件不能阻止浏览器关闭浮窗。 */useLayoutEffect(() => {const dialog = ref.current!;- const dismiss = () => {- const layer = topOverlay(dialog);- if (!layer) { requestClose(); return }- layer.focus({ preventScroll: true });- layer.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true, cancelable: true }));- };- const keydown = (event: KeyboardEvent) => {- if (event.key !== 'Escape' || event.defaultPrevented || !dialog.open || dialog.contains(event.target as Node)) return;+ // 文件选择框的 cancel 会冒泡;详情只处理自己的关闭请求。+ const cancel = (event: Event) => {+ if (event.target !== dialog) return;event.preventDefault();- dismiss();+ requestEscape();};- // 文件选择框的 cancel 会冒泡;详情只处理自己的关闭请求。- const cancel = (event: Event) => { if (event.target === dialog) { event.preventDefault(); dismiss() } };- document.addEventListener('keydown', keydown);dialog.addEventListener('cancel', cancel);- return () => { document.removeEventListener('keydown', keydown); dialog.removeEventListener('cancel', cancel) };+ return () => dialog.removeEventListener('cancel', cancel);}, []);const { phase, content } = current;/* 原地换条时关注详情按条目重建:选中的那份媒体、写操作的忙碌与失败都只属于上一条。作品详情@@ -149,7 +146,7 @@ function StageDialog({ view: current }: { view: View }) {/* 里层弹层(标签搜索框、右键菜单)先处理 Escape 并 `preventDefault`,这一下就不再关浮窗。 */if (event.key !== 'Escape' || event.defaultPrevented) return;event.preventDefault();- requestClose();+ requestEscape();}}onPointerDown={(event) => { dismissArmed = outside(event) }}onClick={(event) => { if (dismissArmed && outside(event)) requestClose() }}>@@ -426,7 +423,7 @@ function repaintPoster(): void {}const api: StageApi = {- open, update, exit, dispose, requestClose, repaintPoster,+ open, update, exit, dispose, requestClose, requestEscape, repaintPoster,isOpen: () => !!view,showing: () => (view && swappable(view.content.kind) ? view.content.kind : null),activeVideo: () => player.activeStageVideo(),diff --git a/frontend/test/react/overlay-host.test.tsx b/frontend/test/react/overlay-host.test.tsxnew file mode 100644index 000000000..b7a50cbec--- /dev/null+++ b/frontend/test/react/overlay-host.test.tsx@@ -0,0 +1,51 @@+import { UNSAFE_PortalProvider } from 'react-aria';+import { expect, it, vi } from 'vitest';++import { ModalFrame } from '../../src/react/components/modal-frame';+import { overlayHost, topOverlay } from '../../src/react/components/overlay-host';+import { mountRoot } from './render';++function stage(): HTMLDialogElement {+ const dialog = document.createElement('dialog');+ dialog.open = true;+ document.body.append(dialog);+ return dialog;+}++it('真实模态弹层末尾有焦点哨兵时仍取得对话框,卸载后没有弹层', async () => {+ const dialog = stage();+ const host = overlayHost(dialog);+ const root = await mountRoot(+ <UNSAFE_PortalProvider getContainer={() => host}>+ <ModalFrame isOpen onOpenChange={vi.fn()} width="form" label="资源">+ <button type="button">关闭</button>+ </ModalFrame>+ </UNSAFE_PortalProvider>,+ );+ const layer = host.querySelector<HTMLElement>('[role="dialog"]');+ expect(layer).not.toBeNull();+ expect(host.lastElementChild?.hasAttribute('data-focus-scope-end')).toBe(true);+ expect(topOverlay(dialog)).toBe(layer);+ await root.unmount();+ expect(topOverlay(dialog)).toBeNull();+});++it('多层弹层按实际角色节点取末层,忽略两侧的焦点哨兵', () => {+ const dialog = stage();+ const host = overlayHost(dialog);+ host.innerHTML = '<span hidden data-focus-scope-start></span><div role="dialog"></div><span hidden data-focus-scope-end></span><span hidden data-focus-scope-start></span><div role="listbox"></div><span hidden data-focus-scope-end></span>';+ const list = host.querySelector<HTMLElement>('[role="listbox"]')!;+ expect(topOverlay(dialog)).toBe(list);+ list.remove();+ expect(topOverlay(dialog)).toBe(host.querySelector('[role="dialog"]'));+});++it('只查当前详情的弹层宿主,不接管页面其他对话框', () => {+ const dialog = stage();+ const other = document.createElement('div');+ other.setAttribute('role', 'dialog');+ document.body.append(other);+ expect(topOverlay(dialog)).toBeNull();+ overlayHost(dialog);+ expect(topOverlay(dialog)).toBeNull();+});diff --git a/frontend/test/react/stage.test.tsx b/frontend/test/react/stage.test.tsxindex 1dac83e7a..e54cadc62 100644--- a/frontend/test/react/stage.test.tsx+++ b/frontend/test/react/stage.test.tsx@@ -175,6 +175,35 @@ afterEach(async () => {});describe('常驻组件', () => {+ it('Escape 命令与原生取消优先关闭内层,没有弹层时关闭详情', async () => {+ serve();+ const opened = request(1);+ await act(async () => { await api.open(opened) });+ const dialog = q<HTMLDialogElement>('#stage')!;+ const { overlayHost } = await import('../../src/react/components/overlay-host');+ const host = overlayHost(dialog);+ const inner = document.createElement('div');+ inner.setAttribute('role', 'dialog');+ inner.tabIndex = -1;+ const close = vi.fn((event: KeyboardEvent) => {+ event.preventDefault(); event.stopPropagation(); inner.remove();+ });+ inner.addEventListener('keydown', close);+ const sentinel = document.createElement('span');+ sentinel.hidden = true;+ sentinel.dataset.focusScopeEnd = '';+ host.append(inner, sentinel);+ act(() => api.requestEscape());+ expect(close).toHaveBeenCalledTimes(1);+ expect(opened.actions.close).not.toHaveBeenCalled();+ host.insertBefore(inner, sentinel);+ act(() => { dialog.dispatchEvent(new Event('cancel', { cancelable: true })) });+ expect(close).toHaveBeenCalledTimes(2);+ expect(opened.actions.close).not.toHaveBeenCalled();+ act(() => api.requestEscape());+ expect(opened.actions.close).toHaveBeenCalledTimes(1);+ });+it('画上之后句柄才交出;宿主是 body 末尾的 [data-stage-host],里面直接是藏着的小窗,不包 .peach-react', async () => {const r = await load();await mountRouter(r);diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 593f54e1a..83dcf4321 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] = "7cb38b1b-13b0-4e6c-9112-edd4d7a802c1", e._sentryDebugIdIdentifier = "sentry-dbid-7cb38b1b-13b0-4e6c-9112-edd4d7a802c1");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ed873e08-c65a-4a2c-99eb-e93a459bdf72", e._sentryDebugIdIdentifier = "sentry-dbid-ed873e08-c65a-4a2c-99eb-e93a459bdf72");} 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) => {@@ -18384,39 +18384,39 @@ var Nte = /* @__PURE__ */ new Set(["SELECT","TEXTAREA"]);-function Bv(e) {+function Pte(e) {return Nte.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Vv = {+var Bv = {x: !1,y: !1};-function Hv() {- return Vv.x || Vv.y;+function Vv() {+ return Bv.x || Bv.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function Pte(e) {- return e === "x" || e === "y" ? Vv[e] ? null : (Vv[e] = !0, () => {- Vv[e] = !1;- }) : Vv.x || Vv.y ? null : (Vv.x = Vv.y = !0, () => {- Vv.x = Vv.y = !1;+function Fte(e) {+ return e === "x" || e === "y" ? Bv[e] ? null : (Bv[e] = !0, () => {+ Bv[e] = !1;+ }) : Bv.x || Bv.y ? null : (Bv.x = Bv.y = !0, () => {+ Bv.x = Bv.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function Fte(e, { min: t, max: n }, r) {+function Ite(e, { min: t, max: n }, r) {return t !== void 0 && e < t ? e = r ? lf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? lf(n, e, r.max) : Math.min(e, n)), e;}-function Uv(e, t, n) {+function Hv(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 Ite(e, { top: t, left: n, bottom: r, right: i }) {+function Uv(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Uv(e.x, n, i),- y: Uv(e.y, t, r)+ x: Hv(e.x, n, i),+ y: Hv(e.y, t, r)};}function Wv(e, t) {@@ -18479,7 +18479,7 @@ var Vte = /* @__PURE__ */ new WeakMap(), Hte = class {t && this.snapToCursor(e), this.stopAnimation();}, i = (e, t) => {let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();- if (n && !r && (this.openDragLock?.(), this.openDragLock = Pte(n), !this.openDragLock)) return;+ if (n && !r && (this.openDragLock?.(), this.openDragLock = Fte(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();let { projection: a } = this.visualElement;a && (a.isAnimationBlocked = !0, a.target = void 0), L_((e) => {@@ -18544,11 +18544,11 @@ var Vte = /* @__PURE__ */ new WeakMap(), Hte = class {let { drag: n } = this.readProps();if (!t || !Qv(e, n, this.currentDirection)) return;let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];- a && (i = Fte(i, a, this.elastic[e])), r.set(i);+ a && (i = Ite(i, a, this.elastic[e])), r.set(i);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;- Yv(e) ? this.constraints && this.scroll === Jv(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r ? Ite(r.layoutBox, e) : !1, this.elastic = Bte(t), i !== this.constraints && !Yv(e) && r && this.constraints && !this.hasMutatedConstraints && L_((e) => {+ Yv(e) ? this.constraints && this.scroll === Jv(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r ? Uv(r.layoutBox, e) : !1, this.elastic = Bte(t), i !== this.constraints && !Yv(e) && r && this.constraints && !this.hasMutatedConstraints && L_((e) => {this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = zte(r.layoutBox[e], this.constraints[e]));});}@@ -18638,7 +18638,7 @@ var Vte = /* @__PURE__ */ new WeakMap(), Hte = class {if (!this.visualElement.current) return;Vte.set(this.visualElement, this);let e = this.visualElement.current, t = Tv(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Bv(i);+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Pte(i);n && r && !a && this.start(t);}), n, r = () => {let { dragConstraints: t } = this.getProps(), r = Yv(t) && Xv(t);@@ -18703,7 +18703,7 @@ function $v(e, t) {}// node_modules/motion-dom/dist/es/gestures/hover.mjsfunction Gte(e) {- return !(e.pointerType === "touch" || Hv());+ return !(e.pointerType === "touch" || Vv());}function Kte(e, t, n = {}) {t = xg(t);@@ -18757,7 +18757,7 @@ var iy = (e, t) => {};// node_modules/motion-dom/dist/es/gestures/press/index.mjsfunction ay(e) {- return Cv(e) && !Hv();+ return Cv(e) && !Vv();}var oy = /* @__PURE__ */ new WeakSet();function qte(e, t, n = {}) {@@ -19242,18 +19242,18 @@ var wy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence],layout: ["layout", "layoutId"]}, Dy = !1;-function ane() {+function Oy() {if (Dy) return;let e = {};for (let t in Ey) e[t] = { isEnabled: (e) => Ey[t].some((t) => !!e[t]) };vv(e), Dy = !0;}-function Oy() {- return ane(), hte();+function ky() {+ return Oy(), hte();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function one(e) {- let t = Oy();+function ane(e) {+ let t = ky();for (let n in e) t[n] = {...t[n],...e[n]@@ -19261,7 +19261,7 @@ function one(e) {vv(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function sne({ children: e, ...t }) {+function one({ children: e, ...t }) {let n = (0, P.useContext)(hy);t = {...n,@@ -19280,9 +19280,9 @@ function sne({ children: e, ...t }) {});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var ky = /* @__PURE__ */ (0, P.createContext)({});+var Ay = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function cne(e, t) {+function sne(e, t) {if (dv(e)) {let { initial: t, animate: n } = e;return {@@ -19293,50 +19293,50 @@ function cne(e, t) {return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function lne(e) {- let { initial: t, animate: n } = cne(e, (0, P.useContext)(ky));+function cne(e) {+ let { initial: t, animate: n } = sne(e, (0, P.useContext)(Ay));return (0, P.useMemo)(() => ({initial: t,animate: n- }), [Ay(t), Ay(n)]);+ }), [jy(t), jy(n)]);}-function Ay(e) {+function jy(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var jy = () => ({+var My = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function My(e, t, n) {+function Ny(e, t, n) {for (let r in t) !eg(t[r]) && !xv(r, n) && (e[r] = t[r]);}-function une({ transformTemplate: e }, t) {+function lne({ transformTemplate: e }, t) {return (0, P.useMemo)(() => {- let n = jy();+ let n = My();return kg(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function dne(e, t) {+function une(e, t) {let n = e.style || {}, r = {};- return My(r, n, e), Object.assign(r, une(e, t)), r;+ return Ny(r, n, e), Object.assign(r, lne(e, t)), r;}-function fne(e, t) {- let n = {}, r = dne(e, t);+function dne(e, t) {+ let n = {}, r = une(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 Ny = () => ({- ...jy(),+var Py = () => ({+ ...My(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function pne(e, t, n, r) {+function fne(e, t, n, r) {let i = (0, P.useMemo)(() => {- let n = Ny();+ let n = Py();return jg(n, t, uy(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }@@ -19344,7 +19344,7 @@ function pne(e, t, n, r) {}, [t]);if (e.style) {let t = {};- return My(t, e.style, e), {+ return Ny(t, e.style, e), {...i,style: {...t,@@ -19355,21 +19355,21 @@ function pne(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var mne = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function Py(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || mne.has(e);+var pne = /* @__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 Fy(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || pne.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function hne(e, t) {- return e.startsWith("on") ? !Py(e) : t?.(e) ?? !Py(e);+function mne(e, t) {+ return e.startsWith("on") ? !Fy(e) : t?.(e) ?? !Fy(e);}-function gne(e, t, n, r) {+function hne(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || eg(e[a]) || (hne(a, r) || n === !0 && Py(a) || !t && !Py(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || eg(e[a]) || (mne(a, r) || n === !0 && Fy(a) || !t && !Fy(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var _ne = [+var gne = ["animate","circle","defs",@@ -19397,12 +19397,12 @@ var _ne = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Fy(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(_ne.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Iy(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(gne.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function vne(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Fy(e) ? pne : fne)(t, r, i, e), l = gne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {+function _ne(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Iy(e) ? fne : dne)(t, r, i, e), l = hne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {...l,...c,ref: n@@ -19413,13 +19413,13 @@ function vne(e, t, n, { latestValues: r }, i, a = !1, o, s) {});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function yne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function vne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: bne(n, r, i, e),+ latestValues: yne(n, r, i, e),renderState: t()};}-function bne(e, t, n, r) {+function yne(e, t, n, r) {let i = {}, a = r(e, {});for (let e in a) i[e] = r_(a[e]);let { initial: o, animate: s } = e, c = dv(e), l = fv(e);@@ -19447,18 +19447,18 @@ function bne(e, t, n, r) {}return i;}-var Iy = (e) => (t, n) => {- let r = (0, P.useContext)(ky), i = (0, P.useContext)(wu), a = () => yne(e, t, r, i);+var Ly = (e) => (t, n) => {+ let r = (0, P.useContext)(Ay), i = (0, P.useContext)(wu), a = () => vne(e, t, r, i);return n ? a() : Su(a);-}, xne = /*@__PURE__*/ Iy({+}, bne = /*@__PURE__*/ Ly({scrapeMotionValuesFromProps: Sv,- createRenderState: jy-}), Sne = /*@__PURE__*/ Iy({+ createRenderState: My+}), xne = /*@__PURE__*/ Ly({scrapeMotionValuesFromProps: dy,- createRenderState: Ny-}), Cne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+ createRenderState: Py+}), Sne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function wne(e, t, n) {+function Cne(e, t, n) {let r = (0, P.useRef)(n);(0, P.useInsertionEffect)(() => {r.current = n;@@ -19476,14 +19476,14 @@ function wne(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Ly = /* @__PURE__ */ (0, P.createContext)({});+var Ry = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function Tne(e) {+function wne(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function Ene(e, t, n, r, i, a) {- let { visualElement: o } = (0, P.useContext)(ky), s = (0, P.useContext)(Ty), c = (0, P.useContext)(wu), l = (0, P.useContext)(hy), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);+function Tne(e, t, n, r, i, a) {+ let { visualElement: o } = (0, P.useContext)(Ay), s = (0, P.useContext)(Ty), c = (0, P.useContext)(wu), l = (0, P.useContext)(hy), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -19494,8 +19494,8 @@ function Ene(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, P.useContext)(Ly);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Dne(f.current, n, i, h), (0, P.useInsertionEffect)(() => {+ let m = f.current, h = (0, P.useContext)(Ry);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ene(f.current, n, i, h), (0, P.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});let g = n[rg], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));@@ -19509,12 +19509,12 @@ function Ene(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function Dne(e, t, n, r) {- let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Ry(e.parent));+function Ene(e, t, n, r) {+ let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : zy(e.parent));f.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && Tne(s),+ alwaysMeasureLayout: !!o || s && wne(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19526,15 +19526,15 @@ function Dne(e, t, n, r) {let p = f.getStack()?.lead;p && !f.root.isUpdateBlocked() && (p.willUpdate(), p.scheduleCheckAfterUnmount());}-function Ry(e) {- if (e) return e.options.allowProjection === !1 ? Ry(e.parent) : e.projection;+function zy(e) {+ if (e) return e.options.allowProjection === !1 ? zy(e.parent) : e.projection;}// node_modules/framer-motion/dist/es/motion/index.mjs-function zy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && one(r);- let a = n ? n === "svg" : Fy(e), o = a ? Sne : xne;+function By(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && ane(r);+ let a = n ? n === "svg" : Iy(e), o = a ? xne : bne;function s(n, s) {- let c, l = One(n);+ let c, l = Dne(n);Su(() => !!iv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1@@ -19543,33 +19543,33 @@ function zy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {...(0, P.useContext)(hy),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = lne(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = cne(n), m = o(n, d);if (!d && typeof window < "u") {- kne(u, r);- let t = Ane(u);- p.visualElement = Ene(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);+ One(u, r);+ let t = kne(u);+ p.visualElement = Tne(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, F.jsxs)(ky.Provider, {+ return (0, F.jsxs)(Ay.Provider, {value: p,children: [c && p.visualElement ? (0, F.jsx)(c, {visualElement: p.visualElement,...u- }) : null, vne(e, n, wne(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, _ne(e, n, Cne(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, P.forwardRef)(s);- return c[Cne] = e, c;+ return c[Sne] = e, c;}-function One({ layoutId: e }) {+function Dne({ layoutId: e }) {let t = (0, P.useContext)(xu).id;return t && e !== void 0 ? t + "-" + e : e;}-function kne(e, t) {+function One(e, t) {(0, P.useContext)(Ty).strict;}-function Ane(e) {- let { drag: t, layout: n } = Oy();+function kne(e) {+ let { drag: t, layout: n } = ky();if (!t && !n) return {};let r = {...t,@@ -19582,13 +19582,13 @@ function Ane(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function jne(e, t) {- if (typeof Proxy > "u") return zy;- let n = /* @__PURE__ */ new Map(), r = (n, r) => zy(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, zy(a, void 0, e, t)), n.get(a)) });+function Ane(e, t) {+ if (typeof Proxy > "u") return By;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => By(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, By(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjection: e !== P.Fragment }), Nne = class extends cy {+var jne = (e, t) => t.isSVG ?? Iy(e) ? new Yte(t) : new vte(t, { allowProjection: e !== P.Fragment }), Mne = class extends cy {constructor(e) {super(e), e.animationState ||= Zte(e);}@@ -19605,11 +19605,11 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, Pne = 0, Fne = {- animation: { Feature: Nne },+}, Nne = 0, Pne = {+ animation: { Feature: Mne },exit: { Feature: class extends cy {constructor() {- super(...arguments), this.id = Pne++;+ super(...arguments), this.id = Nne++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19639,7 +19639,7 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjection}unmount() {}} }-}, Ine = class extends cy {+}, Fne = class extends cy {constructor(e) {super(e), this.removeGroupControls = Nu, this.removeListeners = Nu, this.controls = new Hte(e);}@@ -19654,9 +19654,9 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, By = (e) => (t, n) => {+}, Vy = (e) => (t, n) => {e && Af.update(() => e(t, n), !1, !0);-}, Lne = class extends cy {+}, Ine = class extends cy {constructor() {super(...arguments), this.removePointerDownListener = Nu;}@@ -19669,9 +19669,9 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjectioncreatePanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: By(e),- onStart: By(t),- onMove: By(n),+ onSessionStart: Vy(e),+ onStart: Vy(t),+ onMove: Vy(n),onEnd: (e, t) => {delete this.session, r && Af.postRender(() => r(e, t));}@@ -19686,12 +19686,12 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session?.end();}-}, Vy = !1, Hy = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({+}, Hy = !1, Uy = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), Uy = (e, t) => {+}), Wy = (e, t) => {let { snapshot: n } = e, r = e.getStack();r?.remove(e);let i = r?.lead;@@ -19700,21 +19700,21 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjectionlet { resumeFrom: t } = e;t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);};-}, Rne = class extends P.Component {+}, Lne = class extends P.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group?.add(i), r && n?.register?.(i), Vy && i.root.didUpdate(), i.options.layoutId !== r && Uy(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Hy && i.root.didUpdate(), i.options.layoutId !== r && Wy(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...Hy(this.props),+ ...Uy(this.props),onExitComplete: () => this.safeToRemove()})), B_.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(), Uy(o, n)), o.setOptions({+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Wy(o, n)), o.setOptions({...o.options,- ...Hy(this.props)- }), Vy = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Af.postRender(() => {+ ...Uy(this.props)+ }), Hy = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Af.postRender(() => {o.getStack()?.members.length || this.safeToRemove();}))), null;}@@ -19726,7 +19726,7 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjection}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Vy = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));+ Hy = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {this.props.safeToRemove?.();@@ -19735,39 +19735,39 @@ var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjectionreturn null;}};-function Wy(e) {+function Gy(e) {let [t, n] = yy(), r = (0, P.useContext)(xu);- return (0, F.jsx)(Rne, {+ return (0, F.jsx)(Lne, {...e,layoutGroup: r,- switchLayoutGroup: (0, P.useContext)(Ly),+ switchLayoutGroup: (0, P.useContext)(Ry),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var zne = {- pan: { Feature: Lne },+var Rne = {+ pan: { Feature: Ine },drag: {- Feature: Ine,+ Feature: Fne,ProjectionNode: av,- MeasureLayout: Wy+ MeasureLayout: Gy}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Gy(e, t, n, r) {+function Ky(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 && Af.postRender(() => o(t, wv(t)));}-var Bne = class extends cy {+var zne = class extends cy {mount() {let { current: e } = this.node;- e && (this.unmount = Kte(e, (e, t) => (Gy(this.node, t, "Hover", "Start"), (e) => Gy(this.node, e, "Hover", "End"))));+ e && (this.unmount = Kte(e, (e, t) => (Ky(this.node, t, "Hover", "Start"), (e) => Ky(this.node, e, "Hover", "End"))));}unmount() {}-}, Vne = class extends cy {+}, Bne = class extends cy {constructor() {super(...arguments), this.isActive = !1;}@@ -19789,46 +19789,46 @@ var Bne = class extends cy {unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Ky(e, t, n) {- e.current instanceof HTMLButtonElement && e.current.disabled || Gy(e, t, "Tap", n);+function qy(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || Ky(e, t, "Tap", n);}-var Hne = class extends cy {+var Vne = class extends cy {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = qte(e, (e, t) => (Ky(this.node, t, "Start"), (e, { success: t }) => Ky(this.node, e, t ? "" : "Cancel")), {+ this.unmount = qte(e, (e, t) => (qy(this.node, t, "Start"), (e, { success: t }) => qy(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, qy = /* @__PURE__ */ new WeakMap(), Jy = /* @__PURE__ */ new WeakMap(), Une = (e) => {- let t = qy.get(e.target);+}, Jy = /* @__PURE__ */ new WeakMap(), Yy = /* @__PURE__ */ new WeakMap(), Hne = (e) => {+ let t = Jy.get(e.target);t && t(e);-}, Wne = (e) => {- e.forEach(Une);+}, Une = (e) => {+ e.forEach(Hne);};-function Gne({ root: e, ...t }) {+function Wne({ root: e, ...t }) {let n = e || document;- Jy.has(n) || Jy.set(n, {});- let r = Jy.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(Wne, {+ Yy.has(n) || Yy.set(n, {});+ let r = Yy.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Une, {root: e,...t})), r[i];}-function Kne(e, t, n) {- let r = Gne(t);- return qy.set(e, n), r.observe(e), () => {- qy.delete(e), r.unobserve(e);+function Gne(e, t, n) {+ let r = Wne(t);+ return Jy.set(e, n), r.observe(e), () => {+ Jy.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var qne = {+var Kne = {some: 0,all: 1-}, Jne = class extends cy {+}, qne = class extends cy {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19837,7 +19837,7 @@ var qne = {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 : qne[r]+ threshold: typeof r == "number" ? r : Kne[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19845,7 +19845,7 @@ var qne = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = Kne(this.node.current, a, o);+ this.stopObserver = Gne(this.node.current, a, o);}mount() {this.startObserver();@@ -19857,61 +19857,61 @@ var qne = {"amount","margin","root"- ].some(Yne(e, t)) && this.startObserver();+ ].some(Jne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function Yne({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Jne({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Xne = /*@__PURE__*/ jne(/* @__PURE__ */ Object.assign({}, Fne, {- inView: { Feature: Jne },- tap: { Feature: Hne },- focus: { Feature: Vne },- hover: { Feature: Bne }-}, zne, { layout: {+var Yne = /*@__PURE__*/ Ane(/* @__PURE__ */ Object.assign({}, Pne, {+ inView: { Feature: qne },+ tap: { Feature: Vne },+ focus: { Feature: Bne },+ hover: { Feature: zne }+}, Rne, { layout: {ProjectionNode: av,- MeasureLayout: Wy-} }), Mne);+ MeasureLayout: Gy+} }), jne);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function Yy() {+function Xy() {!mv.current && hv();let [e] = (0, P.useState)(pv.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function Xy(e) {+function Zy(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function Zy(e, t, n, r) {- return e == null ? [] : typeof e == "string" && Xy(t) ? Sg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function Qy(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && Zy(t) ? Sg(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 Zne(e, t, n) {+function Xne(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Qy(e, t) {+function $y(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 Qne(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))) : Qy(t, r) ?? e;+function Zne(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))) : $y(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function $ne(e, t, n) {+function Qne(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (Eu(e, i), r--);}}-function ere(e, t, n, r, i, a) {- $ne(e, i, a);+function $ne(e, t, n, r, i, a) {+ Qne(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: lf(i, a, r[o]),@@ -19919,19 +19919,19 @@ function ere(e, t, n, r, i, a) {});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function tre(e, t, n = 0) {+function ere(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 nre(e, t) {+function tre(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 rre = "easeInOut", ire = 20;-function are(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {+var nre = "easeInOut", rre = 20;+function ire(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 : Qne(f, e, d, u);+ let a = n, s = (e) => typeof e == "number" ? n + e : Zne(f, e, d, u);for (let n = 0; n < e.length; n++) {let h = e[n];if (typeof h == "string") {@@ -19946,10 +19946,10 @@ function are(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 = ore(e), { delay: l = 0, times: u = pp(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(a, s) : l, S = c.length, C = Nm(d) ? d : i?.[d || "keyframes"];+ let c = are(e), { delay: l = 0, times: u = pp(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(a, s) : l, S = c.length, C = Nm(d) ? d : i?.[d || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && lre(c)) {+ if (S === 2 && cre(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -19965,9 +19965,9 @@ function are(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let w = f + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && fp(u, T), c.length === 1 && c.unshift(null), m && m < ire) {+ if (T > 0 && fp(u, T), c.length === 1 && c.unshift(null), m && m < rre) {let e = b > 0 ? g / b : 0;- b = Zne(b, m, g);+ b = Xne(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;@@ -19977,20 +19977,20 @@ function are(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ nd(f, e - 1));}- tre(u, m, e);+ ere(u, m, e);}let E = w + b;- ere(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);+ $ne(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);};if (eg(g)) {- let e = $y(g, c);- b(_, v, eb("default", e));+ let e = eb(g, c);+ b(_, v, tb("default", e));} else {- let e = Zy(g, _, r, l), t = e.length;+ let e = Qy(g, _, r, l), t = e.length;for (let n = 0; n < t; n++) {_ = _, v = v;- let r = e[n], i = $y(r, c);- for (let e in _) b(_[e], sre(v, e), eb(e, i), n, t);+ let r = e[n], i = eb(r, c);+ for (let e in _) b(_[e], ore(v, e), tb(e, i), n, t);}}d = f, f += y, a = Math.max(a, f);@@ -20000,13 +20000,13 @@ function are(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(nre);+ a.sort(tre);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__ */ Fu(0, p, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(rre)), 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(nre)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},transition: {}});@@ -20023,32 +20023,32 @@ function are(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {}}), s;}-function $y(e, t) {+function eb(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function eb(e, t) {+function tb(e, t) {return t[e] || (t[e] = []), t[e];}-function ore(e) {+function are(e) {return Array.isArray(e) ? e : [e];}-function sre(e, t) {+function ore(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var cre = (e) => typeof e == "number", lre = (e) => e.every(cre);+var sre = (e) => typeof e == "number", cre = (e) => e.every(sre);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function ure(e, t) {- return eg(e) || typeof e == "number" || typeof e == "string" && !Xy(t);+function lre(e, t) {+ return eg(e) || typeof e == "number" || typeof e == "string" && !Zy(t);}-function tb(e, t, n, r) {+function nb(e, t, n, r) {let i = [];- if (ure(e, t)) i.push(e_(e, Xy(t) && t.default || t, n && (n.default || n)));+ if (lre(e, t)) i.push(e_(e, Zy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = Zy(e, t, r), o = a.length;+ let a = Qy(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(...Oee(r, t, s, ov.get(r))) : i.push(...hg(uee(r) ?? kee, r, t, s));@@ -20057,9 +20057,9 @@ function tb(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function dre(e, t, n, r) {+function ure(e, t, n, r) {let i = [];- return are(e.map((e) => {+ return ire(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {let t = e[0], n = jh(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [@@ -20074,26 +20074,26 @@ function dre(e, t, n, r) {}return e;}), t, n, { spring: cp }, r).forEach(({ keyframes: e, transition: t }, n) => {- i.push(...tb(n, e, t));+ i.push(...nb(n, e, t));}), i;}// node_modules/framer-motion/dist/es/animation/timeline/index.mjs-var nb = 0;-function fre(e, t) {+var rb = 0;+function dre(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 rb = (e, t) => t === void 0 ? e : {+var ib = (e, t) => t === void 0 ? e : {name: e,at: t};-function ib(e) {+function ab(e) {e.pause(), e.time = 0, e.stop();}-var ab = class e {+var ob = 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.isWrapped = !1, this.stop = () => {this.flush(), this.group?.stop();@@ -20112,7 +20112,7 @@ var ab = class e {item: e,at: t,marker: {- name: "_m" + nb++,+ name: "_m" + rb++,time: 0,callback: e}@@ -20123,7 +20123,7 @@ var ab = class e {item: t || {},at: e,marker: {- name: "_m" + nb++,+ name: "_m" + rb++,time: 0,callback: t,pause: !0@@ -20217,15 +20217,15 @@ var ab = class e {this.isDirty && !this.parent && this.build();}adopt(e) {- this.group &&= (ib(this.group), void 0), this.isDirty = !1, this.parent = e;+ this.group &&= (ab(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, ib(e)), this.isRebuilding = !1);+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, ab(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 = dre(this.toSequence(d), {+ let d = /* @__PURE__ */ new Map(), f = {}, p = ure(this.toSequence(d), {defaultTransition: n,...u}, c, f), m = f.labels, h = u.duration ?? f.duration, g = f.duration ? h / f.duration : 1;@@ -20243,16 +20243,16 @@ var ab = class e {t = Math.min(t, h), this.isDone && t < h && this.newFinished(), this.scrollTimeline ? this.detachScroll = _.attachTimeline(this.scrollTimeline) : (_.speed = this.playbackSpeed, this.isPaused && _.pause(), t && (_.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), rb(i.name, r)) : n instanceof e ? {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), ib(i.name, r)) : n instanceof e ? {sequence: n.toSequence(t),at: r- } : typeof n == "string" ? rb(n, r) : r === void 0 ? n : Array.isArray(n) ? fre(n, r) : {+ } : typeof n == "string" ? ib(n, r) : r === void 0 ? n : Array.isArray(n) ? dre(n, r) : {...n,at: r});}resolve(e) {- return this.flush(), typeof e == "number" ? e : Qy(e, this.labels) ?? this.time;+ return this.flush(), typeof e == "number" ? e : $y(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;@@ -20296,16 +20296,16 @@ var ab = class e {}};// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function ob(e) {+function sb(e) {return Array.isArray(e) && e.some(Array.isArray);}-function sb(e = {}) {+function cb(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = yg.current, s = o?.transition, c = {};n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r);let l;- if (ob(e)) {+ if (sb(e)) {let n = {...c,...i,@@ -20314,14 +20314,14 @@ function sb(e = {}) {s && (n.defaultTransition = {...s,...n.defaultTransition- }), l = new ab(e, n);+ }), l = new ob(e, n);} else {let { onComplete: n, ...r } = a || {}, o = {...c,...s,...r}, { onUpdate: u } = r;- l = new ab([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ l = new ob([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [u || (() => {}),Array.isArray(i) ? i : [e, i],{@@ -20336,18 +20336,18 @@ function sb(e = {}) {...c,onComplete: n,scope: t- }, tb(e, i, o, t));+ }, nb(e, i, o, t));}return o && l.finished.then(o.add(() => l.stop())), l;}return i;}-var cb = /* @__PURE__ */ Object.assign(/* @__PURE__ */ sb(), {+var lb = /* @__PURE__ */ Object.assign(/* @__PURE__ */ cb(), {addEffect: lee,removeEffect: pg});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function lb(e, t, n, r) {+function ub(e, t, n, r) {if (e == null) return [];let i = Sg(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {@@ -20383,12 +20383,12 @@ function lb(e, t, n, r) {}return s;}-var ub = /*@__PURE__*/ ((e) => {+var db = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Sh(lb(t, n, r, e));+ return new Sh(ub(t, n, r, e));}return t;-})(), db = Xne, fb = class {+})(), fb = Yne, pb = 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;}@@ -20403,22 +20403,22 @@ var ub = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, pb = class extends fb {+}, mb = class extends pb {filter(e, t, n) {- let [r, i] = vb(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = yb(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends fb {+(class extends pb {static {this.type = "header";}});-var mb = class extends fb {+var hb = class extends pb {static {this.type = "loader";}-}, hb = class extends pb {+}, gb = class extends mb {static {this.type = "item";}@@ -20429,7 +20429,7 @@ var mb = class extends fb {}return null;}-}, gb = class extends pb {+}, _b = class extends mb {static {this.type = "section";}@@ -20441,7 +20441,7 @@ var mb = class extends fb {}return null;}-}, _b = class {+}, vb = class {get size() {return this.itemCount;}@@ -20516,14 +20516,14 @@ var mb = class extends fb {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = vb(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = yb(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 vb(e, t, n, r) {+function yb(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20537,7 +20537,7 @@ function vb(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var yb = class {+var bb = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20618,7 +20618,7 @@ var yb = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, bb = class e extends yb {+}, xb = class e extends bb {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20669,7 +20669,7 @@ var yb = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, pre = class extends yb {+}, fre = class extends bb {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;}@@ -20677,7 +20677,7 @@ var yb = class {return !0;}createElement(e) {- return new bb(e, this);+ return new xb(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20699,8 +20699,8 @@ var yb = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof bb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof bb ? (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 xb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof xb ? (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() {@@ -20718,13 +20718,13 @@ var yb = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function xb(e) {+function Sb(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, P.useMemo)(() => void 0, [t]), s = (0, P.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, P.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = mre(a) ? a : null, o = n ? s.get(n) : null;+ let n = pre(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20749,7 +20749,7 @@ function xb(e) {i]);}-function mre(e) {+function pre(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20758,24 +20758,24 @@ function mre(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Sb(e) {+function Cb(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var Cb = (e) => hre(e) ? e.document : gre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), wb = (e) => Cb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Tb(e) {+var wb = (e) => mre(e) ? e.document : hre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Tb = (e) => wb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Eb(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function hre(e) {+function mre(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function gre(e) {- return Tb(e) && e.nodeType === 9;+function hre(e) {+ return Eb(e) && e.nodeType === 9;}-function Eb(e) {- return Tb(e) && e.nodeType === 11 && "host" in e;+function Db(e) {+ return Eb(e) && e.nodeType === 11 && "host" in e;}-function Db(e, t, n, r) {+function Ob(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);@@ -20783,7 +20783,7 @@ function Db(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Ob(e, t, n, r) {+function kb(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20797,70 +20797,70 @@ function Ob(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var _re = !1;-function kb() {- return _re;+var gre = !1;+function Ab() {+ return gre;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function Ab(e, t) {- if (!kb()) return t && e ? e.contains(t) : !1;+function jb(e, t) {+ if (!Ab()) 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 : Eb(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Db(n) ? n.host : n.parentNode;}return !1;}-var jb = (e = document) => {- if (!kb()) return e.activeElement;+var Mb = (e = document) => {+ if (!Ab()) 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 (kb() && e.target instanceof Element && e.target.shadowRoot) {+ if (Ab() && 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 Mb(e, t) {+function Nb(e, t) {if (t === null) return [];- t ??= wb(e);+ t ??= Tb(e);let n = [t];- if (!kb() || !e || e === t) return n;+ if (!Ab() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Eb(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Db(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function Nb(e) {+function Pb(e) {if (!e) return !1;- let t = e.getRootNode(), n = wb(e);+ let t = e.getRootNode(), n = Tb(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 vre = typeof Element < "u" && "checkVisibility" in Element.prototype;-function yre(e) {- let t = wb(e);+var _re = typeof Element < "u" && "checkVisibility" in Element.prototype;+function vre(e) {+ let t = Tb(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 } = wb(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = Tb(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function bre(e, t) {+function yre(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 Pb(e, t) {- return vre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && yre(e) && bre(e, t) && (!e.parentElement || Pb(e.parentElement, e));+function Fb(e, t) {+ return _re ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && vre(e) && yre(e, t) && (!e.parentElement || Fb(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var Fb = [+var Ib = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20875,39 +20875,39 @@ var Fb = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], xre = Fb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-Fb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var Sre = Fb.join(":not([hidden]):not([tabindex=\"-1\"]),");-function Ib(e, t) {- return e.matches(xre) && !Rb(e) && (t?.skipVisibilityCheck || Pb(e));-}-function Lb(e) {- return e.matches(Sre) && Pb(e) && !Rb(e);+], bre = Ib.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Ib.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var xre = Ib.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Lb(e, t) {+ return e.matches(bre) && !zb(e) && (t?.skipVisibilityCheck || Fb(e));}function Rb(e) {+ return e.matches(xre) && Fb(e) && !zb(e);+}+function zb(e) {let t = e;for (; t != null;) {- if (t instanceof wb(t).HTMLElement && t.inert) return !0;+ if (t instanceof Tb(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var zb = typeof document < "u" ? P.useLayoutEffect : () => {};+var Bb = typeof document < "u" ? P.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function Bb(e) {+function Vb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function Vb(e, t) {+function Hb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function Hb(e) {+function Ub(e) {let t = (0, P.useRef)({isFocused: !1,observer: null});- return zb(() => {+ return Bb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20919,14 +20919,14 @@ function Hb(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = Bb(r);+ let t = Vb(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 === jb() ? null : jb();+ let e = n === Mb() ? null : Mb();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20939,80 +20939,80 @@ function Hb(e) {}}, [e]);}-var Ub = !1;-function Cre(e) {- for (; e && !Ib(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = jb(wb(e).document);+var Wb = !1;+function Sre(e) {+ for (; e && !Lb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = Mb(Tb(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Eb(n) ? n : wb(e), i = (t) => t === e || Tb(t) && Ab(e, t), a = (e) => e === t || t != null && Tb(e) && Ab(t, e);- Ub = !0;+ let n = e?.getRootNode(), r = n != null && Db(n) ? n : Tb(e), i = (t) => t === e || Eb(t) && jb(e, t), a = (e) => e === t || t != null && Eb(e) && jb(t, e);+ Wb = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Sb(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Cb(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Sb(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Cb(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), Ub = !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), Wb = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function Wb(e) {+function Gb(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 Gb(e) {+function Kb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function Kb(e) {+function qb(e) {let t = null;return () => (t ??= e(), t);}-var qb = Kb(function() {- return Gb(/^Mac/i);-}), wre = Kb(function() {- return Gb(/^iPhone/i);-}), Jb = Kb(function() {- return Gb(/^iPad/i) || qb() && navigator.maxTouchPoints > 1;-}), Yb = Kb(function() {- return wre() || Jb();-}), Tre = Kb(function() {- return qb() || Yb();-}), Xb = Kb(function() {- return Wb(/AppleWebKit/i) && (Yb() || !Zb());-}), Zb = Kb(function() {- return Wb(/Chrome|CriOS|CrMo/i);-}), Qb = Kb(function() {- return Wb(/Android/i);+var Jb = qb(function() {+ return Kb(/^Mac/i);+}), Cre = qb(function() {+ return Kb(/^iPhone/i);+}), Yb = qb(function() {+ return Kb(/^iPad/i) || Jb() && navigator.maxTouchPoints > 1;+}), Xb = qb(function() {+ return Cre() || Yb();+}), wre = qb(function() {+ return Jb() || Xb();+}), Zb = qb(function() {+ return Gb(/AppleWebKit/i) && (Xb() || !Qb());+}), Qb = qb(function() {+ return Gb(/Chrome|CriOS|CrMo/i);+}), $b = qb(function() {+ return Gb(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function $b(e) {- return e.pointerType === "" && e.isTrusted ? !0 : Qb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function ex(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : $b() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Ere(e) {- return !Qb() && e.width === 0 && e.height === 0 || Qb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Tre(e) {+ return !$b() && e.width === 0 && e.height === 0 || $b() && 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 Dre = /*#__PURE__*/ (0, P.createContext)({+var Ere = /*#__PURE__*/ (0, P.createContext)({isNative: !0,- open: Are,+ open: kre,useHref: (e) => e});-function ex() {- return (0, P.useContext)(Dre);+function tx() {+ return (0, P.useContext)(Ere);}-function Ore(e, t) {+function Dre(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 tx(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Xb() && qb() && !Jb() ? new KeyboardEvent("keydown", {+function nx(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Zb() && Jb() && !Yb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -21027,21 +21027,21 @@ function tx(e, t, n = !0) {bubbles: !0,cancelable: !0});- tx.isOpening = n, Sb(e), e.dispatchEvent(s), tx.isOpening = !1;+ nx.isOpening = n, Cb(e), e.dispatchEvent(s), nx.isOpening = !1;}-tx.isOpening = !1;-function kre(e, t) {+nx.isOpening = !1;+function Ore(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 Are(e, t) {- kre(e, (e) => tx(e, t));+function kre(e, t) {+ Ore(e, (e) => nx(e, t));}-function nx(e) {- let t = ex().useHref(e.href ?? "");+function rx(e) {+ let t = tx().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -21051,8 +21051,8 @@ function nx(e) {"data-referrer-policy": e.referrerPolicy};}-function rx(e) {- let t = ex().useHref(e?.href ?? ""), n = {};+function ix(e) {+ let t = tx().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -21063,138 +21063,138 @@ function rx(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function jre(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Ore(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Are(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Dre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var ix = {+var ax = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, ax = /*#__PURE__*/ P.createContext(ix), Mre = /*#__PURE__*/ P.createContext(!1);+}, ox = /*#__PURE__*/ P.createContext(ax), jre = /*#__PURE__*/ P.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var ox = /* @__PURE__ */ new WeakMap();-function Nre(e = !1) {- let t = (0, P.useContext)(ax), n = (0, P.useRef)(null);+var sx = /* @__PURE__ */ new WeakMap();+function Mre(e = !1) {+ let t = (0, P.useContext)(ox), n = (0, P.useRef)(null);if (n.current === null && !e) {let e = P.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = ox.get(e);- n == null ? ox.set(e, {+ let n = sx.get(e);+ n == null ? sx.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, ox.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, sx.delete(e));}n.current = ++t.current;}return n.current;}-function Pre(e) {- let t = (0, P.useContext)(ax), n = Nre(!!e), r = `react-aria${t.prefix}`;+function Nre(e) {+ let t = (0, P.useContext)(ox), n = Mre(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Fre(e) {- let t = P.useId(), [n] = (0, P.useState)(sx()), r = n ? "react-aria" : `react-aria${ix.prefix}`;+function Pre(e) {+ let t = P.useId(), [n] = (0, P.useState)(cx()), r = n ? "react-aria" : `react-aria${ax.prefix}`;return e || `${r}-${t}`;}-var Ire = typeof P.useId == "function" ? Fre : Pre;-function Lre() {+var Fre = typeof P.useId == "function" ? Pre : Nre;+function Ire() {return !1;}-function Rre() {+function Lre() {return !0;}-function zre(e) {+function Rre(e) {return () => {};}-function sx() {- return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(zre, Lre, Rre) : (0, P.useContext)(Mre);+function cx() {+ return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(Rre, Ire, Lre) : (0, P.useContext)(jre);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var cx = null, lx = /* @__PURE__ */ new Set(), ux = /* @__PURE__ */ new Map(), dx = !1, fx = !1, Bre = {+var lx = null, ux = /* @__PURE__ */ new Set(), dx = /* @__PURE__ */ new Map(), fx = !1, px = !1, zre = {Tab: !0,Escape: !0};-function px(e, t) {- for (let n of lx) n(e, t);+function mx(e, t) {+ for (let n of ux) n(e, t);}-function Vre(e) {- return !(e.metaKey || !qb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");-}-function mx(e) {- dx = !0, !tx.isOpening && Vre(e) && (cx = "keyboard", px("keyboard", e));+function Bre(e) {+ return !(e.metaKey || !Jb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function hx(e) {- cx = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (dx = !0, px("pointer", e));+ fx = !0, !nx.isOpening && Bre(e) && (lx = "keyboard", mx("keyboard", e));}function gx(e) {- !tx.isOpening && $b(e) && (dx = !0, cx = "virtual");+ lx = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (fx = !0, mx("pointer", e));}function _x(e) {- if (Ub) return;- let t = G(e), n = wb(t), r = Cb(t);- t === n ? fx = !0 : t !== r && e.isTrusted && (!dx && !fx && (cx = "virtual", px("virtual", e)), dx = !1, fx = !1);+ !nx.isOpening && ex(e) && (fx = !0, lx = "virtual");+}+function vx(e) {+ if (Wb) return;+ let t = G(e), n = Tb(t), r = wb(t);+ t === n ? px = !0 : t !== r && e.isTrusted && (!fx && !px && (lx = "virtual", mx("virtual", e)), fx = !1, px = !1);}-function vx() {- Ub || (dx = !1, fx = !0);+function yx() {+ Wb || (fx = !1, px = !0);}-function yx(e) {- let t = jb(Cb(G(e)));+function bx(e) {+ let t = Mb(wb(G(e)));queueMicrotask(() => {- jb(Cb(G(e))) !== t && wx("keyboard");+ Mb(wb(G(e))) !== t && Tx("keyboard");});}-function bx(e) {+function xx(e) {if (typeof window > "u" || typeof document > "u") return;- let t = wb(e), n = Cb(e);- if (ux.get(t)) return;+ let t = Tb(e), n = wb(e);+ if (dx.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- dx = !0, r.apply(this, arguments);+ fx = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", mx, !0), n.addEventListener("keyup", mx, !0), n.addEventListener("click", gx, !0), n.addEventListener("invalid", yx, !0), t.addEventListener("focus", _x, !0), t.addEventListener("blur", vx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", hx, !0), n.addEventListener("pointermove", hx, !0), n.addEventListener("pointerup", hx, !0)), t.addEventListener("beforeunload", () => {- xx(e);- }, { once: !0 }), ux.set(t, { focus: r });+ }), n.addEventListener("keydown", hx, !0), n.addEventListener("keyup", hx, !0), n.addEventListener("click", _x, !0), n.addEventListener("invalid", bx, !0), t.addEventListener("focus", vx, !0), t.addEventListener("blur", yx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", gx, !0), n.addEventListener("pointermove", gx, !0), n.addEventListener("pointerup", gx, !0)), t.addEventListener("beforeunload", () => {+ Sx(e);+ }, { once: !0 }), dx.set(t, { focus: r });}-var xx = (e, t) => {- let n = wb(e), r = Cb(e);- t && r.removeEventListener("DOMContentLoaded", t), ux.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var Sx = (e, t) => {+ let n = Tb(e), r = wb(e);+ t && r.removeEventListener("DOMContentLoaded", t), dx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: ux.get(n).focus- }), r.removeEventListener("keydown", mx, !0), r.removeEventListener("keyup", mx, !0), r.removeEventListener("click", gx, !0), r.removeEventListener("invalid", yx, !0), n.removeEventListener("focus", _x, !0), n.removeEventListener("blur", vx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", hx, !0), r.removeEventListener("pointermove", hx, !0), r.removeEventListener("pointerup", hx, !0)), ux.delete(n));+ value: dx.get(n).focus+ }), r.removeEventListener("keydown", hx, !0), r.removeEventListener("keyup", hx, !0), r.removeEventListener("click", _x, !0), r.removeEventListener("invalid", bx, !0), n.removeEventListener("focus", vx, !0), n.removeEventListener("blur", yx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", gx, !0), r.removeEventListener("pointermove", gx, !0), r.removeEventListener("pointerup", gx, !0)), dx.delete(n));};-function Hre(e) {- let t = Cb(e), n;+function Vre(e) {+ let t = wb(e), n;return t.readyState === "loading" ? (n = () => {- bx(e);- }, t.addEventListener("DOMContentLoaded", n)) : bx(e), () => xx(e, n);-}-typeof document < "u" && Hre();-function Sx() {- return cx !== "pointer";+ xx(e);+ }, t.addEventListener("DOMContentLoaded", n)) : xx(e), () => Sx(e, n);}+typeof document < "u" && Vre();function Cx() {- return cx;+ return lx !== "pointer";+}+function wx() {+ return lx;}-function wx(e) {- cx = e, px(e, null);+function Tx(e) {+ lx = e, mx(e, null);}-function Tx() {- bx();- let [e, t] = (0, P.useState)(cx);+function Ex() {+ xx();+ let [e, t] = (0, P.useState)(lx);return (0, P.useEffect)(() => {let e = () => {- t(cx);+ t(lx);};- return lx.add(e), () => {- lx.delete(e);+ return ux.add(e), () => {+ ux.delete(e);};- }, []), sx() ? null : e;+ }, []), cx() ? null : e;}-var Ure = /* @__PURE__ */ new Set([+var Hre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21205,107 +21205,107 @@ var Ure = /* @__PURE__ */ new Set(["submit","reset"]);-function Wre(e, t, n) {- let r = n ? G(n) : void 0, i = Cb(r), a = wb(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 = jb(i);- return e = e || u instanceof o && !Ure.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Bre[n.key]);+function Ure(e, t, n) {+ let r = n ? G(n) : void 0, i = wb(r), a = Tb(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 = Mb(i);+ return e = e || u instanceof o && !Hre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !zre[n.key]);}-function Ex(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Sx());- return Dx((e) => {+function Dx(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Cx());+ return Ox((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function Dx(e, t, n) {- bx(), (0, P.useEffect)(() => {+function Ox(e, t, n) {+ xx(), (0, P.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Wre(!!n?.isTextInput, t, r) && e(Sx());+ Ure(!!n?.isTextInput, t, r) && e(Cx());};- return lx.add(t), () => {- lx.delete(t);+ return ux.add(t), () => {+ ux.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var Ox = /* @__PURE__ */ new Map(), kx = /* @__PURE__ */ new Set();-function Ax(e) {+var kx = /* @__PURE__ */ new Map(), Ax = /* @__PURE__ */ new Set();+function jx(e) {return "propertyName" in e;}-function Gre(e) {+function Wre(e) {let t = G(e);- if (!Ax(e) || !t) return;- let n = Ox.get(t);- n || (n = /* @__PURE__ */ new Set(), Ox.set(t, n), t.addEventListener("transitioncancel", jx, { once: !0 })), n.add(e.propertyName);+ if (!jx(e) || !t) return;+ let n = kx.get(t);+ n || (n = /* @__PURE__ */ new Set(), kx.set(t, n), t.addEventListener("transitioncancel", Mx, { once: !0 })), n.add(e.propertyName);}-function jx(e) {+function Mx(e) {let t = G(e);- if (!Ax(e) || !t) return;- let n = Ox.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", jx), Ox.delete(t)), Ox.size === 0)) for (let e of kx) e(!0), kx.delete(e);+ if (!jx(e) || !t) return;+ let n = kx.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Mx), kx.delete(t)), kx.size === 0)) for (let e of Ax) e(!0), Ax.delete(e);}-function Mx() {- Db(document, "transitionrun", Gre), Db(document, "transitionend", jx);+function Nx() {+ Ob(document, "transitionrun", Wre), Ob(document, "transitionend", Mx);}-function Kre() {- for (let [e] of Ox) "isConnected" in e && !e.isConnected && Ox.delete(e);+function Gre() {+ for (let [e] of kx) "isConnected" in e && !e.isConnected && kx.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? Db(document, "DOMContentLoaded", Mx) : Mx());-function Nx(e) {+typeof document < "u" && (document.readyState === "loading" ? Ob(document, "DOMContentLoaded", Nx) : Nx());+function Px(e) {let t = window.requestAnimationFrame(() => {- if (Kre(), Ox.size === 0) return e(!1);- kx.add(e);+ if (Gre(), kx.size === 0) return e(!1);+ Ax.add(e);});return () => {- window.cancelAnimationFrame(t), kx.delete(e);+ window.cancelAnimationFrame(t), Ax.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function Px(e) {+function Fx(e) {if (!e.isConnected) return;- let t = Cb(e);- if (Cx() === "virtual") {- let n = jb(t);- Nx(() => {- let r = jb(t);- (r === n || r === t.body) && e.isConnected && Sb(e);+ let t = wb(e);+ if (wx() === "virtual") {+ let n = Mb(t);+ Px(() => {+ let r = Mb(t);+ (r === n || r === t.body) && e.isConnected && Cb(e);});- } else Sb(e);+ } else Cb(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function Fx(...e) {+function Ix(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function qre(e) {+function Kre(e) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(t), i = (0, P.useRef)(null), a = (0, P.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return zb(() => {+ return Bb(() => {r.current = t, i.current && a.current();}), [t, (0, P.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var Jre = !!(typeof window < "u" && window.document && window.document.createElement), Ix = /* @__PURE__ */ new Map(), Lx;-typeof FinalizationRegistry < "u" && (Lx = new FinalizationRegistry((e) => {- Ix.delete(e);+var qre = !!(typeof window < "u" && window.document && window.document.createElement), Lx = /* @__PURE__ */ new Map(), Rx;+typeof FinalizationRegistry < "u" && (Rx = new FinalizationRegistry((e) => {+ Lx.delete(e);}));-var Rx = /* @__PURE__ */ new WeakMap();-function zx(e) {- let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = Ire(t), a = (0, P.useRef)(null), o = Rx.get(a);- if (Lx && o !== i && (o != null && Lx.unregister(a), Lx.register(a, i, a), Rx.set(a, i)), Jre) {- let e = Ix.get(i);- e && !e.includes(r) ? e.push(r) : Ix.set(i, [r]);- }- return zb(() => {+var zx = /* @__PURE__ */ new WeakMap();+function Bx(e) {+ let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = Fre(t), a = (0, P.useRef)(null), o = zx.get(a);+ if (Rx && o !== i && (o != null && Rx.unregister(a), Rx.register(a, i, a), zx.set(a, i)), qre) {+ let e = Lx.get(i);+ e && !e.includes(r) ? e.push(r) : Lx.set(i, [r]);+ }+ return Bb(() => {let e = i;return () => {- Lx && (Lx.unregister(a), Rx.delete(a)), Ix.delete(e);+ Rx && (Rx.unregister(a), zx.delete(a)), Lx.delete(e);};}, [i]), (0, P.useEffect)(() => {let e = r.current;@@ -21314,57 +21314,57 @@ function zx(e) {};}), i;}-function Yre(e, t) {+function Jre(e, t) {if (e === t) return e;- let n = Ix.get(e);+ let n = Lx.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = Ix.get(t);+ let r = Lx.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function Bx(e = []) {- let t = zx(), [n, r] = qre(t), i = (0, P.useCallback)(() => {+function Vx(e = []) {+ let t = Bx(), [n, r] = Kre(t), i = (0, P.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return zb(i, [+ return Bb(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function Vx(...e) {+function Hx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Hx(e, t);+ let r = Ux(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Hx(e[n], null);+ typeof t == "function" ? t() : Ux(e[n], null);});};};}-function Hx(e, t) {+function Ux(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function Ux(e) {+function Wx(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 = Ux(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Wx(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function Wx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ux(e)) && (r && (r += " "), r += t);+function Gx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Wx(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -21374,17 +21374,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] = Fx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Wx(n, i) : e === "id" && n && i ? t.id = Yre(n, i) : e === "ref" && n && i ? t.ref = Vx(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] = Ix(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Gx(n, i) : e === "id" && n && i ? t.id = Jre(n, i) : e === "ref" && n && i ? t.ref = Hx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Gx(e) {+function Kx(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, P.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = Hb(a), s = (0, P.useCallback)((e) => {- let t = G(e), r = Cb(t), a = r ? jb(r) : jb();+ }, [r, i]), o = Ub(a), s = (0, P.useCallback)((e) => {+ let t = G(e), r = wb(t), a = r ? Mb(r) : Mb();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21397,7 +21397,7 @@ function Gx(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function Kx(e) {+function qx(e) {if (e) return (t) => {let n = !0;e({@@ -21421,33 +21421,33 @@ function Kx(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Xre = /* @__PURE__ */ new Set([+var Yre = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Zre = [+]), Xre = ["Alt","Control","Meta","Shift"];-function Qre(e) {+function Zre(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(qb() ? "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(Jb() ? "Meta" : "Control"), t;}-function $re(e) {+function Qre(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 qx(e) {- return Zre.filter((t) => e.has(t));+function Jx(e) {+ return Xre.filter((t) => e.has(t));}-function eie(e) {+function $re(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Xre.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 Yre.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,@@ -21459,10 +21459,10 @@ function eie(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function Jx(e) {+function Yx(e) {return e.toLowerCase();}-var tie = {+var eie = {space: " ",esc: "escape",del: "delete",@@ -21474,26 +21474,26 @@ var tie = {pageup: "pageup",pagedown: "pagedown"};-function nie(e) {- let t = Jx(e);- return tie[t] ?? t;+function tie(e) {+ let t = Yx(e);+ return eie[t] ?? t;}-function rie(e) {- let t = qx(Qre(e)), n = nie(e.key);+function nie(e) {+ let t = Jx(Zre(e)), n = tie(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function iie(e) {- let t = qx($re(e)), n = Jx(e.key);+function rie(e) {+ let t = Jx(Qre(e)), n = Yx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function aie(e) {+function iie(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = eie(n);- t.set(rie(e), r);+ let e = $re(n);+ t.set(nie(e), r);}return (e) => {- let n = iie(e), r = t.get(n), i = r?.(e);+ let n = rie(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21504,23 +21504,23 @@ function aie(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Yx(e) {+function Xx(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = aie(t), s = Kx((e) => {- Ab(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = Kx((e) => {- Ab(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = iie(t), s = qx((e) => {+ jb(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = qx((e) => {+ jb(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? Fx(e.onKeyDown, s) : s, a = e.onKeyUp ? Fx(e.onKeyUp, c) : c;- } else i = Kx(e.onKeyDown), a = Kx(e.onKeyUp);+ i = e.onKeyDown ? Ix(e.onKeyDown, s) : s, a = e.onKeyUp ? Ix(e.onKeyUp, c) : c;+ } else i = qx(e.onKeyDown), a = qx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Xx(e) {+function Zx(e) {let t = (0, P.useRef)(null), n = (0, P.useRef)(void 0), r = (0, P.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21542,25 +21542,25 @@ function Xx(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Zx(e, t) {- zb(() => {+function Qx(e, t) {+ Bb(() => {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 Qx = /*#__PURE__*/ P.createContext(null);-function oie(e) {- let t = (0, P.useContext)(Qx) || {};- Zx(t, e);+var $x = /*#__PURE__*/ P.createContext(null);+function aie(e) {+ let t = (0, P.useContext)($x) || {};+ Qx(t, e);let { ref: n, ...r } = t;return r;}-function $x(e, t) {- let { focusProps: n } = Gx(e), { keyboardProps: r } = Yx(e), i = K(n, r), a = oie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);+function eS(e, t) {+ let { focusProps: n } = Kx(e), { keyboardProps: r } = Xx(e), i = K(n, r), a = aie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);(0, P.useEffect)(() => {- s.current && t.current && Px(t.current), s.current = !1;+ s.current && t.current && Fx(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -21594,21 +21594,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var eS = /*#__PURE__*/ (0, P.createContext)(!1);-function sie(e) {- if ((0, P.useContext)(eS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);- let t = /*#__PURE__*/ P.createElement(eS.Provider, { value: !0 }, e.children);+var tS = /*#__PURE__*/ (0, P.createContext)(!1);+function oie(e) {+ if ((0, P.useContext)(tS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);+ let t = /*#__PURE__*/ P.createElement(tS.Provider, { value: !0 }, e.children);return /*#__PURE__*/ P.createElement("template", null, t);}-function tS(e) {- let t = (t, n) => (0, P.useContext)(eS) ? null : e(t, n);+function nS(e) {+ let t = (t, n) => (0, P.useContext)(tS) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, P.forwardRef)(t);}-function nS() {- return (0, P.useContext)(eS);+function rS() {+ return (0, P.useContext)(tS);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var cie = /* @__PURE__ */ o(((e) => {+var sie = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21646,47 +21646,47 @@ var cie = /* @__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;-})), rS = /* @__PURE__ */ o(((e, t) => {- t.exports = cie();-})), lie = rS(), iS = /*#__PURE__*/ (0, P.createContext)(!1), aS = /*#__PURE__*/ (0, P.createContext)(null);-function oS(e) {- if ((0, P.useContext)(aS)) return e.content;- let { collection: t, document: n } = pie(e.createCollection);- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(sie, null, /*#__PURE__*/ P.createElement(aS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(uie, {+})), iS = /* @__PURE__ */ o(((e, t) => {+ t.exports = sie();+})), cie = iS(), aS = /*#__PURE__*/ (0, P.createContext)(!1), oS = /*#__PURE__*/ (0, P.createContext)(null);+function sS(e) {+ if ((0, P.useContext)(oS)) return e.content;+ let { collection: t, document: n } = fie(e.createCollection);+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(oie, null, /*#__PURE__*/ P.createElement(oS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(lie, {render: e.children,collection: t}));}-function uie({ collection: e, render: t }) {+function lie({ collection: e, render: t }) {return t(e);}-function die(e, t, n) {- let r = sx(), i = (0, P.useRef)(r);+function uie(e, t, n) {+ let r = cx(), i = (0, P.useRef)(r);i.current = r;let a = (0, P.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, lie.useSyncExternalStore)(e, a);+ return (0, cie.useSyncExternalStore)(e, a);}-var fie = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : die;-function pie(e) {- let [t] = (0, P.useState)(() => new pre(e?.() || new _b()));+var die = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : uie;+function fie(e) {+ let [t] = (0, P.useState)(() => new fre(e?.() || new vb()));return {- collection: fie((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {+ collection: die((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, P.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var sS = /*#__PURE__*/ (0, P.createContext)(null);-function mie(e) {- return class extends fb {+var cS = /*#__PURE__*/ (0, P.createContext)(null);+function pie(e) {+ return class extends pb {static {this.type = e;}};}-function cS(e, t, n, r, i, a) {- typeof e == "string" && (e = mie(e));+function lS(e, t, n, r, i, a) {+ typeof e == "string" && (e = pie(e));let o = (0, P.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21695,82 +21695,82 @@ function cS(e, t, n, r, i, a) {r,a,e- ]), s = (0, P.useContext)(sS);+ ]), s = (0, P.useContext)(cS);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ P.createElement(sS.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ P.createElement(cS.Provider, { value: o }, i) : null;}return /*#__PURE__*/ P.createElement(e.type, { ref: o }, i);}-function lS(e, t) {+function uS(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, P.forwardRef)((r, i) => {- let a = (0, P.useContext)(Qx);- if (!(0, P.useContext)(iS)) {+ let a = (0, P.useContext)($x);+ if (!(0, P.useContext)(aS)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return cS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(Qx.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));+ return lS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement($x.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function uS(e, t, n = dS) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => cS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));+function dS(e, t, n = fS) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => lS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));return i.displayName = t.name, i;}-function dS(e) {- return xb({+function fS(e) {+ return Sb({...e,addIdAndValue: !0});}-var fS = /*#__PURE__*/ (0, P.createContext)(null);-function pS(e) {- let t = (0, P.useContext)(fS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = dS({+var pS = /*#__PURE__*/ (0, P.createContext)(null);+function mS(e) {+ let t = (0, P.useContext)(pS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = fS({...e,idScope: r,dependencies: n});- return (0, P.useContext)(aS) && (i = /*#__PURE__*/ P.createElement(hie, null, i)), t = (0, P.useMemo)(() => ({+ return (0, P.useContext)(oS) && (i = /*#__PURE__*/ P.createElement(mie, null, i)), t = (0, P.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ P.createElement(fS.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ P.createElement(pS.Provider, { value: t }, i);}-function hie({ children: e }) {- let t = (0, P.useContext)(aS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(aS.Provider, { value: null }, /*#__PURE__*/ P.createElement(iS.Provider, { value: !0 }, e)), [e]);- return sx() ? /*#__PURE__*/ P.createElement(sS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);+function mie({ children: e }) {+ let t = (0, P.useContext)(oS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(oS.Provider, { value: null }, /*#__PURE__*/ P.createElement(aS.Provider, { value: !0 }, e)), [e]);+ return cx() ? /*#__PURE__*/ P.createElement(cS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var gie = "react-aria-clear-focus", _ie = "react-aria-focus";+var hie = "react-aria-clear-focus", gie = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function mS(e) {- let t = yie(Cb(e));- t !== e && (t && vie(t, e), e && hS(e, t));+function hS(e) {+ let t = vie(wb(e));+ t !== e && (t && _ie(t, e), e && gS(e, t));}-function vie(e, t) {+function _ie(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function hS(e, t) {+function gS(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function yie(e) {- let t = jb(e), n = t?.getAttribute("aria-activedescendant");+function vie(e) {+ let t = Mb(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function gS(e, t) {- let n = wb(t), r = Cb(t);+function _S(e, t) {+ let n = Tb(t), r = wb(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 _S = 100, vS = 600, yS = {+var vS = 100, yS = 600, bS = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21780,7 +21780,7 @@ var _S = 100, vS = 600, yS = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, bie = /* @__PURE__ */ new Set([+}, yie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21791,7 +21791,7 @@ var _S = 100, vS = 600, yS = {"submit","reset"]);-function bS() {+function xS() {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,@@ -21799,58 +21799,58 @@ function bS() {angle: window.screen.orientation?.angle ?? 0};}-function xie(e) {- yS.resizeTimeStamp <= e.timeStamp + 50 && (yS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(yS.resizeTimeout), yS.resizeTimeout = window.setTimeout(xS, 150));-}-function xS() {- let e = gS("viewport");- if (Qb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = bS(), r = t - yS.startTimeStamp, i = yS.screenHeight - n.height, a = yS.screenAngle - n.angle;- Math.abs(a) % 180 && yS.screenWidth - n.height < _S && (yS.screenWidth = n.width, yS.screenHeight = n.height, yS.screenAngle = n.angle, i = 0), r > vS && (window.clearTimeout(yS.screenTimeout), yS.screenTimeout = window.setTimeout(() => {- let e = wS(document.hasFocus() ? jb() : null), t = bS();- Math.abs(yS.screenAngle - t.angle) % 180 || yS.isOpen && e || (yS.screenWidth = t.width, yS.screenHeight = t.height, yS.screenAngle = t.angle, yS.isOpen = !1);- }, vS)), r <= vS && i >= _S && (yS.endTimeStamp = t), yS.isOpen = i >= _S;-}-function Sie() {- let e = bS(), t = yS.screenAngle - e.angle;- if (Math.abs(t) % 180 && !yS.isOpen) {- let e = yS.screenWidth;- yS.screenWidth = yS.screenHeight, yS.screenHeight = e;- }- yS.isOpen || (yS.screenAngle = e.angle);-}-function Cie(e) {- let t = wS(G(e)), n = performance.now(), r = bS(), i = yS.screenHeight - r.height;- i < _S && t && (yS.screenWidth = r.width, yS.screenHeight = r.height, yS.screenAngle = r.angle, yS.startTimeStamp = n), t && window.clearTimeout(yS.screenTimeout), i >= _S && t && (yS.endTimeStamp = n);+function bie(e) {+ bS.resizeTimeStamp <= e.timeStamp + 50 && (bS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(bS.resizeTimeout), bS.resizeTimeout = window.setTimeout(SS, 150));}function SS() {- let e = bS();- Db(window.visualViewport, "resize", Xb() ? xS : xie), Db(window.screen.orientation, "change", Sie), Db(window, "focus", Cie, {+ let e = _S("viewport");+ if ($b() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = xS(), r = t - bS.startTimeStamp, i = bS.screenHeight - n.height, a = bS.screenAngle - n.angle;+ Math.abs(a) % 180 && bS.screenWidth - n.height < vS && (bS.screenWidth = n.width, bS.screenHeight = n.height, bS.screenAngle = n.angle, i = 0), r > yS && (window.clearTimeout(bS.screenTimeout), bS.screenTimeout = window.setTimeout(() => {+ let e = TS(document.hasFocus() ? Mb() : null), t = xS();+ Math.abs(bS.screenAngle - t.angle) % 180 || bS.isOpen && e || (bS.screenWidth = t.width, bS.screenHeight = t.height, bS.screenAngle = t.angle, bS.isOpen = !1);+ }, yS)), r <= yS && i >= vS && (bS.endTimeStamp = t), bS.isOpen = i >= vS;+}+function xie() {+ let e = xS(), t = bS.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !bS.isOpen) {+ let e = bS.screenWidth;+ bS.screenWidth = bS.screenHeight, bS.screenHeight = e;+ }+ bS.isOpen || (bS.screenAngle = e.angle);+}+function Sie(e) {+ let t = TS(G(e)), n = performance.now(), r = xS(), i = bS.screenHeight - r.height;+ i < vS && t && (bS.screenWidth = r.width, bS.screenHeight = r.height, bS.screenAngle = r.angle, bS.startTimeStamp = n), t && window.clearTimeout(bS.screenTimeout), i >= vS && t && (bS.endTimeStamp = n);+}+function CS() {+ let e = xS();+ Ob(window.visualViewport, "resize", Zb() ? SS : bie), Ob(window.screen.orientation, "change", xie), Ob(window, "focus", Sie, {capture: !0,passive: !0- }), yS.screenWidth = e.width, yS.screenHeight = e.height, yS.screenAngle = e.angle;+ }), bS.screenWidth = e.width, bS.screenHeight = e.height, bS.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? Db(document, "DOMContentLoaded", SS) : SS());-function CS() {- let e = gS("viewport");- return Qb() && e?.includes("overlays-content") ? !1 : yS.isOpen ? !0 : yS.startTimeStamp ? yS.endTimeStamp >= yS.startTimeStamp ? !0 : performance.now() - yS.startTimeStamp <= vS ? yS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Ob(document, "DOMContentLoaded", CS) : CS());+function wS() {+ let e = _S("viewport");+ return $b() && e?.includes("overlays-content") ? !1 : bS.isOpen ? !0 : bS.startTimeStamp ? bS.endTimeStamp >= bS.startTimeStamp ? !0 : performance.now() - bS.startTimeStamp <= yS ? bS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function wS(e) {- if (!(e instanceof Element) || !Ib(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !bie.has(e.type);+function TS(e) {+ if (!(e instanceof Element) || !Lb(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !yie.has(e.type);return t || n || r;}-function TS(e) {- return qb() ? e.metaKey : e.ctrlKey;+function ES(e) {+ return Jb() ? e.metaKey : e.ctrlKey;}-function ES() {- return yS.isOpen;+function DS() {+ return bS.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var wie = P.useInsertionEffect ?? zb;-function DS(e) {+var Cie = P.useInsertionEffect ?? Bb;+function OS(e) {let t = (0, P.useRef)(null);- return wie(() => {+ return Cie(() => {t.current = e;}, [e]), (0, P.useCallback)((...e) => {let n = t.current;@@ -21858,10 +21858,10 @@ function DS(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function OS(e, t, n, r) {- let i = DS(n), a = n == null;+function kS(e, t, n, r) {+ let i = OS(n), a = n == null;(0, P.useEffect)(() => {- if (!(a || e.current == null)) return Db(e.current, t, i, r);+ if (!(a || e.current == null)) return Ob(e.current, t, i, r);}, [e,t,@@ -21870,16 +21870,16 @@ function OS(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function kS(e, t) {+function AS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = zx(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 = Bx(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 Tie = /* @__PURE__ */ new Set([+var wie = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21890,7 +21890,7 @@ var Tie = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Eie = /* @__PURE__ */ new Set([+]), Tie = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21911,19 +21911,19 @@ var Tie = /* @__PURE__ */ new Set(["ur","yi"]);-function Die(e) {+function Eie(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 Tie.has(t.script);+ if (t.script) return wie.has(t.script);}let t = e.split("-")[0];- return Eie.has(t);+ return Tie.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var AS = Symbol.for("react-aria.i18n.locale");-function jS() {- let e = typeof window < "u" && window[AS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var jS = Symbol.for("react-aria.i18n.locale");+function MS() {+ let e = typeof window < "u" && window[jS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21931,31 +21931,31 @@ function jS() {}return {locale: e,- direction: Die(e) ? "rtl" : "ltr"+ direction: Eie(e) ? "rtl" : "ltr"};}-var MS = jS(), NS = /* @__PURE__ */ new Set();-function PS() {- MS = jS();- for (let e of NS) e(MS);+var NS = MS(), PS = /* @__PURE__ */ new Set();+function FS() {+ NS = MS();+ for (let e of PS) e(NS);}-function Oie() {- let e = sx(), [t, n] = (0, P.useState)(MS);- return (0, P.useEffect)(() => (NS.size === 0 && window.addEventListener("languagechange", PS), NS.add(n), () => {- NS.delete(n), NS.size === 0 && window.removeEventListener("languagechange", PS);+function Die() {+ let e = cx(), [t, n] = (0, P.useState)(NS);+ return (0, P.useEffect)(() => (PS.size === 0 && window.addEventListener("languagechange", FS), PS.add(n), () => {+ PS.delete(n), PS.size === 0 && window.removeEventListener("languagechange", FS);}), []), e ? {- locale: typeof window < "u" && window[AS] || "en-US",+ locale: typeof window < "u" && window[jS] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var kie = /*#__PURE__*/ P.createContext(null);-function FS() {- let e = Oie();- return (0, P.useContext)(kie) || e;+var Oie = /*#__PURE__*/ P.createContext(null);+function IS() {+ let e = Die();+ return (0, P.useContext)(Oie) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Aie = Symbol.for("react-aria.i18n.locale"), jie = Symbol.for("react-aria.i18n.strings"), IS = void 0, LS = class e {+var kie = Symbol.for("react-aria.i18n.locale"), Aie = Symbol.for("react-aria.i18n.strings"), LS = void 0, RS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21966,38 +21966,38 @@ var Aie = Symbol.for("react-aria.i18n.locale"), jie = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Mie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = jie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Aie];- if (IS === void 0) {- let t = window[jie];+ let n = window[kie];+ if (LS === void 0) {+ let t = window[Aie];if (!t) return null;- IS = {};- for (let r in t) IS[r] = new e({ [n]: t[r] }, n);+ LS = {};+ for (let r in t) LS[r] = new e({ [n]: t[r] }, n);}- let r = IS?.[t];+ let r = LS?.[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 Mie(e, t, n = "en-US") {+function jie(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Nie(e), i = Pie(e);+ let r = Mie(e), i = Nie(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 Nie(e) {+function Mie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Pie(e) {+function Nie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var RS = /* @__PURE__ */ new Map(), zS = /* @__PURE__ */ new Map(), Fie = class {+var zS = /* @__PURE__ */ new Map(), BS = /* @__PURE__ */ new Map(), Pie = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -22008,36 +22008,36 @@ var RS = /* @__PURE__ */ new Map(), zS = /* @__PURE__ */ new Map(), Fie = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = RS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), RS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = zS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), zS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = zS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), zS.set(this.locale, t)), t.format(e);+ let t = BS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), BS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, BS = /* @__PURE__ */ new WeakMap();-function Iie(e) {- let t = BS.get(e);- return t || (t = new LS(e), BS.set(e, t)), t;+}, VS = /* @__PURE__ */ new WeakMap();+function Fie(e) {+ let t = VS.get(e);+ return t || (t = new RS(e), VS.set(e, t)), t;}-function Lie(e, t) {- return t && LS.getGlobalDictionaryForPackage(t) || Iie(e);+function Iie(e, t) {+ return t && RS.getGlobalDictionaryForPackage(t) || Fie(e);}-function VS(e, t) {- let { locale: n } = FS(), r = Lie(e, t);- return (0, P.useMemo)(() => new Fie(n, r), [n, r]);+function HS(e, t) {+ let { locale: n } = IS(), r = Iie(e, t);+ return (0, P.useMemo)(() => new Pie(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Rie = /* @__PURE__ */ new Set(["id"]), zie = /* @__PURE__ */ new Set([+var Lie = /* @__PURE__ */ new Set(["id"]), Rie = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Bie = /* @__PURE__ */ new Set([+]), zie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -22045,60 +22045,60 @@ var Rie = /* @__PURE__ */ new Set(["id"]), zie = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), Vie = /* @__PURE__ */ new Set([+]), Bie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), HS = /* @__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(".")), Hie = /^(data-.*)$/;-function US(e, t = {}) {+]), US = /* @__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(".")), Vie = /^(data-.*)$/;+function WS(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) && (Rie.has(t) || n && zie.has(t) || r && Bie.has(t) || i && Vie.has(t) || a && (HS.has(t) || t.endsWith("Capture") && HS.has(t.slice(0, -7))) || o?.has(t) || Hie.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Lie.has(t) || n && Rie.has(t) || r && zie.has(t) || i && Bie.has(t) || a && (US.has(t) || t.endsWith("Capture") && US.has(t.slice(0, -7))) || o?.has(t) || Vie.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var WS = "default", GS = "", KS = /* @__PURE__ */ new WeakMap();-function qS(e) {- if (Yb() && Xb()) {- if (WS === "default") {- let t = Cb(e);- GS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- WS = "disabled";+var GS = "default", KS = "", qS = /* @__PURE__ */ new WeakMap();+function JS(e) {+ if (Xb() && Zb()) {+ if (GS === "default") {+ let t = wb(e);+ KS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ GS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- KS.set(e, e.style[t]), e.style[t] = "none";+ qS.set(e, e.style[t]), e.style[t] = "none";}}-function JS(e) {- if (Yb() && Xb()) {- if (WS !== "disabled") return;- WS = "restoring", setTimeout(() => {- Nx(() => {- if (WS === "restoring") {- let t = Cb(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = GS || ""), GS = "", WS = "default";+function YS(e) {+ if (Xb() && Zb()) {+ if (GS !== "disabled") return;+ GS = "restoring", setTimeout(() => {+ Px(() => {+ if (GS === "restoring") {+ let t = wb(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = KS || ""), KS = "", GS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && KS.has(e)) {- let t = KS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), KS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && qS.has(e)) {+ let t = qS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), qS.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var YS = /* @__PURE__ */ new WeakMap();-function XS(e) {- let t = Cb(e), n = YS.get(t);- return n ??= gS("csp-nonce", t), n !== void 0 && YS.set(t, n), n;+var XS = /* @__PURE__ */ new WeakMap();+function ZS(e) {+ let t = wb(e), n = XS.get(t);+ return n ??= _S("csp-nonce", t), n !== void 0 && XS.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var ZS = P.createContext({ register: () => {} });-ZS.displayName = "PressResponderContext";+var QS = P.createContext({ register: () => {} });+QS.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function QS() {+function $S() {let e = (0, P.useRef)(/* @__PURE__ */ new Map()), t = (0, P.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -22124,15 +22124,15 @@ function QS() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function $S(e) {- let t = (0, P.useContext)(ZS);+function eC(e) {+ let t = (0, P.useContext)(QS);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return Zx(t, e.ref), e;+ return Qx(t, e.ref), e;}-var eC = class {+var tC = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -22145,9 +22145,9 @@ var eC = class {get shouldStopPropagation() {return this.#e;}-}, tC = Symbol("linkClicked"), nC = "react-aria-pressable-style", rC = "data-react-aria-pressable";-function iC(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 } = $S(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({+}, nC = Symbol("linkClicked"), rC = "react-aria-pressable-style", iC = "data-react-aria-pressable";+function aC(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 } = eC(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -22157,12 +22157,12 @@ function iC(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = QS(), y = (0, P.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = $S(), y = (0, P.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new eC("pressstart", t, e);+ let n = new tC("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -22176,11 +22176,11 @@ function iC(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new eC("pressend", r, e);+ let t = new tC("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new eC("press", r, e);+ let n = new tC("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22189,19 +22189,19 @@ function iC(e) {i,n,t- ]), x = DS(b), S = DS((0, P.useCallback)((e, t) => {+ ]), x = OS(b), S = OS((0, P.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new eC("pressup", t, e);+ let r = new tC("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, P.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(sC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || JS(t.target);+ t.didFirePressStart && t.pointerType != null && b(cC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || YS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22209,7 +22209,7 @@ function iC(e) {d,v,b- ]), w = DS(C);+ ]), w = OS(C);(0, P.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22226,39 +22226,39 @@ function iC(e) {}, [s, o]), D = (0, P.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- Vb(n, t), o(Bb(n));+ Hb(n, t), o(Vb(n));}}, [s, o]), O = (0, P.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (oC(t.nativeEvent, t.currentTarget) && Ab(t.currentTarget, G(t))) {- lC(G(t), t.key) && t.preventDefault();+ if (sC(t.nativeEvent, t.currentTarget) && jb(t.currentTarget, G(t))) {+ uC(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;- _(Cb(t.currentTarget), "keyup", Fx((t) => {- oC(t, i) && !t.repeat && Ab(i, G(t)) && e.target && S(sC(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && qb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(wb(t.currentTarget), "keyup", Ix((t) => {+ sC(t, i) && !t.repeat && jb(i, G(t)) && e.target && S(cC(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && Jb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || Ab(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !tx.isOpening) {+ if ((!t || jb(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !nx.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || $b(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || ex(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(sC(t.currentTarget, t), r), a = x(sC(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(cC(t.currentTarget, t), r), a = x(cC(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 && oC(t, e.target)) {- lC(G(t), t.key) && t.preventDefault();- let n = G(t), r = Ab(e.target, n);- x(sC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && aC(e.target) && Ab(e.target, n) && !t[tC] && (t[tC] = !0, tx(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && sC(t, e.target)) {+ uC(G(t), t.key) && t.preventDefault();+ let n = G(t), r = jb(e.target, n);+ x(cC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && oC(e.target) && jb(e.target, n) && !t[nC] && (t[nC] = !0, nx(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;@@ -22267,39 +22267,39 @@ function iC(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !Ab(t.currentTarget, G(t))) return;- if (Ere(t.nativeEvent)) {+ if (t.button !== 0 || !jb(t.currentTarget, G(t))) return;+ if (Tre(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 || qS(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || JS(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)), _(Cb(t.currentTarget), "pointerup", n, !1), _(Cb(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(wb(t.currentTarget), "pointerup", n, !1), _(wb(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (Ab(t.currentTarget, G(t)) && t.button === 0) {+ if (jb(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = Cre(t.target);+ let n = Sre(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- Ab(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ jb(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(sC(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(cC(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(sC(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(cC(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (Ab(e.target, G(t)) && e.pointerType != null) {+ if (jb(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Sb(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Cb(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22309,7 +22309,7 @@ function iC(e) {w(e);};t.onDragStart = (e) => {- Ab(e.currentTarget, G(e)) && w(e);+ jb(e.currentTarget, G(e)) && w(e);};}return t;@@ -22326,14 +22326,14 @@ function iC(e) {]);return (0, P.useEffect)(() => {if (!f) return;- let e = Cb(f.current);- if (!e || !e.head || e.getElementById(nC)) return;+ let e = wb(f.current);+ if (!e || !e.head || e.getElementById(rC)) return;let t = e.createElement("style");- t.id = nC;- let n = XS(e);+ t.id = rC;+ let n = ZS(e);n && (t.nonce = n), t.textContent = `@layer {- [${rC}] {+ [${iC}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22341,23 +22341,23 @@ function iC(e) {}, [f]), (0, P.useEffect)(() => {let e = g.current;return () => {- d || JS(e.target ?? void 0);+ d || YS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [rC]: !0 })+ pressProps: K(p, O, { [iC]: !0 })};}-function aC(e) {+function oC(e) {return e.tagName === "A" && e.hasAttribute("href");}-function oC(e, t) {+function sC(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof wb(i).HTMLInputElement && !dC(i, n) || i instanceof wb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && aC(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Tb(i).HTMLInputElement && !fC(i, n) || i instanceof Tb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && oC(i)) && n !== "Enter");}-function sC(e, t) {+function cC(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22370,13 +22370,13 @@ function sC(e, t) {key: t.key};}-function cC(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !aC(e);+function lC(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !oC(e);}-function lC(e, t) {- return qb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !dC(e, t) : cC(e);+function uC(e, t) {+ return Jb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !fC(e, t) : lC(e);}-var uC = /* @__PURE__ */ new Set([+var dC = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22387,11 +22387,11 @@ var uC = /* @__PURE__ */ new Set(["submit","reset"]);-function dC(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : uC.has(e.type);+function fC(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : dC.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function fC(e, t) {+function pC(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,@@ -22413,7 +22413,7 @@ function fC(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = iC({+ let { pressProps: _, isPressed: v } = aC({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22423,9 +22423,9 @@ function fC(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = $x(e, t);+ }), { focusableProps: y } = eS(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, US(e, { labelable: !0 }));+ let b = K(y, _, WS(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -22439,7 +22439,7 @@ function fC(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var pC = class {+var mC = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22464,7 +22464,7 @@ var pC = class {return this._currentNode;}set currentNode(e) {- if (!Ab(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!jb(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 });@@ -22478,7 +22478,7 @@ var pC = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return Ab(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return jb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22542,44 +22542,44 @@ var pC = class {return null;}};-function mC(e, t, n, r) {- return kb() ? new pC(e, t, n, r) : e.createTreeWalker(t, n, r);+function hC(e, t, n, r) {+ return Ab() ? new mC(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var hC = /*#__PURE__*/ P.createContext(null), gC = "react-aria-focus-scope-restore", _C = null;-function vC(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(hC) || {}, l = (0, P.useMemo)(() => new IC({ scopeRef: s }), [s]);- zb(() => {- let e = c || LC.root;- if (LC.getTreeNode(e.scopeRef) && _C && !kC(_C, e.scopeRef)) {- let t = LC.getTreeNode(_C);+var gC = /*#__PURE__*/ P.createContext(null), _C = "react-aria-focus-scope-restore", vC = null;+function yC(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(gC) || {}, l = (0, P.useMemo)(() => new LC({ scopeRef: s }), [s]);+ Bb(() => {+ let e = c || RC.root;+ if (RC.getTreeNode(e.scopeRef) && vC && !AC(vC, e.scopeRef)) {+ let t = RC.getTreeNode(vC);t && (e = t);}- e.addChild(l), LC.addNode(l);- }, [l, c]), zb(() => {- let e = LC.getTreeNode(s);+ e.addChild(l), RC.addNode(l);+ }, [l, c]), Bb(() => {+ let e = RC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), zb(() => {+ }, [n]), Bb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(gC, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(_C, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(gC, n);+ for (let e of t) e.removeEventListener(_C, n);};- }, [t]), Wie(s, r, n), wC(s, n), Gie(s, r, n), Uie(s, i), (0, P.useEffect)(() => {- let e = jb(Cb(s.current ? s.current[0] : void 0)), t = null;- if (EC(e, s.current)) {- for (let n of LC.traverse()) n.scopeRef && EC(e, n.scopeRef.current) && (t = n);- t === LC.getTreeNode(s) && (_C = t.scopeRef);- }- }, [s]), zb(() => () => {- let e = LC.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== _C && !kC(s, _C) || e && !LC.getTreeNode(e) || (_C = e), LC.removeTreeNode(s);+ }, [t]), Uie(s, r, n), TC(s, n), Wie(s, r, n), Hie(s, i), (0, P.useEffect)(() => {+ let e = Mb(wb(s.current ? s.current[0] : void 0)), t = null;+ if (DC(e, s.current)) {+ for (let n of RC.traverse()) n.scopeRef && DC(e, n.scopeRef.current) && (t = n);+ t === RC.getTreeNode(s) && (vC = t.scopeRef);+ }+ }, [s]), Bb(() => () => {+ let e = RC.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== vC && !AC(s, vC) || e && !RC.getTreeNode(e) || (vC = e), RC.removeTreeNode(s);}, [s]);- let u = (0, P.useMemo)(() => yC(s), []), d = (0, P.useMemo)(() => ({+ let u = (0, P.useMemo)(() => bC(s), []), d = (0, P.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ P.createElement(hC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {+ return /*#__PURE__*/ P.createElement(gC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22589,154 +22589,154 @@ function vC(e) {ref: o}));}-function yC(e) {+function bC(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jb(Cb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = FC(bC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mb(wb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = IC(xC(n), {tabbable: i,accept: o}, n);- l.currentNode = EC(s, n) ? s : c;+ l.currentNode = DC(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && AC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && jC(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jb(Cb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = FC(bC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mb(wb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = IC(xC(n), {tabbable: i,accept: o}, n);- l.currentNode = EC(s, n) ? s : c;+ l.currentNode = DC(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && AC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && jC(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = FC(bC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = IC(xC(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && AC(o, !0), o;+ return o && jC(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = FC(bC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = IC(xC(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && AC(o, !0), o;+ return o && jC(o, !0), o;}};}-function bC(e) {+function xC(e) {return e[0].parentElement;}-function xC(e) {- let t = LC.getTreeNode(_C);+function SC(e) {+ let t = RC.getTreeNode(vC);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function SC(e) {- if (!e.form) return Array.from(Cb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = wb(e);+function CC(e) {+ if (!e.form) return Array.from(wb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Tb(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function CC(e) {+function wC(e) {if (e.checked) return !0;- let t = SC(e);+ let t = CC(e);return t.length > 0 && !t.some((e) => e.checked);}-function wC(e, t) {+function TC(e, t) {let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);- zb(() => {+ Bb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = Cb(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xC(e) || t.isComposing) return;- let n = jb(a), r = e.current;- if (!r || !EC(n, r)) return;- let i = FC(bC(r), { tabbable: !0 }, r);+ let a = wb(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !SC(e) || t.isComposing) return;+ let n = Mb(a), r = e.current;+ if (!r || !DC(n, r)) return;+ let i = IC(xC(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 && (AC(o, !0), o instanceof wb(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 && (jC(o, !0), o instanceof Tb(o).HTMLInputElement && o.select());}, s = (t) => {- (!_C || kC(_C, e)) && EC(G(t), e.current) ? (_C = e, n.current = G(t)) : xC(e) && !DC(G(t), e) ? n.current ? AC(n.current) : _C && _C.current && MC(_C.current) : xC(e) && (n.current = G(t));+ (!vC || AC(vC, e)) && DC(G(t), e.current) ? (vC = e, n.current = G(t)) : SC(e) && !OC(G(t), e) ? n.current ? jC(n.current) : vC && vC.current && NC(vC.current) : SC(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = Cx(), i = (r === "virtual" || r === null) && Qb() && Zb(), o = jb(a);- if (!i && o && xC(e) && !DC(o, e)) {- _C = e;+ let r = wx(), i = (r === "virtual" || r === null) && $b() && Qb(), o = Mb(a);+ if (!i && o && SC(e) && !OC(o, e)) {+ vC = e;let r = G(t);- r && r.isConnected ? (n.current = r, AC(n.current)) : _C.current && MC(_C.current);+ r && r.isConnected ? (n.current = r, jC(n.current)) : vC.current && NC(vC.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]), zb(() => () => {+ }, [e, t]), Bb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function TC(e) {- return DC(e);+function EC(e) {+ return OC(e);}-function EC(e, t) {- return !e || !t ? !1 : t.some((t) => Ab(t, e));+function DC(e, t) {+ return !e || !t ? !1 : t.some((t) => jb(t, e));}-function DC(e, t = null) {+function OC(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of LC.traverse(LC.getTreeNode(t))) if (n && EC(e, n.current)) return !0;+ for (let { scopeRef: n } of RC.traverse(RC.getTreeNode(t))) if (n && DC(e, n.current)) return !0;return !1;}-function OC(e) {- return DC(e, _C);+function kC(e) {+ return OC(e, vC);}-function kC(e, t) {- let n = LC.getTreeNode(t)?.parent;+function AC(e, t) {+ let n = RC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function AC(e, t = !1) {+function jC(e, t = !1) {if (e != null && !t) try {- Px(e);+ Fx(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function jC(e, t = !0) {- let n = e[0].previousElementSibling, r = bC(e), i = FC(r, { tabbable: t }, e);+function MC(e, t = !0) {+ let n = e[0].previousElementSibling, r = xC(e), i = IC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = bC(e), i = FC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = xC(e), i = IC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function MC(e, t = !0) {- AC(jC(e, t));+function NC(e, t = !0) {+ jC(MC(e, t));}-function Uie(e, t) {+function Hie(e, t) {let n = P.useRef(t);(0, P.useEffect)(() => {- n.current && (_C = e, !EC(jb(Cb(e.current ? e.current[0] : void 0)), _C.current) && e.current && MC(e.current)), n.current = !1;+ n.current && (vC = e, !DC(Mb(wb(e.current ? e.current[0] : void 0)), vC.current) && e.current && NC(e.current)), n.current = !1;}, [e]);}-function Wie(e, t, n) {- zb(() => {+function Uie(e, t, n) {+ Bb(() => {if (t || n) return;- let r = e.current, i = Cb(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = wb(r ? r[0] : void 0), a = (t) => {let n = G(t);- EC(n, e.current) ? _C = e : TC(n) || (_C = null);+ DC(n, e.current) ? vC = e : EC(n) || (vC = 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));@@ -22747,43 +22747,43 @@ function Wie(e, t, n) {n]);}-function NC(e) {- let t = LC.getTreeNode(_C);+function PC(e) {+ let t = RC.getTreeNode(vC);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Gie(e, t, n) {- let r = (0, P.useRef)(typeof document < "u" ? jb(Cb(e.current ? e.current[0] : void 0)) : null);- zb(() => {- let r = e.current, i = Cb(r ? r[0] : void 0);+function Wie(e, t, n) {+ let r = (0, P.useRef)(typeof document < "u" ? Mb(wb(e.current ? e.current[0] : void 0)) : null);+ Bb(() => {+ let r = e.current, i = wb(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!_C || kC(_C, e)) && EC(jb(i), e.current) && (_C = e);+ (!vC || AC(vC, e)) && DC(Mb(i), e.current) && (vC = 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]), zb(() => {- let r = Cb(e.current ? e.current[0] : void 0);+ }, [e, n]), Bb(() => {+ let r = wb(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xC(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !SC(e) || t.isComposing) return;let n = r.activeElement;- if (!DC(n, e) || !NC(e)) return;- let i = LC.getTreeNode(e);+ if (!OC(n, e) || !PC(e)) return;+ let i = RC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = FC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = IC(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 || !DC(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !OC(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (DC(s, e));- t.preventDefault(), t.stopPropagation(), s ? AC(s, !0) : TC(a) ? AC(a, !0) : n.blur();+ while (OC(s, e));+ t.preventDefault(), t.stopPropagation(), s ? jC(s, !0) : EC(a) ? jC(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22793,31 +22793,31 @@ function Gie(e, t, n) {e,t,n- ]), zb(() => {- let n = Cb(e.current ? e.current[0] : void 0);+ ]), Bb(() => {+ let n = wb(e.current ? e.current[0] : void 0);if (!t) return;- let i = LC.getTreeNode(e);+ let i = RC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = LC.getTreeNode(e);+ let r = RC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = jb(n);- if (t && i && (a && DC(a, e) || a === n.body && NC(e))) {- let t = LC.clone();+ let i = r.nodeToRestore, a = Mb(n);+ if (t && i && (a && OC(a, e) || a === n.body && PC(e))) {+ let t = RC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- PC(n.nodeToRestore);+ FC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && LC.getTreeNode(n.scopeRef)) {- let e = jC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && RC.getTreeNode(n.scopeRef)) {+ let e = MC(n.scopeRef.current, !0);if (e) {- PC(e);+ FC(e);return;}}@@ -22829,21 +22829,21 @@ function Gie(e, t, n) {};}, [e, t]);}-function PC(e) {- e.dispatchEvent(new CustomEvent(gC, {+function FC(e) {+ e.dispatchEvent(new CustomEvent(_C, {bubbles: !0,cancelable: !0- })) && AC(e);+ })) && jC(e);}-function FC(e, t, n) {- let r = t?.tabbable ? Lb : Ib, i = Cb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = mC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return Ab(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!CC(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || EC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function IC(e, t, n) {+ let r = t?.tabbable ? Rb : Lb, i = wb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = hC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return jb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!wC(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || DC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Kie = class e {+var Gie = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new IC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new LC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22854,7 +22854,7 @@ var Kie = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new IC({ scopeRef: e });+ let i = new LC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22865,7 +22865,7 @@ var Kie = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && EC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && DC(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);}@@ -22877,7 +22877,7 @@ var Kie = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, IC = class {+}, LC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22887,13 +22887,13 @@ var Kie = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, LC = new Kie(), RC = 7e3, zC = null;-function BC(e, t = "assertive", n = RC) {- zC ? zC.announce(e, t, n) : (zC = new qie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? zC.announce(e, t, n) : setTimeout(() => {- zC?.isAttached() && zC?.announce(e, t, n);+}, RC = new Gie(), zC = 7e3, BC = null;+function VC(e, t = "assertive", n = zC) {+ BC ? BC.announce(e, t, n) : (BC = new Kie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? BC.announce(e, t, n) : setTimeout(() => {+ BC?.isAttached() && BC?.announce(e, t, n);}, 100));}-var qie = class {+var Kie = 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,@@ -22918,7 +22918,7 @@ var qie = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = RC) {+ announce(e, t = "assertive", n = zC) {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(() => {@@ -22930,8 +22930,8 @@ var qie = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function VC(e, t) {- let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = DS(e);+function HC(e, t) {+ let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = OS(e);(0, P.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, P.useEffect)(() => {@@ -22940,30 +22940,30 @@ function VC(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function HC(e, t) {+function UC(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 UC(e, t) {+function WC(e, t) {let n = e;- for (HC(n, t) && (n = n.parentElement); n && !HC(n, t);) n = n.parentElement;+ for (UC(n, t) && (n = n.parentElement); n && !UC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function WC(e, t) {+function GC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (HC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (UC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function GC(e, t, n = {}) {- e !== t && Jie(e, t, t.getBoundingClientRect(), n);+function KC(e, t, n = {}) {+ e !== t && qie(e, t, t.getBoundingClientRect(), n);}-function Jie(e, t, n, r = {}) {+function qie(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, te = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, P = h + (f ? 0 : D) + C, F = g - (f ? 0 : O) - w;- Yb() && Xb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);+ Xb() && Zb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);let ae = k < re || A > ie, oe = j < P || M > F;if (ae && i === "start") o += k - re;else if (ae && i === "center") o += (k + A) / 2 - (re + ie) / 2;@@ -22984,7 +22984,7 @@ function Jie(e, t, n, r = {}) {top: o});}-function KC(e, t = {}) {+function qC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22997,45 +22997,45 @@ function KC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = WC(e, !0);- for (let t of i) GC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = GC(e, !0);+ for (let t of i) KC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? WC(n, !0) : [];- for (let e of i) GC(e, n, {+ i = n ? GC(n, !0) : [];+ for (let e of i) KC(e, n, {block: "center",inline: "center"});- for (let t of WC(e, !0)) GC(t, e);+ for (let t of GC(e, !0)) KC(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var Yie = 0, qC = /* @__PURE__ */ new Map();-function JC(e) {+var Jie = 0, JC = /* @__PURE__ */ new Map();+function YC(e) {let [t, n] = (0, P.useState)();- return zb(() => {+ return Bb(() => {if (!e) return;- let t = qC.get(e);+ let t = JC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${Yie++}`;+ let r = `react-aria-description-${Jie++}`;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- }, qC.set(e, t);+ }, JC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), qC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), JC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function YC(e, t, n) {- let r = DS((e) => {+function XC(e, t, n) {+ let r = OS((e) => {n && !e.defaultPrevented && n(t);});(0, P.useEffect)(() => {@@ -23046,21 +23046,21 @@ function YC(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function XC(e, t, n) {+function ZC(e, t, n) {let { validationBehavior: r, focus: i } = e;- zb(() => {+ Bb(() => {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(Zie(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Xie(n.current));}});- let a = (0, P.useRef)(!1), o = DS(() => {+ let a = (0, P.useRef)(!1), o = OS(() => {a.current || t.resetValidation();- }), s = DS((e) => {+ }), s = OS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && Qie(r) === n.current && (i ? i() : n.current?.focus(), wx("keyboard")), e.preventDefault();- }), c = DS(() => {+ !e.defaultPrevented && n && r && Zie(r) === n.current && (i ? i() : n.current?.focus(), Tx("keyboard")), e.preventDefault();+ }), c = OS(() => {t.commitValidation();});(0, P.useEffect)(() => {@@ -23074,7 +23074,7 @@ function XC(e, t, n) {};}, [n, r]);}-function Xie(e) {+function Yie(e) {let t = e.validity;return {badInput: t.badInput,@@ -23090,14 +23090,14 @@ function Xie(e) {valid: t.valid};}-function Zie(e) {+function Xie(e) {return {isInvalid: !e.validity.valid,- validationDetails: Xie(e),+ validationDetails: Yie(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function Qie(e) {+function Zie(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -23105,23 +23105,23 @@ function Qie(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function $ie(e = !0) {+function Qie(e = !0) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return zb(() => {+ return Bb(() => {r.current || n(!1);}, []), [i, t];}-function ZC(e = !0) {- let t = zx(), [n, r] = $ie(e);+function QC(e = !0) {+ let t = Bx(), [n, r] = Qie(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var QC = {+var $C = {badInput: !1,customError: !1,patternMismatch: !1,@@ -23133,18 +23133,18 @@ var QC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, $C = {- ...QC,+}, ew = {+ ...$C,customError: !0,valid: !1-}, ew = {+}, tw = {isInvalid: !1,- validationDetails: QC,+ validationDetails: $C,validationErrors: []-}, eae = (0, P.createContext)({}), tw = "__reactAriaFormValidationState";-function nw(e) {+}, $ie = (0, P.createContext)({}), nw = "__reactAriaFormValidationState";+function rw(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[tw];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[nw];return {realtimeValidation: t,displayValidation: n,@@ -23153,70 +23153,70 @@ function nw(e) {commitValidation: a};}- return tae(e);+ return eae(e);}-function tae(e) {+function eae(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: $C- }, l = (0, P.useMemo)(() => !o || i == null ? null : iw(nae(o, i)), [o, i]);+ validationDetails: ew+ }, l = (0, P.useMemo)(() => !o || i == null ? null : aw(tae(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, P.useContext)(eae), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => rw(u[e])) : rw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);+ let u = (0, P.useContext)($ie), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => iw(u[e])) : iw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, P.useMemo)(() => iw(m ? [] : d), [m, d]), _ = (0, P.useRef)(ew), [v, y] = (0, P.useState)(ew), b = (0, P.useRef)(ew), x = () => {+ let g = (0, P.useMemo)(() => aw(m ? [] : d), [m, d]), _ = (0, P.useRef)(tw), [v, y] = (0, P.useState)(tw), b = (0, P.useRef)(tw), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- aw(e, b.current) || (b.current = e, y(e));+ ow(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, P.useState)(!1);return (0, P.useEffect)(x), {- realtimeValidation: c || g || l || a || ew,+ realtimeValidation: c || g || l || a || tw,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !aw(v, e) ? y(e) : _.current = e;+ s === "aria" && !ow(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = ew;- aw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = tw;+ ow(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function rw(e) {+function iw(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function nae(e, t) {+function tae(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return rw(n);+ if (n && typeof n != "boolean") return iw(n);}return [];}-function iw(e) {+function aw(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: $C+ validationDetails: ew} : null;}-function aw(e, t) {+function ow(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 ow(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 = nw({+function sw(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 = rw({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- XC(e, b, n);+ ZC(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = iC({+ }, { pressProps: T, isPressed: E } = aC({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23224,7 +23224,7 @@ function ow(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = iC({+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = aC({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -23241,13 +23241,13 @@ function ow(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [tw]: i } = e, { commitValidation: a } = i || b;+ let { [nw]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = $x(e, n), j = K(T, A), M = US(e, { labelable: !0 });- YC(n, t.defaultSelected, t.setSelected);- let ee = ZC(), te = ZC();+ }), { focusableProps: A } = eS(e, n), j = K(T, A), M = WS(e, { labelable: !0 });+ XC(n, t.defaultSelected, t.setSelected);+ let ee = QC(), te = QC();return {labelProps: K(k, { onClick: (e) => e.preventDefault() }),inputProps: K(M, {@@ -23283,8 +23283,8 @@ function ow(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function sw(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 } = ow(e, t, n), { isIndeterminate: m } = e;+function cw(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 } = sw(e, t, n), { isIndeterminate: m } = e;return (0, P.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -23302,17 +23302,17 @@ function sw(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var rae = /* @__PURE__ */ new WeakMap();+var nae = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function cw(e) {+function lw(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = zx(t);- let o = zx(), s = {};+ t = Bx(t);+ let o = Bx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = kS({+ let c = AS({id: t,"aria-label": i,"aria-labelledby": r@@ -23323,13 +23323,13 @@ function cw(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function lw(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = cw(e), s = Bx([+function uw(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = lw(e), s = Vx([!!t,!!n,r,i- ]), c = Bx([+ ]), c = Vx([!!t,!!n,r,@@ -23347,26 +23347,26 @@ function lw(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function uw(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = QS(), c = (0, P.useCallback)((e) => {- Ab(e.currentTarget, G(e)) && a.current.isFocusWithin && !Ab(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function dw(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = $S(), c = (0, P.useCallback)((e) => {+ jb(e.currentTarget, G(e)) && a.current.isFocusWithin && !jb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = Hb(c), u = (0, P.useCallback)((e) => {- if (!Ab(e.currentTarget, G(e))) return;- let t = G(e), n = Cb(t), s = jb(n);+ ]), l = Ub(c), u = (0, P.useCallback)((e) => {+ if (!jb(e.currentTarget, G(e))) return;+ let t = G(e), n = wb(t), s = Mb(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 && !Ab(t, r)) {+ if (a.current.isFocusWithin && !jb(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- Vb(e, t);- let i = Bb(e);+ Hb(e, t);+ let i = Vb(e);c(i);}}, { capture: !0 });@@ -23387,14 +23387,14 @@ function uw(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var iae = P.useInsertionEffect ?? P.useLayoutEffect;-function dw(e, t, n) {+var rae = P.useInsertionEffect ?? P.useLayoutEffect;+function fw(e, t, n) {let [r, i] = (0, P.useState)(e || t), a = (0, P.useRef)(r), o = (0, P.useRef)(e !== void 0), s = e !== void 0;(0, P.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- iae(() => {+ rae(() => {a.current = c;});let [, l] = (0, P.useReducer)(() => ({}), {});@@ -23404,8 +23404,8 @@ function dw(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function fw(e = {}) {- let { isReadOnly: t } = e, [n, r] = dw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);+function pw(e = {}) {+ let { isReadOnly: t } = e, [n, r] = fw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);function a(e) {t || r(e);}@@ -23420,26 +23420,26 @@ function fw(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function aae(e, t, n) {- let r = fw({+function iae(e, t, n) {+ let r = pw({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 } = rae.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = nae.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = nw({+ let { realtimeValidation: l } = rw({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, P.useRef)(ew), d = () => {+ }), u = (0, P.useRef)(tw), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, P.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = sw({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = cw({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23447,7 +23447,7 @@ function aae(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [tw]: {+ [nw]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23470,10 +23470,10 @@ function aae(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function pw(e, t = -Infinity, n = Infinity) {+function mw(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function mw(e, t) {+function hw(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 {@@ -23486,23 +23486,23 @@ function mw(e, t) {}return n;}-function hw(e, t, n, r) {+function gw(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = mw(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(mw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(mw((n - t) / r, r)) * r), a = mw(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = hw(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(hw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(hw((n - t) / r, r)) * r), a = hw(a, r), a;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var gw = /* @__PURE__ */ new Map(), _w = !1;+var _w = /* @__PURE__ */ new Map(), vw = !1;try {- _w = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ vw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var oae = class {+var aae = class {constructor(e, t = {}) {- this.numberFormatter = sae(e, t), this.options = t;+ this.numberFormatter = oae(e, t), this.options = t;}format(e) {let t = "";- return t = !_w && this.options.signDisplay != null ? cae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !vw && this.options.signDisplay != null ? sae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23534,21 +23534,21 @@ var oae = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !_w && this.options.signDisplay != null && (e = {+ return !vw && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function sae(e, t = {}) {+function oae(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 (gw.has(r)) return gw.get(r);+ if (_w.has(r)) return _w.get(r);let i = new Intl.NumberFormat(e, t);- return gw.set(r, i), i;+ return _w.set(r, i), i;}-function cae(e, t, n) {+function sae(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23561,12 +23561,12 @@ function cae(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function vw(e) {+function yw(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, P.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = QS(), s = DS((0, P.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = $S(), s = OS((0, P.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23588,8 +23588,8 @@ function vw(e) {t,n,i- ])), c = DS((0, P.useCallback)((e, t) => {- JS(), i.current.didMove && r?.({+ ])), c = OS((0, P.useCallback)((e, t) => {+ YS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23600,7 +23600,7 @@ function vw(e) {}, [r, i]));return { moveProps: (0, P.useMemo)(() => {let e = {}, t = () => {- qS(), i.current.didMove = !1;+ JS(), i.current.didMove = !1;};{let n = (e) => {@@ -23615,7 +23615,7 @@ function vw(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = wb(G(e));+ let a = Tb(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23625,7 +23625,7 @@ function vw(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = wb(G(e));+ let o = Tb(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23658,7 +23658,7 @@ function vw(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var yw = {+var bw = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23670,37 +23670,37 @@ var yw = {width: "1px",whiteSpace: "nowrap"};-function bw(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = uw({+function xw(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = dw({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, P.useMemo)(() => r ? t : t ? {- ...yw,+ ...bw,...t- } : yw, [r]);+ } : bw, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function xw(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = bw(e);+function Sw(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = xw(e);return /*#__PURE__*/ P.createElement(n, K(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function lae(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = dw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = $x(e, t), d = nw({+function cae(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = fw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = eS(e, t), d = rw({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = lw({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = uw({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = US(e, { labelable: !0 }), b = {+ }), y = WS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, P.useState)(c);- return YC(t, e.defaultValue ?? x, l), XC(e, d, t), {+ return XC(t, e.defaultValue ?? x, l), ZC(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -23746,26 +23746,26 @@ function lae(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function uae(e = {}) {- let { locale: t } = FS();- return (0, P.useMemo)(() => new oae(t, e), [t, e]);+function lae(e = {}) {+ let { locale: t } = IS();+ return (0, P.useMemo)(() => new aae(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var Sw = /* @__PURE__ */ new WeakMap();-function Cw(e, t) {- let n = Sw.get(e);+var Cw = /* @__PURE__ */ new WeakMap();+function ww(e, t) {+ let n = Cw.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function dae(e, t, n) {- let { labelProps: r, fieldProps: i } = cw(e), a = e.orientation === "vertical";- Sw.set(t, {+function uae(e, t, n) {+ let { labelProps: r, fieldProps: i } = lw(e), a = e.orientation === "vertical";+ Cw.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = FS(), { addGlobalListener: s, removeGlobalListener: c } = QS(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = vw({+ let { direction: o } = IS(), { addGlobalListener: s, removeGlobalListener: c } = $S(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = yw({onMoveStart() {d.current = null;},@@ -23775,7 +23775,7 @@ function dae(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 = pw(d.current / s, 0, 1);+ let e = mw(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23799,7 +23799,7 @@ function dae(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(Cw(t, 0))?.focus(), wx("keyboard");+ document.getElementById(ww(t, 0))?.focus(), Tx("keyboard");}), {labelProps: r,groupProps: {@@ -23822,26 +23822,26 @@ function dae(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => Cw(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => ww(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function fae(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 } = FS(), { addGlobalListener: m, removeGlobalListener: h } = QS(), g = Sw.get(t), { labelProps: _, fieldProps: v } = cw({+function dae(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 } = IS(), { addGlobalListener: m, removeGlobalListener: h } = $S(), g = Cw.get(t), { labelProps: _, fieldProps: v } = lw({...e,- id: Cw(t, n),+ id: ww(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, P.useCallback)(() => {- s.current && Sb(s.current);+ s.current && Cb(s.current);}, [s]), x = t.focusedThumb === n;(0, P.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, P.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = Yx({+ }, { keyboardProps: T } = Xx({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23857,7 +23857,7 @@ function fae(e, t) {})},allowRepeats: !0- }), { moveProps: E } = vw({+ }), { moveProps: E } = yw({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23868,7 +23868,7 @@ function fae(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, pw(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, mw(C.current / g, 0, 1));}},onMoveEnd() {@@ -23876,7 +23876,7 @@ function fae(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = $x(K(e, {+ let { focusableProps: D } = eS(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, P.useRef)(void 0), k = (e) => {@@ -23896,7 +23896,7 @@ function fae(e, t) {k(e.changedTouches[0].identifier);}});- return YC(s, t.defaultValues[n], (e) => {+ return XC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(D, v, {@@ -23936,42 +23936,42 @@ function fae(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var pae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function ww(e) {+var fae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function Tw(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var Tw = /* @__PURE__ */ new WeakMap(), Ew = [];-function Dw(e, t) {- let n = wb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && pae, 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 Ew = /* @__PURE__ */ new WeakMap(), Dw = [];+function Ow(e, t) {+ let n = Tb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && fae, 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 (kb()) {+ if (Ab()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Eb(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Db(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 (Ab(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (jb(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = mC(Cb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = hC(wb(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 = Tw.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Tw.set(e, t + 1));+ let t = Ew.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Ew.set(e, t + 1));};- Ew.length && Ew[Ew.length - 1].disconnect(), d(i);+ Dw.length && Dw[Dw.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => Ab(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ww(e) ? o.add(e) : e instanceof Element && d(e);- if (kb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => jb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Tw(e) ? o.add(e) : e instanceof Element && d(e);+ if (Ab()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23984,11 +23984,11 @@ function Dw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (kb()) for (let e of u) {+ if (Ab()) 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) => Ab(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ww(e) ? o.add(e) : e instanceof Element && d(e);- if (kb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => jb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Tw(e) ? o.add(e) : e instanceof Element && d(e);+ if (Ab()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -24014,56 +24014,56 @@ function Dw(e, t) {p.disconnect();}};- return Ew.push(h), () => {- if (p.disconnect(), kb()) for (let e of m) e.disconnect();+ return Dw.push(h), () => {+ if (p.disconnect(), Ab()) for (let e of m) e.disconnect();for (let e of s) {- let t = Tw.get(e);- t != null && (t === 1 ? (l(e, !1), Tw.delete(e)) : Tw.set(e, t - 1));+ let t = Ew.get(e);+ t != null && (t === 1 ? (l(e, !1), Ew.delete(e)) : Ew.set(e, t - 1));}- h === Ew[Ew.length - 1] ? (Ew.pop(), Ew.length && Ew[Ew.length - 1].observe()) : Ew.splice(Ew.indexOf(h), 1);+ h === Dw[Dw.length - 1] ? (Dw.pop(), Dw.length && Dw[Dw.length - 1].observe()) : Dw.splice(Dw.indexOf(h), 1);};}-function Ow(e) {- let t = Ew[Ew.length - 1];+function kw(e) {+ let t = Dw[Dw.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 kw = /* @__PURE__ */ new WeakMap();-function mae(e) {+var Aw = /* @__PURE__ */ new WeakMap();+function pae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function hae(e, t) {- let n = kw.get(e);+function mae(e, t) {+ let n = Aw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${mae(t)}`;+ return `${n.id}-option-${pae(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function Aw(e) {- return Tre() ? e.altKey : e.ctrlKey;+function jw(e) {+ return wre() ? e.altKey : e.ctrlKey;}-function jw(e, t) {+function Mw(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 Mw = /* @__PURE__ */ new WeakMap();-function gae(e) {- let t = zx();- return Mw.set(e, t), t;+var Nw = /* @__PURE__ */ new WeakMap();+function hae(e) {+ let t = Bx();+ return Nw.set(e, t), t;}-function _ae(e) {- return Mw.get(e);+function gae(e) {+ return Nw.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var Nw = class {+var Pw = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : jw(this.ref, e);+ let n = e == null ? null : Mw(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -24089,12 +24089,12 @@ var Nw = class {height: e?.clientHeight ?? 0};}-}, Pw = class {+}, Fw = 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 Nw(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 Nw(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 Pw(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 Pw(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -24134,14 +24134,14 @@ var Nw = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = jw(this.ref, e);+ let t = this.getNextKey(e), n = Mw(this.ref, e);if (t != null) {- let e = jw(this.ref, t);+ let e = Mw(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = jw(this.ref, r);+ let e = Mw(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -24175,7 +24175,7 @@ var Nw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !HC(t)) return this.getFirstKey();+ if (t && !UC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24190,7 +24190,7 @@ var Nw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !HC(t)) return this.getLastKey();+ if (t && !UC(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);@@ -24213,149 +24213,149 @@ var Nw = class {}return null;}-}, Fw = {};-Fw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, Iw = {};+Iw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var Iw = {};-Iw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };-// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjsvar Lw = {};-Lw = { 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+Lw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjsvar Rw = {};-Rw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };-// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs+Rw = { 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.mjsvar zw = {};-zw = { 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+zw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+// node_modules/react-aria/dist/private/intl/menu/de-DE.mjsvar Bw = {};-Bw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };-// node_modules/react-aria/dist/private/intl/menu/en-US.mjs+Bw = { 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.mjsvar Vw = {};-Vw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };-// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs+Vw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+// node_modules/react-aria/dist/private/intl/menu/en-US.mjsvar Hw = {};-Hw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };-// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs+Hw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+// node_modules/react-aria/dist/private/intl/menu/es-ES.mjsvar Uw = {};-Uw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };-// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs+Uw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+// node_modules/react-aria/dist/private/intl/menu/et-EE.mjsvar Ww = {};-Ww = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };-// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs+Ww = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjsvar Gw = {};-Gw = { 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+Gw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjsvar Kw = {};-Kw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };-// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs+Kw = { 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.mjsvar qw = {};-qw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };-// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs+qw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjsvar Jw = {};-Jw = { 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+Jw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjsvar Yw = {};-Yw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };-// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs+Yw = { 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.mjsvar Xw = {};-Xw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };-// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs+Xw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjsvar Zw = {};-Zw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };-// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs+Zw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjsvar Qw = {};-Qw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };-// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs+Qw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjsvar $w = {};-$w = { 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+$w = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjsvar eT = {};-eT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };-// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs+eT = { 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.mjsvar tT = {};-tT = { 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+tT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjsvar nT = {};-nT = { 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+nT = { 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.mjsvar rT = {};-rT = { 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+rT = { 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.mjsvar iT = {};-iT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };-// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs+iT = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjsvar aT = {};-aT = { 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+aT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjsvar oT = {};-oT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };-// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs+oT = { 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.mjsvar sT = {};-sT = { 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+sT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjsvar cT = {};-cT = { 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+cT = { 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.mjsvar lT = {};-lT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };-// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs+lT = { 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.mjsvar uT = {};-uT = { 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+uT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjsvar dT = {};-dT = { 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+dT = { 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.mjsvar fT = {};-fT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };-// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs+fT = { 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.mjsvar pT = {};-pT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };-// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs+pT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjsvar mT = {};-mT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };-// node_modules/react-aria/dist/private/menu/intlStrings.mjs+mT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjsvar hT = {};-hT = {- "ar-AE": Fw,- "bg-BG": Iw,- "cs-CZ": Lw,- "da-DK": Rw,- "de-DE": zw,- "el-GR": Bw,- "en-US": Vw,- "es-ES": Hw,- "et-EE": Uw,- "fi-FI": Ww,- "fr-FR": Gw,- "he-IL": Kw,- "hr-HR": qw,- "hu-HU": Jw,- "it-IT": Yw,- "ja-JP": Xw,- "ko-KR": Zw,- "lt-LT": Qw,- "lv-LV": $w,- "nb-NO": eT,- "nl-NL": tT,- "pl-PL": nT,- "pt-BR": rT,- "pt-PT": iT,- "ro-RO": aT,- "ru-RU": oT,- "sk-SK": sT,- "sl-SI": cT,- "sr-SP": lT,- "sv-SE": uT,- "tr-TR": dT,- "uk-UA": fT,- "zh-CN": pT,- "zh-TW": mT+hT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+// node_modules/react-aria/dist/private/menu/intlStrings.mjs+var gT = {};+gT = {+ "ar-AE": Iw,+ "bg-BG": Lw,+ "cs-CZ": Rw,+ "da-DK": zw,+ "de-DE": Bw,+ "el-GR": Vw,+ "en-US": Hw,+ "es-ES": Uw,+ "et-EE": Ww,+ "fi-FI": Gw,+ "fr-FR": Kw,+ "he-IL": qw,+ "hr-HR": Jw,+ "hu-HU": Yw,+ "it-IT": Xw,+ "ja-JP": Zw,+ "ko-KR": Qw,+ "lt-LT": $w,+ "lv-LV": eT,+ "nb-NO": tT,+ "nl-NL": nT,+ "pl-PL": rT,+ "pt-BR": iT,+ "pt-PT": aT,+ "ro-RO": oT,+ "ru-RU": sT,+ "sk-SK": cT,+ "sl-SI": lT,+ "sr-SP": uT,+ "sv-SE": dT,+ "tr-TR": fT,+ "uk-UA": pT,+ "zh-CN": mT,+ "zh-TW": hT};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var vae = 500;-function gT(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = vae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = QS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = iC({+var _ae = 500;+function _T(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = _ae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = $S(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = aC({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24363,12 +24363,12 @@ function gT(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Cb(e.target).activeElement !== e.target && Sb(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), wb(e.target).activeElement !== e.target && Cb(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 = wb(e.target);+ let t = Tb(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24383,11 +24383,11 @@ function gT(e) {});}});- return { longPressProps: K(f, JC(a && !t ? s : void 0)) };+ return { longPressProps: K(f, YC(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function yae(e) {- let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = gT({+function vae(e) {+ let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = _T({onLongPressStart() {n.current = !1;},@@ -24399,7 +24399,7 @@ function yae(e) {});}});- return t ? { contextMenuProps: K(Yb() ? r : {}, {+ return t ? { contextMenuProps: K(Xb() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24410,7 +24410,7 @@ function yae(e) {});},onKeyDown(e) {- if (qb() && e.ctrlKey && e.key === "Enter") {+ if (Jb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24429,13 +24429,13 @@ function yae(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var _T = /* @__PURE__ */ new WeakMap();-function bae(e) {+var vT = /* @__PURE__ */ new WeakMap();+function yae(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, P.useEffect)(() => !n || r === null ? void 0 : Db(Mb(t.current), "scroll", (e) => {+ (0, P.useEffect)(() => !n || r === null ? void 0 : Ob(Nb(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !Ab(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || _T.get(t.current);+ if (!t.current || n instanceof Node && !jb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || vT.get(t.current);i && i();}, !0), [n,@@ -24444,14 +24444,14 @@ function bae(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function xae(e, t, n) {+function bae(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, P.useEffect)(() => {- n && n.current && _T.set(n.current, t.close);+ n && n.current && vT.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = zx();+ let o = Bx();return {triggerProps: {"aria-haspopup": a,@@ -24463,14 +24463,14 @@ function xae(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Sae(e) {+function xae(e) {return e && e.__esModule ? e.default : e;}-function vT(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = zx(), { triggerProps: s, overlayProps: c } = xae({ type: r }, t, n), l = (e, n, r = "first") => {+function yT(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Bx(), { triggerProps: s, overlayProps: c } = bae({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Yx({+ }, { keyboardProps: u } = Xx({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24482,7 +24482,7 @@ function vT(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = VS(Sae(hT), "@react-aria/menu"), { longPressProps: f } = gT({+ }), d = HS(xae(gT), "@react-aria/menu"), { longPressProps: f } = _T({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24494,14 +24494,14 @@ function vT(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Sb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Cb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Sb(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Cb(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = yae({ onContextMenu(e) {+ let { contextMenuProps: m } = vae({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24545,8 +24545,8 @@ function vT(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var yT = 1e3;-function bT(e) {+var bT = 1e3;+function xT(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, P.useRef)({search: "",timeout: void 0@@ -24565,12 +24565,12 @@ function bT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, yT);+ }, bT);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Cae(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Ab(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Sae(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !jb(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();@@ -24581,32 +24581,32 @@ function bT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, yT);+ }, bT);}} : void 0} };}-function Cae(e) {+function Sae(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function xT(e, t) {+function ST(e, t) {let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);- zb(() => (n.current = !0, () => {+ Bb(() => (n.current = !0, () => {n.current = !1;- }), []), zb(() => {+ }), []), Bb(() => {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 ST(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = FS(), _ = ex(), v = (e, n, i) => {+function CT(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 } = IS(), _ = tx(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !Aw(e)) {+ if (t.isLink(n) && m === "selection" && l && !jw(e)) {(0, Lt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = jw(r, n), o = t.getItemProps(n);+ let a = Mw(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24618,7 +24618,7 @@ function ST(e) {t.extendSelection(n);return;}- if (l && !Aw(e)) {+ if (l && !jw(e)) {t.replaceSelection(n);return;}@@ -24645,9 +24645,9 @@ function ST(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, TS(e));+ let r = n.getFirstKey(t.focusedKey, ES(e));if (t.setFocusedKey(r), r != null) {- if (TS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (ES(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24679,9 +24679,9 @@ function ST(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, TS(e));+ let r = n.getLastKey(t.focusedKey, ES(e));if (t.setFocusedKey(r), r != null) {- if (TS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (ES(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24712,12 +24712,12 @@ function ST(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = FC(r.current, { tabbable: !0 }), t, n;+ let e = IC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = jb();- t && (!Nb(t) || i && !Lb(i)) && Sb(t);+ let i = Mb();+ t && (!Pb(t) || i && !Rb(i)) && Cb(t);}return {shouldContinuePropagation: !0,@@ -24727,11 +24727,11 @@ function ST(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [qb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [Jb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [qb() ? e + "+Alt" : e + "+Control"]: t,+ [Jb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = Yx({+ }), { keyboardProps: M } = Xx({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -24741,7 +24741,7 @@ function ST(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = Yx({ shortcuts: {+ }), { keyboardProps: ee } = Xx({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -24752,7 +24752,7 @@ function ST(e) {top: 0,left: 0});- OS(p, "scroll", () => {+ kS(p, "scroll", () => {te.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24760,11 +24760,11 @@ function ST(e) {});let ne = (e) => {if (t.isFocused) {- Ab(e.currentTarget, G(e)) || t.setFocused(!1);+ jb(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!Ab(e.currentTarget, G(e))) return;- let i = Cx();+ if (!jb(e.currentTarget, G(e))) return;+ let i = wx();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24775,27 +24775,27 @@ function ST(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = te.current.top, p.current.scrollLeft = te.current.left);if (t.focusedKey != null && p.current) {- let e = jw(r, t.focusedKey);- e instanceof HTMLElement && (!Nb(e) && !d && Sb(e), (i === "keyboard" || h && i === "virtual") && KC(e, { containingElement: r.current }));+ let e = Mw(r, t.focusedKey);+ e instanceof HTMLElement && (!Pb(e) && !d && Cb(e), (i === "keyboard" || h && i === "virtual") && qC(e, { containingElement: r.current }));}}, N = (e) => {- Ab(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ jb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, re = (0, P.useRef)(!1);- OS(r, _ie, d ? (e) => {+ kS(r, gie, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);} : void 0);let ie = n.getFirstKey?.() ?? null;- xT(() => {+ ST(() => {if (re.current) {if (ie == null) {- let e = jb();- mS(r.current), hS(e, null), t.collection.size > 0 && (re.current = !1);+ let e = Mb();+ hS(r.current), gS(e, null), t.collection.size > 0 && (re.current = !1);} else t.setFocusedKey(ie), re.current = !1;}- }, [ie, t.collection.size]), xT(() => {+ }, [ie, t.collection.size]), ST(() => {t.collection.size > 0 && (re.current = !1);- }, [t.focusedKey]), OS(r, gie, d ? (e) => {+ }, [t.focusedKey]), kS(r, hie, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let F = (0, P.useRef)(i), ae = (0, P.useRef)(!1);@@ -24810,22 +24810,22 @@ function ST(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Px(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Fx(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);}});let oe = (0, P.useRef)(t.focusedKey), se = (0, P.useRef)(null);(0, P.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {- let e = Cx(), n = jw(r, t.focusedKey);+ let e = wx(), n = Mw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (GC(p.current, n), e !== "virtual" && KC(n, { containingElement: r.current }));+ p.current && (KC(p.current, n), e !== "virtual" && qC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Px(r.current), oe.current = t.focusedKey, ae.current = !1;+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Fx(r.current), oe.current = t.focusedKey, ae.current = !1;}), (0, P.useEffect)(() => () => {se.current && cancelAnimationFrame(se.current);- }, []), OS(r, "react-aria-focus-scope-restore", (e) => {+ }, []), kS(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let ce = {@@ -24835,27 +24835,27 @@ function ST(e) {onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: le } = bT({+ }, { typeSelectProps: le } = xT({keyboardDelegate: n,selectionManager: t});u || (ce = K(le, ce));let ue;d || (ue = t.focusedKey == null ? 0 : -1);- let de = gae(t.collection);+ let de = hae(t.collection);return { collectionProps: K(ce, {tabIndex: ue,"data-collection": de}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function CT(e, t) {+function wT(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function wT(e) {- return TT(e, 0);+function TT(e) {+ return ET(e, 0);}-function TT(e, t) {+function ET(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24863,106 +24863,106 @@ function TT(e, t) {n++;}}-function ET(e) {+function DT(e) {let t;for (let n of e) t = n;return t;}-function DT(e, t, n) {+function OT(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...OT(e, t), t], i = [...OT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...kT(e, t), t], i = [...kT(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 OT(e, t) {+function kT(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 kT = /* @__PURE__ */ new WeakMap();-function AT(e) {- let t = kT.get(e);+var AT = /* @__PURE__ */ new WeakMap();+function jT(e) {+ let t = AT.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(CT(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(wT(i, e)) : i.type === "item" && n++;};- return r(e), kT.set(e, n), n;+ return r(e), AT.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var jT = /* @__PURE__ */ new Map();-function MT(e) {- let { locale: t } = FS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (jT.has(n)) return jT.get(n);+var MT = /* @__PURE__ */ new Map();+function NT(e) {+ let { locale: t } = IS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (MT.has(n)) return MT.get(n);let r = new Intl.Collator(t, e);- return jT.set(n, r), r;+ return MT.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var wae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {- let r = (0, P.useRef)(!1), i = (0, P.useContext)(ZS), a = K(i || {}, {+var Cae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, P.useRef)(!1), i = (0, P.useContext)(QS), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = Xx(n || i?.ref), Zx(i, a.ref), (0, P.useEffect)(() => {+ return a.ref = Zx(n || i?.ref), Qx(i, a.ref), (0, P.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ P.createElement(ZS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ P.createElement(QS.Provider, { value: a }, e);});-function Tae({ children: e }) {+function wae({ children: e }) {let t = (0, P.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ P.createElement(ZS.Provider, { value: t }, e);+ return /*#__PURE__*/ P.createElement(QS.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var NT = /*#__PURE__*/ (0, P.createContext)({});-function PT(e) {- let { getContainer: t } = e, { getContainer: n } = FT();- return /*#__PURE__*/ P.createElement(NT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var PT = /*#__PURE__*/ (0, P.createContext)({});+function FT(e) {+ let { getContainer: t } = e, { getContainer: n } = IT();+ return /*#__PURE__*/ P.createElement(PT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function FT() {- return (0, P.useContext)(NT) ?? {};+function IT() {+ return (0, P.useContext)(PT) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var IT = /*#__PURE__*/ P.createContext(null);-function LT(e) {- let t = sx(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({+var LT = /*#__PURE__*/ P.createContext(null);+function RT(e) {+ let t = cx(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = FT();+ }), [i, a]), { getContainer: s } = IT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(vC, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(yC, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ P.createElement(IT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Tae, null, /*#__PURE__*/ P.createElement(Qx.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ P.createElement(LT.Provider, { value: o }, /*#__PURE__*/ P.createElement(wae, null, /*#__PURE__*/ P.createElement($x.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);}-function RT() {- let e = (0, P.useContext)(IT)?.setContain;- zb(() => {+function zT() {+ let e = (0, P.useContext)(LT)?.setContain;+ Bb(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Eae(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = Bx();+function Tae(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = Vx();i = e["aria-label"] ? void 0 : i;- let a = Bx();+ let a = Vx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, P.useRef)(!1);(0, P.useEffect)(() => {- if (!r && t.current && !Nb(t.current)) {- Px(t.current);+ if (!r && t.current && !Pb(t.current)) {+ Fx(t.current);let e = setTimeout(() => {- (jb() === t.current || jb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Px(t.current)), o.current = !1);+ (Mb() === t.current || Mb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Fx(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), RT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});+ }, [t, r]), zT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...US(e, { labelable: !0 }),+ ...WS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24976,23 +24976,23 @@ function Eae(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function zT(e = {}) {+function BT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({isFocused: !1,- isFocusVisible: t || Sx()+ isFocusVisible: t || Cx()}), [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, P.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, P.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = Sx(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = Cx(), o(e), l();}, [l]);- Dx((e) => {+ Ox((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Gx({+ let { focusProps: d } = Kx({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = uw({+ }), { focusWithinProps: f } = dw({isDisabled: !r,onFocusWithinChange: u});@@ -25003,41 +25003,41 @@ function zT(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function Dae(e = {}) {- let { locale: t } = FS();+function Eae(e = {}) {+ let { locale: t } = IS();return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var BT = !1, VT = 0;-function Oae() {- BT = !0, setTimeout(() => {- BT = !1;+var VT = !1, HT = 0;+function Dae() {+ VT = !0, setTimeout(() => {+ VT = !1;}, 500);}-function HT(e) {- e.pointerType === "touch" && Oae();+function UT(e) {+ e.pointerType === "touch" && Dae();}-function kae() {- let e = Cb(null);- if (e !== void 0) return VT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", HT), VT++, () => {- VT--, !(VT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", HT);+function Oae() {+ let e = wb(null);+ if (e !== void 0) return HT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", UT), HT++, () => {+ HT--, !(HT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", UT);};}-function UT(e) {+function WT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, P.useState)(!1), s = (0, P.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, P.useEffect)(kae, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = QS(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {+ (0, P.useEffect)(Oae, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = $S(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !Ab(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !jb(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(Cb(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !Ab(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(wb(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !jb(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -25052,9 +25052,9 @@ function UT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- BT && t.pointerType === "mouse" || e(t, t.pointerType);+ VT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && Ab(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && jb(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -25076,22 +25076,22 @@ function UT(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Aae(e) {+function kae(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = DS((e) => {- n && WT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = DS((e) => {+ }), o = OS((e) => {+ n && GT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = OS((e) => {n && n(e);});(0, P.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = Cb(n);+ let n = t.current, i = wb(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && WT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && GT(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);@@ -25099,28 +25099,28 @@ function Aae(e) {}}, [t, r]);}-function WT(e, t) {+function GT(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !Ab(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !jb(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 GT = /* @__PURE__ */ new WeakMap();-function KT(e, t) {- let { id: n } = GT.get(e) ?? {};+var KT = /* @__PURE__ */ new WeakMap();+function qT(e, t) {+ let { id: n } = KT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${jae(t)}`;+ return `${n}-${Aae(t)}`;}-function jae(e) {+function Aae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var qT = {};-qT = {+var JT = {};+JT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -25133,8 +25133,8 @@ qT = {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 JT = {};-JT = {+var YT = {};+YT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -25147,8 +25147,8 @@ JT = {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 YT = {};-YT = {+var XT = {};+XT = {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",@@ -25161,8 +25161,8 @@ YT = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var XT = {};-XT = {+var ZT = {};+ZT = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -25175,8 +25175,8 @@ XT = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var ZT = {};-ZT = {+var QT = {};+QT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25189,8 +25189,8 @@ ZT = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var QT = {};-QT = {+var $T = {};+$T = {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: "Επιλογή",@@ -25203,8 +25203,8 @@ QT = {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 $T = {};-$T = {+var eE = {};+eE = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25217,8 +25217,8 @@ $T = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var eE = {};-eE = {+var tE = {};+tE = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25231,8 +25231,8 @@ eE = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var tE = {};-tE = {+var nE = {};+nE = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25245,8 +25245,8 @@ tE = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var nE = {};-nE = {+var rE = {};+rE = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25259,8 +25259,8 @@ nE = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var rE = {};-rE = {+var iE = {};+iE = {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",@@ -25273,8 +25273,8 @@ rE = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var iE = {};-iE = {+var aE = {};+aE = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25287,8 +25287,8 @@ iE = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var aE = {};-aE = {+var oE = {};+oE = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25301,8 +25301,8 @@ aE = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var oE = {};-oE = {+var sE = {};+sE = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25315,8 +25315,8 @@ oE = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var sE = {};-sE = {+var cE = {};+cE = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25329,8 +25329,8 @@ sE = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var cE = {};-cE = {+var lE = {};+lE = {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: "選択",@@ -25343,8 +25343,8 @@ cE = {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 lE = {};-lE = {+var uE = {};+uE = {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: "선택",@@ -25357,8 +25357,8 @@ lE = {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 uE = {};-uE = {+var dE = {};+dE = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25371,8 +25371,8 @@ uE = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var dE = {};-dE = {+var fE = {};+fE = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25385,8 +25385,8 @@ dE = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var fE = {};-fE = {+var pE = {};+pE = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25399,8 +25399,8 @@ fE = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var pE = {};-pE = {+var mE = {};+mE = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25413,8 +25413,8 @@ pE = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var mE = {};-mE = {+var hE = {};+hE = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25427,8 +25427,8 @@ mE = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var hE = {};-hE = {+var gE = {};+gE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25441,8 +25441,8 @@ hE = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var gE = {};-gE = {+var _E = {};+_E = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25455,8 +25455,8 @@ gE = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var _E = {};-_E = {+var vE = {};+vE = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25469,8 +25469,8 @@ _E = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var vE = {};-vE = {+var yE = {};+yE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25483,8 +25483,8 @@ vE = {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 yE = {};-yE = {+var bE = {};+bE = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25497,8 +25497,8 @@ yE = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var bE = {};-bE = {+var xE = {};+xE = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25511,8 +25511,8 @@ bE = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var xE = {};-xE = {+var SE = {};+SE = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25525,8 +25525,8 @@ xE = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var SE = {};-SE = {+var CE = {};+CE = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25539,8 +25539,8 @@ SE = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var CE = {};-CE = {+var wE = {};+wE = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25553,8 +25553,8 @@ CE = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var wE = {};-wE = {+var TE = {};+TE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25567,8 +25567,8 @@ wE = {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 TE = {};-TE = {+var EE = {};+EE = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25581,8 +25581,8 @@ TE = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var EE = {};-EE = {+var DE = {};+DE = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25595,54 +25595,54 @@ EE = {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 DE = {};-DE = {- "ar-AE": qT,- "bg-BG": JT,- "cs-CZ": YT,- "da-DK": XT,- "de-DE": ZT,- "el-GR": QT,- "en-US": $T,- "es-ES": eE,- "et-EE": tE,- "fi-FI": nE,- "fr-FR": rE,- "he-IL": iE,- "hr-HR": aE,- "hu-HU": oE,- "it-IT": sE,- "ja-JP": cE,- "ko-KR": lE,- "lt-LT": uE,- "lv-LV": dE,- "nb-NO": fE,- "nl-NL": pE,- "pl-PL": mE,- "pt-BR": hE,- "pt-PT": gE,- "ro-RO": _E,- "ru-RU": vE,- "sk-SK": yE,- "sl-SI": bE,- "sr-SP": xE,- "sv-SE": SE,- "tr-TR": CE,- "uk-UA": wE,- "zh-CN": TE,- "zh-TW": EE+var OE = {};+OE = {+ "ar-AE": JT,+ "bg-BG": YT,+ "cs-CZ": XT,+ "da-DK": ZT,+ "de-DE": QT,+ "el-GR": $T,+ "en-US": eE,+ "es-ES": tE,+ "et-EE": nE,+ "fi-FI": rE,+ "fr-FR": iE,+ "he-IL": aE,+ "hr-HR": oE,+ "hu-HU": sE,+ "it-IT": cE,+ "ja-JP": lE,+ "ko-KR": uE,+ "lt-LT": dE,+ "lv-LV": fE,+ "nb-NO": pE,+ "nl-NL": mE,+ "pl-PL": hE,+ "pt-BR": gE,+ "pt-PT": _E,+ "ro-RO": vE,+ "ru-RU": yE,+ "sk-SK": bE,+ "sl-SI": xE,+ "sr-SP": SE,+ "sv-SE": CE,+ "tr-TR": wE,+ "uk-UA": TE,+ "zh-CN": EE,+ "zh-TW": DE};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Mae(e) {+function jae(e) {return e && e.__esModule ? e.default : e;}-function OE(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = VS(Mae(DE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {+function kE(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = HS(jae(OE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = kE(i, a.current), o = kE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = AE(i, a.current), o = AE(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)) {@@ -25662,7 +25662,7 @@ function OE(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 && BC(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 && VC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25673,7 +25673,7 @@ function OE(e, t) {n,r]);- VC(() => {+ HC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25681,20 +25681,20 @@ function OE(e, t) {}}, [i, t.selectionManager.isFocused]);}-function kE(e, t) {+function AE(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 AE(e, t) {+function jE(e, t) {let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);- return zb(() => {+ return Bb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = FC(e.current, { tabbable: !0 });+ let t = IC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25712,12 +25712,12 @@ function AE(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Nae(e) {+function Mae(e) {return e && e.__esModule ? e.default : e;}-function jE(e) {- let t = VS(Nae(DE), "@react-aria/grid"), n = Tx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return JC((0, P.useMemo)(() => {+function ME(e) {+ let t = HS(Mae(OE), "@react-aria/grid"), n = Ex(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return YC((0, P.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25729,11 +25729,11 @@ function jE(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function ME(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = MT({+function NE(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = NT({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Pw({+ }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Fw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25750,7 +25750,7 @@ function ME(e) {c,l,s- ]), { collectionProps: d } = ST({+ ]), { collectionProps: d } = CT({...e,ref: i,selectionManager: t,@@ -25759,10 +25759,10 @@ function ME(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Pae(e, t, n) {+function Nae(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 } = ME({+ let { listProps: f } = NE({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25777,30 +25777,30 @@ function Pae(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = zx(e.id);- GT.set(t, {+ }), p = Bx(e.id);+ KT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = jE({+ let m = ME({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = AE(n, { isDisabled: t.collection.size !== 0 }), g = K(US(e, { labelable: !0 }), {+ }), h = jE(n, { isDisabled: t.collection.size !== 0 }), g = K(WS(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), OE({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), kE({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function NE(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 = ex();- t = zx(t);+function PE(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 = tx();+ t = Bx(t);let p = (e) => {- if (e.pointerType === "keyboard" && Aw(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && jw(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25811,11 +25811,11 @@ function NE(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 && (TS(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 && (ES(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, P.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? mS(i.current) : s ? s() : jb() !== i.current && i.current && Px(i.current));+ r === n.focusedKey && n.isFocused && (o ? hS(i.current) : s ? s() : Mb() !== i.current && i.current && Fx(i.current));}, [i,r,@@ -25843,22 +25843,22 @@ function NE(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 || FE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || IE(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" && !PE(e.key)) return;+ if (e.pointerType === "keyboard" && !FE(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 || FE(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || IE(e.key))) && p(e);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && PE(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 && FE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = _ae(n.collection);+ let A = gae(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));@@ -25873,10 +25873,10 @@ function NE(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = Fx(k[e], D[e]));- let { pressProps: j, isPressed: M } = iC(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = Ix(k[e], D[e]));+ let { pressProps: j, isPressed: M } = aC(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: te } = gT({+ } : void 0, { longPressProps: te } = _T({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25884,7 +25884,7 @@ function NE(e) {}), ne = (e) => {C.current === "touch" && T.current && e.preventDefault();}, N = d !== "none" && n.isLink(r) ? (e) => {- tx.isOpening || e.preventDefault();+ nx.isOpening || e.preventDefault();} : void 0, re = K(m, v || b || o && !c ? j : {}, w ? te : {}, {onDoubleClick: ee,onDragStartCapture: ne,@@ -25897,7 +25897,7 @@ function NE(e) {if (e != null) return e !== A;t = t.parentElement;}- return Lb(e);+ return Rb(e);}, F = re.onPointerDown;re.onPointerDown = (e) => {let t = G(e);@@ -25917,14 +25917,14 @@ function NE(e) {hasAction: S};}-function PE(e) {+function FE(e) {return e === "Enter";}-function FE(e) {+function IE(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var IE = {+var LE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25934,18 +25934,18 @@ var IE = {rtl: "ArrowRight"}};-function Fae(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = FS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = GT.get(t), f = Bx(), p = (0, P.useRef)(null), m = () => {+function Pae(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = IS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = KT.get(t), f = Vx(), p = (0, P.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (Nb(n.current) && n.current !== jb(Cb(n.current))) return;- let e = FC(n.current, { tabbable: !0 }).firstChild();+ if (Pb(n.current) && n.current !== Mb(wb(n.current))) return;+ let e = IC(n.current, { tabbable: !0 }).firstChild();if (e) {- Px(e), KC(e, { containingElement: UC(e) });+ Fx(e), qC(e, { containingElement: WC(e) });return;}}- (p.current != null && r.key !== p.current || !Nb(n.current)) && Px(n.current);+ (p.current != null && r.key !== p.current || !Pb(n.current)) && Fx(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25955,7 +25955,7 @@ function Fae(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = Iae(e, t.collection);+ let n = Fae(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;@@ -25966,75 +25966,75 @@ function Fae(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = NE({+ let { itemProps: v, ...y } = PE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? Fx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? Ix(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = jb(Cb(n.current));- if (!Ab(e.currentTarget, G(e)) || !n.current || !i) return;- let a = FC(n.current);- if (a.currentNode = i, !LE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = Mb(wb(n.current));+ if (!jb(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = IC(n.current);+ if (a.currentNode = i, !RE(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(), Px(t), KC(t, { containingElement: UC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Px(n.current), KC(n.current, { containingElement: UC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Fx(t), qC(t, { containingElement: WC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Fx(n.current), qC(n.current, { containingElement: WC(n.current) });else {a.currentNode = n.current;- let e = RE(a);- e && (Px(e), KC(e, { containingElement: UC(n.current) }));+ let e = zE(a);+ e && (Fx(e), qC(e, { containingElement: WC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), Px(t), KC(t, { containingElement: UC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Px(n.current), KC(n.current, { containingElement: UC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Fx(t), qC(t, { containingElement: WC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Fx(n.current), qC(n.current, { containingElement: WC(n.current) });else {a.currentNode = n.current;- let e = RE(a);- e && (Px(e), KC(e, { containingElement: UC(n.current) }));+ let e = zE(a);+ e && (Fx(e), qC(e, { containingElement: WC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && Ab(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && jb(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 && Ab(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && jb(Cb(n.current)) === n.current && m();- }) : Sx() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && jb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && Mb(wb(n.current)) === n.current && m();+ }) : Cx() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = jb(Cb(n.current));- if (Ab(e.currentTarget, G(e)) && n.current && i) {+ let i = Mb(wb(n.current));+ if (jb(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (LE(e, t, r, g, s, i, n.current, o)) return;+ if (RE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = FC(n.current, { tabbable: !0 });+ let t = IC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = nx(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = rx(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) ? `${KT(t, r.key)} ${f}` : void 0,- id: KT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${qT(t, r.key)} ${f}` : void 0,+ id: qT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -26055,66 +26055,66 @@ function Fae(e, t, n) {...y};}-function LE(e, t, n, r, i, a, o, s) {+function RE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === IE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === IE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === LE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === LE.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 RE(e) {+function zE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function Iae(e, t) {+function Fae(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 Lae(e) {+function Iae(e) {return e && e.__esModule ? e.default : e;}-function zE(e, t) {- let { key: n } = e, r = t.selectionManager, i = zx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function BE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = Bx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": VS(Lae(DE), "@react-aria/grid").format("select"),+ "aria-label": HS(Iae(OE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Rae(e, t) {- let { key: n } = e, { checkboxProps: r } = zE(e, t);+function Lae(e, t) {+ let { key: n } = e, { checkboxProps: r } = BE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${KT(t, n)}`+ "aria-labelledby": `${r.id} ${qT(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function zae(e, t, n) {- let r = US(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Rae(e, t, n) {+ let r = WS(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 } = ME({+ let { listProps: s } = NE({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = uw({+ }), { focusWithinProps: c } = dw({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = zx(e.id);- kw.set(t, {+ }), l = Bx(e.id);+ Aw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -26124,7 +26124,7 @@ function zae(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = cw({+ let { labelProps: u, fieldProps: d } = lw({...e,id: l,labelElementType: "span"@@ -26139,8 +26139,8 @@ function zae(e, t, n) {};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Bae(e) {- let { heading: t, "aria-label": n } = e, r = zx();+function zae(e) {+ let { heading: t, "aria-label": n } = e, r = Bx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26158,8 +26158,8 @@ function Bae(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function Vae(e, t, n) {- let { key: r } = e, i = kw.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 = Bx(), f = Bx(), p = {+function Bae(e, t, n) {+ let { key: r } = e, i = Aw.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 = Vx(), f = Vx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -26169,9 +26169,9 @@ function Vae(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"] = AT(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = jT(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = hae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = NE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = mae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = PE({selectionManager: t.selectionManager,key: r,ref: n,@@ -26180,18 +26180,18 @@ function Vae(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? Fx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? Ix(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = UT({+ }), { hoverProps: S } = WT({isDisabled: a || !c,onHoverStart() {- Sx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ Cx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = US(m?.props);+ }), C = WS(m?.props);delete C.id;- let w = rx(m?.props);+ let w = ix(m?.props);return {optionProps: {...p,@@ -26201,7 +26201,7 @@ function Vae(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Sx(),+ isFocusVisible: y && t.selectionManager.isFocused && Cx(),isSelected: o,isDisabled: a,isPressed: v,@@ -26210,12 +26210,12 @@ function Vae(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var BE = /* @__PURE__ */ new WeakMap();+var VE = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function Hae(e, t, n) {+function Vae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = US(e, { labelable: !0 }), { listProps: c } = ME({+ let s = WS(e, { labelable: !0 }), { listProps: c } = NE({...o,ref: n,selectionManager: t.selectionManager,@@ -26224,7 +26224,7 @@ function Hae(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return BE.set(t, {+ return VE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -26240,15 +26240,15 @@ function Hae(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function Uae(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 = BE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = ex(), M = () => {+function Hae(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 = VE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = tx(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let te = Bx(), ne = Bx(), N = Bx(), re = {+ let te = Vx(), ne = Vx(), N = Vx(), re = {id: r,"aria-disabled": E || void 0,role: ee,@@ -26265,17 +26265,17 @@ function Uae(e, t, n) {};if (C.selectionMode !== "none" && !w && (re["aria-checked"] = D), s) {let e = Number(k?.index);- re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = AT(t.collection);+ re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = jT(t.collection);}let ie = (0, P.useRef)(!1), F = (e) => {f?.(e), ie.current = e;}, ae = (0, P.useRef)(null), oe = (e) => {e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ie.current || e.target.click()), u?.(e);}, se = (e) => {- m?.(e), M(), jre(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), Are(e, j, k.props.href, k?.props.routerOptions);let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, A && !w && t && A(), ae.current = null;- }, { itemProps: ce, isFocused: le } = NE({+ }, { itemProps: ce, isFocused: le } = PE({id: r,selectionManager: C,key: i,@@ -26284,27 +26284,27 @@ function Uae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: ue, isPressed: de } = iC({+ }), { pressProps: ue, isPressed: de } = aC({onPressStart: l,onPress: d,onPressUp: oe,onPressChange: F,onPressEnd: p,isDisabled: E- }), { hoverProps: fe } = UT({+ }), { hoverProps: fe } = WT({isDisabled: E,onHoverStart(e) {- !Sx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !Cx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: pe } = Yx({+ }), { keyboardProps: pe } = Xx({shortcuts: {" ": (e) => {ae.current = {pointerType: "keyboard",key: " "- }, G(e).click(), wx("keyboard");+ }, G(e).click(), Tx("keyboard");},Enter: (e) => {ae.current = {@@ -26312,8 +26312,8 @@ function Uae(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), wx("keyboard");- else return wx("keyboard"), {+ if (t.tagName !== "A") t.click(), Tx("keyboard");+ else return Tx("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26321,13 +26321,13 @@ function Uae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: me } = $x({+ }), { focusableProps: me } = eS({onBlur: S,onFocus: b,onFocusChange: x- }, n), he = US(k?.props);+ }, n), he = WS(k?.props);delete he.id;- let I = rx(k?.props);+ let I = ix(k?.props);return {menuItemProps: {...re,@@ -26342,15 +26342,15 @@ function Uae(e, t, n) {descriptionProps: { id: ne },keyboardShortcutProps: { id: N },isFocused: le,- isFocusVisible: le && C.isFocused && Sx() && !T,+ isFocusVisible: le && C.isFocused && Cx() && !T,isSelected: D,isPressed: de,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Wae(e) {- let { heading: t, "aria-label": n } = e, r = zx();+function Uae(e) {+ let { heading: t, "aria-label": n } = e, r = Bx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26365,15 +26365,15 @@ function Wae(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Gae() {+function Wae() {return window.ResizeObserver !== void 0;}-function VE(e) {- let { ref: t, box: n, onResize: r } = e, i = DS(r);+function HE(e) {+ let { ref: t, box: n, onResize: r } = e, i = OS(r);(0, P.useEffect)(() => {let e = t?.current;if (e) {- if (Gae()) {+ if (Wae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26388,154 +26388,154 @@ function VE(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var HE = {};-HE = { dismiss: "تجاهل" };-// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjsvar UE = {};-UE = { dismiss: "Отхвърляне" };-// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs+UE = { dismiss: "تجاهل" };+// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjsvar WE = {};-WE = { dismiss: "Odstranit" };-// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs+WE = { dismiss: "Отхвърляне" };+// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjsvar GE = {};-GE = { dismiss: "Luk" };-// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs+GE = { dismiss: "Odstranit" };+// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjsvar KE = {};-KE = { dismiss: "Schließen" };-// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs+KE = { dismiss: "Luk" };+// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjsvar qE = {};-qE = { dismiss: "Απόρριψη" };-// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs+qE = { dismiss: "Schließen" };+// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjsvar JE = {};-JE = { dismiss: "Dismiss" };-// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs+JE = { dismiss: "Απόρριψη" };+// node_modules/react-aria/dist/private/intl/overlays/en-US.mjsvar YE = {};-YE = { dismiss: "Descartar" };-// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs+YE = { dismiss: "Dismiss" };+// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjsvar XE = {};-XE = { dismiss: "Lõpeta" };-// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs+XE = { dismiss: "Descartar" };+// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjsvar ZE = {};-ZE = { dismiss: "Hylkää" };-// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs+ZE = { dismiss: "Lõpeta" };+// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjsvar QE = {};-QE = { dismiss: "Rejeter" };-// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs+QE = { dismiss: "Hylkää" };+// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjsvar $E = {};-$E = { dismiss: "התעלם" };-// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs+$E = { dismiss: "Rejeter" };+// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjsvar eD = {};-eD = { dismiss: "Odbaci" };-// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs+eD = { dismiss: "התעלם" };+// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjsvar tD = {};-tD = { dismiss: "Elutasítás" };-// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs+tD = { dismiss: "Odbaci" };+// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjsvar nD = {};-nD = { dismiss: "Ignora" };-// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs+nD = { dismiss: "Elutasítás" };+// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjsvar rD = {};-rD = { dismiss: "閉じる" };-// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs+rD = { dismiss: "Ignora" };+// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjsvar iD = {};-iD = { dismiss: "무시" };-// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs+iD = { dismiss: "閉じる" };+// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjsvar aD = {};-aD = { dismiss: "Atmesti" };-// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs+aD = { dismiss: "무시" };+// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjsvar oD = {};-oD = { dismiss: "Nerādīt" };-// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs+oD = { dismiss: "Atmesti" };+// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjsvar sD = {};-sD = { dismiss: "Lukk" };-// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs+sD = { dismiss: "Nerādīt" };+// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjsvar cD = {};-cD = { dismiss: "Negeren" };-// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs+cD = { dismiss: "Lukk" };+// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjsvar lD = {};-lD = { dismiss: "Zignoruj" };-// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs+lD = { dismiss: "Negeren" };+// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjsvar uD = {};-uD = { dismiss: "Descartar" };-// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs+uD = { dismiss: "Zignoruj" };+// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjsvar dD = {};-dD = { dismiss: "Dispensar" };-// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs+dD = { dismiss: "Descartar" };+// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjsvar fD = {};-fD = { dismiss: "Revocare" };-// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs+fD = { dismiss: "Dispensar" };+// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjsvar pD = {};-pD = { dismiss: "Пропустить" };-// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs+pD = { dismiss: "Revocare" };+// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjsvar mD = {};-mD = { dismiss: "Zrušiť" };-// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs+mD = { dismiss: "Пропустить" };+// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjsvar hD = {};-hD = { dismiss: "Opusti" };-// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs+hD = { dismiss: "Zrušiť" };+// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjsvar gD = {};-gD = { dismiss: "Odbaci" };-// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs+gD = { dismiss: "Opusti" };+// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjsvar _D = {};-_D = { dismiss: "Avvisa" };-// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs+_D = { dismiss: "Odbaci" };+// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjsvar vD = {};-vD = { dismiss: "Kapat" };-// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs+vD = { dismiss: "Avvisa" };+// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjsvar yD = {};-yD = { dismiss: "Скасувати" };-// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs+yD = { dismiss: "Kapat" };+// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjsvar bD = {};-bD = { dismiss: "取消" };-// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs+bD = { dismiss: "Скасувати" };+// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjsvar xD = {};-xD = { dismiss: "關閉" };-// node_modules/react-aria/dist/private/overlays/intlStrings.mjs+xD = { dismiss: "取消" };+// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjsvar SD = {};-SD = {- "ar-AE": HE,- "bg-BG": UE,- "cs-CZ": WE,- "da-DK": GE,- "de-DE": KE,- "el-GR": qE,- "en-US": JE,- "es-ES": YE,- "et-EE": XE,- "fi-FI": ZE,- "fr-FR": QE,- "he-IL": $E,- "hr-HR": eD,- "hu-HU": tD,- "it-IT": nD,- "ja-JP": rD,- "ko-KR": iD,- "lt-LT": aD,- "lv-LV": oD,- "nb-NO": sD,- "nl-NL": cD,- "pl-PL": lD,- "pt-BR": uD,- "pt-PT": dD,- "ro-RO": fD,- "ru-RU": pD,- "sk-SK": mD,- "sl-SI": hD,- "sr-SP": gD,- "sv-SE": _D,- "tr-TR": vD,- "uk-UA": yD,- "zh-CN": bD,- "zh-TW": xD+SD = { dismiss: "關閉" };+// node_modules/react-aria/dist/private/overlays/intlStrings.mjs+var CD = {};+CD = {+ "ar-AE": UE,+ "bg-BG": WE,+ "cs-CZ": GE,+ "da-DK": KE,+ "de-DE": qE,+ "el-GR": JE,+ "en-US": YE,+ "es-ES": XE,+ "et-EE": ZE,+ "fi-FI": QE,+ "fr-FR": $E,+ "he-IL": eD,+ "hr-HR": tD,+ "hu-HU": nD,+ "it-IT": rD,+ "ja-JP": iD,+ "ko-KR": aD,+ "lt-LT": oD,+ "lv-LV": sD,+ "nb-NO": cD,+ "nl-NL": lD,+ "pl-PL": uD,+ "pt-BR": dD,+ "pt-PT": fD,+ "ro-RO": pD,+ "ru-RU": mD,+ "sk-SK": hD,+ "sl-SI": gD,+ "sr-SP": _D,+ "sv-SE": vD,+ "tr-TR": yD,+ "uk-UA": bD,+ "zh-CN": xD,+ "zh-TW": SD};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Kae(e) {+function Gae(e) {return e && e.__esModule ? e.default : e;}-function CD(e) {- let { onDismiss: t, ...n } = e, r = kS(n, VS(Kae(SD), "@react-aria/overlays").format("dismiss")), i = () => {+function wD(e) {+ let { onDismiss: t, ...n } = e, r = AS(n, HS(Gae(CD), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ P.createElement(xw, null, /*#__PURE__*/ P.createElement("button", {+ return /*#__PURE__*/ P.createElement(Sw, null, /*#__PURE__*/ P.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26546,35 +26546,35 @@ function CD(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var wD = [];-function TD(e, t) {+var TD = [];+function ED(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, P.useRef)(void 0);(0, P.useEffect)(() => {- if (i && !wD.includes(t)) return wD.push(t), () => {- let e = wD.indexOf(t);- e >= 0 && wD.splice(e, 1);+ if (i && !TD.includes(t)) return TD.push(t), () => {+ let e = TD.indexOf(t);+ e >= 0 && TD.splice(e, 1);};}, [i, t]);let l = () => {- wD[wD.length - 1] === t && n && n();+ TD[TD.length - 1] === t && n && n();}, u = (e) => {- let n = wD[wD.length - 1];+ let n = TD[TD.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (wD[wD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Yx({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (TD[TD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Xx({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Aae({+ kae({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = uw({+ let { focusWithinProps: p } = dw({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !OC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !kC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26586,87 +26586,87 @@ function TD(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var qae = 200, Jae = 50, Yae = 600, ED = /* @__PURE__ */ new WeakMap(), DD = /* @__PURE__ */ new Set(), OD = /* @__PURE__ */ new Set();-function Xae(e, t) {- let n = ES();- if (e !== n || t.aborted) for (let e of OD) e(n), OD.delete(e);- if (!e && n && Xb() && !t.aborted) window.clearInterval(ED.get(window)), ED.set(window, kD(qae));+var Kae = 200, qae = 50, Jae = 600, DD = /* @__PURE__ */ new WeakMap(), OD = /* @__PURE__ */ new Set(), kD = /* @__PURE__ */ new Set();+function Yae(e, t) {+ let n = DS();+ if (e !== n || t.aborted) for (let e of kD) e(n), kD.delete(e);+ if (!e && n && Zb() && !t.aborted) window.clearInterval(DD.get(window)), DD.set(window, AD(Kae));else {- if (e !== n || t.aborted) for (let e of DD) e(n), DD.delete(e);- (OD.size + DD.size <= 0 || t.aborted) && (window.clearInterval(ED.get(window)), ED.delete(window));+ if (e !== n || t.aborted) for (let e of OD) e(n), OD.delete(e);+ (kD.size + OD.size <= 0 || t.aborted) && (window.clearInterval(DD.get(window)), DD.delete(window));}}-function kD(e = Yae) {- return window.setInterval(Xae, Jae, ES(), AbortSignal.timeout(e));+function AD(e = Jae) {+ return window.setInterval(Yae, qae, DS(), AbortSignal.timeout(e));}-function AD(e) {- if (!CS()) return e(!1), () => {};+function jD(e) {+ if (!wS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = wS(document.hasFocus() ? jb() : null);- if (ES() === t || ES() && !t) return e(t);- OD.add(e), ED.has(window) || ED.set(window, kD());+ let t = TS(document.hasFocus() ? Mb() : null);+ if (DS() === t || DS() && !t) return e(t);+ kD.add(e), DD.has(window) || DD.set(window, AD());});});return () => {- window.cancelAnimationFrame(t), OD.delete(e);+ window.cancelAnimationFrame(t), kD.delete(e);};}-function Zae(e) {- if (!CS()) return e(!1), () => {};+function Xae(e) {+ if (!wS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = wS(document.hasFocus() ? jb() : null);- if (ES() === t) return e(t);- DD.add(e), ED.has(window) || ED.set(window, kD());+ let t = TS(document.hasFocus() ? Mb() : null);+ if (DS() === t) return e(t);+ OD.add(e), DD.has(window) || DD.set(window, AD());});});return () => {- window.cancelAnimationFrame(t), DD.delete(e);+ window.cancelAnimationFrame(t), OD.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var jD = typeof document < "u" && window.visualViewport, MD = 0, ND;-function PD(e = {}) {+var MD = typeof document < "u" && window.visualViewport, ND = 0, PD;+function FD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- zb(() => {- if (!t) return MD++, MD === 1 && (ND = Yb() && Xb() ? $ae() : Qae(n)), () => {- MD--, MD === 0 && ND();+ Bb(() => {+ if (!t) return ND++, ND === 1 && (PD = Xb() && Zb() ? Qae() : Zae(n)), () => {+ ND--, ND === 0 && PD();};}, [t, n]);}-function Qae(e) {+function Zae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return Fx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Ob(document.documentElement, "scrollbar-gutter", "stable") : Ob(document.documentElement, "padding-right", `${t}px`)), Ob(document.documentElement, "overflow", "hidden"), e && ID(), e && CS() && FD());+ return Ix(t > 0 && ("scrollbarGutter" in document.documentElement.style ? kb(document.documentElement, "scrollbar-gutter", "stable") : kb(document.documentElement, "padding-right", `${t}px`)), kb(document.documentElement, "overflow", "hidden"), e && LD(), e && wS() && ID());}-function $ae() {- let e = Ob(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function Qae() {+ let e = kb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = HC(r, !0) ? r : UC(r, !0), n = !1;+ t = UC(r, !0) ? r : WC(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 = XS();+ }, i = document.createElement("style"), a = ZS();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 = ID(), c = Fx(Db(document, "touchstart", r, {+ }, s = LD(), c = Ix(Ob(document, "touchstart", r, {passive: !1,capture: !0- }), Db(document, "touchmove", o, {+ }), Ob(document, "touchmove", o, {passive: !1,capture: !0- }), FD());+ }), ID());return () => {e(), c(), i.remove(), s();};}-function FD() {- return Db(document, "blur", (e) => {+function ID() {+ return Ob(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && wS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && TS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function ID() {+function LD() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26677,9 +26677,9 @@ function ID() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- jb() === this && eoe(this);+ Mb() === this && $ae(this);};- AD((t) => t ? e() : Zae(() => e()));+ jD((t) => t ? e() : Xae(() => e()));}}}), () => {@@ -26690,15 +26690,15 @@ function ID() {});};}-function eoe(e) {+function $ae(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = UC(n);+ let e = WC(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;- jD && (n = Math.min(n, jD.offsetTop + jD.height));+ MD && (n = Math.min(n, MD.offsetTop + MD.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)),@@ -26710,19 +26710,19 @@ function eoe(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function toe(e, t, n) {- let { overlayProps: r, underlayProps: i } = TD({+function eoe(e, t, n) {+ let { overlayProps: r, underlayProps: i } = ED({...e,isOpen: t.isOpen,onClose: t.close}, n);- PD({+ FD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), RT();+ }), zT();let { isEntering: a } = e;return (0, P.useEffect)(() => {- if (t.isOpen && n.current) return a ? Ow(n.current) : Dw([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? kw(n.current) : Ow([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -26733,33 +26733,33 @@ function toe(e, t, n) {};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var LD = {+var RD = {top: "top",bottom: "top",left: "left",right: "left"-}, RD = {+}, zD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, noe = {+}, toe = {top: "left",left: "top"-}, zD = {+}, BD = {top: "height",left: "width"-}, BD = {+}, VD = {width: "totalWidth",height: "totalHeight"-}, VD = {}, roe = () => typeof document < "u" ? window.visualViewport : null;-function HD(e, t) {+}, HD = {}, noe = () => typeof document < "u" ? window.visualViewport : null;+function UD(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} = JD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return Xb() && (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} = YD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return Zb() && (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,@@ -26769,7 +26769,7 @@ function HD(e, t) {left: s};}-function ioe(e) {+function roe(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26777,11 +26777,11 @@ function ioe(e) {height: e.scrollHeight};}-function UD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[zD[e]], l = o[e] + r.scroll[LD[e]] + a, u = o[e] + r.scroll[LD[e]] + c - a, d = t - s + r.scroll[LD[e]] + o[e] - r[LD[e]], f = t - s + n + r.scroll[LD[e]] + o[e] - r[LD[e]];+function WD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[BD[e]], l = o[e] + r.scroll[RD[e]] + a, u = o[e] + r.scroll[RD[e]] + c - a, d = t - s + r.scroll[RD[e]] + o[e] - r[RD[e]], f = t - s + n + r.scroll[RD[e]] + o[e] - r[RD[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function aoe(e) {+function ioe(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26790,55 +26790,55 @@ function aoe(e) {right: parseInt(t.marginRight, 10) || 0};}-function WD(e) {- if (VD[e]) return VD[e];- let [t, n] = e.split(" "), r = LD[t] || "right", i = noe[r];- LD[n] || (n = "center");- let a = zD[r], o = zD[i];- return VD[e] = {+function GD(e) {+ if (HD[e]) return HD[e];+ let [t, n] = e.split(" "), r = RD[t] || "right", i = toe[r];+ RD[n] || (n = "center");+ let a = BD[r], o = BD[i];+ return HD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, VD[e];+ }, HD[e];}-function GD(e, t, n, r, i, a, o, s, c, l, u) {+function KD(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] = pw(_[m], v, y), d === p) {- let t = s ? u[h] : u[BD[h]];- _[RD[p]] = Math.floor(t - e[p] + i);+ if (_[m] = mw(_[m], v, y), d === p) {+ let t = s ? u[h] : u[VD[h]];+ _[zD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function ooe(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[BD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function aoe(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[VD.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 KD(e, t, n, r, i, a, o, s) {+function qD(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[RD[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[RD[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[zD[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[zD[l]] - i);}-function soe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = WD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = GD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = KD(s, l, t, i, a + u, v, c, g);+function ooe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = GD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = KD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = qD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = WD(`${RD[S]} ${C}`), r = GD(t, s, n, e, u, d, l, f, m, h, c);- KD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = GD(`${zD[S]} ${C}`), r = KD(t, s, n, e, u, d, l, f, m, h, c);+ qD(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 = UD(b, w[b], n[x], s, c, a, l);+ let O = WD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = ooe(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = GD(t, s, n, v, T, d, l, f, m, h, c), O = UD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[LD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = LD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;- A[b] = pw(pw(M, t[b] + m / 2 - (w[b] + i[LD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[LD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = aoe(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = KD(t, s, n, v, T, d, l, f, m, h, c), O = WD(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[RD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = RD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;+ A[b] = mw(mw(M, t[b] + m / 2 - (w[b] + i[RD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[RD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let N = S === "left" || S === "top" ? n[y] : 0, re = {x: S === "top" || S === "bottom" ? j : N,y: S === "left" || S === "right" ? j : N@@ -26852,17 +26852,17 @@ function soe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: re};}-function coe(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 = roe(), h = r instanceof HTMLElement ? loe(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? JD(n, !1, p) : YD(n, h, !1, p);+function soe(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 = noe(), h = r instanceof HTMLElement ? coe(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? YD(n, !1, p) : XD(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 = JD(r, !0), x = aoe(r);+ let b = YD(r, !0), x = ioe(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = ioe(i), C = HD(s, m), w = HD(h, m), T;+ let S = roe(i), C = UD(s, m), w = UD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = qD(h, !1);+ let e = JD(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26874,11 +26874,11 @@ function coe(e) {left: 0,width: 0,height: 0- } : YD(s, h, !1);- let E = Ab(s, h);- return soe(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : XD(s, h, !1);+ let E = jb(s, h);+ return ooe(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function qD(e, t) {+function JD(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,@@ -26887,8 +26887,8 @@ function qD(e, t) {height: a};}-function JD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || qD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function YD(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || JD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26896,29 +26896,29 @@ function JD(e, t, n) {height: o};}-function YD(e, t, n, r) {+function XD(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || qD(e, n);+ if (i.position === "fixed") a = r || JD(e, n);else {- a = JD(e, n, r);- let i = JD(t, n), o = window.getComputedStyle(t);+ a = YD(e, n, r);+ let i = YD(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 loe(e) {+function coe(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !XD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !XD(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ZD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ZD(t);) t = t.parentElement;return t || document.documentElement;}-function XD(e) {+function ZD(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 ZD = typeof document < "u" ? window.visualViewport : null;-function uoe(e) {- let { direction: t } = FS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, P.useState)(null), x = [+var QD = typeof document < "u" ? window.visualViewport : null;+function loe(e) {+ let { direction: t } = IS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, P.useState)(null), x = [p,s,i.current,@@ -26935,15 +26935,15 @@ function uoe(e) {g,_,n- ], S = (0, P.useRef)(ZD?.scale);+ ], S = (0, P.useRef)(QD?.scale);(0, P.useEffect)(() => {- m && (S.current = ZD?.scale);+ m && (S.current = QD?.scale);}, [m]);let C = (0, P.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || ZD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || QD?.scale !== S.current) return;let e = null;- if (o.current && Nb(o.current)) {- let t = jb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Pb(o.current)) {+ let t = Mb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26951,8 +26951,8 @@ function uoe(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 = coe({- placement: foe(s, t),+ let y = soe({+ placement: doe(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26962,28 +26962,28 @@ function uoe(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? qD(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? JD(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 = jb();+ let x = Mb();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);- zb(C, x), doe(C), VE({+ Bb(C, x), uoe(C), HE({ref: i,onResize: C- }), VE({+ }), HE({ref: r,onResize: C});let w = (0, P.useRef)(!1);- zb(() => {+ Bb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26991,16 +26991,16 @@ function uoe(e) {}, n = () => {w.current && t();};- ZD?.addEventListener("resize", t), ZD?.addEventListener("scroll", n);- let r = Db(Mb(window), "scroll", n);+ QD?.addEventListener("resize", t), QD?.addEventListener("scroll", n);+ let r = Ob(Nb(window), "scroll", n);return () => {- ZD?.removeEventListener("resize", t), ZD?.removeEventListener("scroll", n), r();+ QD?.removeEventListener("resize", t), QD?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, P.useCallback)(() => {w.current || h?.();}, [h, w]);- return bae({+ return yae({triggerRef: r,isOpen: m,onClose: h && T@@ -27026,24 +27026,24 @@ function uoe(e) {updatePosition: C};}-function doe(e) {- zb(() => (window.addEventListener("resize", e, !1), () => {+function uoe(e) {+ Bb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function foe(e, t) {+function doe(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 poe(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 } = TD({+function foe(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 } = ED({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 } = uoe({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = loe({...c,targetRef: n,overlayRef: r,@@ -27051,15 +27051,15 @@ function poe(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)});- PD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {- if (t.isOpen && r.current) return a ? Ow(i?.current ?? r.current) : Dw([i?.current ?? r.current], { shouldUseInert: !0 });+ FD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {+ if (t.isOpen && r.current) return a ? kw(i?.current ?? r.current) : Ow([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = uw(e);+ let { focusWithinProps: g } = dw(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -27069,12 +27069,12 @@ function poe(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var QD = /* @__PURE__ */ new WeakMap();+var $D = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function moe(e, t, n) {+function poe(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: _ } = iC({+ }, { pressProps: g, isPressed: _ } = aC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27082,7 +27082,7 @@ function moe(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = iC({+ }), { pressProps: v, isPressed: y } = aC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27092,11 +27092,11 @@ function moe(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = $x(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = US(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = eS(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = WS(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 } = QD.get(t);- YC(n, t.defaultSelectedValue, t.setSelectedValue), XC({ validationBehavior: O }, t, n);- let k = ZC();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = $D.get(t);+ XC(n, t.defaultSelectedValue, t.setSelectedValue), ZC({ validationBehavior: O }, t, n);+ let k = QC();return {labelProps: K(v, (0, P.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -27127,13 +27127,13 @@ function moe(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function hoe(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = FS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = lw({+function moe(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = IS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = uw({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = US(e, { labelable: !0 }), { focusWithinProps: v } = uw({+ }), _ = WS(e, { labelable: !0 }), { focusWithinProps: v } = dw({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -27141,13 +27141,13 @@ function hoe(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = FC(n.currentTarget, {+ let r = IC(n.currentTarget, {from: G(n),- accept: (e) => e instanceof wb(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof Tb(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 } = Yx({+ let { keyboardProps: b } = Xx({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -27155,8 +27155,8 @@ function hoe(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = zx(n);- return QD.set(t, {+ }), x = Bx(n);+ return $D.set(t, {name: x,form: r,descriptionId: h.id,@@ -27184,21 +27184,21 @@ function hoe(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var $D = /* @__PURE__ */ new WeakMap();-function goe(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = MT({+var eO = /* @__PURE__ */ new WeakMap();+function hoe(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = NT({usage: "search",sensitivity: "base"- }), u = (0, P.useMemo)(() => r || new Pw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, P.useMemo)(() => r || new Fw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = vT({+ ]), { menuTriggerProps: d, menuProps: f } = yT({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Yx({+ }, t, n), { keyboardProps: p } = Xx({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27214,21 +27214,21 @@ function goe(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = bT({+ }), { typeSelectProps: m } = xT({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 } = lw({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = uw({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = US(e, { labelable: !0 }), C = K(m, d, y), w = zx();- return $D.set(t, {+ let S = WS(e, { labelable: !0 }), C = K(m, d, y), w = Bx();+ return eO.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27238,13 +27238,13 @@ function goe(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), wx("keyboard"));+ e.isDisabled || (n.current?.focus(), Tx("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: Fx(C.onKeyDown, p.onKeyDown),+ onKeyDown: Ix(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27268,7 +27268,7 @@ function goe(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- Ab(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ jb(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(" ")},@@ -27288,13 +27288,13 @@ function goe(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function _oe(e, t, n) {- let r = $D.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = bw({ style: {+function goe(e, t, n) {+ let r = eO.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = xw({ style: {position: "fixed",top: 0,left: 0} });- YC(e.selectRef, t.defaultValue, t.setValue), XC({+ XC(e.selectRef, t.defaultValue, t.setValue), ZC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27324,8 +27324,8 @@ function _oe(e, t, n) {}};}-function voe(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = _oe({+function _oe(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = goe({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27349,7 +27349,7 @@ function voe(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = $D.get(t) || {};+ let { validationBehavior: e } = eO.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27379,8 +27379,8 @@ function voe(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function yoe(e) {- let t = US(e, { labelable: !0 }), n;+function voe(e) {+ let t = WS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27388,8 +27388,8 @@ function yoe(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function boe(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = ow(e, t, n);+function yoe(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = sw(e, t, n);return {labelProps: r,inputProps: {@@ -27402,10 +27402,10 @@ function boe(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var eO = class {+var tO = 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 xoe(e.layout) : new Nw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new boe(e.layout) : new Pw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27441,7 +27441,7 @@ var eO = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of CT(n, this.collection)) {+ for (let e of wT(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27475,13 +27475,13 @@ var eO = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = CT(t, this.collection);- return (this.direction === "rtl" ? ET(e)?.key : wT(e)?.key) ?? null;+ let e = wT(t, this.collection);+ return (this.direction === "rtl" ? DT(e)?.key : TT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = CT(n, this.collection), i = (this.direction === "rtl" ? TT(r, t.index - 1) : TT(r, t.index + 1)) ?? null;+ let r = wT(n, this.collection), i = (this.direction === "rtl" ? ET(r, t.index - 1) : ET(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;@@ -27490,13 +27490,13 @@ var eO = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = CT(t, this.collection);- return (this.direction === "rtl" ? wT(e)?.key : ET(e)?.key) ?? null;+ let e = wT(t, this.collection);+ return (this.direction === "rtl" ? TT(e)?.key : DT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = CT(n, this.collection), i = (this.direction === "rtl" ? TT(r, t.index + 1) : TT(r, t.index - 1)) ?? null;+ let r = wT(n, this.collection), i = (this.direction === "rtl" ? ET(r, t.index + 1) : ET(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;@@ -27507,13 +27507,13 @@ var eO = 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 ? wT(CT(e, this.collection))?.key ?? null : null;+ return e ? TT(wT(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 = wT(CT(e, this.collection))?.key ?? null;+ n = TT(wT(e, this.collection))?.key ?? null;}return n;}@@ -27523,13 +27523,13 @@ var eO = 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 ? ET(CT(e, this.collection))?.key ?? null : null;+ return e ? DT(wT(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 = ET(CT(e, this.collection))?.key ?? null;+ n = DT(wT(e, this.collection))?.key ?? null;}return n;}@@ -27565,13 +27565,13 @@ var eO = 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" ? wT(CT(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? TT(wT(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;}-}, xoe = class {+}, boe = class {constructor(e) {this.layout = e;}@@ -27584,15 +27584,15 @@ var eO = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, tO = /* @__PURE__ */ new WeakMap();+}, nO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function Soe(e, t, n) {+function xoe(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 = MT({+ let h = NT({usage: "search",sensitivity: "base"- }), { direction: g } = FS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new eO({+ }), { direction: g } = IS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new tO({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27609,7 +27609,7 @@ function Soe(e, t, n) {g,h,o- ]), { collectionProps: y } = ST({+ ]), { collectionProps: y } = CT({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27617,8 +27617,8 @@ function Soe(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = zx(e.id);- tO.set(t, {+ }), b = Bx(e.id);+ nO.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27627,42 +27627,42 @@ function Soe(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = jE({+ let x = ME({selectionManager: m,hasItemActions: !!(l || u)- }), S = US(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {- m.isFocused ? Ab(e.currentTarget, G(e)) || m.setFocused(!1) : Ab(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = WS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {+ m.isFocused ? jb(e.currentTarget, G(e)) || m.setFocused(!1) : jb(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, P.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = AE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = jE(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), OE({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), kE({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var nO = /* @__PURE__ */ new WeakMap();-function rO(e) {+var rO = /* @__PURE__ */ new WeakMap();+function iO(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function iO(e, t) {- let n = nO.get(e);+function aO(e, t) {+ let n = rO.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${rO(t)}`;+ return `${n}-${iO(t)}`;}-function aO(e, t, n) {- let r = nO.get(e);+function oO(e, t, n) {+ let r = rO.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${rO(t)}-${rO(n)}`;+ return `${r}-${iO(t)}-${iO(n)}`;}-function oO(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => aO(e, t, n)).join(" ");+function sO(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => oO(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var sO = {};-sO = {+var cO = {};+cO = {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: "طي",@@ -27676,8 +27676,8 @@ sO = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var cO = {};-cO = {+var lO = {};+lO = {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: "Свиване",@@ -27691,8 +27691,8 @@ cO = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var lO = {};-lO = {+var uO = {};+uO = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27706,8 +27706,8 @@ lO = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var uO = {};-uO = {+var dO = {};+dO = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27721,8 +27721,8 @@ uO = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var dO = {};-dO = {+var fO = {};+fO = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27736,8 +27736,8 @@ dO = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var fO = {};-fO = {+var pO = {};+pO = {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: "Σύμπτυξη",@@ -27751,8 +27751,8 @@ fO = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var pO = {};-pO = {+var mO = {};+mO = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27766,8 +27766,8 @@ pO = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var mO = {};-mO = {+var hO = {};+hO = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27781,8 +27781,8 @@ mO = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var hO = {};-hO = {+var gO = {};+gO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27796,8 +27796,8 @@ hO = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var gO = {};-gO = {+var _O = {};+_O = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27811,8 +27811,8 @@ gO = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var _O = {};-_O = {+var vO = {};+vO = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27826,8 +27826,8 @@ _O = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var vO = {};-vO = {+var yO = {};+yO = {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: "כווץ",@@ -27841,8 +27841,8 @@ vO = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var yO = {};-yO = {+var bO = {};+bO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27856,8 +27856,8 @@ yO = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var bO = {};-bO = {+var xO = {};+xO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27871,8 +27871,8 @@ bO = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var xO = {};-xO = {+var SO = {};+SO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27886,8 +27886,8 @@ xO = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var SO = {};-SO = {+var CO = {};+CO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27901,8 +27901,8 @@ SO = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var CO = {};-CO = {+var wO = {};+wO = {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: "접기",@@ -27916,8 +27916,8 @@ CO = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var wO = {};-wO = {+var TO = {};+TO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27931,8 +27931,8 @@ wO = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var TO = {};-TO = {+var EO = {};+EO = {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",@@ -27946,8 +27946,8 @@ TO = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var EO = {};-EO = {+var DO = {};+DO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27961,8 +27961,8 @@ EO = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var DO = {};-DO = {+var OO = {};+OO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -27976,8 +27976,8 @@ DO = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var OO = {};-OO = {+var kO = {};+kO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -27991,8 +27991,8 @@ OO = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var kO = {};-kO = {+var AO = {};+AO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -28006,8 +28006,8 @@ kO = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var AO = {};-AO = {+var jO = {};+jO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -28021,8 +28021,8 @@ AO = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var jO = {};-jO = {+var MO = {};+MO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -28036,8 +28036,8 @@ jO = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var MO = {};-MO = {+var NO = {};+NO = {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: "Свернуть",@@ -28051,8 +28051,8 @@ MO = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var NO = {};-NO = {+var PO = {};+PO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28066,8 +28066,8 @@ NO = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var PO = {};-PO = {+var FO = {};+FO = {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",@@ -28081,8 +28081,8 @@ PO = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var FO = {};-FO = {+var IO = {};+IO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28096,8 +28096,8 @@ FO = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var IO = {};-IO = {+var LO = {};+LO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28111,8 +28111,8 @@ IO = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var LO = {};-LO = {+var RO = {};+RO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28126,8 +28126,8 @@ LO = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var RO = {};-RO = {+var zO = {};+zO = {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: "Згорнути",@@ -28141,8 +28141,8 @@ RO = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var zO = {};-zO = {+var BO = {};+BO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28156,8 +28156,8 @@ zO = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var BO = {};-BO = {+var VO = {};+VO = {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: "收合",@@ -28171,45 +28171,45 @@ BO = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var VO = {};-VO = {- "ar-AE": sO,- "bg-BG": cO,- "cs-CZ": lO,- "da-DK": uO,- "de-DE": dO,- "el-GR": fO,- "en-US": pO,- "es-ES": mO,- "et-EE": hO,- "fi-FI": gO,- "fr-FR": _O,- "he-IL": vO,- "hr-HR": yO,- "hu-HU": bO,- "it-IT": xO,- "ja-JP": SO,- "ko-KR": CO,- "lt-LT": wO,- "lv-LV": TO,- "nb-NO": EO,- "nl-NL": DO,- "pl-PL": OO,- "pt-BR": kO,- "pt-PT": AO,- "ro-RO": jO,- "ru-RU": MO,- "sk-SK": NO,- "sl-SI": PO,- "sr-SP": FO,- "sv-SE": IO,- "tr-TR": LO,- "uk-UA": RO,- "zh-CN": zO,- "zh-TW": BO+var HO = {};+HO = {+ "ar-AE": cO,+ "bg-BG": lO,+ "cs-CZ": uO,+ "da-DK": dO,+ "de-DE": fO,+ "el-GR": pO,+ "en-US": mO,+ "es-ES": hO,+ "et-EE": gO,+ "fi-FI": _O,+ "fr-FR": vO,+ "he-IL": yO,+ "hr-HR": bO,+ "hu-HU": xO,+ "it-IT": SO,+ "ja-JP": CO,+ "ko-KR": wO,+ "lt-LT": TO,+ "lv-LV": EO,+ "nb-NO": DO,+ "nl-NL": OO,+ "pl-PL": kO,+ "pt-BR": AO,+ "pt-PT": jO,+ "ro-RO": MO,+ "ru-RU": NO,+ "sk-SK": PO,+ "sl-SI": FO,+ "sr-SP": IO,+ "sv-SE": LO,+ "tr-TR": RO,+ "uk-UA": zO,+ "zh-CN": BO,+ "zh-TW": VO};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Coe = class extends eO {+var Soe = class extends tO {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28217,7 +28217,7 @@ var Coe = class extends eO {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = wT(CT(n, this.collection));+ let e = TT(wT(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);@@ -28238,13 +28238,13 @@ var Coe = class extends eO {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 CT(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of wT(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 = [...CT(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...wT(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28273,7 +28273,7 @@ var Coe = class extends eO {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of CT(o, this.collection)) {+ for (let r of wT(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);@@ -28286,14 +28286,14 @@ var Coe = class extends eO {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function woe(e) {+function Coe(e) {return e && e.__esModule ? e.default : e;}-function Toe(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = MT({+function woe(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = NT({usage: "search",sensitivity: "base"- }), { direction: c } = FS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Coe({+ }), { direction: c } = IS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Soe({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28312,51 +28312,51 @@ function Toe(e, t, n) {s,a,o- ]), d = zx(e.id);- nO.set(t, d);- let { gridProps: f } = Soe({+ ]), d = Bx(e.id);+ rO.set(t, d);+ let { gridProps: f } = xoe({...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 = VS(woe(VO), "@react-aria/table"), g = (0, P.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = HS(Coe(HO), "@react-aria/table"), g = (0, P.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = JC(g);- return VC(() => {- g && BC(g, "assertive", 500);+ ]), _ = YC(g);+ return HC(() => {+ g && VC(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 HO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = FS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = tO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {+function UO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = IS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = nO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {if (n.current) {- let e = FC(n.current);+ let e = IC(n.current);if (p === "child") {- let i = jb(Cb(n.current));- if (Nb(n.current) && n.current !== i) return;- let a = Cb(n.current);+ let i = Mb(wb(n.current));+ if (Pb(n.current) && n.current !== i) return;+ let a = wb(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && Ab(n.current, e)) {- Px(e);+ if (e && m.current === r.key && jb(n.current, e)) {+ Fx(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? UO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? WO(e) : e.firstChild();if (o) {- Px(o);+ Fx(o);return;}}- (m.current != null && r.key !== m.current || !Nb(n.current)) && Px(n.current);+ (m.current != null && r.key !== m.current || !Pb(n.current)) && Fx(n.current);}- }, { itemProps: _, isPressed: v } = NE({+ }, { itemProps: _, isPressed: v } = PE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28368,44 +28368,44 @@ function HO(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = jb(Cb(n.current));- if (!Ab(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = FC(n.current);+ let i = Mb(wb(n.current));+ if (!jb(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = IC(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) Px(t), KC(t, { containingElement: UC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Fx(t), qC(t, { containingElement: WC(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" ? (Px(n.current), KC(n.current, { containingElement: UC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : UO(a), t && (Px(t), KC(t, { containingElement: UC(n.current) })));+ p === "cell" && l === "rtl" ? (Fx(n.current), qC(n.current, { containingElement: WC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : WO(a), t && (Fx(t), qC(t, { containingElement: WC(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) Px(t), KC(t, { containingElement: UC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Fx(t), qC(t, { containingElement: WC(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" ? (Px(n.current), KC(n.current, { containingElement: UC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? UO(a) : a.firstChild(), t && (Px(t), KC(t, { containingElement: UC(n.current) })));+ p === "cell" && l === "ltr" ? (Fx(n.current), qC(n.current, { containingElement: WC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? WO(a) : a.firstChild(), t && (Fx(t), qC(t, { containingElement: WC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && Ab(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && jb(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 = jb(Cb(n.current));- if (Ab(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = Mb(wb(n.current));+ if (jb(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 = FC(n.current, { tabbable: !0 });+ let t = IC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28416,9 +28416,9 @@ function HO(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && Ab(n.current, i) && (h.current = i), Sx() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && Ab(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && jb(Cb(n.current)) === n.current && g();+ n.current && jb(n.current, i) && (h.current = i), Cx() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && jb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && Mb(wb(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28433,7 +28433,7 @@ function HO(e, t, n) {isPressed: v};}-function UO(e) {+function WO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28441,32 +28441,32 @@ function UO(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function Eoe(e, t, n) {- let { gridCellProps: r, isPressed: i } = HO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = aO(t, e.node.parentKey, a)), {+function Toe(e, t, n) {+ let { gridCellProps: r, isPressed: i } = UO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = oO(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Doe(e) {+function Eoe(e) {return e && e.__esModule ? e.default : e;}-function Ooe(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = HO({+function Doe(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = UO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = iC({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = aC({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = $x({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !Qb() && (u = d ? f : "none");- let p = VS(Doe(VO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && Qb() && (m = `${m}, ${p.format(f)}`));- let h = JC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = eS({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !$b() && (u = d ? f : "none");+ let p = HS(Eoe(HO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && $b() && (m = `${m}, ${p.format(f)}`));+ let h = YC(m), g = t.collection.size === 0;return (0, P.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28477,7 +28477,7 @@ function Ooe(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: iO(t, r.key),+ id: aO(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28485,17 +28485,17 @@ function Ooe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function koe(e) {+function Ooe(e) {return e && e.__esModule ? e.default : e;}-function Aoe(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = VS(koe(VO), "@react-aria/table"), d = zx(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = FS(), b = (0, P.useCallback)((e) => {+function koe(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = HS(Ooe(HO), "@react-aria/table"), d = Bx(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = IS(), b = (0, P.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, P.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, P.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && Px(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 && Fx(i.current)), m.current = null;}, [t,i,@@ -28503,14 +28503,14 @@ function Aoe(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = Yx({ shortcuts: {+ }, { keyboardProps: w } = Xx({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, P.useRef)(0), { moveProps: E } = vw({+ } }), T = (0, P.useRef)(0), { moveProps: E } = yw({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28526,12 +28526,12 @@ function Aoe(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 = Tx();+ let A = Math.floor(t.getColumnWidth(r.key)), j = Ex();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = JC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = YC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${iO(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${aO(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -28539,11 +28539,11 @@ function Aoe(e, t, n) {value: A,...M}, te = (0, P.useCallback)(() => {- n.current && Px(n.current);- }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = DS(b);+ n.current && Fx(n.current);+ }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = OS(b);(0, P.useEffect)(() => {if (N.current !== ne && ne != null && ne === r.key) {- h.current = jb() === n.current, re(r);+ h.current = Mb() === n.current, re(r);let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28559,7 +28559,7 @@ function Aoe(e, t, n) {let ie = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: F } = iC({+ }, { pressProps: F } = aC({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (te(), e.pointerType !== "virtual" && b(r)));@@ -28567,7 +28567,7 @@ function Aoe(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ae } = bw();+ }), { visuallyHiddenProps: ae } = xw();return {resizerProps: K(w, {...E,@@ -28586,19 +28586,19 @@ function Aoe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function joe(e, t, n) {+function Aoe(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 Moe(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = tO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = NE({+function joe(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = nO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = PE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? Fx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? Ix(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28612,10 +28612,10 @@ function Moe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function Noe(e) {+function Moe(e) {return e && e.__esModule ? e.default : e;}-var WO = {+var GO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28625,21 +28625,21 @@ var WO = {rtl: "ArrowRight"}};-function Poe(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Moe(e, t, n), { direction: s } = FS();+function Noe(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = joe(e, t, n), { direction: s } = IS();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 = VS(Noe(VO), "@react-aria/table"), u = kS({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = HS(Moe(HO), "@react-aria/table"), u = AS({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": oO(t, r.key)+ "aria-labelledby": sO(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = GO(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 = GO(t.collection, a);+ let n = KO(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 = KO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === WO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === WO.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 === GO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === GO.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,@@ -28657,42 +28657,42 @@ function Poe(e, t, n) {};}}- let p = nx(r.props), m = o.hasAction ? p : {};+ let p = rx(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": oO(t, r.key)+ "aria-labelledby": sO(t, r.key)},expandButtonProps: f,...o};}-function GO(e, t) {+function KO(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 Foe() {+function Poe() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function KO() {- return Foe();+function qO() {+ return Poe();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Ioe(e) {+function Foe(e) {return e && e.__esModule ? e.default : e;}-function Loe(e, t) {- let { key: n } = e, { checkboxProps: r } = zE(e, t);+function Ioe(e, t) {+ let { key: n } = e, { checkboxProps: r } = BE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${oO(t, n)}`+ "aria-labelledby": `${r.id} ${sO(t, n)}`} };}-function Roe(e) {+function Loe(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": VS(Ioe(VO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": HS(Foe(HO), "@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,@@ -28700,22 +28700,22 @@ function Roe(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var qO = /* @__PURE__ */ new WeakMap();-function JO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${qO.get(e)}-${n}-${t}`) : "";+var JO = /* @__PURE__ */ new WeakMap();+function YO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${JO.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function zoe(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 } = NE({+function Roe(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 } = PE({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = JO(t, r, "tab"), m = JO(t, r, "tabpanel"), { tabIndex: h } = d, g = US(u?.props, { labelable: !0 });+ }), p = YO(t, r, "tab"), m = YO(t, r, "tabpanel"), { tabIndex: h } = d, g = WS(u?.props, { labelable: !0 });delete g.id;- let _ = rx(u?.props), { focusableProps: v } = $x({+ let _ = ix(u?.props), { focusableProps: v } = eS({...u?.props,isDisabled: l}, n);@@ -28734,7 +28734,7 @@ function zoe(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Boe = class {+var zoe = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28777,11 +28777,11 @@ var Boe = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Voe(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = FS(), { collectionProps: l } = ST({+function Boe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = IS(), { collectionProps: l } = CT({ref: n,selectionManager: o,- keyboardDelegate: (0, P.useMemo)(() => new Boe(a, c, r, s), [+ keyboardDelegate: (0, P.useMemo)(() => new zoe(a, c, r, s), [a,s,r,@@ -28791,9 +28791,9 @@ function Voe(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = zx();- return qO.set(t, u), { tabListProps: {- ...K(l, kS({+ }), u = Bx();+ return JO.set(t, u), { tabListProps: {+ ...K(l, AS({...e,id: u})),@@ -28803,12 +28803,12 @@ function Voe(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Hoe(e, t, n) {- let r = AE(n) ? void 0 : 0, i = JO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(kS({+function Voe(e, t, n) {+ let r = jE(n) ? void 0 : 0, i = YO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(AS({...e,id: i,- "aria-labelledby": JO(t, t?.selectedKey, "tab")+ "aria-labelledby": YO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28817,265 +28817,265 @@ function Hoe(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function Uoe(e, t, n) {- let { gridProps: r } = Pae(e, t, n);+function Hoe(e, t, n) {+ let { gridProps: r } = Nae(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var YO = {};-YO = {+var XO = {};+XO = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var XO = {};-XO = {+var ZO = {};+ZO = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var ZO = {};-ZO = {+var QO = {};+QO = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var QO = {};-QO = {+var $O = {};+$O = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var $O = {};-$O = {+var ek = {};+ek = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var ek = {};-ek = {+var tk = {};+tk = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var tk = {};-tk = {+var nk = {};+nk = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var nk = {};-nk = {+var rk = {};+rk = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var rk = {};-rk = {+var ik = {};+ik = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var ik = {};-ik = {+var ak = {};+ak = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var ak = {};-ak = {+var ok = {};+ok = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var ok = {};-ok = {+var sk = {};+sk = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var sk = {};-sk = {+var ck = {};+ck = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var ck = {};-ck = {+var lk = {};+lk = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var lk = {};-lk = {+var uk = {};+uk = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var uk = {};-uk = {+var dk = {};+dk = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var dk = {};-dk = {+var fk = {};+fk = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var fk = {};-fk = {+var pk = {};+pk = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var pk = {};-pk = {+var mk = {};+mk = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var mk = {};-mk = {+var hk = {};+hk = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var hk = {};-hk = {+var gk = {};+gk = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var gk = {};-gk = {+var _k = {};+_k = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var _k = {};-_k = {+var vk = {};+vk = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var vk = {};-vk = {+var yk = {};+yk = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var yk = {};-yk = {+var bk = {};+bk = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var bk = {};-bk = {+var xk = {};+xk = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var xk = {};-xk = {+var Sk = {};+Sk = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var Sk = {};-Sk = {+var Ck = {};+Ck = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var Ck = {};-Ck = {+var wk = {};+wk = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var wk = {};-wk = {+var Tk = {};+Tk = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var Tk = {};-Tk = {+var Ek = {};+Ek = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var Ek = {};-Ek = {+var Dk = {};+Dk = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var Dk = {};-Dk = {+var Ok = {};+Ok = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var Ok = {};-Ok = {+var kk = {};+kk = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var kk = {};-kk = {- "ar-AE": YO,- "bg-BG": XO,- "cs-CZ": ZO,- "da-DK": QO,- "de-DE": $O,- "el-GR": ek,- "en-US": tk,- "es-ES": nk,- "et-EE": rk,- "fi-FI": ik,- "fr-FR": ak,- "he-IL": ok,- "hr-HR": sk,- "hu-HU": ck,- "it-IT": lk,- "ja-JP": uk,- "ko-KR": dk,- "lt-LT": fk,- "lv-LV": pk,- "nb-NO": mk,- "nl-NL": hk,- "pl-PL": gk,- "pt-BR": _k,- "pt-PT": vk,- "ro-RO": yk,- "ru-RU": bk,- "sk-SK": xk,- "sl-SI": Sk,- "sr-SP": Ck,- "sv-SE": wk,- "tr-TR": Tk,- "uk-UA": Ek,- "zh-CN": Dk,- "zh-TW": Ok+var Ak = {};+Ak = {+ "ar-AE": XO,+ "bg-BG": ZO,+ "cs-CZ": QO,+ "da-DK": $O,+ "de-DE": ek,+ "el-GR": tk,+ "en-US": nk,+ "es-ES": rk,+ "et-EE": ik,+ "fi-FI": ak,+ "fr-FR": ok,+ "he-IL": sk,+ "hr-HR": ck,+ "hu-HU": lk,+ "it-IT": uk,+ "ja-JP": dk,+ "ko-KR": fk,+ "lt-LT": pk,+ "lv-LV": mk,+ "nb-NO": hk,+ "nl-NL": gk,+ "pl-PL": _k,+ "pt-BR": vk,+ "pt-PT": yk,+ "ro-RO": bk,+ "ru-RU": xk,+ "sk-SK": Sk,+ "sl-SI": Ck,+ "sr-SP": wk,+ "sv-SE": Tk,+ "tr-TR": Ek,+ "uk-UA": Dk,+ "zh-CN": Ok,+ "zh-TW": kk};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Woe(e) {+function Uoe(e) {return e && e.__esModule ? e.default : e;}-function Ak(e, t, n) {- let { node: r } = e, i = Fae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = VS(Woe(kk), "@react-aria/tree"), s = {+function jk(e, t, n) {+ let { node: r } = e, i = Pae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = HS(Uoe(Ak), "@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,- ...kS({+ ...AS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -29086,15 +29086,15 @@ function Ak(e, t, n) {};}// src/react/components/selection-dock.tsx-var jk = "(prefers-reduced-motion: reduce)", Goe = () => matchMedia(jk).matches, Koe = (e) => {- let t = matchMedia(jk);+var Mk = "(prefers-reduced-motion: reduce)", Woe = () => matchMedia(Mk).matches, Goe = (e) => {+ let t = matchMedia(Mk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, Mk = /* @__PURE__ */ new Map(), Nk = () => {+}, Nk = /* @__PURE__ */ new Map(), Pk = () => {let e = document.documentElement;- Mk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Mk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ Nk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Nk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function qoe({ children: e, count: t, label: n }) {- let r = (0, P.useRef)(null), i = by(), a = (0, P.useSyncExternalStore)(Koe, Goe, () => !1), { isFocusVisible: o } = Ex(), s = a || o, c = {+function Koe({ children: e, count: t, label: n }) {+ let r = (0, P.useRef)(null), i = by(), a = (0, P.useSyncExternalStore)(Goe, Woe, () => !1), { isFocusVisible: o } = Dx(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29102,12 +29102,12 @@ function qoe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- Mk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Nk();+ Nk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Pk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), Mk.delete(e), Nk();+ n.disconnect(), window.removeEventListener("resize", t), Nk.delete(e), Pk();};- }, [i]), /* @__PURE__ */ (0, F.jsxs)(db.div, {+ }, [i]), /* @__PURE__ */ (0, F.jsxs)(fb.div, {ref: r,role: "group","aria-label": n,@@ -29140,17 +29140,17 @@ function qoe({ children: e, count: t, label: n }) {}), e]});}-function Pk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, F.jsx)(wy, { children: e ? /* @__PURE__ */ (0, F.jsx)(qoe, { ...t }, "selection") : null });+function Fk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, F.jsx)(wy, { children: e ? /* @__PURE__ */ (0, F.jsx)(Koe, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var Fk = {+var Ik = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Joe(e, t = !1) {+function qoe(e, t = !1) {switch (e) {case "trash": return [{@@ -29166,7 +29166,7 @@ function Joe(e, t = !1) {glyph: "trash",danger: !0},- Fk+ Ik];case "junk": return [t ? {@@ -29187,7 +29187,7 @@ function Joe(e, t = !1) {glyph: "trash",danger: !0},- Fk+ Ik];case "follow": return [{@@ -29208,7 +29208,7 @@ function Joe(e, t = !1) {label: "忽略",glyph: "eye-off"},- Fk+ Ik];default: return [{@@ -29242,38 +29242,38 @@ function Joe(e, t = !1) {glyph: "trash",danger: !0},- Fk+ Ik];}}// src/react/batch-dock/batch-dock-island.tsx-var Ik = null, Lk = {+var Lk = null, Rk = {count: 0,context: "catalog",junkDismissed: !1-}, Rk = /* @__PURE__ */ new Set();-function Yoe(e) {- return Rk.add(e), () => {- Rk.delete(e);+}, zk = /* @__PURE__ */ new Set();+function Joe(e) {+ return zk.add(e), () => {+ zk.delete(e);};}-function Xoe() {- for (let e of [...Rk]) e();+function Bk() {+ for (let e of [...zk]) e();}-var Zoe = { render(e) {- Lk = e, (0, Lt.flushSync)(Xoe);+var Yoe = { render(e) {+ Rk = e, (0, Lt.flushSync)(Bk);} };-function Qoe(e) {- return Ik = e, Zoe;+function Xoe(e) {+ return Lk = e, Yoe;}-function $oe() {- let e = (0, P.useSyncExternalStore)(Yoe, () => Lk);- return Ik ? /* @__PURE__ */ (0, F.jsx)(ese, {- host: Ik,+function Zoe() {+ let e = (0, P.useSyncExternalStore)(Joe, () => Rk);+ return Lk ? /* @__PURE__ */ (0, F.jsx)(Qoe, {+ host: Lk,props: e}) : null;}-function ese({ host: e, props: t }) {+function Qoe({ host: e, props: t }) {let n = t.count > 0;return (0, P.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29283,11 +29283,11 @@ function ese({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, F.jsx)(Pk, {+ children: /* @__PURE__ */ (0, F.jsx)(Fk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Joe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: qoe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29303,11 +29303,11 @@ function ese({ host: e, props: t }) {});}// src/number-setting.ts-function zk(e, t, n, r) {+function Vk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function tse(e, t) {+function $oe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29326,7 +29326,7 @@ function tse(e, t) {};}// src/sort-preferences.ts-var Bk = [+var Hk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29335,7 +29335,7 @@ var Bk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Vk = ["release", "发行时间"], Hk = [...Bk, Vk].map(([e]) => e), Uk = {+], Uk = ["release", "发行时间"], Wk = [...Hk, Uk].map(([e]) => e), Gk = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29344,43 +29344,43 @@ var Bk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Wk = {+}, Kk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Gk = (e, t, n = Uk) => (n[e] || [])[+(t === "asc")] || "", Kk = (e, t = Uk) => t[e] ? "desc" : "";-function qk(e, t, n, r = Uk) {+}, qk = (e, t, n = Gk) => (n[e] || [])[+(t === "asc")] || "", Jk = (e, t = Gk) => t[e] ? "desc" : "";+function Yk(e, t, n, r = Gk) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Kk(e, r)+ dir: Jk(e, r)};}-function Jk(e, t, n) {+function Xk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Yk(e, t, n, r, i = n) {- let a = e ? Wk[e] : void 0, o = a ? a[0] : e, s = o && Hk.includes(o) ? o : i;- return Uk[s] ? {+function Zk(e, t, n, r, i = n) {+ let a = e ? Kk[e] : void 0, o = a ? a[0] : e, s = o && Wk.includes(o) ? o : i;+ return Gk[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Jk(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Xk(s, n, r)} : {sort: s,dir: ""};}// src/appearance/home-glow.ts-var Xk = [+var Qk = ["spot1","spot2","spot3"-], nse = [+], ese = ["光晕一","光晕二","光晕三"-], Zk = "native", Qk = [+], $k = "native", eA = [["ash","灰雾",@@ -29686,7 +29686,7 @@ var Xk = ["rose"],[- Zk,+ $k,"玻璃原色",{spot1: {@@ -29704,7 +29704,7 @@ var Xk = [},"blue"]-], $k = (e) => e === Zk, eA = [...Qk.map(([e, t]) => [e, t]), ["custom", "自定义"]], rse = (e) => (eA.find(([t]) => t === e) || eA[0])[1], tA = (e) => structuredClone((Qk.find(([t]) => t === e) || Qk[0])[2]), nA = [+], tA = (e) => e === $k, nA = [...eA.map(([e, t]) => [e, t]), ["custom", "自定义"]], tse = (e) => (nA.find(([t]) => t === e) || nA[0])[1], rA = (e) => structuredClone((eA.find(([t]) => t === e) || eA[0])[2]), iA = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29717,7 +29717,7 @@ var Xk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], rA = "blue", iA = (e) => nA.some(([t]) => t === e) ? e : rA, ise = (e) => (Qk.find(([t]) => t === e) || [])[3] || "blue", ase = [+], aA = "blue", oA = (e) => iA.some(([t]) => t === e) ? e : aA, nse = (e) => (eA.find(([t]) => t === e) || [])[3] || "blue", rse = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29727,7 +29727,7 @@ var Xk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], ose = [+], ise = [["gray","云灰",@@ -30123,11 +30123,11 @@ var Xk = ["霁蓝","#6686b8"]-], aA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, oA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, sse = (e, t) => `rgba(${[+], sA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, cA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, ase = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, cse = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, ose = {strength: [0,100,@@ -30153,7 +30153,7 @@ var Xk = [100,50]-}, sA = {+}, lA = {on: !0,preset: "ash",strength: 100,@@ -30161,52 +30161,52 @@ var Xk = [speed: 100,soften: 50,size: 50,- ...tA("ash")+ ...rA("ash")};-function cA(e) {- let t = e && typeof e == "object" ? e : {}, n = eA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = tA(r === "custom" ? "ash" : r), a = {+function uA(e) {+ let t = e && typeof e == "object" ? e : {}, n = nA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = rA(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(cse)) a[e] = aA(+t[e], n, r, i);- for (let e of Xk) {+ for (let [e, [n, r, i]] of Object.entries(ose)) a[e] = sA(+t[e], n, r, i);+ for (let e of Qk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: oA(r.color, o.color),- alpha: aA(+r.alpha, 0, 100, o.alpha)+ color: cA(r.color, o.color),+ alpha: sA(+r.alpha, 0, 100, o.alpha)};}return a;}-var lse = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, lA = /* @__PURE__ */ new WeakMap();-function uA(e, t) {+var sse = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, dA = /* @__PURE__ */ new WeakMap();+function cse(e, t) {if (!e) return;- let n = lA.get(e);- n || (n = /* @__PURE__ */ new Map(), lA.set(e, n));- let r = t.on && !$k(t.preset), i = (t, r) => {+ let n = dA.get(e);+ n || (n = /* @__PURE__ */ new Map(), dA.set(e, n));+ let r = t.on && !tA(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"), Xk.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"), Qk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, sse(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, ase(r.color, r.alpha));});}-function dA(e, t) {+function lse(e, t) {if (!e) return;- let n = !t.on || $k(t.preset);+ let n = !t.on || tA(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 fA = "peach.settings.v1", pA = [+var use = "peach.settings.v1", fA = ["system","light","dark"-], mA = [+], pA = [0,7,30,90-], use = [+], mA = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"@@ -30231,19 +30231,19 @@ var fA = "peach.settings.v1", pA = [theme: "system",groupCollapse: !0,sidebarOrder: [...Il],- homeGlow: sA,- accent: rA+ homeGlow: lA,+ accent: aA}, gA = (e, t, n) => t.includes(e) ? e : n;function dse(e) {let t = e && typeof e == "object" ? e : {}, n = {...hA,...t};- n.followInitialDays = mA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = pA.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 = Wk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = zk(+n.batchSize, 1, 200, 60), n.defaultSort = gA(n.defaultSort, Hk, "seed"), n.hoverDelaySeconds = zk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = zk(+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 = zk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = zk(+n.relatedLimit, 0, 60, 20), n.feedLimit = zk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = gA(n.theme, pA, "system"), n.homeGlow = cA(n.homeGlow), n.accent = iA(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {+ let a = Kk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Vk(+n.batchSize, 1, 200, 60), n.defaultSort = gA(n.defaultSort, Wk, "seed"), n.hoverDelaySeconds = Vk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Vk(+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 = Vk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Vk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Vk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = gA(n.theme, fA, "system"), n.homeGlow = uA(n.homeGlow), n.accent = oA(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {settings: n,migrated: r};@@ -30259,14 +30259,14 @@ var _A = null;function vA() {if (_A) return _A;let { settings: e, migrated: t } = fse(localStorage);- return _A = tse(fA, e), t && _A.save(), _A;+ return _A = $oe(use, e), t && _A.save(), _A;}function yA(e, t, n = vA()) {let r = n.value, i = e && e.followInitialDays;- mA.includes(i) && (r.followInitialDays = i, n.save());- for (let t of use) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ pA.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of mA) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = zk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== hA.searchHistoryLimit && pse(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Vk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== hA.searchHistoryLimit && pse(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}@@ -30403,7 +30403,7 @@ function JA(e) {}// src/appearance/glow.tsfunction YA(e = vA()) {- uA(document.querySelector(".glowlayer"), e.value.homeGlow);+ cse(document.querySelector(".glowlayer"), e.value.homeGlow);}var XA = 0;function ZA(e = vA()) {@@ -30412,7 +30412,7 @@ function ZA(e = vA()) {});}function QA(e = vA()) {- dA(document.documentElement, e.value.homeGlow);+ lse(document.documentElement, e.value.homeGlow);}function $A(e = vA()) {document.documentElement.dataset.accent = e.value.accent;@@ -30420,48 +30420,48 @@ function $A(e = vA()) {var ej = (e, t, n) => ({key: e,label: t,- native: $k(e),- fill: $k(e) ? "" : lse(n)+ native: tA(e),+ fill: tA(e) ? "" : sse(n)});-function Sse(e) {- let t = Qk.map(([e, t, n]) => ej(e, t, Xk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(ej("custom", "自定义", Xk.map((t) => e[t].color))), t;+function tj(e) {+ let t = eA.map(([e, t, n]) => ej(e, t, Qk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(ej("custom", "自定义", Qk.map((t) => e[t].color))), t;}-var Cse = nA;-function wse(e, t = vA()) {+var Sse = iA;+function Cse(e, t = vA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, tA(e)), t.value.accent = ise(e), t.save(), ZA(t), QA(t), $A(t);+ n.preset = e, Object.assign(n, rA(e)), t.value.accent = nse(e), t.save(), ZA(t), QA(t), $A(t);}-function Tse(e, t = vA()) {- t.value.accent = iA(e), t.save(), $A(t);+function wse(e, t = vA()) {+ t.value.accent = oA(e), t.save(), $A(t);}-function Ese(e = vA()) {+function Tse(e = vA()) {let t = e.value.homeGlow;- t.preset = sA.preset, Object.assign(t, tA(t.preset)), e.value.accent = rA, e.save(), ZA(e), QA(e), $A(e);+ t.preset = lA.preset, Object.assign(t, rA(t.preset)), e.value.accent = aA, e.save(), ZA(e), QA(e), $A(e);}-function tj(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && $k(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function nj(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && tA(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Dse(e, t = vA()) {- return tj(e, t.value.homeGlow), t.subscribe(() => tj(e, t.value.homeGlow));+function Ese(e, t = vA()) {+ return nj(e, t.value.homeGlow), t.subscribe(() => nj(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function nj({ store: e, label: t, hidden: n }) {+function rj({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Sse(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: tj(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => wse(t.key, e),+ onClick: () => Cse(t.key, e),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30472,14 +30472,14 @@ function nj({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var rj = null;-function Ose(e) {- rj = e;+var ij = null;+function Dse(e) {+ ij = e;}-function kse() {- return rj ? /* @__PURE__ */ (0, F.jsx)(Ase, { host: rj }) : null;+function Ose() {+ return ij ? /* @__PURE__ */ (0, F.jsx)(kse, { host: ij }) : null;}-function Ase({ host: e }) {+function kse({ host: e }) {let { store: t } = e;(0, P.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30491,11 +30491,11 @@ function Ase({ host: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Ese(t),+ onClick: () => Tse(t),children: "重置"})]}),- /* @__PURE__ */ (0, F.jsx)(nj, {+ /* @__PURE__ */ (0, F.jsx)(rj, {store: t,label: "光晕",hidden: !n.on@@ -30509,14 +30509,14 @@ function Ase({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: Cse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Sse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Tse(e, t),+ onClick: () => wse(e, t),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30534,31 +30534,31 @@ function Ase({ host: e }) {] });}// src/player/host.ts-var ij = null;-function jse(e) {- ij = e;+var aj = null;+function Ase(e) {+ aj = e;}-function aj() {- if (!ij) throw Error("播放器还没有接上宿主(configurePlayer)");- return ij;+function oj() {+ if (!aj) throw Error("播放器还没有接上宿主(configurePlayer)");+ return aj;}// src/player/menu.ts-var oj = null;-function Mse(e) {- oj = e;+var sj = null;+function jse(e) {+ sj = e;}-function Nse() {+function Mse() {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 sj = null, cj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function lj() {+var cj = null, lj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function uj() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Wo(e, () => {e.innerHTML = "";- }), sj &&= (sj(), null);+ }), cj &&= (cj(), null);}-async function Pse(e) {+async function Nse(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30571,8 +30571,8 @@ async function Pse(e) {return t.remove(), n;}}-function Fse(e) {- let t = !!oj?.inMiniplayer(e), n = e.peachItem, r = oj?.kind(e) ?? "item", i = (t) => {+function Pse(e) {+ let t = !!sj?.inMiniplayer(e), n = e.peachItem, r = sj?.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);@@ -30588,7 +30588,7 @@ function Fse(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Pse(i(e)).then((e) => aj().toast(e ? t : "复制失败,请手动复制地址栏", {+ Nse(i(e)).then((e) => oj().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30600,11 +30600,11 @@ function Fse(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => oj?.expand()+ run: () => sj?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => oj?.toMiniplayer()+ run: () => sj?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30627,29 +30627,29 @@ function Fse(e) {run: () => s.click()}), o;}-function Ise(e, t, n) {- let r = Nse();- lj();- let i = aj().stage();+function Fse(e, t, n) {+ let r = Mse();+ uj();+ let i = oj().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Fse(e);+ let a = Pse(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}">${cj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? cj(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${lj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? lj(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), Uo(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)];- lj(), n?.run();+ uj(), n?.run();};});let s = (e) => {- r.contains(e.target) || lj();+ r.contains(e.target) || uj();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), lj();+ e.preventDefault(), e.stopPropagation(), uj();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30657,49 +30657,49 @@ function Ise(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Ko(t, e.el()) && lj();+ Ko(t, e.el()) && uj();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), sj = () => {+ }, 0), cj = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Lse(e) {+function Ise(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ise(e, t.clientX, t.clientY));- }), e.on("dispose", lj);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Fse(e, t.clientX, t.clientY));+ }), e.on("dispose", uj);}// src/player/registry.ts-var uj = null, dj = () => uj;-function fj(e) {- uj = e;-}+var dj = null, fj = () => dj;function pj(e) {+ dj = e;+}+function mj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function mj(e) {+function hj(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 Rse(e) {+function Lse(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 hj = 3e3;-function gj(e, t) {+var gj = 3e3;+function _j(e, t) {let n = Number(e) || 0, r = On(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function zse(e) {+function Rse(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30714,10 +30714,10 @@ function zse(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Rse(e), s = e.currentTime || 0;+ let a = performance.now(), o = Lse(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 > hj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > gj * 2 && (t.length = 0);}for (n = {at: a,@@ -30726,55 +30726,55 @@ function zse(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > hj;) t.shift();+ }); t.length > 2 && a - t[0].at > gj;) 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 _j = 24;-function vj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > _j && e.splice(0, e.length - _j);+var vj = 24;+function yj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > vj && e.splice(0, e.length - vj);}-var yj = "peach-player-panel";-function bj(e, t, n, r) {- let i = [...Array(Math.max(0, _j - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var bj = "peach-player-panel";+function xj(e, t, n, r) {+ let i = [...Array(Math.max(0, vj - 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 Bse() {+function zse() {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 xj(e, t = "") {+function Sj(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 Sj(e, t = "") {- let n = xj(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 Cj(e, t = "") {+ let n = Sj(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 Cj(e, t, n = "", r = null) {+function wj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : Sj(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : Cj(t, n);}-function wj(e) {+function Tj(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 Vse(e, t) {- return e > 0 ? wj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : wj(0);+function Bse(e, t) {+ return e > 0 ? Tj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Tj(0);}// src/player/subtitle-style.ts-var Tj = {+var Ej = {font: {label: "字体",values: [@@ -30877,7 +30877,7 @@ var Tj = {["shadow", "阴影"]]}-}, Ej = {+}, Dj = {font: "sans",size: "100",color: "white",@@ -30887,7 +30887,7 @@ var Tj = {window: "black",windowOpacity: "0",edge: "shadow"-}, Dj = "peach.caption-style.v1", Hse = {+}, Oj = "peach.caption-style.v1", Vse = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -30896,7 +30896,7 @@ var Tj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, Use = {+}, Hse = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -30904,28 +30904,28 @@ var Tj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, Wse = {+}, Use = {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 Gse() {+function Wse() {let e = {};try {- e = JSON.parse(localStorage.getItem(Dj) || "{}") || {};+ e = JSON.parse(localStorage.getItem(Oj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(Ej).map(([t, n]) => [t, Tj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(Dj).map(([t, n]) => [t, Ej[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function Oj(e, t, n, r) {- let i = Gse(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function kj(e, t, n, r) {+ let i = Wse(), 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(${Hse[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", Use[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", Wse[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${Vse[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", Hse[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", Use[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 || [])) {@@ -30941,15 +30941,15 @@ function Oj(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...Ej,+ ...Dj,...e.caption_style};- for (let e of Object.keys(Ej)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys(Dj)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(Dj);+ e = !!localStorage.getItem(Oj);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -30957,18 +30957,18 @@ function Oj(e, t, n, r) {}), {current: () => i,set(e, t) {- Tj[e].values.some(([e]) => e === t) && (a.add(e), i = {+ Ej[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(Ej).forEach((e) => a.add(e)), i = { ...Ej }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys(Dj).forEach((e) => a.add(e)), i = { ...Dj }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var kj = /* @__PURE__ */ new Map(), Aj = /* @__PURE__ */ new WeakMap(), Kse = class {+var Aj = /* @__PURE__ */ new Map(), jj = /* @__PURE__ */ new WeakMap(), Gse = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -30996,7 +30996,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = /* @__PURE__ */ new WeakMap(), Kse = cl}load() {return this.url ? this.reading ||= (async () => {- await kj.get(this.url)?.catch(() => {});+ await Aj.get(this.url)?.catch(() => {});let e = await on(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) => {@@ -31008,7 +31008,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = /* @__PURE__ */ new WeakMap(), Kse = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (kj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (Aj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -31035,8 +31035,8 @@ var kj = /* @__PURE__ */ new Map(), Aj = /* @__PURE__ */ new WeakMap(), Kse = clthis.changed();}});- return kj.set(this.url, t), t.finally(() => {- kj.get(this.url) === t && kj.delete(this.url);+ return Aj.set(this.url, t), t.finally(() => {+ Aj.get(this.url) === t && Aj.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -31045,12 +31045,12 @@ var kj = /* @__PURE__ */ new Map(), Aj = /* @__PURE__ */ new WeakMap(), Kse = cl} catch {}}};-function jj(e) {- let t = Aj.get(e);- return t || (t = new Kse(e), Aj.set(e, t)), t;+function Mj(e) {+ let t = jj.get(e);+ return t || (t = new Gse(e), jj.set(e, t)), t;}-function Mj(e, t) {- let n = jj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function Nj(e, t) {+ let n = Mj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -31063,7 +31063,7 @@ function Mj(e, t) {};}// src/player/subtitle-memory.ts-var Nj = class {+var Pj = class {player;video;changed;@@ -31074,7 +31074,7 @@ var Nj = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = jj(e);+ this.player = e, this.video = t, this.changed = n, this.memory = Mj(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -31171,7 +31171,7 @@ var Nj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, Pj = () => "<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>", qse = class {+}, Fj = () => "<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>", Kse = class {player;video;panels;@@ -31190,7 +31190,7 @@ var Nj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = Oj(e.el(), t, this.cleanup.signal, jj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Pj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = kj(e.el(), t, this.cleanup.signal, Mj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Fj(), 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", () => {@@ -31200,7 +31200,7 @@ var Nj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new Nj(e, t, () => {+ }), this.session = new Pj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31248,7 +31248,7 @@ var Nj = 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(Tj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(Ej).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);@@ -31260,7 +31260,7 @@ var Nj = class {}styleOptions(e) {this.page = "style";- let t = Tj[e];+ let t = Ej[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>`;@@ -31376,7 +31376,7 @@ var Nj = class {}};// src/player/timeline.ts-function Jse(e, t) {+function qse(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;@@ -31388,8 +31388,8 @@ function Jse(e, t) {return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}// src/player/rotation.ts-function Fj(e, t) {- let n = 0, r = !1, i = jj(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function Ij(e, t) {+ let n = 0, r = !1, i = Mj(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -31417,7 +31417,7 @@ function Fj(e, t) {};}// src/player/pip.ts-function Yse(e, t, n, r) {+function Jse(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";@@ -31449,7 +31449,7 @@ function Yse(e, t, n, r) {});}// src/player/controls.ts-function Ij(e, t, n = "") {+function Lj(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));@@ -31460,27 +31460,27 @@ function Ij(e, t, n = "") {};return o(), o;}-function Lj(e, t) {+function Rj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function Xse(e, t = !0) {- let n = aj(), r = n.settings();+function Yse(e, t = !0) {+ let n = oj(), 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 Rj = /* @__PURE__ */ new WeakMap();-function zj(e) {+var zj = /* @__PURE__ */ new WeakMap();+function Bj(e) {if (!e) return;- let t = aj().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Rj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = oj().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), zj.get(e)?.(t ? "默认视图" : "影院模式");}-function Bj(e, t = !0) {- let n = aj(), r = n.settings();+function Vj(e, t = !0) {+ let n = oj(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), zj(i?.querySelector("[data-player-theater]")), pj(dj());+ i?.toggleAttribute("data-theater", r.theaterMode), Bj(i?.querySelector("[data-player-theater]")), mj(fj());}-function Zse(e) {- let t = aj().stage(), n = t?.querySelector("[data-ambient-canvas]");+function Xse(e) {+ let t = oj().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31503,9 +31503,9 @@ function Zse(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (aj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (oj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && aj().settings().ambientMode && (l(), e.paused || u(++o));+ !i && oj().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31514,7 +31514,7 @@ function Zse(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Vj(e, t, n = 0, r = null) {+function Hj(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");@@ -31524,8 +31524,8 @@ function Vj(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]");- Ij(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = Fj(e, t), d = Mj(e, t), f = jj(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ Lj(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = Ij(e, t), d = Nj(e, t), f = Mj(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 = () => {@@ -31564,11 +31564,11 @@ function Vj(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(yj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(bj, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener(yj, C);+ document.addEventListener(bj, 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;@@ -31584,15 +31584,15 @@ function Vj(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="${aj().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="${oj().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">${Pj()}</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">${Fj()}</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 = () => {- Xse(!aj().settings().ambientMode), k();+ Yse(!oj().settings().ambientMode), k();}, D(r, "[data-player-speed]").onclick = () => ne(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => re(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {f.retry();}, A();@@ -31696,8 +31696,8 @@ function Vj(e, t, n = 0, r = null) {A(), ie();});return e.on("dispose", () => {- F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(yj, C), w && clearTimeout(w);- }), p = new qse(e, t, {+ F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(bj, C), w && clearTimeout(w);+ }), p = new Kse(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -31706,21 +31706,21 @@ function Vj(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), Qse(e, a), $se(e), (e) => {+ }), y(), Zse(e, a), Qse(e), (e) => {h = e?.length ? e : null, ie();};}-function Qse(e, t) {+function Zse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = aj().settings().theaterMode, i = document.createElement("div");+ let r = oj().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");- Rj.set(a, Ij(a, "影院模式", "T")), zj(a), a.onclick = (e) => {- e.stopPropagation(), Bj(!aj().settings().theaterMode);+ zj.set(a, Lj(a, "影院模式", "T")), Bj(a), a.onclick = (e) => {+ e.stopPropagation(), Vj(!oj().settings().theaterMode);};}-function $se(e) {+function Qse(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");@@ -31732,7 +31732,7 @@ function $se(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 = Ij(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 = Lj(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 ? "播放" : "暂停");};@@ -31743,7 +31743,7 @@ function $se(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 = Ij(p, "静音", "M"), g = () => {+ let h = Lj(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 ? "取消静音" : "静音");};@@ -31769,7 +31769,7 @@ function $se(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 = Ij(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = Lj(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = An(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : An(t)} / ${An(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${An(n)};点击显示已播放时间` : `已播放 ${An(t)},总时长 ${An(n)};点击显示剩余时间`);};@@ -31781,10 +31781,10 @@ function $se(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- Ij(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Yse(e, E, Ij(E, "画中画"), (e) => aj().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = Ij(D, "全屏", "F"), A = () => {+ Lj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Jse(e, E, Lj(E, "画中画"), (e) => oj().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = Lj(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 ? "退出全屏" : "全屏"), pj(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), mj(e);};e.on(["fullscreenchange",@@ -31805,7 +31805,7 @@ function $se(e) {});let ee = document.createElement("div");ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);- let te = ee.querySelector("button"), ne = Ij(te, "展开控件"), N = (t) => {+ let te = ee.querySelector("button"), ne = Lj(te, "展开控件"), N = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");};te.onclick = (t) => {@@ -31817,7 +31817,7 @@ function $se(e) {}, ie = new ResizeObserver(re);ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), N(!1), re();}-function Hj(e, t, n = {}) {+function Uj(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");@@ -31828,7 +31828,7 @@ function Hj(e, t, n = {}) {}).catch(() => {});let f = (e, n, r, i) => {if (!t) return;- let a = n.columns || 10, o = a * (n.rows || 10), s = Jse(e, n);+ let a = n.columns || 10, o = a * (n.rows || 10), s = qse(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;@@ -31853,13 +31853,13 @@ function Hj(e, t, n = {}) {r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);});}-function ece(e, t) {+function $se(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => On(e.duration()) || On(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(aj().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(oj().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31900,11 +31900,11 @@ function ece(e, t) {} catch {}});}-function Uj(e) {+function Wj(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 Wj(e, t) {+function Gj(e, t) {on(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31920,35 +31920,35 @@ function Wj(e, t) {}).catch(() => {});}// src/player/progress.ts-var Gj = "peach.playback-position.v1", Kj = /* @__PURE__ */ new WeakMap();-function qj(e) {- Kj.get(e)?.(), Kj.delete(e);+var Kj = "peach.playback-position.v1", qj = /* @__PURE__ */ new WeakMap();+function Jj(e) {+ qj.get(e)?.(), qj.delete(e);}-function Jj(e, t, n = null) {+function Yj(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 tce(e) {+function ece(e) {try {- let t = localStorage.getItem(`${Gj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${Kj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function nce(e, t) {- let n = tce(e);+function tce(e, t) {+ let n = ece(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * On(t.duration) : 0;}-function rce(e, t) {- qj(t);+function nce(e, t) {+ Jj(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${Gj}:${e}`, String(r));+ localStorage.setItem(`${Kj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31962,7 +31962,7 @@ function rce(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Kj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), qj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31974,19 +31974,19 @@ function rce(e, t) {});}// src/player/telemetry.ts-var Yj = /* @__PURE__ */ new WeakMap();-function Xj(e) {- Yj.get(e)?.(), Yj.delete(e);+var Xj = /* @__PURE__ */ new WeakMap();+function Zj(e) {+ Xj.get(e)?.(), Xj.delete(e);}-function Zj(e, t, n, r) {+function Qj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Yj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Xj.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 Qj(e, t, n = {}) {+function $j(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 = On(e.duration) || On(t.duration);@@ -32027,11 +32027,11 @@ function Qj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Zj(t, l, u, () => {+ }, Qj(t, l, u, () => {a++;}), c();}-function ice(e, t) {+function rce(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = On(e.duration) || On(t.duration);(r || n) && (on("/api/follow/activity", {@@ -32062,22 +32062,22 @@ function ice(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Zj(t, o, s, () => {});+ }, Qj(t, o, s, () => {});}// src/player/dispose.ts-function $j(e) {+function eM(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (qj(t), Xj(t));+ t && (Jj(t), Zj(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function eM() {+function tM() {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;@@ -32085,23 +32085,23 @@ function eM() {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 tM() {- return eM();+function nM() {+ return tM();}-function nM(e, t) {+function rM(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function rM(e) {+function iM(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function iM(e, t) {- let n = rM(e);+async function aM(e, t) {+ let n = iM(e);if (n) return n;try {let n = await on(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32110,9 +32110,9 @@ async function iM(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return nM(e, t);+ return rM(e, t);}-function aM(e) {+function oM(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32121,22 +32121,22 @@ function aM(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var oM = "";-function sM() {- return oM;-}+var sM = "";function cM() {- return oM ||= tM(), oM;+ return sM;}-var lM = (e) => nM(e, cM()), uM = (e) => iM(e, cM());-function dM() {- let e = oM;- e && (oM = "", aM(e));+function lM() {+ return sM ||= nM(), sM;+}+var uM = (e) => rM(e, lM()), dM = (e) => aM(e, lM());+function fM() {+ let e = sM;+ e && (sM = "", oM(e));}// src/player/v10-player.ts-var fM = (e) => typeof e == "string" ? [e] : e, pM = (e, t) => {+var pM = (e) => typeof e == "string" ? [e] : e, mM = (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-${eM()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${tM()}`, 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 = {@@ -32231,9 +32231,9 @@ var fM = (e) => typeof e == "string" ? [e] : e, pM = (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) => fM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => fM(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => pM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => pM(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => pM(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32288,7 +32288,7 @@ var fM = (e) => typeof e == "string" ? [e] : e, pM = (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);}};-}, mM = "/vendor/videojs/10.2.0/", hM = [+}, hM = "/vendor/videojs/10.2.0/", gM = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32306,17 +32306,17 @@ var fM = (e) => typeof e == "string" ? [e] : e, pM = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], gM = null;-function _M() {- return gM ??= Promise.all(hM.map((e) => import(+], _M = null;+function vM() {+ return _M ??= Promise.all(gM.map((e) => import(/* @vite-ignore */- `${mM}${e}`-))).then(() => pM).catch((e) => {- throw gM = null, e;- }), gM;+ `${hM}${e}`+))).then(() => mM).catch((e) => {+ throw _M = null, e;+ }), _M;}// src/player/immerse-player.ts-var vM = {+var yM = {controls: !1,preload: "auto",posterImage: !1,@@ -32328,38 +32328,38 @@ var vM = {errorDisplay: !1,textTrackSettings: !1};-function yM(e, t) {+function bM(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([iM(n, r), _M().catch(() => null)]).then(([o, s]) => {+ return Promise.all([aM(n, r), vM().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = nM(n, r), l = String(o.type || "").includes("mpegurl");+ let c = rM(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, vM);- i = t, t.peachItem = n, t.peachPlaybackKey = Jj("item", n);+ let t = s(e, yM);+ i = t, t.peachItem = n, t.peachPlaybackKey = Yj("item", n);let r = new AbortController();- Oj(t.el(), e, r.signal, jj(t)), Fj(t, e), Mj(t, e), t.on("dispose", () => r.abort()), new Nj(t, e), Wj(t, n.id), l && t.one("error", () => {+ kj(t.el(), e, r.signal, Mj(t)), Ij(t, e), Nj(t, e), t.on("dispose", () => r.abort()), new Pj(t, e), Gj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Qj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ $j(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, aM(r), i ? $j(i) : (e.pause(), Xj(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, oM(r), i ? eM(i) : (e.pause(), Zj(e), e.removeAttribute("src"), e.load()));};}// src/player/detail-player.ts-var bM = /* @__PURE__ */ new WeakMap(), xM = null, SM = null, CM = null;-function wM() {- xM &&= (clearInterval(xM), null), SM &&= (clearInterval(SM), null), CM &&= (clearTimeout(CM), null);+var xM = /* @__PURE__ */ new WeakMap(), SM = null, CM = null, wM = null;+function TM() {+ SM &&= (clearInterval(SM), null), CM &&= (clearInterval(CM), null), wM &&= (clearTimeout(wM), null);}-async function ace(e, t, n, r = {}) {- let i = dj();+async function ice(e, t, n, r = {}) {+ let i = fj();if (i && !i.isDisposed()) return i;- let a = aj(), o = r.resume ?? null;+ let a = oj(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : uM(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : dM(e), c;try {- c = await _M();+ c = await vM();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32385,7 +32385,7 @@ async function ace(e, t, n, r = {}) {} }}});- fj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Jj("item", e), Lse(l), l.on("loadedmetadata", () => {+ pj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Yj("item", e), Ise(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}`);});@@ -32393,7 +32393,7 @@ async function ace(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = zse(gj(f, e.duration)), m = 0, h = !1, g = () => dj() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Rse(_j(f, e.duration)), m = 0, h = !1, g = () => fj() === 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(() => {@@ -32404,15 +32404,15 @@ async function ace(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- bM.set(l, y), y.updateStats = () => {+ xM.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = sM(), h = s ? xj(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 = cM(), h = s ? Sj(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 = Cj(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 = wj(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 = mj(t);- vj(d.speed, x), vj(d.activity, C), vj(d.buffer, w);+ let w = hj(t);+ yj(d.speed, x), yj(d.activity, C), yj(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 ? ["网络活动",`${_ ? jn(_) : "—"} · ${h.length} 请求`,@@ -32430,17 +32430,17 @@ async function ace(e, t, n, r = {}) {["连接速度",D,- bj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ xj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- bj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ xj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- bj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ xj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${An(t.currentTime)} / ${An(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32456,15 +32456,15 @@ async function ace(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = Cj(l, e.id, sM(), r ? null : p), a = r ? wj(i) : Vse(i, mj(t));+ let i = wj(l, e.id, cM(), r ? null : p), a = r ? Tj(i) : Bse(i, hj(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), SM && clearInterval(SM), SM = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), CM && clearInterval(CM), CM = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (CM && clearTimeout(CM), CM = setTimeout(() => {- e.hidden = !0, SM &&= (clearInterval(SM), null);+ e && (wM && clearTimeout(wM), wM = setTimeout(() => {+ e.hidden = !0, CM &&= (clearInterval(CM), null);}, 1400));};return l.on([@@ -32475,7 +32475,7 @@ async function ace(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(lM(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(uM(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))}`@@ -32483,13 +32483,13 @@ async function ace(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Vj(l, t, e.height, r.qualities ?? null);+ let n = Hj(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 = gj(r, e.duration));- }).catch(() => {}), Hj(l, e, { thumbnail: !r.source }), ece(l, e), Uj(l), r.source || Wj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = _j(r, e.duration));+ }).catch(() => {}), Uj(l, e, { thumbnail: !r.source }), $se(l, e), Wj(l), r.source || Gj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32498,14 +32498,14 @@ async function ace(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var oce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function TM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", oce), e.querySelector(":scope > #playerStatsBtn")) return;+var ace = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function EM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", ace), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Bse(), e.insertBefore(n.content, t);+ n.innerHTML = zse(), e.insertBefore(n.content, t);}-function EM(e, t) {- let n = bM.get(e);+function DM(e, t) {+ let n = xM.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32517,29 +32517,29 @@ function EM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), xM &&= (clearInterval(xM), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), SM &&= (clearInterval(SM), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(yj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), xM && clearInterval(xM), xM = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(bj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), SM && clearInterval(SM), SM = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(yj, t), s = () => document.removeEventListener(yj, t);+ document.addEventListener(bj, t), s = () => document.removeEventListener(bj, t);}- let c = e.el().querySelector("video"), l = c ? Zse(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, wM()));+ let c = e.el().querySelector("video"), l = c ? Xse(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, TM()));};return e.one("dispose", d), d;}-function DM(e, t) {- if (t.kind === "immerse") return yM(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = aj(), c = t.chrome === !1 ? null : e.parentElement;- c && TM(c, e);- let l = Jj(n, r, i?.index ?? null), u = {+function OM(e, t) {+ if (t.kind === "immerse") return bM(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = oj(), c = t.chrome === !1 ? null : e.parentElement;+ c && EM(c, e);+ let l = Yj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: nce(l, r),+ time: tce(l, r),autoplay: !1}};@@ -32559,36 +32559,36 @@ function DM(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (qj(m), d ? (dj() === d && (fj(null), wM()), $j(d)) : Xj(m));+ p(), !(d && a?.(d)) && (Jj(m), d ? (fj() === d && (pj(null), TM()), eM(d)) : Zj(m));};- return ace(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, rce(l, m), n === "follow" ? ice(r, m) : (m.addEventListener("play", () => {+ return ice(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, nce(l, m), n === "follow" ? rce(r, m) : (m.addEventListener("play", () => {on("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Qj(r, m, {+ }, { once: !0 }), $j(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = EM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = DM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}// src/player/playback.ts-function OM(e) {+function kM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function kM(e, t) {+function AM(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}// src/player/preview-player.ts-function sce(e, t, n) {+function oce(e, t, n) {e.controls = !1;let r = !1, i = null;- return _M().then((a) => {+ return vM().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32613,56 +32613,56 @@ function sce(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Vj(o, e), Hj(o, null, { thumbnail: !1 }), Uj(o));+ r || o.isDisposed() || (Hj(o, e), Uj(o, null, { thumbnail: !1 }), Wj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, $j(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, eM(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}// src/react/catalog-grid/catalog-view.ts-var AM = "peach.catalog-view.v1", jM = /* @__PURE__ */ new Set(), MM = "cards";-function NM() {+var jM = "peach.catalog-view.v1", MM = /* @__PURE__ */ new Set(), NM = "cards";+function PM() {try {- return localStorage.getItem(AM) === "list" ? "list" : "cards";+ return localStorage.getItem(jM) === "list" ? "list" : "cards";} catch {- return MM;+ return NM;}}-function cce(e) {- MM = e === "list" ? "list" : "cards";+function sce(e) {+ NM = e === "list" ? "list" : "cards";try {- localStorage.setItem(AM, MM);+ localStorage.setItem(jM, NM);} catch {}- jM.forEach((e) => e());+ MM.forEach((e) => e());}-function lce(e) {- jM.add(e);+function cce(e) {+ MM.add(e);let t = (t) => {- (t.key === AM || t.key === null) && e();+ (t.key === jM || t.key === null) && e();};return addEventListener("storage", t), () => {- jM.delete(e), removeEventListener("storage", t);+ MM.delete(e), removeEventListener("storage", t);};}-var PM = () => (0, P.useSyncExternalStore)(lce, NM, () => "cards");-function FM(e, t) {+var FM = () => (0, P.useSyncExternalStore)(cce, PM, () => "cards");+function IM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var uce = (e, t) => [+var lce = (e, t) => ["catalog-grid","catalog",e,t-], dce = (e, t) => [+], uce = (e, t) => ["catalog-grid","entity",e,t];-async function fce(e, t, n, r, i) {+async function dce(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 = {@@ -32672,22 +32672,22 @@ async function fce(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 pce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, mce = (e, t) => {+var fce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, pce = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;};-function IM(e) {- let t = FM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function LM(e) {+ let t = IM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: uce(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => fce(t, e, n, r, i),+ queryKey: lce(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => dce(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: pce(n)+ getNextPageParam: fce(n)};}-function hce(e) {+function mce(e) {return {- queryKey: dce(e.entityKey || "", e.revision || 0),+ queryKey: uce(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32702,12 +32702,12 @@ function hce(e) {};},initialPageParam: 0,- getNextPageParam: mce+ getNextPageParam: pce};}-async function gce(e, t) {- if (e.mode !== "catalog" || e.wall || NM() === "list") return;- let n = IM(e);+async function hce(e, t) {+ if (e.mode !== "catalog" || e.wall || PM() === "list") return;+ let n = LM(e);await H.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32716,11 +32716,11 @@ async function gce(e, t) {})});}-function _ce(e) {+function gce(e) {let t = JSON.stringify(e);return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function LM(e, t, n) {+function RM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32735,24 +32735,24 @@ function LM(e, t, n) {return !0;}) : [...e];}-var RM = (e, t) => !!e && !!Ia(e, t);-function vce(e, t) {- let n = (e) => RM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => RM(e, t)) || e[e.length - 1];+var zM = (e, t) => !!e && !!Ia(e, t);+function _ce(e, t) {+ let n = (e) => zM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => zM(e, t)) || e[e.length - 1];}-function yce(e, { collapse: t, mix: n, javImage: r }) {+function vce(e, { collapse: t, mix: n, javImage: r }) {let i = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()}, a = /* @__PURE__ */ new Set(), o = [], s = [];for (let c of e) {s.push(o.length);- let e = LM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = RM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({kind: "card",item: e}));if (n && e.length >= 8) {- let t = vce(e, r);+ let t = _ce(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32765,16 +32765,16 @@ function yce(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function bce(e, t, n) {+function yce(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 xce(e, t) {+function bce(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();}-function Sce(e, t) {+function xce(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32787,10 +32787,10 @@ function Sce(e, t) {strip: null}), r;}-function zM(e, t) {- BM((t) => t.id === e, t);-}function BM(e, t) {+ VM((t) => t.id === e, t);+}+function VM(e, t) {H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32811,34 +32811,34 @@ function BM(e, t) {} : n)});}-var VM = (e) => Math.min(Math.max(e || 0, 0), 100), HM = (e) => Math.round(VM(e) / 20), Cce = (e) => {- let t = HM(e);+var HM = (e) => Math.min(Math.max(e || 0, 0), 100), UM = (e) => Math.round(HM(e) / 20), Sce = (e) => {+ let t = UM(e);return t ? `${t} 星` : "未评分";-}, UM = (e, t) => t === HM(e) ? 0 : t * 20, WM = (e) => ["item", e], GM = (e) => [+}, WM = (e, t) => t === UM(e) ? 0 : t * 20, GM = (e) => ["item", e], KM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], wce = (e, t) => [+], Cce = (e, t) => ["item-related",e,t-], Tce = (e) => `/api/item?id=${e}`, Ece = (e, t) => `/api/related?id=${e}&limit=${t}`, KM = "/api/playlist", qM = "/api/feedback", JM = "/api/item-tag", YM = "/api/watch-later", XM = "/api/quality-goal", ZM = "/api/preference", QM = class extends Error {};-async function $M(e, t) {- let n = await B(Tce(e), t);- if (n.error) throw new QM(n.error);+], wce = (e) => `/api/item?id=${e}`, Tce = (e, t) => `/api/related?id=${e}&limit=${t}`, qM = "/api/playlist", JM = "/api/feedback", YM = "/api/item-tag", XM = "/api/watch-later", ZM = "/api/quality-goal", QM = "/api/preference", $M = class extends Error {};+async function eN(e, t) {+ let n = await B(wce(e), t);+ if (n.error) throw new $M(n.error);return n;}-async function eN(e, t, n) {+async function tN(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([$M(r, n), t.mixRelated(r)]);- return H.setQueryData(WM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([eN(r, n), t.mixRelated(r)]);+ return H.setQueryData(GM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${po(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return tN(await B(`${KM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return nN(await B(`${qM}?id=${e.playlistId}`, n));let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32849,19 +32849,19 @@ async function eN(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var tN = (e) => ({+var nN = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), nN = (e) => e.disposal === "vanished";-function rN(e, t) {+}), rN = (e) => e.disposal === "vanished";+function iN(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !nN(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !rN(e)) : e.items;return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;}-function Dce(e, t) {+function Ece(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 : {@@ -32869,20 +32869,20 @@ function Dce(e, t) {part_label: n};}-function iN(e, t) {+function aN(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function aN(e, t) {+async function oN(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = GM(n);+ let o = KM(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => eN(n, e.helpers, t),+ queryFn: () => tN(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32894,21 +32894,21 @@ async function aN(e, t) {return;}}- let o = i ? rN(i, e.id) : e.id;+ let o = i ? iN(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? H.getQueryData(WM(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(GM(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: WM(o),- queryFn: () => $M(o, t),+ queryKey: GM(o),+ queryFn: () => eN(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof QM) {+ if (e instanceof $M) {r.redirect({ kind: "gone" });return;}@@ -32919,7 +32919,7 @@ async function aN(e, t) {id: Number(s.follow_item_id)});}-function Oce(e) {+function Dce(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = wn(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32941,35 +32941,35 @@ function Oce(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function kce(e, t) {+function Oce(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = wn(t.tagLabel(e.k)), i = n.get(r);(!i || wn(e.k) === r && wn(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var oN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), sN = (e, t) => ({+var sN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), cN = (e, t) => ({...e,tags: (e.tags || []).filter((e) => wn(e.k) !== wn(t))-}), cN = (e, t) => oN(e, t.k) ? e : {+}), lN = (e, t) => sN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, lN = "peach.recentTags";-function uN() {+}, uN = "peach.recentTags";+function dN() {try {- let e = JSON.parse(localStorage.getItem(lN) || "[]");+ let e = JSON.parse(localStorage.getItem(uN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function dN(e) {+function fN(e) {try {- let t = uN().filter((t) => wn(t) !== wn(e));- localStorage.setItem(lN, JSON.stringify([e, ...t].slice(0, 12)));+ let t = dN().filter((t) => wn(t) !== wn(e));+ localStorage.setItem(uN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function Ace(e, t, n) {+function kce(e, t, n) {let r = wn(e), i = new Map(t.map((e) => [wn(e.k), e])), a = t.filter((e) => !r || wn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(wn(e)) || {k: e,n: 0@@ -32980,72 +32980,72 @@ function Ace(e, t, n) {create: r && !s ? e.trim() : ""};}-var jce = {+var Ace = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Mce = {+}, jce = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Nce(e) {+function Mce(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: Mce[e.kind],+ title: jce[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var fN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Pce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(fN(e.part_label))}</small>` : "";-function Fce(e, t, n, r) {+var pN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Nce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(pN(e.part_label))}</small>` : "";+function Pce(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Ice = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Lce(e, t) {+var Fce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Ice(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 Rce(e) {+function Lce(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function pN(e, t) {+function mN(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var zce = (e, t, n) => [+var Rce = (e, t, n) => ["immerse-list",e,t,n];-function Bce(e) {+function zce(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 Vce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Hce(e, t = Math.random) {+var Bce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Vce(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 Uce(e, t) {- return Hce(((await B(`/api/items?${e}`)).items || []).filter((e) => Vce(e, t)));+async function Hce(e, t) {+ return Vce(((await B(`/api/items?${e}`)).items || []).filter((e) => Bce(e, t)));}-var mN = (e) => H.ensureQueryData({- queryKey: WM(e),- queryFn: ({ signal: t }) => $M(e, t)+var hN = (e) => H.ensureQueryData({+ queryKey: GM(e),+ queryFn: ({ signal: t }) => eN(e, t)});-function Wce(e, t) {+function Uce(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Gce(e) {+function Wce(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,@@ -33054,306 +33054,306 @@ function Gce(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Kce(e, t, n) {+function Gce(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 qce(e, t) {+function Kce(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 Jce = 15e3, hN = {+var qce = 15e3, gN = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, gN = null, _N = null, vN = hN, yN = /* @__PURE__ */ new Set(), bN = 0, xN = 0, SN = 0, CN = "", wN = [], TN = 0, EN = !1, DN = !1, ON = null, kN = /* @__PURE__ */ new Set(), AN = "", jN = null, MN = 0, NN = null, PN = !1;-function FN() {- if (!gN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return gN;+}, _N = null, vN = null, yN = gN, bN = /* @__PURE__ */ new Set(), xN = 0, SN = 0, CN = 0, wN = "", TN = [], EN = 0, DN = !1, ON = !1, kN = null, AN = /* @__PURE__ */ new Set(), jN = "", MN = null, NN = 0, PN = null, FN = !1;+function IN() {+ if (!_N) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return _N;}-function Yce(e) {- return yN.add(e), () => {- yN.delete(e);+function Jce(e) {+ return bN.add(e), () => {+ bN.delete(e);};}-function Xce() {- for (let e of [...yN]) e();-}-function IN() {- (0, Lt.flushSync)(Xce);+function Yce() {+ for (let e of [...bN]) e();}function LN() {- let e = jN ? Sj(jN.id) : 0;- return e ? `${AN} · ${wj(e)}` : AN;+ (0, Lt.flushSync)(Yce);}-function RN(e, t = null) {- clearInterval(MN), MN = 0, e === null ? (vN = {- ...vN,+function RN() {+ let e = MN ? Cj(MN.id) : 0;+ return e ? `${jN} · ${Tj(e)}` : jN;+}+function zN(e, t = null) {+ clearInterval(NN), NN = 0, e === null ? (yN = {+ ...yN,loading: null- }, IN()) : (AN = e, jN = t, vN = {- ...vN,- loading: LN()- }, IN(), MN = window.setInterval(() => {- jN = wN[TN] ?? null, vN = {- ...vN,- loading: LN()- }, IN();+ }, LN()) : (jN = e, MN = t, yN = {+ ...yN,+ loading: RN()+ }, LN(), NN = window.setInterval(() => {+ MN = TN[EN] ?? null, yN = {+ ...yN,+ loading: RN()+ }, LN();}, 500));}-function Zce(e) {+function Xce(e) {let t = document.createElement("div");t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), _N.track.append(t);- let r = tM(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), vN.track.append(t);+ let r = nM(), i = () => {}, a = {el: t,video: n,session: r,- release: () => aM(r),+ release: () => oM(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return kN.add(a), a;+ return AN.add(a), a;}-function Qce(e, t) {+function Zce(e, t) {return new Promise((n) => {- e.release = DM(e.video, {+ e.release = OM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- vN.open && GN(1);+ yN.open && KN(1);}}), e.gone.then(n);});}-function zN(e) {- e && !e.disposed && (e.disposed = !0, kN.delete(e), e.leave(), e.release(), e.el.remove(), ON === e && (ON = null));+function BN(e) {+ e && !e.disposed && (e.disposed = !0, AN.delete(e), e.leave(), e.release(), e.el.remove(), kN === e && (kN = null));}-var BN = [+var VN = ["loadeddata","canplay","error"];-function $ce(e) {+function Qce(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), BN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), VN.forEach((e) => t.removeEventListener(e, i)), n());};- BN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, Jce);+ VN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, qce);e.gone.then(i);});}-function VN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Kce(e.videoWidth, e.videoHeight, n);+function HN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Gce(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var HN = () => _N?.track.querySelectorAll("video").forEach(VN);-function ele(e) {- delete e.dataset.fit, e.readyState >= 1 ? VN(e) : e.addEventListener("loadedmetadata", () => VN(e), { once: !0 });+var UN = () => vN?.track.querySelectorAll("video").forEach(HN);+function $ce(e) {+ delete e.dataset.fit, e.readyState >= 1 ? HN(e) : e.addEventListener("loadedmetadata", () => HN(e), { once: !0 });}-function tle(e) {- vN = {- ...vN,+function ele(e) {+ yN = {+ ...yN,wide: e- }, IN(), HN();+ }, LN(), UN();}-var UN = () => {- let e = CN;+var WN = () => {+ let e = wN;return H.fetchQuery({- queryKey: zce(e, xN, SN),- queryFn: () => Uce(e, FN().sourceOffline),+ queryKey: Rce(e, SN, CN),+ queryFn: () => Hce(e, IN().sourceOffline),staleTime: Infinity});};-function nle(e, t) {+function tle(e, t) {let n = () => On(e.duration) || On(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && _N && (_N.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), NN = {+ t && vN && (vN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), PN = {video: e,duration: n};}-async function WN(e = 0) {- let t = wN[TN];- if (!t || EN) return;- let n = bN;- FN().route(t.id), EN = !0, RN(e ? "切换中" : "加载中", t);+async function GN(e = 0) {+ let t = TN[EN];+ if (!t || DN) return;+ let n = xN;+ IN().route(t.id), DN = !0, zN(e ? "切换中" : "加载中", t);let r = null;try {- if (await mN(t.id).catch((e) => {- if (!(e instanceof QM)) throw e;- }), n !== bN) return;- let i = ON, a = !!(e && i);- a || zN(i);- let o = Zce(a ? e > 0 ? 100 : -100 : 0);- if (r = o, ele(o.video), await Qce(o, t), await $ce(o), o.disposed || (tle(qce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await hN(t.id).catch((e) => {+ if (!(e instanceof $M)) throw e;+ }), n !== xN) return;+ let i = kN, a = !!(e && i);+ a || BN(i);+ let o = Xce(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, $ce(o.video), await Zce(o, t), await Qce(o), o.disposed || (ele(Kce(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)), zN(i), o.el.style.transform = ""), o.disposed)) return;- ON = o, r = null, o.video.play()?.catch(() => {}), vN = {- ...vN,+ })), await new Promise((e) => setTimeout(e, 210)), BN(i), o.el.style.transform = ""), o.disposed)) return;+ kN = o, r = null, o.video.play()?.catch(() => {}), yN = {+ ...yN,idle: !1,shown: {item: t,- index: TN,- length: wN.length+ index: EN,+ length: TN.length}- }, nle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), RN(null);+ }, tle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), zN(null);} catch {- zN(r), n === bN && RN(null);+ BN(r), n === xN && zN(null);} finally {- n === bN && (EN = !1);+ n === xN && (DN = !1);}}-async function GN(e) {- if (EN || !vN.open) return;- let t = bN;- if (TN += e, RN("切换中", wN[TN] ?? null), TN >= wN.length - 3 && !DN) {- DN = !0;+async function KN(e) {+ if (DN || !yN.open) return;+ let t = xN;+ if (EN += e, zN("切换中", TN[EN] ?? null), EN >= TN.length - 3 && !ON) {+ ON = !0;try {- SN += 1;- let e = await UN();- t === bN && (wN = Wce(wN, e));+ CN += 1;+ let e = await WN();+ t === xN && (TN = Uce(TN, e));} catch {} finally {- DN = !1;+ ON = !1;}}- t === bN && (TN >= wN.length && (TN = 0), TN < 0 && (TN = wN.length - 1), await WN(e));+ t === xN && (EN >= TN.length && (EN = 0), EN < 0 && (EN = TN.length - 1), await GN(e));}-async function rle(e) {- let t = ++bN;- KN(), xN += 1, SN = 0, CN = Bce(FN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), vN = {- ...vN,+async function nle(e) {+ let t = ++xN;+ qN(), SN += 1, CN = 0, wN = zce(IN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), yN = {+ ...yN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), RN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), zN("加载内容");try {- let n = await UN();+ let n = await WN();if (e && !n.some((t) => t.id === e)) {- let t = await mN(e).catch((e) => {- if (e instanceof QM) return null;+ let t = await hN(e).catch((e) => {+ if (e instanceof $M) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== bN) return;- if (wN = n, !wN.length) {- qN(), FN().warn("当前筛选下没有可直接播放的内容");+ if (t !== xN) return;+ if (TN = n, !TN.length) {+ JN(), IN().warn("当前筛选下没有可直接播放的内容");return;}- TN = Math.max(0, wN.findIndex((t) => t.id === e)), await WN();+ EN = Math.max(0, TN.findIndex((t) => t.id === e)), await GN();} catch {- if (t !== bN) return;- RN(null), qN();+ if (t !== xN) return;+ zN(null), JN();}}-function KN() {- clearInterval(MN), MN = 0, $N(), ZN = null, NN = null, PN = !1, [...kN].forEach(zN), EN = !1;-}function qN() {- vN.open && (bN++, KN(), vN = hN, document.body.removeAttribute("data-immerse-open"), IN(), FN().closed());+ clearInterval(NN), NN = 0, eP(), QN = null, PN = null, FN = !1, [...AN].forEach(BN), DN = !1;}-var JN = 0, YN = null, XN = 0, ZN = null, QN = 0;-function $N() {- clearTimeout(JN), JN = 0, YN = null;+function JN() {+ yN.open && (xN++, qN(), yN = gN, document.body.removeAttribute("data-immerse-open"), LN(), IN().closed());}-function ile(e) {- let t = ON?.video;+var YN = 0, XN = null, ZN = 0, QN = null, $N = 0;+function eP() {+ clearTimeout(YN), YN = 0, XN = null;+}+function rle(e) {+ let t = kN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- YN && YN.side === n && r - YN.at <= 280 ? ($N(), kM(t, FN().seekSeconds() * n)) : (JN && (clearTimeout(JN), JN = 0, OM(t)), YN = {+ XN && XN.side === n && r - XN.at <= 280 ? (eP(), AM(t, IN().seekSeconds() * n)) : (YN && (clearTimeout(YN), YN = 0, kM(t)), XN = {side: n,at: r- }, JN = window.setTimeout(() => {- JN = 0, YN = null, vN.open && OM(ON?.video);+ }, YN = window.setTimeout(() => {+ YN = 0, XN = null, yN.open && kM(kN?.video);}, 280));}-function ale() {- Date.now() < XN || OM(ON?.video);-}-var eP = (e) => _N?.bar.toggleAttribute("data-scrubbing", e);-function tP(e) {- _N && (_N.progress.style.width = `${(e * 100).toFixed(2)}%`);+function ile() {+ Date.now() < ZN || kM(kN?.video);}+var tP = (e) => vN?.bar.toggleAttribute("data-scrubbing", e);function nP(e) {+ vN && (vN.progress.style.width = `${(e * 100).toFixed(2)}%`);+}+function rP(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- ZN = null;+ QN = null;return;}- let n = ON?.video;- ZN = {+ let n = kN?.video;+ QN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function rP(e) {- if (!ZN || e.touches.length !== 1) return;- let t = e.touches[0].clientX - ZN.x, n = e.touches[0].clientY - ZN.y;- if (!ZN.axis) {+function iP(e) {+ if (!QN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - QN.x, n = e.touches[0].clientY - QN.y;+ if (!QN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- ZN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", ZN.axis === "x" && eP(!0);+ QN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", QN.axis === "x" && tP(!0);}- if (ZN.axis !== "x") return;- let r = ON?.video, i = r && r.duration || 0;- i && (e.preventDefault(), ZN.to = Math.min(i, Math.max(0, ZN.from + t / window.innerWidth * i)), tP(ZN.to / i));+ if (QN.axis !== "x") return;+ let r = kN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), QN.to = Math.min(i, Math.max(0, QN.from + t / window.innerWidth * i)), nP(QN.to / i));}-function iP(e) {- if (!ZN) return;- let t = ZN;- if (ZN = null, XN = Date.now() + 700, eP(!1), t.axis === "x") {- let e = ON?.video;+function aP(e) {+ if (!QN) return;+ let t = QN;+ if (QN = null, ZN = Date.now() + 700, tP(!1), t.axis === "x") {+ let e = kN?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;- Math.abs(i) > 60 ? ($N(), GN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ile(n.clientX));+ Math.abs(i) > 60 ? (eP(), KN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), rle(n.clientX));}-function aP() {- ZN = null, eP(!1);+function oP() {+ QN = null, tP(!1);}-function oP(e) {+function sP(e) {let t = Date.now();- t - QN < 260 || (QN = t, GN(e.deltaY > 0 ? 1 : -1));+ t - $N < 260 || ($N = t, KN(e.deltaY > 0 ? 1 : -1));}-function sP(e) {- let t = _N.bar.getBoundingClientRect();+function cP(e) {+ let t = vN.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}+function ale(e) {+ PN?.duration() && (FN = !0, tP(!0), e.currentTarget.setPointerCapture(e.pointerId), nP(cP(e)), e.preventDefault());+}function ole(e) {- NN?.duration() && (PN = !0, eP(!0), e.currentTarget.setPointerCapture(e.pointerId), tP(sP(e)), e.preventDefault());+ FN && nP(cP(e));}function sle(e) {- PN && tP(sP(e));+ if (!FN) return;+ FN = !1, tP(!1);+ let t = PN?.duration();+ PN && t && (PN.video.currentTime = t * cP(e));}-function cle(e) {- if (!PN) return;- PN = !1, eP(!1);- let t = NN?.duration();- NN && t && (NN.video.currentTime = t * sP(e));+function cle() {+ FN = !1, tP(!1);}-function lle() {- PN = !1, eP(!1);-}-async function cP(e, t) {- let n = await V(qM, {+async function lP(e, t) {+ let n = await V(JM, {id: e,kind: t- }), r = H.getQueryData(WM(e));- if (!r) return zM(e, {+ }), r = H.getQueryData(GM(e));+ if (!r) return BM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33362,7 +33362,7 @@ async function cP(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(WM(e), i), zM(e, {+ return H.setQueryData(GM(e), i), BM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33370,7 +33370,7 @@ async function cP(e, t) {o_count: i.o_count}), n;}-var ule = [+var lle = [{kind: "dislike",glyph: "thumbs-down",@@ -33387,31 +33387,31 @@ var ule = [label: "记一次高潮"}];-function lP(e) {+function uP(e) {return Pt({- queryKey: WM(e ?? 0),- queryFn: ({ signal: t }) => $M(e, t),+ queryKey: GM(e ?? 0),+ queryFn: ({ signal: t }) => eN(e, t),enabled: e != null,staleTime: Infinity}).data;}-function dle({ kind: e, glyph: t, label: n, id: r }) {- let i = lP(r), a = Ft({+function ule({ kind: e, glyph: t, label: n, id: r }) {+ let i = uP(r), a = Ft({mutationFn: async (t) => {- let n = H.getQueryData(WM(t))?.feedback || null;+ let n = H.getQueryData(GM(t))?.feedback || null;return {- result: await cP(t, e),+ result: await lP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- FN().toast(pN(e, t), { undo: async () => {- e === "o" ? await cP(r, "o-undo") : (t.feedback && await cP(r, t.feedback), n && await cP(r, n));+ IN().toast(mN(e, t), { undo: async () => {+ e === "o" ? await lP(r, "o-undo") : (t.feedback && await lP(r, t.feedback), n && await lP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- GN(1);+ KN(1);}, 260);},- onError: (e) => FN().failure("更新反馈", e)+ onError: (e) => IN().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-immerse-action": "",@@ -33442,11 +33442,11 @@ function dle({ kind: e, glyph: t, label: n, id: r }) {})]});}-function fle({ shown: e }) {- let t = e?.item ?? null, n = lP(t?.id ?? null), r = n ? Gce(n) : null, i = FN(), a = (e) => {- e.preventDefault(), n && (qN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function dle({ shown: e }) {+ let t = e?.item ?? null, n = uP(t?.id ?? null), r = n ? Wce(n) : null, i = IN(), a = (e) => {+ e.preventDefault(), n && (JN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (qN(), i.openItem(t.id));+ t && (JN(), i.openItem(t.id));}, s = r ? Za(r.name, r.ref, Ma(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, F.jsxs)("div", {"data-immerse-ui": "",@@ -33475,18 +33475,18 @@ function fle({ shown: e }) {})]});}-var ple = { __html: xs("媒体加载中") };-function mle({ view: e }) {+var fle = { __html: xs("媒体加载中") };+function ple({ view: e }) {let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {let e = t.current;- return _N = {+ return vN = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", nP, { passive: !0 }), e.addEventListener("touchmove", rP, { passive: !1 }), e.addEventListener("touchend", iP, { passive: !1 }), e.addEventListener("touchcancel", aP, { passive: !0 }), e.addEventListener("wheel", oP, { passive: !0 }), () => {- e.removeEventListener("touchstart", nP), e.removeEventListener("touchmove", rP), e.removeEventListener("touchend", iP), e.removeEventListener("touchcancel", aP), e.removeEventListener("wheel", oP), _N = null;+ }, e.addEventListener("touchstart", rP, { passive: !0 }), e.addEventListener("touchmove", iP, { passive: !1 }), e.addEventListener("touchend", aP, { passive: !1 }), e.addEventListener("touchcancel", oP, { passive: !0 }), e.addEventListener("wheel", sP, { passive: !0 }), () => {+ e.removeEventListener("touchstart", rP), e.removeEventListener("touchmove", iP), e.removeEventListener("touchend", aP), e.removeEventListener("touchcancel", oP), e.removeEventListener("wheel", sP), vN = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33503,10 +33503,10 @@ function mle({ view: e }) {children: [/* @__PURE__ */ (0, F.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: ale+ onClick: ile}), /* @__PURE__ */ (0, F.jsx)("div", {"data-immerse-actions": "",- children: ule.map((e) => /* @__PURE__ */ (0, F.jsx)(dle, {+ children: lle.map((e) => /* @__PURE__ */ (0, F.jsx)(ule, {...e,id: a}, e.kind))@@ -33519,7 +33519,7 @@ function mle({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: ple+ dangerouslySetInnerHTML: fle}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -33527,7 +33527,7 @@ function mle({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: qN,+ onClick: JN,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-x" })@@ -33536,88 +33536,88 @@ function mle({ view: e }) {/* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: ole,- onPointerMove: sle,- onPointerUp: cle,- onPointerCancel: lle,+ onPointerDown: ale,+ onPointerMove: ole,+ onPointerUp: sle,+ onPointerCancel: cle,children: /* @__PURE__ */ (0, F.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, F.jsx)(fle, { shown: e.shown })+ /* @__PURE__ */ (0, F.jsx)(dle, { shown: e.shown })]});}-var hle = {- open: rle,- close: qN,- isOpen: () => vN.open,- activeVideo: () => vN.open ? ON?.video ?? null : null+var mle = {+ open: nle,+ close: JN,+ isOpen: () => yN.open,+ activeVideo: () => yN.open ? kN?.video ?? null : null};-function gle(e) {- if (!vN.open) return;+function hle(e) {+ if (!yN.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && GN(1), e.key === "ArrowUp" && GN(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && KN(1), e.key === "ArrowUp" && KN(-1));}-function _le(e) {- let t = !gN;- return gN = e, t && (document.addEventListener("keydown", gle), addEventListener("resize", () => {- vN.open && HN();+function gle(e) {+ let t = !_N;+ return _N = e, t && (document.addEventListener("keydown", hle), addEventListener("resize", () => {+ yN.open && UN();}), addEventListener("pagehide", () => {- kN.forEach((e) => aM(e.session));- })), hle;+ AN.forEach((e) => oM(e.session));+ })), mle;}-function vle() {- let e = (0, P.useSyncExternalStore)(Yce, () => vN);- return gN ? /* @__PURE__ */ (0, F.jsx)(mle, { view: e }) : null;+function _le() {+ let e = (0, P.useSyncExternalStore)(Jce, () => yN);+ return _N ? /* @__PURE__ */ (0, F.jsx)(ple, { view: e }) : null;}// src/manage-header.ts-var uP = {+var dP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, yle = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function ble(e) {- let t = uP[e.path] ? "cleanup" : e.section;+}, vle = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function yle(e) {+ let t = dP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var xle = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function dP(e) {+var ble = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function fP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = uP[e.path] ?? "";+ let n = dP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: ble(e),+ pressed: yle(e),crumb: n,- compact: yle.has(e.path) || e.section === "configuration",+ compact: vle.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: xle(e.trash),+ text: ble(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var fP = (e) => e.replace(/[&<>"']/g, (e) => ({+var pP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), pP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${fP(e)}"/></svg>`, mP = "<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 Sle(e) {- let t = dP(e);+})[e]), mP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${pP(e)}"/></svg>`, hP = "<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 xle(e) {+ let t = fP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${fP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${pP(r)}<span>${fP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${pP("chevron-right")}</li><li aria-current="true"><span>${fP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? mP : `<span data-lede-text="">${fP(t.lede.text)}</span>${t.lede.total ? Cle : ""}`}</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=\"\"" : ""}>${fP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${pP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${mP(r)}<span>${pP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${mP("chevron-right")}</li><li aria-current="true"><span>${pP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? hP : `<span data-lede-text="">${pP(t.lede.text)}</span>${t.lede.total ? Sle : ""}`}</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=\"\"" : ""}>${pP(t.title)}</h2>` + i;}-var Cle = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Sle = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function hP({ name: e }) {+function gP({ name: e }) {let { wide: t, viewBox: n } = rn(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,@@ -33626,7 +33626,7 @@ function hP({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function wle({ name: e }) {+function Cle({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33634,88 +33634,88 @@ function wle({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Tle = (e, t) => {+var wle = (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;-}, Ele = (e, t) => ({+}, Tle = (e, t) => ({classGroupId: e,validator: t-}), gP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), _P = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), _P = "-", vP = [], Dle = "arbitrary..", Ole = (e) => {- let t = Ale(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), vP = "-", yP = [], Ele = "arbitrary..", Dle = (e) => {+ let t = kle(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return kle(e);- let n = e.split(_P);- return yP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Ole(e);+ let n = e.split(vP);+ return bP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Tle(i, t) : t : i || vP;+ return t ? i ? wle(i, t) : t : i || yP;}- return n[e] || vP;+ return n[e] || yP;}};-}, yP = (e, t, n) => {+}, bP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = yP(e, t + 1, i);+ let n = bP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(_P) : e.slice(t).join(_P), s = a.length;+ let o = t === 0 ? e.join(vP) : e.slice(t).join(vP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, kle = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Ole = (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 ? Dle + r : void 0;-})(), Ale = (e) => {+ return r ? Ele + r : void 0;+})(), kle = (e) => {let { theme: t, classGroups: n } = e;- return jle(n, t);-}, jle = (e, t) => {- let n = gP();+ return Ale(n, t);+}, Ale = (e, t) => {+ let n = _P();for (let r in e) {let i = e[r];- bP(i, n, r, t);+ xP(i, n, r, t);}return n;-}, bP = (e, t, n, r) => {+}, xP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Mle(i, t, n, r);+ jle(i, t, n, r);}-}, Mle = (e, t, n, r) => {- typeof e == "string" ? Nle(e, t, n) : typeof e == "function" ? Ple(e, t, n, r) : Fle(e, t, n, r);-}, Nle = (e, t, n) => {- let r = e === "" ? t : xP(t, e);+}, jle = (e, t, n, r) => {+ typeof e == "string" ? Mle(e, t, n) : typeof e == "function" ? Nle(e, t, n, r) : Ple(e, t, n, r);+}, Mle = (e, t, n) => {+ let r = e === "" ? t : SP(t, e);r.classGroupId = n;+}, Nle = (e, t, n, r) => {+ Fle(e) ? xP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Tle(n, e)));}, Ple = (e, t, n, r) => {- Ile(e) ? bP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ele(n, e)));-}, Fle = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- bP(o, xP(t, a), n, r);+ xP(o, SP(t, a), n, r);}-}, xP = (e, t) => {- let n = e, r = t.split(_P), i = r.length;+}, SP = (e, t) => {+ let n = e, r = t.split(vP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = gP(), n.nextPart.set(t, i)), n = i;+ i || (i = _P(), n.nextPart.set(t, i)), n = i;}return n;-}, Ile = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Lle = (e) => {+}, Fle = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ile = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33733,19 +33733,19 @@ var Tle = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, SP = "!", CP = ":", Rle = [], wP = (e, t, n, r, i) => ({+}, CP = "!", wP = ":", Lle = [], TP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), zle = (e) => {+}), Rle = (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 === CP) {+ if (o === wP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33757,13 +33757,13 @@ var Tle = (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(SP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(SP) && (c = s.slice(1), l = !0);+ s.endsWith(CP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(CP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return wP(t, l, c, u);+ return TP(t, l, c, u);};if (t) {- let e = t + CP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : wP(Rle, !1, t, void 0, !0);+ let e = t + wP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : TP(Lle, !1, t, void 0, !0);}if (n) {let e = r;@@ -33773,7 +33773,7 @@ var Tle = (e, t) => {});}return r;-}, Ble = (e) => {+}, zle = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33785,18 +33785,18 @@ var Tle = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, Vle = (e) => ({- cache: Lle(e.cacheSize),- parseClassName: zle(e),- sortModifiers: Ble(e),- postfixLookupClassGroupIds: Hle(e),- ...Ole(e)-}), Hle = (e) => {+}, Ble = (e) => ({+ cache: Ile(e.cacheSize),+ parseClassName: Rle(e),+ sortModifiers: zle(e),+ postfixLookupClassGroupIds: Vle(e),+ ...Dle(e)+}), Vle = (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;-}, Ule = /\s+/, Wle = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ule), l = "";+}, Hle = /\s+/, Ule = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Hle), 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) {@@ -33816,7 +33816,7 @@ var Tle = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + SP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + CP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33827,34 +33827,34 @@ var Tle = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, Gle = (...e) => {+}, Wle = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = TP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = EP(n)) && (i && (i += " "), i += r);return i;-}, TP = (e) => {+}, EP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = TP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = EP(e[r])) && (n && (n += " "), n += t);return n;-}, EP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = Vle(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, DP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Ble(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 = Wle(e, n);+ let a = Ule(e, n);return i(e, a), a;};- return a = o, (...e) => a(Gle(...e));-}, Kle = [], DP = (e) => {- let t = (t) => t[e] || Kle;+ return a = o, (...e) => a(Wle(...e));+}, Gle = [], OP = (e) => {+ let t = (t) => t[e] || Gle;return t.isThemeGetter = !0, t.themeKey = e, t;-}, OP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, kP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Jle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yle = /\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$/, Xle = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Zle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, AP = (e) => qle.test(e), jP = (e) => !!e && !Number.isNaN(Number(e)), MP = (e) => !!e && Number.isInteger(Number(e)), NP = (e) => e.endsWith("%") && jP(e.slice(0, -1)), PP = (e) => Jle.test(e), FP = () => !0, $le = (e) => Yle.test(e) && !Xle.test(e), IP = () => !1, eue = (e) => Zle.test(e), tue = (e) => Qle.test(e), nue = (e) => !LP(e) && !HP(e), rue = (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)), iue = (e) => KP(e, XP, IP), LP = (e) => OP.test(e), RP = (e) => KP(e, ZP, $le), zP = (e) => KP(e, fue, jP), aue = (e) => KP(e, $P, FP), oue = (e) => KP(e, QP, IP), BP = (e) => KP(e, JP, IP), sue = (e) => KP(e, YP, tue), VP = (e) => KP(e, eF, eue), HP = (e) => kP.test(e), UP = (e) => qP(e, ZP), cue = (e) => qP(e, QP), WP = (e) => qP(e, JP), lue = (e) => qP(e, XP), uue = (e) => qP(e, YP), GP = (e) => qP(e, eF, !0), due = (e) => qP(e, $P, !0), KP = (e, t, n) => {- let r = OP.exec(e);- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, qP = (e, t, n = !1) => {+}, kP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, AP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, qle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jle = /\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$/, Yle = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Xle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Zle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, jP = (e) => Kle.test(e), MP = (e) => !!e && !Number.isNaN(Number(e)), NP = (e) => !!e && Number.isInteger(Number(e)), PP = (e) => e.endsWith("%") && MP(e.slice(0, -1)), FP = (e) => qle.test(e), IP = () => !0, Qle = (e) => Jle.test(e) && !Yle.test(e), LP = () => !1, $le = (e) => Xle.test(e), eue = (e) => Zle.test(e), tue = (e) => !RP(e) && !UP(e), nue = (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)), rue = (e) => qP(e, ZP, LP), RP = (e) => kP.test(e), zP = (e) => qP(e, QP, Qle), BP = (e) => qP(e, due, MP), iue = (e) => qP(e, eF, IP), aue = (e) => qP(e, $P, LP), VP = (e) => qP(e, YP, LP), oue = (e) => qP(e, XP, eue), HP = (e) => qP(e, tF, $le), UP = (e) => AP.test(e), WP = (e) => JP(e, QP), sue = (e) => JP(e, $P), GP = (e) => JP(e, YP), cue = (e) => JP(e, ZP), lue = (e) => JP(e, XP), KP = (e) => JP(e, tF, !0), uue = (e) => JP(e, eF, !0), qP = (e, t, n) => {let r = kP.exec(e);+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;+}, JP = (e, t, n = !1) => {+ let r = AP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, JP = (e) => e === "position" || e === "percentage", YP = (e) => e === "image" || e === "url", XP = (e) => e === "length" || e === "size" || e === "bg-size", ZP = (e) => e === "length", fue = (e) => e === "number", QP = (e) => e === "family-name", $P = (e) => e === "number" || e === "weight", eF = (e) => e === "shadow", tF = () => {- let e = DP("color"), t = DP("font"), n = DP("text"), r = DP("font-weight"), i = DP("tracking"), a = DP("leading"), o = DP("breakpoint"), s = DP("container"), c = DP("spacing"), l = DP("radius"), u = DP("shadow"), d = DP("inset-shadow"), f = DP("text-shadow"), p = DP("drop-shadow"), m = DP("blur"), h = DP("perspective"), g = DP("aspect"), _ = DP("ease"), v = DP("animate"), y = () => [+}, YP = (e) => e === "position" || e === "percentage", XP = (e) => e === "image" || e === "url", ZP = (e) => e === "length" || e === "size" || e === "bg-size", QP = (e) => e === "length", due = (e) => e === "number", $P = (e) => e === "family-name", eF = (e) => e === "number" || e === "weight", tF = (e) => e === "shadow", nF = () => {+ let e = OP("color"), t = OP("font"), n = OP("text"), r = OP("font-weight"), i = OP("tracking"), a = OP("leading"), o = OP("breakpoint"), s = OP("container"), c = OP("spacing"), l = OP("radius"), u = OP("shadow"), d = OP("inset-shadow"), f = OP("text-shadow"), p = OP("drop-shadow"), m = OP("blur"), h = OP("perspective"), g = OP("aspect"), _ = OP("ease"), v = OP("animate"), y = () => ["auto","avoid","all",@@ -33879,8 +33879,8 @@ var Tle = (e, t) => {"left-bottom"], x = () => [...b(),- HP,- LP+ UP,+ RP], S = () => ["auto","hidden",@@ -33892,43 +33892,43 @@ var Tle = (e, t) => {"contain","none"], w = () => [- HP,- LP,+ UP,+ RP,c], T = () => [- AP,+ jP,"full","auto",...w()], E = () => [- MP,+ NP,"none","subgrid",- HP,- LP+ UP,+ RP], D = () => ["auto",{ span: ["full",- MP,- HP,- LP+ NP,+ UP,+ RP] },- MP,- HP,- LP+ NP,+ UP,+ RP], O = () => [- MP,+ NP,"auto",- HP,- LP+ UP,+ RP], k = () => ["auto","min","max","fr",- HP,- LP+ UP,+ RP], A = () => ["start","end",@@ -33948,7 +33948,7 @@ var Tle = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- AP,+ jP,"auto","full","dvw",@@ -33963,7 +33963,7 @@ var Tle = (e, t) => {...w()], te = () => [s,- AP,+ jP,"screen","full","dvw",@@ -33974,7 +33974,7 @@ var Tle = (e, t) => {"fit",...w()], ne = () => [- AP,+ jP,"screen","full","lh",@@ -33987,13 +33987,13 @@ var Tle = (e, t) => {...w()], N = () => [e,- HP,- LP+ UP,+ RP], re = () => [...b(),- WP,- BP,- { position: [HP, LP] }+ GP,+ VP,+ { position: [UP, RP] }], ie = () => ["no-repeat", { repeat: ["","x",@@ -34004,25 +34004,25 @@ var Tle = (e, t) => {"auto","cover","contain",- lue,- iue,- { size: [HP, LP] }+ cue,+ rue,+ { size: [UP, RP] }], F = () => [- NP,- UP,- RP+ PP,+ WP,+ zP], ae = () => ["","none","full",l,- HP,- LP- ], oe = () => [- "",- jP,UP,RP+ ], oe = () => [+ "",+ MP,+ WP,+ zP], se = () => ["solid","dashed",@@ -34046,32 +34046,32 @@ var Tle = (e, t) => {"color","luminosity"], le = () => [- jP,- NP,- WP,- BP+ MP,+ PP,+ GP,+ VP], ue = () => ["","none",m,- HP,- LP+ UP,+ RP], de = () => ["none",- jP,- HP,- LP+ MP,+ UP,+ RP], fe = () => ["none",- jP,- HP,- LP+ MP,+ UP,+ RP], pe = () => [- jP,- HP,- LP+ MP,+ UP,+ RP], me = () => [- AP,+ jP,"full",...w()];@@ -34085,17 +34085,17 @@ var Tle = (e, t) => {"bounce"],aspect: ["video"],- blur: [PP],- breakpoint: [PP],- color: [FP],- container: [PP],- "drop-shadow": [PP],+ blur: [FP],+ breakpoint: [FP],+ color: [IP],+ container: [FP],+ "drop-shadow": [FP],ease: ["in","out","in-out"],- font: [nue],+ font: [tue],"font-weight": ["thin","extralight",@@ -34107,7 +34107,7 @@ var Tle = (e, t) => {"extrabold","black"],- "inset-shadow": [PP],+ "inset-shadow": [FP],leading: ["none","tight",@@ -34124,11 +34124,11 @@ var Tle = (e, t) => {"distant","none"],- radius: [PP],- shadow: [PP],- spacing: ["px", jP],- text: [PP],- "text-shadow": [PP],+ radius: [FP],+ shadow: [FP],+ spacing: ["px", MP],+ text: [FP],+ "text-shadow": [FP],tracking: ["tighter","tight",@@ -34142,9 +34142,9 @@ var Tle = (e, t) => {aspect: [{ aspect: ["auto","square",- AP,- LP,- HP,+ jP,+ RP,+ UP,g] }],container: ["container"],@@ -34152,15 +34152,15 @@ var Tle = (e, t) => {"","normal","size",- HP,- LP+ UP,+ RP] }],- "container-named": [rue],+ "container-named": [nue],columns: [{ columns: [- jP,+ MP,"auto",- LP,- HP,+ RP,+ UP,s] }],"break-after": [{ "break-after": y() }],@@ -34257,13 +34257,13 @@ var Tle = (e, t) => {"collapse"],z: [{ z: [- MP,+ NP,"auto",- HP,- LP+ UP,+ RP] }],basis: [{ basis: [- AP,+ jP,"full","auto",s,@@ -34281,32 +34281,32 @@ var Tle = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [+ MP,jP,- AP,"auto","initial","none",- LP+ RP] }],grow: [{ grow: ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],shrink: [{ shrink: ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],order: [{ order: [- MP,+ NP,"first","last","none",- HP,- LP+ UP,+ RP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34413,15 +34413,15 @@ var Tle = (e, t) => {"font-size": [{ text: ["base",n,- UP,- RP+ WP,+ zP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- due,- aue+ uue,+ iue] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34433,15 +34433,15 @@ var Tle = (e, t) => {"expanded","extra-expanded","ultra-expanded",- NP,- LP+ PP,+ RP] }],"font-family": [{ font: [- cue,- oue,+ sue,+ aue,t] }],- "font-features": [{ "font-features": [LP] }],+ "font-features": [{ "font-features": [RP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34450,14 +34450,14 @@ var Tle = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- HP,- LP+ UP,+ RP] }],"line-clamp": [{ "line-clamp": [- jP,+ MP,"none",- HP,- zP+ UP,+ BP] }],leading: [{ leading: ["none",@@ -34466,16 +34466,16 @@ var Tle = (e, t) => {] }],"list-image": [{ "list-image": ["none",- HP,- LP+ UP,+ RP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- HP,- LP+ UP,+ RP] }],"text-alignment": [{ text: ["left",@@ -34495,18 +34495,18 @@ var Tle = (e, t) => {],"text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- jP,+ MP,"from-font","auto",- HP,- RP+ UP,+ zP] }],"text-decoration-color": [{ decoration: N() }],"underline-offset": [{ "underline-offset": [- jP,+ MP,"auto",- HP,- LP+ UP,+ RP] }],"text-transform": ["uppercase",@@ -34527,9 +34527,9 @@ var Tle = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- MP,- HP,- LP+ NP,+ UP,+ RP] }],"vertical-align": [{ align: ["baseline",@@ -34540,8 +34540,8 @@ var Tle = (e, t) => {"text-bottom","sub","super",- HP,- LP+ UP,+ RP] }],whitespace: [{ whitespace: ["normal",@@ -34569,8 +34569,8 @@ var Tle = (e, t) => {] }],content: [{ content: ["none",- HP,- LP+ UP,+ RP] }],"bg-attachment": [{ bg: ["fixed",@@ -34605,24 +34605,24 @@ var Tle = (e, t) => {"l","tl"] },- MP,- HP,- LP+ NP,+ UP,+ RP],radial: ["",- HP,- LP+ UP,+ RP],conic: ["",- MP,- HP,- LP+ NP,+ UP,+ RP]},- uue,- sue+ lue,+ oue] }],"bg-color": [{ bg: N() }],"gradient-from-pos": [{ from: F() }],@@ -34689,15 +34689,15 @@ var Tle = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"outline-w": [{ outline: ["",- jP,- UP,- RP+ MP,+ WP,+ zP] }],"outline-color": [{ outline: N() }],shadow: [{ shadow: [@@ -34705,35 +34705,35 @@ var Tle = (e, t) => {"inner","none",u,- GP,- VP+ KP,+ HP] }],"shadow-color": [{ shadow: N() }],"inset-shadow": [{ "inset-shadow": ["none",d,- GP,- VP+ KP,+ HP] }],"inset-shadow-color": [{ "inset-shadow": N() }],"ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: N() }],- "ring-offset-w": [{ "ring-offset": [jP, RP] }],+ "ring-offset-w": [{ "ring-offset": [MP, zP] }],"ring-offset-color": [{ "ring-offset": N() }],"inset-ring-w": [{ "inset-ring": oe() }],"inset-ring-color": [{ "inset-ring": N() }],"text-shadow": [{ "text-shadow": ["none",f,- GP,- VP+ KP,+ HP] }],"text-shadow-color": [{ "text-shadow": N() }],opacity: [{ opacity: [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"mix-blend": [{ "mix-blend": [...ce(),@@ -34755,7 +34755,7 @@ var Tle = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [jP] }],+ "mask-image-linear-pos": [{ "mask-linear": [MP] }],"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],"mask-image-linear-from-color": [{ "mask-linear-from": N() }],@@ -34784,7 +34784,7 @@ var Tle = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": le() }],"mask-image-y-from-color": [{ "mask-y-from": N() }],"mask-image-y-to-color": [{ "mask-y-to": N() }],- "mask-image-radial": [{ "mask-radial": [HP, LP] }],+ "mask-image-radial": [{ "mask-radial": [UP, RP] }],"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],"mask-image-radial-from-color": [{ "mask-radial-from": N() }],@@ -34795,7 +34795,7 @@ var Tle = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [jP] }],+ "mask-image-conic-pos": [{ "mask-conic": [MP] }],"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],"mask-image-conic-from-color": [{ "mask-conic-from": N() }],@@ -34819,111 +34819,111 @@ var Tle = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- HP,- LP+ UP,+ RP] }],filter: [{ filter: ["","none",- HP,- LP+ UP,+ RP] }],blur: [{ blur: ue() }],brightness: [{ brightness: [- jP,- HP,- LP+ MP,+ UP,+ RP] }],contrast: [{ contrast: [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- GP,- VP+ KP,+ HP] }],"drop-shadow-color": [{ "drop-shadow": N() }],grayscale: [{ grayscale: ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],"hue-rotate": [{ "hue-rotate": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],invert: [{ invert: ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],saturate: [{ saturate: [- jP,- HP,- LP+ MP,+ UP,+ RP] }],sepia: [{ sepia: ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- HP,- LP+ UP,+ RP] }],"backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-contrast": [{ "backdrop-contrast": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-invert": [{ "backdrop-invert": ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-opacity": [{ "backdrop-opacity": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-saturate": [{ "backdrop-saturate": [- jP,- HP,- LP+ MP,+ UP,+ RP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- jP,- HP,- LP+ MP,+ UP,+ RP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34939,39 +34939,39 @@ var Tle = (e, t) => {"shadow","transform","none",- HP,- LP+ UP,+ RP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- jP,+ MP,"initial",- HP,- LP+ UP,+ RP] }],ease: [{ ease: ["linear","initial",_,- HP,- LP+ UP,+ RP] }],delay: [{ delay: [- jP,- HP,- LP+ MP,+ UP,+ RP] }],animate: [{ animate: ["none",v,- HP,- LP+ UP,+ RP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- HP,- LP+ UP,+ RP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: de() }],@@ -34987,8 +34987,8 @@ var Tle = (e, t) => {"skew-x": [{ "skew-x": pe() }],"skew-y": [{ "skew-y": pe() }],transform: [{ transform: [- HP,- LP,+ UP,+ RP,"","none","gpu",@@ -35002,9 +35002,9 @@ var Tle = (e, t) => {"translate-z": [{ "translate-z": me() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- MP,- HP,- LP+ NP,+ UP,+ RP] }],accent: [{ accent: N() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35054,8 +35054,8 @@ var Tle = (e, t) => {"nwse-resize","zoom-in","zoom-out",- HP,- LP+ UP,+ RP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35141,15 +35141,15 @@ var Tle = (e, t) => {"scroll","contents","transform",- HP,- LP+ UP,+ RP] }],fill: [{ fill: ["none", ...N()] }],"stroke-w": [{ stroke: [- jP,- UP,- RP,- zP+ MP,+ WP,+ zP,+ BP] }],stroke: [{ stroke: ["none", ...N()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35407,16 +35407,16 @@ var Tle = (e, t) => {"selection"]};-}, pue = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (nF(e, "cacheSize", t), nF(e, "prefix", n), nF(e, "experimentalParseClassName", r), rF(e.theme, a.theme), rF(e.classGroups, a.classGroups), rF(e.conflictingClassGroups, a.conflictingClassGroups), rF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), nF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), nF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), iF(e.theme, i.theme), iF(e.classGroups, i.classGroups), iF(e.conflictingClassGroups, i.conflictingClassGroups), iF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), aF(e, i, "postfixLookupClassGroups"), aF(e, i, "orderSensitiveModifiers"), e), nF = (e, t, n) => {+}, fue = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (rF(e, "cacheSize", t), rF(e, "prefix", n), rF(e, "experimentalParseClassName", r), iF(e.theme, a.theme), iF(e.classGroups, a.classGroups), iF(e.conflictingClassGroups, a.conflictingClassGroups), iF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), rF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), rF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), aF(e.theme, i.theme), aF(e.classGroups, i.classGroups), aF(e.conflictingClassGroups, i.conflictingClassGroups), aF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), oF(e, i, "postfixLookupClassGroups"), oF(e, i, "orderSensitiveModifiers"), e), rF = (e, t, n) => {n !== void 0 && (e[t] = n);-}, rF = (e, t) => {- if (t) for (let n in t) nF(e, n, t[n]);}, iF = (e, t) => {- if (t) for (let n in t) aF(e, t, n);-}, aF = (e, t, n) => {+ if (t) for (let n in t) rF(e, n, t[n]);+}, aF = (e, t) => {+ if (t) for (let n in t) oF(e, t, n);+}, oF = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, mue = (e, ...t) => typeof e == "function" ? EP(tF, e, ...t) : EP(() => pue(tF(), e), ...t), hue = [+}, pue = (e, ...t) => typeof e == "function" ? DP(nF, e, ...t) : DP(() => fue(nF(), e), ...t), mue = ["large-title","display-1","display-2",@@ -35430,17 +35430,17 @@ var Tle = (e, t) => {"body-2","caption-1","caption-2"-], gue = [+], hue = ["regular","medium","semibold","bold"-], oF = mue({ extend: { classGroups: { "font-size": [{ text: hue.flatMap((e) => gue.map((t) => `${e}-${t}`)) }] } } });-function sF(e) {+], sF = pue({ extend: { classGroups: { "font-size": [{ text: mue.flatMap((e) => hue.map((t) => `${e}-${t}`)) }] } } });+function cF(e) {return e;}// src/react/components/pill-tab.tsx-var _ue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, cF = sF({+var gue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, lF = cF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35462,9 +35462,9 @@ var _ue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, cF = sF({gray: "text-text-primary"}});-function lF({ children: e, className: t, ref: n, container: r, ...i }) {+function uF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, P.useRef)(null), [o, s] = (0, P.useState)(null);- _ue(() => {+ gue(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35500,7 +35500,7 @@ function lF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: oF("pointer-events-none absolute left-0 top-0", cF.radius[o.variant], cF.thumb[o.variant]),+ className: sF("pointer-events-none absolute left-0 top-0", lF.radius[o.variant], lF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35511,43 +35511,43 @@ function lF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {ref: c,role: "group",- className: oF("relative inline-flex items-center gap-1", t),+ className: sF("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Lt.createPortal)(l, r) : null;}// src/react/manage-header/manage-header-island.tsx-var uF = null, dF = null, fF = /* @__PURE__ */ new Set();-function vue(e) {- return fF.add(e), () => {- fF.delete(e);+var dF = null, fF = null, pF = /* @__PURE__ */ new Set();+function _ue(e) {+ return pF.add(e), () => {+ pF.delete(e);};}-function yue() {- for (let e of [...fF]) e();+function vue() {+ for (let e of [...pF]) e();}-var bue = { render(e) {- dF = e, (0, Lt.flushSync)(yue);+var yue = { render(e) {+ fF = e, (0, Lt.flushSync)(vue);} };-function xue(e) {- return uF = e, dF = null, bue;+function bue(e) {+ return dF = e, fF = null, yue;}-function Sue() {- let e = (0, P.useSyncExternalStore)(vue, () => dF);- return uF && e ? /* @__PURE__ */ (0, F.jsx)(Cue, {- host: uF,+function xue() {+ let e = (0, P.useSyncExternalStore)(_ue, () => fF);+ return dF && e ? /* @__PURE__ */ (0, F.jsx)(Sue, {+ host: dF,props: e}) : null;}-function Cue({ host: e, props: t }) {- let n = dP(t);+function Sue({ host: e, props: t }) {+ let n = fP(t);return n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(wue, {+ /* @__PURE__ */ (0, F.jsx)(Cue, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, F.jsx)(Tue, {+ n.crumb ? /* @__PURE__ */ (0, F.jsx)(wue, {host: e,label: n.crumb}) : null,@@ -35556,13 +35556,13 @@ function Cue({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Eue, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Tue, {host: e,lede: n.lede})] }) : null;}-function wue({ host: e, pressed: t, menu: n }) {+function Cue({ host: e, pressed: t, menu: n }) {let r = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35572,7 +35572,7 @@ function wue({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, F.jsx)(lF, {+ children: /* @__PURE__ */ (0, F.jsx)(uF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35586,13 +35586,13 @@ function wue({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, F.jsx)(gP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]}, n);})})});}-function Tue({ host: e, label: t }) {+function wue({ host: e, label: t }) {return /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35602,20 +35602,20 @@ function Tue({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {+ }), /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, F.jsx)("span", { children: t })})] })});}-function Eue({ host: e, lede: t }) {+function Tue({ host: e, lede: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: mP }- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Due, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {+ dangerouslySetInnerHTML: { __html: hP }+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Eue, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35625,7 +35625,7 @@ function Eue({ host: e, lede: t }) {}) : null] })});}-function Due({ text: e }) {+function Eue({ text: e }) {let t = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {ks(t.current, e);@@ -35635,29 +35635,29 @@ function Due({ text: e }) {});}// src/core/text-lang.ts-var Oue = /[-ヿㇰ-ㇿヲ-゚]/, kue = /[㐀-鿿豈-]/, Aue = /[A-Za-z]/;-function pF(e) {+var Due = /[-ヿㇰ-ㇿヲ-゚]/, Oue = /[㐀-鿿豈-]/, kue = /[A-Za-z]/;+function mF(e) {let t = String(e ?? "");- if (Oue.test(t)) return "ja";- if (!kue.test(t) && Aue.test(t)) return "en";+ if (Due.test(t)) return "ja";+ if (!Oue.test(t) && kue.test(t)) return "en";}-var jue = (e) => {- let t = pF(e);+var Aue = (e) => {+ let t = mF(e);return t ? ` lang="${t}"` : "";-}, Mue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Nue = (e, t = e?.name) => {+}, jue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Mue = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Mue, "") : n;-}, Pue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Fue = (e) => {+ return e?.is_jav ? n.replace(jue, "") : n;+}, Nue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Pue = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(Pue) || t[0] || "";+ return t.find(Nue) || t[0] || "";};-function mF(e, t = e?.name) {- let n = Nue(e, t), r = String(e?.code || "").trim().toUpperCase();+function hF(e, t = e?.name) {+ let n = Mue(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 = Fue(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 = Pue(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) => ["中字","无码","无码破解"@@ -35668,23 +35668,23 @@ function mF(e, t = e?.name) {badges: f};}-var hF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = mF(e, t);+var gF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = hF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function gF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = mF(e, t);+function _F(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = hF(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"${jue(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Aue(r)}>${z(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var _F = "/api/tasks", vF = ["tasks"];-function Iue(e, t) {+var vF = "/api/tasks", yF = ["tasks"];+function Fue(e, t) {let n = 0, r = 0, i = 0;for (let a of t) for (let [t, o] of Object.entries(e?.[String(a.id)] || {})) n += o, (t === "pending" || t === "running") && (r += o), (t === "failed" || t === "interrupted") && (i += o);return {@@ -35694,7 +35694,7 @@ function Iue(e, t) {settled: n - r};}-function Lue(e) {+function Iue(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {let e = t.get(n.task_key);@@ -35705,11 +35705,11 @@ function Lue(e) {}return [...t.values()];}-var Rue = (e, t) => B(`${_F}?${new URLSearchParams({+var Lue = (e, t) => B(`${vF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function zue(...e) {+function Rue(...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) => {@@ -35717,14 +35717,14 @@ function zue(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Bue = 2e3, Vue = 1e4, yF = (e) => e?.running?.length ? Bue : Vue, bF = (e) => B(_F, e);-async function Hue(e) {+var zue = 2e3, Bue = 1e4, bF = (e) => e?.running?.length ? zue : Bue, xF = (e) => B(vF, e);+async function Vue(e) {await H.fetchQuery({- queryKey: vF,- queryFn: () => bF(e)+ queryKey: yF,+ queryFn: () => xF(e)});}-var xF = {+var Hue = {manual: "手动",scheduled: "定时",startup: "启动",@@ -35981,7 +35981,7 @@ function qF(e) {function JF(e) {return Object.entries(e || {}).filter(([e, t]) => !KF.has(e) && (e in wF || 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" ? BF(String(t)) : e === "outcome" || e === "result" ? WF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${wF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${UF[String(t)] || "批量操作"}` : `${wF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var YF = (e) => qF(e).join(" · "), XF = sF({+var YF = (e) => qF(e).join(" · "), XF = cF({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",@@ -35996,7 +35996,7 @@ function ZF({ icon: e, size: t = "medium", className: n, type: r = "button", refreturn /* @__PURE__ */ (0, F.jsx)("button", {ref: i,type: r,- className: oF(XF.base, XF.size[t], n),+ className: sF(XF.base, XF.size[t], n),...a,children: /* @__PURE__ */ (0, F.jsx)(e, {className: XF.icon[t],@@ -36098,7 +36098,7 @@ function iI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa"data-filter-glass": !0,"data-glass-pane": "",...c,- className: oF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: sF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, F.jsx)("div", {@@ -36106,14 +36106,14 @@ function iI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: oF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: sF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, F.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: oF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: sF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),/* @__PURE__ */ (0, F.jsx)(QF, {})@@ -36126,7 +36126,7 @@ function oI({ children: e, pressed: t, onPress: n, className: r, ...i }) {type: "button",...i,"aria-pressed": t,- className: oF(aI, r),+ className: sF(aI, r),onClick: n,children: e});@@ -36239,7 +36239,7 @@ function dI(e, t, n, r, { axis: i = "x" } = {}) {};}// src/react/boardui/components/base/buttons/button.tsx-var fI = sF({+var fI = cF({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",@@ -36272,7 +36272,7 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, F.jsxs)("button", {ref: c,type: s,- className: oF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),+ className: sF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {@@ -36293,7 +36293,7 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadifunction pI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, F.jsxs)("a", {ref: s,- className: oF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),+ className: sF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {@@ -36365,7 +36365,7 @@ function _I(e, t) {return n;}function vI(e, t, n) {- let { ref: r, ...i } = _I(n, e.slot) || {}, a = Xx((0, P.useMemo)(() => Vx(t, r), [t, r])), o = K(i, e);+ let { ref: r, ...i } = _I(n, e.slot) || {}, a = Zx((0, P.useMemo)(() => Hx(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,@@ -36387,7 +36387,7 @@ function yI(e = !0) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return zb(() => {+ return Bb(() => {r.current || n(!1);}, []), [i, t];}@@ -36397,8 +36397,8 @@ function bI(e) {return n;}function Uue(e, t, n) {- let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Vx(n, a), [n, a]);- zb(() => {}, [e, r]);+ let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Hx(n, a), [n, a]);+ Bb(() => {}, [e, r]);let s = {...i,ref: o@@ -36418,7 +36418,7 @@ var xI = {}, SI = new Proxy({}, { get(e, t) {}};function DI(e, t, n) {- return xb({+ return Sb({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36456,7 +36456,7 @@ function kI(e) {return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ tS(function(e, t) {+var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, AI);let { elementType: n = "label", ...r } = e, i = SI[n];return /*#__PURE__*/ P.createElement(i, {@@ -36464,11 +36464,11 @@ var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ tS(function(...r,ref: t});-}), Gue = /*#__PURE__*/ (0, P.createContext)(null), MI = /*#__PURE__*/ (0, P.createContext)({}), NI = /*#__PURE__*/ tS(function(e, t) {+}), Gue = /*#__PURE__*/ (0, P.createContext)(null), MI = /*#__PURE__*/ (0, P.createContext)({}), NI = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, MI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = fC(e, t);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = pC(e, t);i = que(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = zT(e), { hoverProps: l, isHovered: u } = UT({+ let { focusProps: o, isFocused: s, isFocusVisible: c } = BT(e), { hoverProps: l, isHovered: u } = WT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36482,19 +36482,19 @@ var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ tS(function(...e,values: d,defaultClassName: "react-aria-Button"- }), p = zx(i.id), m = zx(), h = i["aria-labelledby"];+ }), p = Bx(i.id), m = Bx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, P.useRef)(r);(0, P.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && BC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && VC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = US(e, { global: !0 });+ let _ = WS(e, { global: !0 });return delete _.onClick, /*#__PURE__*/ P.createElement(SI.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,@@ -36527,7 +36527,7 @@ var PI = /*#__PURE__*/ (0, P.createContext)({}), FI = /*#__PURE__*/ (0, P.forwarref: t,className: i ?? "react-aria-Heading"}, n);-}), II = /*#__PURE__*/ (0, P.createContext)({}), Jue = /*#__PURE__*/ tS(function(e, t) {+}), II = /*#__PURE__*/ (0, P.createContext)({}), Jue = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, II);let { elementType: n = "span", ...r } = e, i = SI[n];return /*#__PURE__*/ P.createElement(i, {@@ -36537,13 +36537,13 @@ var PI = /*#__PURE__*/ (0, P.createContext)({}), FI = /*#__PURE__*/ (0, P.forwar});}), LI = /*#__PURE__*/ (0, P.createContext)(null), RI = /*#__PURE__*/ (0, P.createContext)(null), zI = /*#__PURE__*/ (0, P.createContext)(null), BI = /*#__PURE__*/ (0, P.createContext)(null), Yue = /*#__PURE__*/ (0, P.createContext)(null), VI = /*#__PURE__*/ (0, P.createContext)(null);function Xue(e, t) {- let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Yue), a = Xx((0, P.useMemo)(() => Vx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Yue), a = Zx((0, P.useMemo)(() => Hx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {...bI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? aae(o, i, a) : sw(o, fw(e), a), a];+ return [i ? iae(o, i, a) : cw(o, pw(e), a), a];}var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;@@ -36560,7 +36560,7 @@ var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {ref: t}));}), Que = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, P.useContext)(VI), { isFocused: p, isFocusVisible: m, focusProps: h } = zT(), g = a || o, { hoverProps: _, isHovered: v } = UT({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, P.useContext)(VI), { isFocused: p, isFocusVisible: m, focusProps: h } = BT(), g = a || o, { hoverProps: _, isHovered: v } = WT({...e,isDisabled: g}), y = gI({@@ -36578,7 +36578,7 @@ var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = US(e, { global: !0 });+ }), b = WS(e, { global: !0 });return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(SI.label, {...K(b, n, _, y),ref: t,@@ -36593,7 +36593,7 @@ var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ P.createElement(xw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(Sw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {...K(r, h),ref: l})), y.children);@@ -36601,12 +36601,12 @@ var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {[e, t] = vI(e, t, HI);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 } = UT({+ let { hoverProps: l, isHovered: u } = WT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = zT({ within: !0 }), m = gI({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = BT({ within: !0 }), m = gI({...e,values: {isHovered: u,@@ -36633,12 +36633,12 @@ var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {}), WI = /*#__PURE__*/ (0, P.createContext)({}), $ue = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, ede = /*#__PURE__*/ tS(function(e, t) {+}, ede = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, WI);- let { hoverProps: n, isHovered: r } = UT({+ let { hoverProps: n, isHovered: r } = WT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = zT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = BT({isTextInput: !0,autoFocus: e.autoFocus}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = gI({@@ -36666,12 +36666,12 @@ var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {function ide(e) {let { isDisabled: t = !1, minValue: n = tde, maxValue: r = nde, numberFormatter: i, step: a = rde, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {let e = (r - n) / 10;- return e = hw(e, 0, e + a, a), Math.max(e, a);+ return e = gw(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, P.useCallback)((e) => e?.map((t, i) => hw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, P.useCallback)((e) => e?.map((t, i) => gw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a@@ -36679,7 +36679,7 @@ function ide(e) {e.defaultValue,n,c- ]), d = qI(e.value, e.defaultValue, e.onChange), f = qI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = dw(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {+ ]), d = qI(e.value, e.defaultValue, e.onChange), f = qI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = fw(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36702,7 +36702,7 @@ function ide(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = hw(n, r, i, a);+ n = gw(n, r, i, a);let o = GI(x.current, e, n);C(o);}@@ -36731,15 +36731,15 @@ function ide(e) {return Math.round((e - n) / a) * a + n;}function N(e) {- return pw(ne(e * (r - n) + n), n, r);+ return mw(ne(e * (r - n) + n), n, r);}function re(e, t = 1) {let i = Math.max(t, a);- A(e, hw(p[e] + i, n, r, a));+ A(e, gw(p[e] + i, n, r, a));}function ie(e, t = 1) {let i = Math.max(t, a);- A(e, hw(p[e] - i, n, r, a));+ A(e, gw(p[e] - i, n, r, a));}return {values: p,@@ -36786,10 +36786,10 @@ function qI(e, t, n) {// node_modules/react-aria-components/dist/private/Slider.mjsvar ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.createContext)(null), YI = /*#__PURE__*/ (0, P.createContext)(null), ode = /*#__PURE__*/ (0, P.createContext)(null), sde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {[e, t] = vI(e, t, ade);- let n = (0, P.useRef)(null), r = uae(e.formatOptions), i = ide({+ let n = (0, P.useRef)(null), r = lae(e.formatOptions), i = ide({...e,numberFormatter: r- }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = dae({+ }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = uae({...e,label: o}, i, n), d = gI({@@ -36800,7 +36800,7 @@ var ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.crestate: i},defaultClassName: "react-aria-Slider"- }), f = US(e, { global: !0 });+ }), f = WS(e, { global: !0 });return delete f.id, /*#__PURE__*/ P.createElement(hI, { values: [[JI, i],[YI, {@@ -36821,7 +36821,7 @@ var ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.cre}));}), cde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {[e, t] = vI(e, t, YI);- let n = (0, P.useContext)(JI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = UT({+ let n = (0, P.useContext)(JI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = WT({onHoverStart: r,onHoverEnd: i,onHoverChange: a@@ -36844,13 +36844,13 @@ var ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.cre"data-disabled": n.isDisabled || void 0});}), lde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, P.useContext)(JI), { ref: i } = _I(YI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = yI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = fae({+ let { inputRef: n = null } = e, r = (0, P.useContext)(JI), { ref: i } = _I(YI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = yI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = dae({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = zT(), { hoverProps: v, isHovered: y } = UT(e), b = gI({+ }, r), { focusProps: g, isFocusVisible: _ } = BT(), { hoverProps: v, isHovered: y } = WT(e), b = gI({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36861,7 +36861,7 @@ var ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.creisFocusVisible: _,isDisabled: h}- }), x = US(e, { global: !0 });+ }), x = WS(e, { global: !0 });return delete x.id, /*#__PURE__*/ P.createElement(SI.div, {...K(x, u, v),...b,@@ -36875,7 +36875,7 @@ var ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ P.createElement(xw, null, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(Sw, null, /*#__PURE__*/ P.createElement("input", {ref: s,...K(d, g)})), /*#__PURE__*/ P.createElement(hI, { values: [[AI, {@@ -37233,7 +37233,7 @@ function IL(e) {return /*#__PURE__*/ P.createElement(dde.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var LL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), RL = /*#__PURE__*/ (0, P.createContext)({}), fde = /*#__PURE__*/ lS(class extends fb {+var LL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), RL = /*#__PURE__*/ (0, P.createContext)({}), fde = /*#__PURE__*/ uS(class extends pb {static {this.type = "separator";}@@ -37249,11 +37249,11 @@ var LL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), RL = /*#__PURE_[e, t] = vI(e, t, RL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = SI[c], { separatorProps: u } = yoe({+ let l = SI[c], { separatorProps: u } = voe({...s,elementType: n,orientation: r- }), d = US(e, { global: !0 });+ }), d = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(l, {render: e.render,...K(d, u),@@ -37325,7 +37325,7 @@ function pde(e, t) {return !0;}function HL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = dw((0, P.useMemo)(() => UL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => UL(e.defaultSelectedKeys, new VL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = fw((0, P.useMemo)(() => UL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => UL(e.defaultSelectedKeys, new VL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, P.useRef)(i);return (0, P.useEffect)(() => {@@ -37418,7 +37418,7 @@ var WL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && DT(this.collection, n, e) < 0) && (e = n);+ (!e || n && OT(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37426,7 +37426,7 @@ var WL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && DT(this.collection, n, e) > 0) && (e = n);+ (!e || n && OT(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37456,7 +37456,7 @@ var WL = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? DT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? OT(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);@@ -37506,7 +37506,7 @@ var WL = 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(wT(CT(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(TT(wT(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37766,14 +37766,14 @@ function YL(e, t) {}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjsfunction XL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = DS((e) => {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = OS((e) => {for (let t of e) t.isIntersecting && r && r();});- zb(() => {+ Bb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: UC(t?.current),+ root: WC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37795,7 +37795,7 @@ var ZL = /*#__PURE__*/ (0, P.createContext)(null), QL = /*#__PURE__*/ (0, P.creastate: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ P.createElement(oS, { content: /*#__PURE__*/ P.createElement(pS, e) }, (n) => /*#__PURE__*/ P.createElement(vde, {+ }) : /*#__PURE__*/ P.createElement(sS, { content: /*#__PURE__*/ P.createElement(mS, e) }, (n) => /*#__PURE__*/ P.createElement(vde, {props: e,listBoxRef: t,collection: n@@ -37820,10 +37820,10 @@ function vde({ props: e, listBoxRef: t, collection: n }) {}function $L({ state: e, props: t, listBoxRef: n }) {[t, n] = vI(t, n, CI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = gde(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = FS(), { disabledBehavior: p, disabledKeys: m } = l, h = MT({+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = gde(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = IS(), { disabledBehavior: p, disabledKeys: m } = l, h = NT({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(OI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Pw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(OI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Fw({collection: c,collator: h,ref: n,@@ -37844,7 +37844,7 @@ function $L({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = zae({+ ]), { listBoxProps: x } = Rae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37876,7 +37876,7 @@ function $L({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = zT(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = BT(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -37894,8 +37894,8 @@ function $L({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let ne = US(t, { global: !0 });- return /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(SI.div, {+ let ne = WS(t, { global: !0 });+ return /*#__PURE__*/ P.createElement(yC, null, /*#__PURE__*/ P.createElement(SI.div, {...K(ne, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37928,7 +37928,7 @@ function $L({ state: e, props: t, listBoxRef: n }) {}))), te, E));}function yde(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, P.useContext)(QL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(jL), { CollectionBranch: s } = (0, P.useContext)(OI), [c, l] = yI(), { headingProps: u, groupProps: d } = Bae({+ let i = (0, P.useContext)(QL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(jL), { CollectionBranch: s } = (0, P.useContext)(OI), [c, l] = yI(), { headingProps: u, groupProps: d } = zae({heading: l,"aria-label": e["aria-label"] ?? void 0}), f = gI({@@ -37937,7 +37937,7 @@ function yde(e, t, n, r = "react-aria-ListBoxSection") {children: void 0,defaultClassName: r,values: void 0- }), p = US(e, { global: !0 });+ }), p = WS(e, { global: !0 });return delete p.id, /*#__PURE__*/ P.createElement(SI.section, {...K(p, f, d),ref: t@@ -37950,16 +37950,16 @@ function yde(e, t, n, r = "react-aria-ListBoxSection") {renderDropIndicator: NL(a, o)})));}-var bde = /*#__PURE__*/ lS(hb, function(e, t, n) {- let r = Xx(t), i = (0, P.useContext)(QL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(jL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Vae({+var bde = /*#__PURE__*/ uS(gb, function(e, t, n) {+ let r = Zx(t), i = (0, P.useContext)(QL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(jL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Bae({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = UT({+ }, i, r), { hoverProps: p, isHovered: m } = WT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Yx(e), { focusProps: g } = Gx(e), _ = null;+ }), { keyboardProps: h } = Xx(e), { focusProps: g } = Kx(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37988,7 +37988,7 @@ var bde = /*#__PURE__*/ lS(hb, function(e, t, n) {(0, P.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? SI.a : SI.div, S = US(e, { global: !0 });+ let x = e.href ? SI.a : SI.div, S = WS(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ P.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -38009,7 +38009,7 @@ var bde = /*#__PURE__*/ lS(hb, function(e, t, n) {} }], [LL, { isSelected: f.isSelected }]] }, b.children));});function xde(e, t) {- t = Xx(t);+ t = Zx(t);let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(jL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);return a ? null : /*#__PURE__*/ P.createElement(Cde, {...e,@@ -38033,7 +38033,7 @@ function Sde(e, t) {}));}var Cde = /*#__PURE__*/ (0, P.forwardRef)(Sde);-lS(mb, function(e, t, n) {+uS(hb, function(e, t, n) {let r = (0, P.useContext)(QL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);XL((0, P.useMemo)(() => ({onLoadMore: a,@@ -38068,7 +38068,7 @@ lS(mb, function(e, t, n) {width: 1}})), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(SI.div, {- ...K(US(e, { global: !0 }), { tabIndex: -1 }),+ ...K(WS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -38078,7 +38078,7 @@ lS(mb, function(e, t, n) {var wde = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjsfunction eR(e) {- let [t, n] = dw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);+ let [t, n] = fw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);return {isOpen: t,setOpen: n,@@ -38098,9 +38098,9 @@ function eR(e) {// node_modules/react-aria/dist/private/utils/animation.mjsfunction tR(e, t = !0, n) {let [r, i] = (0, P.useState)(!0), a = r && t;- return zb(() => {- if (!t && e.current) return Fx(Ob(e.current, "opacity", "0"), Ob(e.current, "clip", "rect(0 0 0 0)"), Ob(e.current, "clip-path", "inset(50%)"), Ob(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), zb(() => {+ return Bb(() => {+ if (!t && e.current) return Ix(kb(e.current, "opacity", "0"), kb(e.current, "clip", "rect(0 0 0 0)"), kb(e.current, "clip-path", "inset(50%)"), kb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), Bb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();}, [e, a]), rR(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;}@@ -38119,8 +38119,8 @@ function nR(e, t, n) {}, [])), a;}function rR(e, t, n, r) {- let i = (0, P.useRef)(null), a = DS(n);- zb(() => {+ let i = (0, P.useRef)(null), a = OS(n);+ Bb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -38147,7 +38147,7 @@ function rR(e, t, n, r) {// node_modules/react-aria-components/dist/private/Popover.mjsvar iR = /*#__PURE__*/ (0, P.createContext)(null), aR = /*#__PURE__*/ (0, P.createContext)(null), oR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {[e, t] = vI(e, t, iR);- let n = (0, P.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = nS(), { direction: c } = FS();+ let n = (0, P.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = rS(), { direction: c } = IS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -38168,7 +38168,7 @@ var iR = /*#__PURE__*/ (0, P.createContext)(null), aR = /*#__PURE__*/ (0, P.crea});});function Tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(aR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = poe({+ let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(aR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = foe({...i,offset: i.offset ?? 8,arrowRef: a,@@ -38183,10 +38183,10 @@ function Tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, P.useState)(i.trigger === "PreviewTrigger");- zb(() => {+ Bb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, P.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Cx() !== "pointer") && g.current && !Nb(g.current) && Px(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || wx() !== "pointer") && g.current && !Pb(g.current) && Fx(g.current);}, [x,g,@@ -38199,7 +38199,7 @@ function Tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}, [y.children, r]), [w, T] = (0, P.useState)(null), E = (0, P.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- zb(E, [E]), VE({+ Bb(E, [E]), HE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38209,9 +38209,9 @@ function Tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- zb(() => AD(() => u(!0)), []);+ Bb(() => jD(() => u(!0)), []);let O = /*#__PURE__*/ P.createElement(SI.div, {- ...K(US(i, { global: !0 }), d),+ ...K(WS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38226,17 +38226,17 @@ function Tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ P.createElement(CD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(wde.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(wD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(wde.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ P.createElement(CD, { onDismiss: e.close }));- return c ? /*#__PURE__*/ P.createElement(LT, {+ } }, C), /*#__PURE__*/ P.createElement(wD, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ P.createElement(RT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ P.createElement(LT, {+ }, O) : /*#__PURE__*/ P.createElement(RT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38326,7 +38326,7 @@ var Dde = class {};// node_modules/react-stately/dist/private/tree/useTreeState.mjsfunction cR(e) {- let { onExpandedChange: t } = e, [n, r] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = HL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = qL(e, (0, P.useCallback)((e) => new Dde(e, { expandedKeys: n }), [n]), null);+ let { onExpandedChange: t } = e, [n, r] = fw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = HL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = qL(e, (0, P.useCallback)((e) => new Dde(e, { expandedKeys: n }), [n]), null);return (0, P.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38347,11 +38347,11 @@ function Ode(e, t) {// node_modules/react-aria-components/dist/private/Menu.mjsvar lR = /*#__PURE__*/ (0, P.createContext)(null), uR = /*#__PURE__*/ (0, P.createContext)(null), dR = /*#__PURE__*/ (0, P.createContext)(null), fR = /*#__PURE__*/ (0, P.createContext)(null);function kde(e) {- let t = sR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = vT({+ let t = sR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = yT({...e,type: "menu"}, t, n), a = (0, P.useRef)(null);- return nS() ? null : /*#__PURE__*/ P.createElement(hI, { values: [+ return rS() ? null : /*#__PURE__*/ P.createElement(hI, { values: [[lR, {...i,ref: a@@ -38366,14 +38366,14 @@ function kde(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ P.createElement(wae, {+ ] }, /*#__PURE__*/ P.createElement(Cae, {...r,ref: n,isPressed: t.isOpen}, e.children));}var Ade = /*#__PURE__*/ (0, P.createContext)(null);-(class extends fb {+(class extends pb {static {this.type = "submenutrigger";}@@ -38387,7 +38387,7 @@ var Ade = /*#__PURE__*/ (0, P.createContext)(null);}});var jde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = vI(e, t, lR), /*#__PURE__*/ P.createElement(oS, { content: /*#__PURE__*/ P.createElement(pS, e) }, (n) => /*#__PURE__*/ P.createElement(Mde, {+ return [e, t] = vI(e, t, lR), /*#__PURE__*/ P.createElement(sS, { content: /*#__PURE__*/ P.createElement(mS, e) }, (n) => /*#__PURE__*/ P.createElement(Mde, {props: e,collection: n,menuRef: t@@ -38399,7 +38399,7 @@ function Mde({ props: e, collection: t, menuRef: n }) {...e,collection: a,children: void 0- }), s = (0, P.useContext)(dR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(OI), { menuProps: u } = Hae({+ }), s = (0, P.useContext)(dR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(OI), { menuProps: u } = Vae({...e,isVirtualized: c,onClose: e.onClose || s?.close@@ -38413,8 +38413,8 @@ function Mde({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = US(e, { global: !0 });- return /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(SI.div, {+ let p = WS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(yC, null, /*#__PURE__*/ P.createElement(SI.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,@@ -38463,7 +38463,7 @@ var Nde = class extends WL {}};function pR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, P.useContext)(uR), { CollectionBranch: a } = (0, P.useContext)(OI), [o, s] = yI(), { headingProps: c, groupProps: l } = Wae({+ let i = (0, P.useContext)(uR), { CollectionBranch: a } = (0, P.useContext)(OI), [o, s] = yI(), { headingProps: c, groupProps: l } = Uae({heading: s,"aria-label": n.props["aria-label"] ?? void 0}), u = gI({@@ -38474,7 +38474,7 @@ function pR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, P.useContext)(fR), f = HL(e), p = e.selectionMode == null ? d : new Nde(d, f), m = _I(hR)?.shouldCloseOnSelect, h = US(e, { global: !0 });+ }), d = (0, P.useContext)(fR), f = HL(e), p = e.selectionMode == null ? d : new Nde(d, f), m = _I(hR)?.shouldCloseOnSelect, h = WS(e, { global: !0 });return delete h.id, /*#__PURE__*/ P.createElement(SI.section, {...K(h, u, l),ref: t@@ -38490,15 +38490,15 @@ function pR(e, t, n, r = "react-aria-MenuSection") {parent: n})));}-var mR = /*#__PURE__*/ uS(gb, pR), hR = /*#__PURE__*/ (0, P.createContext)(null), gR = /*#__PURE__*/ lS(hb, function(e, t, n) {+var mR = /*#__PURE__*/ dS(_b, pR), hR = /*#__PURE__*/ (0, P.createContext)(null), gR = /*#__PURE__*/ uS(gb, function(e, t, n) {[e, t] = vI(e, t, hR);- let r = _I(hR)?.id, i = (0, P.useContext)(uR), a = Xx(t), o = (0, P.useContext)(fR), { isVirtualized: s } = (0, P.useContext)(OI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Uae({+ let r = _I(hR)?.id, i = (0, P.useContext)(uR), a = Zx(t), o = (0, P.useContext)(fR), { isVirtualized: s } = (0, P.useContext)(OI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Hae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = UT({ isDisabled: f.isDisabled }), h = gI({+ }, i, a), { hoverProps: p, isHovered: m } = WT({ isDisabled: f.isDisabled }), h = gI({...e,id: void 0,children: n.rendered,@@ -38512,7 +38512,7 @@ var mR = /*#__PURE__*/ uS(gb, pR), hR = /*#__PURE__*/ (0, P.createContext)(null)hasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? SI.a : SI.div, _ = US(e, { global: !0 });+ }), g = e.href ? SI.a : SI.div, _ = WS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(g, {...K(_, h, c, p),ref: a,@@ -38535,7 +38535,7 @@ var mR = /*#__PURE__*/ uS(gb, pR), hR = /*#__PURE__*/ (0, P.createContext)(null)[LL, { isSelected: f.isSelected }]] }, h.children));});-lS(mb, function(e, t, n) {+uS(hb, function(e, t, n) {let r = (0, P.useContext)(uR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);XL((0, P.useMemo)(() => ({onLoadMore: a,@@ -38570,7 +38570,7 @@ lS(mb, function(e, t, n) {width: 1}})), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(SI.div, {- ...K(US(e, { global: !0 }), { tabIndex: -1 }),+ ...K(WS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38580,7 +38580,7 @@ lS(mb, function(e, t, n) {var _R = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.createContext)(null), yR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let n = e["aria-labelledby"];[e, t] = vI(e, t, _R);- let { dialogProps: r, titleProps: i, contentProps: a } = Eae({+ let { dialogProps: r, titleProps: i, contentProps: a } = Tae({...e,"aria-labelledby": n}, t), o = (0, P.useContext)(vR);@@ -38591,7 +38591,7 @@ var _R = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.creastyle: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = US(e, { global: !0 });+ }), c = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(SI.section, {...K(c, s, r),render: e.render,@@ -38616,7 +38616,7 @@ var _R = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.crea] }, s.children));}), bR = typeof document < "u" && window.visualViewport;function Pde() {- let e = sx(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {+ let e = cx(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {width: 0,height: 0} : xR());@@ -38626,15 +38626,15 @@ function Pde() {}, n = () => {bR && bR.scale > 1 || e(xR());}, i = (n) => {- bR && bR.scale > 1 || wS(G(n)) && (t.current = AD((t) => {+ bR && bR.scale > 1 || TS(G(n)) && (t.current = jD((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(xR()), Yb() && Xb() && window.addEventListener("blur", i, !0), bR ? bR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Yb() && Xb() && window.removeEventListener("blur", i, !0), bR ? bR.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(xR()), Xb() && Zb() && window.addEventListener("blur", i, !0), bR ? bR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Xb() && Zb() && window.removeEventListener("blur", i, !0), bR ? bR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}@@ -38668,7 +38668,7 @@ var Fde = /*#__PURE__*/ (0, P.createContext)(null), SR = /*#__PURE__*/ (0, P.cre});function Lde(e, t) {[e, t] = vI(e, t, Fde);- let n = (0, P.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Xx(t), o = (0, P.useRef)(null), s = nR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = nR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = sx();+ let n = (0, P.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Zx(t), o = (0, P.useRef)(null), s = nR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = nR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = cx();return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(Rde, {...e,state: i,@@ -38680,7 +38680,7 @@ function Lde(e, t) {}var CR = /*#__PURE__*/ (0, P.forwardRef)(Lde);function Rde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = tR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = toe({+ let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = tR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = eoe({...n,isEntering: c}, i, r), d = (0, P.useContext)(_R), f = t ? zde(d, { isEntering: c }) : d, p = gI({@@ -38693,7 +38693,7 @@ function Rde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n}}), m = Pde(), h, g;if (typeof document < "u") {- let e = HC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = UC(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 _ = {@@ -38703,11 +38703,11 @@ function Rde({ 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 zb(() => AD(() => o(!0)), []), /*#__PURE__*/ P.createElement(LT, {+ return Bb(() => jD(() => o(!0)), []), /*#__PURE__*/ P.createElement(RT, {isExiting: n.isExiting,portalContainer: e}, /*#__PURE__*/ P.createElement(SI.div, {- ...K(US(n, { global: !0 }), u),+ ...K(WS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,@@ -38744,7 +38744,7 @@ function zde(e, t) {};}function wR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(SR), s = (0, P.useContext)(vR), c = Xx((0, P.useMemo)(() => Vx(e.modalRef, n), [e.modalRef, n])), l = tR(c, o, e.onEnter), u = gI({+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(SR), s = (0, P.useContext)(vR), c = Zx((0, P.useMemo)(() => Hx(e.modalRef, n), [e.modalRef, n])), l = tR(c, o, e.onEnter), u = gI({...e,defaultClassName: "react-aria-Modal",values: {@@ -38753,20 +38753,20 @@ function wR(e) {state: s}});- return zb(() => {+ return Bb(() => {i && (i.current = e.onExit);}), /*#__PURE__*/ P.createElement(SI.div, {- ...K(US(e, { global: !0 }), t),+ ...K(WS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ P.createElement(CD, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ P.createElement(wD, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjsvar Bde = Math.round(Math.random() * 1e10), Vde = 0;function Hde(e) {- let t = (0, P.useMemo)(() => e.name || `radio-group-${Bde}-${++Vde}`, [e.name]), [n, r] = dw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = nw({+ let t = (0, P.useMemo)(() => e.name || `radio-group-${Bde}-${++Vde}`, [e.name]), [n, r] = fw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = rw({...e,value: n}), c = (t) => {@@ -38793,7 +38793,7 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.crlet { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = Hde({...e,validationBehavior: r- }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = hoe({+ }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = moe({...e,label: o,validationBehavior: r@@ -38808,7 +38808,7 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = US(e, { global: !0 });+ }), p = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(SI.div, {...K(p, f, s),ref: t,@@ -38834,7 +38834,7 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.cr}), DR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = vI(r, t, Wde);- let i = P.useContext(TR), a = Xx((0, P.useMemo)(() => Vx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = moe({+ let i = P.useContext(TR), a = Zx((0, P.useMemo)(() => Hx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = poe({...bI(e),children: typeof e.children == "function" || e.children}, i, a);@@ -38847,7 +38847,7 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.crref: t}));}), OR = /*#__PURE__*/ (0, P.createContext)(null), Gde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(OR), l = P.useContext(TR), { isFocused: u, isFocusVisible: d, focusProps: f } = zT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = UT({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(OR), l = P.useContext(TR), { isFocused: u, isFocusVisible: d, focusProps: f } = BT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = WT({...e,isDisabled: p}), g = gI({@@ -38864,7 +38864,7 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = US(e, { global: !0 });+ }), _ = WS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(SI.label, {...K(_, n, m, g),ref: t,@@ -38877,7 +38877,7 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ P.createElement(xw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(Sw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {...K(r, f),ref: c})), g.children);@@ -38888,7 +38888,7 @@ function Kde(e) {e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = dw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = fw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38915,7 +38915,7 @@ function Kde(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = nw({+ }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = rw({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);@@ -38949,7 +38949,7 @@ function qde(e) {function Jde(e) {return e && e.__esModule ? e.default : e;}-var kR = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.createContext)(null), Yde = /*#__PURE__*/ tS(function(e, t) {+var kR = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.createContext)(null), Yde = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, kR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({isOpen: !1,@@ -38965,7 +38965,7 @@ var kR = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.creai,a]);- return /*#__PURE__*/ P.createElement(oS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Zde, {+ return /*#__PURE__*/ P.createElement(sS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Zde, {props: e,collection: n,selectRef: t@@ -38981,7 +38981,7 @@ function Zde({ props: e, selectRef: t, collection: n }) {collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = zT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = yI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = goe({+ }), { isFocusVisible: o, focusProps: s } = BT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = yI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = hoe({...bI(e),label: u,validationBehavior: i@@ -39003,7 +39003,7 @@ function Zde({ props: e, selectRef: t, collection: n }) {...e,values: y,defaultClassName: "react-aria-Select"- }), x = US(e, { global: !0 });+ }), x = WS(e, { global: !0 });delete x.id;let S = (0, P.useRef)(null);return /*#__PURE__*/ P.createElement(hI, { values: [@@ -39050,12 +39050,12 @@ function Zde({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ P.createElement(voe, {+ }, b.children, /*#__PURE__*/ P.createElement(_oe, {..._,autoComplete: e.autoComplete})));}-for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(function(e, t) {+for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, jR);let n = (0, P.useContext)(AR), { placeholder: r } = _I(kR), i = n.selectedItems.map((e) => {let t = e.props?.children;@@ -39069,7 +39069,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = Dae(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Eae(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -39084,7 +39084,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(fa,o,i- ]), u = VS(Jde(AL), "react-aria-components"), d = gI({+ ]), u = HS(Jde(AL), "react-aria-components"), d = gI({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -39095,7 +39095,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = US(e, { global: !0 });+ }), f = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(SI.span, {ref: t,...f,@@ -39105,7 +39105,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(f}), $de = /*#__PURE__*/ (0, P.createContext)(null), MR = /*#__PURE__*/ (0, P.createContext)(null), efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = vI(r, t, $de);- let i = Xx((0, P.useMemo)(() => Vx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = fw(e), o = boe({+ let i = Zx((0, P.useMemo)(() => Hx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = pw(e), o = yoe({...bI(e),children: typeof e.children == "function" || e.children}, a, i);@@ -39118,7 +39118,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(fref: t}));}), NR = /*#__PURE__*/ (0, P.createContext)(null), tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, P.useContext)(NR), { isFocused: f, isFocusVisible: p, focusProps: m } = zT(), h = a || o, g = (0, P.useContext)(MR), { hoverProps: _, isHovered: v } = UT({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, P.useContext)(NR), { isFocused: f, isFocusVisible: p, focusProps: m } = BT(), h = a || o, g = (0, P.useContext)(MR), { hoverProps: _, isHovered: v } = WT({...e,isDisabled: h}), y = gI({@@ -39136,7 +39136,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(fisRequired: d || !1,state: g}- }), b = US(e, { global: !0 });+ }), b = WS(e, { global: !0 });return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(SI.label, {...K(b, n, _, y),ref: t,@@ -39150,7 +39150,7 @@ for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ P.createElement(xw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(Sw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {...K(r, m),ref: l})), y.children);@@ -39491,10 +39491,10 @@ var rfe = class extends nfe {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return wT(this.body.childNodes)?.key ?? null;+ return TT(this.body.childNodes)?.key ?? null;}getLastKey() {- return ET(this.body.childNodes)?.key ?? null;+ return DT(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39699,8 +39699,8 @@ function ufe(e) {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = CT(n, t);- e = r === "last" ? ET(i)?.key ?? null : wT(i)?.key ?? null;+ let i = wT(n, t);+ e = r === "last" ? DT(i)?.key ?? null : TT(i)?.key ?? null;}}a(e, r);@@ -39725,7 +39725,7 @@ function ufe(e) {}}if (u) {- let i = u.hasChildNodes ? [...CT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...wT(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);}@@ -39762,7 +39762,7 @@ function ffe(e) {...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = fw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39799,7 +39799,7 @@ function pfe(e, t) {function mfe(e) {return e && e.__esModule ? e.default : e;}-var hfe = class extends _b {+var hfe = class extends vb {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39924,18 +39924,18 @@ var hfe = class extends _b {super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new qR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}}, UR = /*#__PURE__*/ (0, P.createContext)(null), gfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let n = Xx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);- zb(() => {+ let n = Zx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);+ Bb(() => {let e = r.current;- for (; e && e !== n.current && !HC(e);) e = e.parentElement;+ for (; e && e !== n.current && !UC(e);) e = e.parentElement;i.current = e;- }, [n]), VE({+ }, [n]), HE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), zb(() => {+ }), Bb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, P.useMemo)(() => ({@@ -39955,7 +39955,7 @@ var hfe = class extends _b {]);return /*#__PURE__*/ P.createElement(SI.div, {render: e.render,- ...US(e, { global: !0 }),+ ...WS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,@@ -39973,8 +39973,8 @@ var hfe = class extends _b {i,a,o- ]), c = /*#__PURE__*/ P.createElement(xfe.Provider, { value: s }, /*#__PURE__*/ P.createElement(pS, e));- return /*#__PURE__*/ P.createElement(oS, {+ ]), c = /*#__PURE__*/ P.createElement(xfe.Provider, { value: s }, /*#__PURE__*/ P.createElement(mS, e));+ return /*#__PURE__*/ P.createElement(sS, {content: c,createCollection: () => new hfe()}, (r) => /*#__PURE__*/ P.createElement(bfe, {@@ -40005,8 +40005,8 @@ var hfe = class extends _b {function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {[e, t] = vI(e, t, CI);let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(UR);- t = Xx((0, P.useMemo)(() => Vx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ t = Zx((0, P.useMemo)(() => Hx(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = fw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, P.useMemo)(() => r.withExpandedKeys(l), [r, l]);let d = ffe({...s,@@ -40015,13 +40015,13 @@ function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = pfe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(OI), { dragAndDropHooks: _ } = e, { gridProps: v } = Toe({+ }), f = pfe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(OI), { dragAndDropHooks: _ } = e, { gridProps: v } = woe({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, P.useRef)(b), (0, P.useRef)(x), (0, P.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = FS(), [k] = (0, P.useState)(() => new IR());+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = IS(), [k] = (0, P.useState)(() => new IR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -40036,7 +40036,7 @@ function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new Pw({+ let e = new Fw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -40061,7 +40061,7 @@ function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = zT(), ee = gI({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = BT(), ee = gI({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -40077,7 +40077,7 @@ function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let re = US(e, { global: !0 });+ let re = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(hI, { values: [[WR, f],[GR, N],@@ -40089,7 +40089,7 @@ function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {[ML, { render: jfe }],[CI, null],[wI, null]- ] }, /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(yfe, {+ ] }, /*#__PURE__*/ P.createElement(yC, null, /*#__PURE__*/ P.createElement(yfe, {...K(re, ee, v, A, w?.collectionProps),style: ne,ref: t,@@ -40105,7 +40105,7 @@ function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {persistedKeys: PL(y, _, C)})))), E);}-var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends fb {+var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends pb {static {this.type = "tableheader";}@@ -40118,8 +40118,8 @@ var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends fb {...e,ref: t});-}), JR = /*#__PURE__*/ uS(qR, (e, t) => {- let n = (0, P.useContext)(WR).collection, r = xb({+}), JR = /*#__PURE__*/ dS(qR, (e, t) => {+ let n = (0, P.useContext)(WR).collection, r = Sb({items: n.headerRows,children: (0, P.useCallback)((e) => {switch (e.type) {@@ -40127,7 +40127,7 @@ var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends fb {default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = KO(), { hoverProps: a, isHovered: o } = UT({+ }), { rowGroupProps: i } = qO(), { hoverProps: a, isHovered: o } = WT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd@@ -40138,12 +40138,12 @@ var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends fb {values: { isHovered: o }});return /*#__PURE__*/ P.createElement(Sfe, {- ...K(US(e, { global: !0 }), i, a),+ ...K(WS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ P.createElement(pS, {+}, (e) => /*#__PURE__*/ P.createElement(mS, {dependencies: e.dependencies,items: e.columns}, e.children)), Cfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {@@ -40157,10 +40157,10 @@ var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends fb {});});function wfe({ item: e }) {- let t = (0, P.useRef)(null), n = (0, P.useContext)(WR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(OI), { rowProps: a } = joe({+ let t = (0, P.useRef)(null), n = (0, P.useContext)(WR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(OI), { rowProps: a } = Aoe({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Roe(n);+ }, n, t), { checkboxProps: o } = Loe(n);return /*#__PURE__*/ P.createElement(Cfe, {...a,ref: t@@ -40169,7 +40169,7 @@ function wfe({ item: e }) {parent: e})));}-var Tfe = class extends fb {+var Tfe = class extends pb {static {this.type = "column";}@@ -40182,15 +40182,15 @@ var Tfe = class extends fb {...e,ref: t});-}), YR = /*#__PURE__*/ lS(Tfe, (e, t, n) => {- let r = Xx(t), i = (0, P.useContext)(WR), { isVirtualized: a } = (0, P.useContext)(OI), { columnHeaderProps: o, isPressed: s } = Ooe({+}), YR = /*#__PURE__*/ uS(Tfe, (e, t, n) => {+ let r = Zx(t), i = (0, P.useContext)(WR), { isVirtualized: a } = (0, P.useContext)(OI), { columnHeaderProps: o, isPressed: s } = Doe({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = zT(), d = (0, P.useContext)(GR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = BT(), d = (0, P.useContext)(GR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = UT({ isDisabled: !e.allowsSorting }), h = gI({+ let { hoverProps: p, isHovered: m } = WT({ isDisabled: !e.allowsSorting }), h = gI({...e,id: void 0,children: n.rendered,@@ -40216,7 +40216,7 @@ var Tfe = class extends fb {...g,width: d.getColumnWidth(n.key)});- let _ = US(e, { global: !0 });+ let _ = WS(e, { global: !0 });return delete _.id, /*#__PURE__*/ P.createElement(Efe, {...K(_, o, u, p),...h,@@ -40236,16 +40236,16 @@ var Tfe = class extends fb {}), XR = /*#__PURE__*/ (0, P.createContext)(null), Dfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let n = (0, P.useContext)(GR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = VS(mfe(AL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(UR), { column: s, triggerRef: c } = (0, P.useContext)(XR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Aoe({+ let r = HS(mfe(AL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(UR), { column: s, triggerRef: c } = (0, P.useContext)(XR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = koe({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = zT(), { hoverProps: _, isHovered: v } = UT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = FS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = BT(), { hoverProps: _, isHovered: v } = WT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = IS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = Xx(t), [w, T] = (0, P.useState)("");+ let C = Zx(t), [w, T] = (0, P.useState)("");(0, P.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);@@ -40261,7 +40261,7 @@ var Tfe = class extends fb {isHovered: v,resizableDirection: S}- }), D = US(e, { global: !0 });+ }), D = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(SI.div, {ref: C,role: "presentation",@@ -40285,7 +40285,7 @@ var Tfe = class extends fb {},"data-testid": "cursor-overlay"}), document.body));-}), ZR = class extends pb {+}), ZR = class extends mb {static {this.type = "tablebody";}@@ -40298,7 +40298,7 @@ var Tfe = class extends fb {...e,ref: t});-}), QR = /*#__PURE__*/ uS(ZR, (e, t, n) => {+}), QR = /*#__PURE__*/ dS(ZR, (e, t, n) => {let r = (0, P.useContext)(WR), { isVirtualized: i } = (0, P.useContext)(OI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(OI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(jL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d@@ -40321,7 +40321,7 @@ var Tfe = class extends fb {style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = KO(), _ = US(e, { global: !0 });+ let { rowGroupProps: g } = qO(), _ = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(Ofe, {...K(_, p, g),ref: t,@@ -40332,12 +40332,12 @@ var Tfe = class extends fb {renderDropIndicator: NL(s, c)}), m);});-(class extends pb {+(class extends mb {static {this.type = "tablefooter";}});-var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kfe = class extends fb {+var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kfe = class extends pb {static {this.type = "item";}@@ -40358,22 +40358,22 @@ var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kf...e,ref: t});-}), tz = /*#__PURE__*/ uS(kfe, (e, t, n) => {- let r = Xx(t), i = (0, P.useContext)(WR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(jL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(OI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Poe({+}), tz = /*#__PURE__*/ dS(kfe, (e, t, n) => {+ let r = Zx(t), i = (0, P.useContext)(WR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(jL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(OI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Noe({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = zT(), { isFocusVisible: _, focusProps: v } = zT({ within: !0 }), { hoverProps: y, isHovered: b } = UT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = BT(), { isFocusVisible: _, focusProps: v } = BT({ within: !0 }), { hoverProps: y, isHovered: b } = WT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Loe({ key: n.key }, i), S;+ }), { checkboxProps: x } = Ioe({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = bw();+ let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = xw();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40404,7 +40404,7 @@ var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kfisExpanded: j,level: n.level + 1}- }), ee = US(e, { global: !0 });+ }), ee = WS(e, { global: !0 });return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(ez, {role: "row",style: { height: 0 }@@ -40460,12 +40460,12 @@ var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kf}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ P.createElement(pS, {+ return /*#__PURE__*/ P.createElement(mS, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), Afe = class extends fb {+}), Afe = class extends pb {static {this.type = "cell";}@@ -40478,16 +40478,16 @@ var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kf...e,ref: t});-}), rz = /*#__PURE__*/ lS(Afe, (e, t, n) => {- let r = Xx(t), i = (0, P.useContext)(WR), { dragState: a } = (0, P.useContext)(jL), { isVirtualized: o } = (0, P.useContext)(OI);+}), rz = /*#__PURE__*/ uS(Afe, (e, t, n) => {+ let r = Zx(t), i = (0, P.useContext)(WR), { dragState: a } = (0, P.useContext)(jL), { isVirtualized: o } = (0, P.useContext)(OI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Eoe({+ let { gridCellProps: s, isPressed: c } = Toe({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = zT(), { hoverProps: f, isHovered: p } = UT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)($R), 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 = gI({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = BT(), { hoverProps: f, isHovered: p } = WT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)($R), 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 = gI({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40506,7 +40506,7 @@ var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kflevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = US(e, { global: !0 });+ }), S = WS(e, { global: !0 });return delete S.id, /*#__PURE__*/ P.createElement(nz, {...K(S, x, s, d, f),ref: r,@@ -40524,7 +40524,7 @@ var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kf}, /*#__PURE__*/ P.createElement(OI.Provider, { value: EI }, x.children));});function jfe(e, t) {- t = Xx(t);+ t = Zx(t);let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(jL), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;@@ -40557,14 +40557,14 @@ var Mfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {});});function Pfe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(WR), { visuallyHiddenProps: c } = bw(), l = gI({+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(WR), { visuallyHiddenProps: c } = xw(), l = gI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});return /*#__PURE__*/ P.createElement(Mfe, {- ...US(e, { global: !0 }),+ ...WS(e, { global: !0 }),...l,role: "row",ref: t,@@ -40583,7 +40583,7 @@ function Pfe(e, t) {}var Ffe = /*#__PURE__*/ (0, P.forwardRef)(Pfe);function Ife() {- let e = (0, P.useContext)(WR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(jL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = bw();+ let e = (0, P.useContext)(WR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(jL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = xw();return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(ez, {role: "row","aria-hidden": i["aria-hidden"],@@ -40599,7 +40599,7 @@ function Ife() {ref: r})));}-lS(mb, function(e, t, n) {+uS(hb, function(e, t, n) {let r = (0, P.useContext)(WR), { isVirtualized: i } = (0, P.useContext)(OI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);XL((0, P.useMemo)(() => ({onLoadMore: o,@@ -40634,7 +40634,7 @@ lS(mb, function(e, t, n) {width: 1}}))), a && d.children && /*#__PURE__*/ P.createElement(ez, {- ...K(US(e, { global: !0 }), f),+ ...K(WS(e, { global: !0 }), f),...d,role: "row",ref: t,@@ -40648,7 +40648,7 @@ lS(mb, function(e, t, n) {});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjsfunction Lfe(e) {- let [t, n] = dw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = JL({+ let [t, n] = fw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = JL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40702,7 +40702,7 @@ var az = /*#__PURE__*/ (0, P.createContext)(null), oz = /*#__PURE__*/ (0, P.creareturn n = (0, P.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ P.createElement(oS, { content: n }, (n) => /*#__PURE__*/ P.createElement(Bfe, {+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(sS, { content: n }, (n) => /*#__PURE__*/ P.createElement(Bfe, {props: e,collection: n,tabsRef: t@@ -40713,7 +40713,7 @@ function Bfe({ props: e, tabsRef: t, collection: n }) {...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = zT({ within: !0 }), c = (0, P.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = BT({ within: !0 }), c = (0, P.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40725,7 +40725,7 @@ function Bfe({ props: e, tabsRef: t, collection: n }) {...e,defaultClassName: "react-aria-Tabs",values: c- }), u = US(e, { global: !0 });+ }), u = WS(e, { global: !0 });return /*#__PURE__*/ P.createElement(SI.div, {...K(u, l, a),ref: t,@@ -40740,10 +40740,10 @@ var sz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {return (0, P.useContext)(oz) ? /*#__PURE__*/ P.createElement(Vfe, {props: e,forwardedRef: t- }) : /*#__PURE__*/ P.createElement(pS, e);+ }) : /*#__PURE__*/ P.createElement(mS, e);});function Vfe({ props: e, forwardedRef: t }) {- let n = (0, P.useContext)(oz), { CollectionRoot: r } = (0, P.useContext)(OI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = _I(az), o = Xx(t), { tabListProps: s } = Voe({+ let n = (0, P.useContext)(oz), { CollectionRoot: r } = (0, P.useContext)(OI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = _I(az), o = Zx(t), { tabListProps: s } = Boe({...e,orientation: i,keyboardActivation: a@@ -40755,7 +40755,7 @@ function Vfe({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = US(e, { global: !0 });+ }), l = WS(e, { global: !0 });return delete l.id, /*#__PURE__*/ P.createElement(SI.div, {...K(l, c, s),ref: o,@@ -40765,15 +40765,15 @@ function Vfe({ props: e, forwardedRef: t }) {persistedKeys: kI(n.selectionManager.focusedKey)})));}-var Hfe = /*#__PURE__*/ lS(class extends fb {+var Hfe = /*#__PURE__*/ uS(class extends pb {static {this.type = "item";}}, (e, t, n) => {- let r = (0, P.useContext)(oz), i = Xx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = zoe({+ let r = (0, P.useContext)(oz), i = Zx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Roe({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = zT(), { hoverProps: f, isHovered: p } = UT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = BT(), { hoverProps: f, isHovered: p } = WT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,@@ -40791,7 +40791,7 @@ var Hfe = /*#__PURE__*/ lS(class extends fb {isPressed: c,isHovered: p}- }), h = n.props.href ? SI.a : SI.div, g = US(e, { global: !0 });+ }), h = n.props.href ? SI.a : SI.div, g = WS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -40802,8 +40802,8 @@ var Hfe = /*#__PURE__*/ lS(class extends fb {"data-pressed": c || void 0,"data-hovered": p || void 0}, /*#__PURE__*/ P.createElement(LL.Provider, { value: { isSelected: o } }, m.children));-}), Ufe = /*#__PURE__*/ tS(function(e, t) {- let n = (0, P.useContext)(oz), r = Xx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);+}), Ufe = /*#__PURE__*/ nS(function(e, t) {+ let n = (0, P.useContext)(oz), r = Zx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);let s = nR(r, i);return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(Wfe, {@@ -40814,7 +40814,7 @@ var Hfe = /*#__PURE__*/ lS(class extends fb {});});function Wfe(e) {- let t = (0, P.useContext)(oz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Hoe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = zT(), d = t.selectedKey === e.id, f = tR(r) && !i, p = gI({+ let t = (0, P.useContext)(oz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Voe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = BT(), d = t.selectedKey === e.id, f = tR(r) && !i, p = gI({...e,defaultClassName: "react-aria-TabPanel",values: {@@ -40825,7 +40825,7 @@ function Wfe(e) {isExiting: a,state: t}- }), m = US(o, { global: !0 });+ }), m = WS(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);return /*#__PURE__*/ P.createElement(SI.div, {@@ -40845,7 +40845,7 @@ var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {return i;}, Kfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {[e, t] = vI(e, t, cz);- let { hoverProps: n, isHovered: r } = UT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = zT({+ let { hoverProps: n, isHovered: r } = WT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = BT({isTextInput: !0,autoFocus: e.autoFocus}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = gI({@@ -40869,11 +40869,11 @@ var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), qfe = /*#__PURE__*/ (0, P.createContext)(null), Jfe = /*#__PURE__*/ tS(function(e, t) {+}), qfe = /*#__PURE__*/ (0, P.createContext)(null), Jfe = /*#__PURE__*/ nS(function(e, t) {[e, t] = vI(e, t, qfe);let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);[e, i] = vI(e, i, wI);- let [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = lae({+ let [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = cae({...bI(e),inputElementType: s,label: o,@@ -40889,7 +40889,7 @@ var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = US(e, { global: !0 });+ }), g = WS(e, { global: !0 });return delete g.id, /*#__PURE__*/ P.createElement(SI.div, {...g,...h,@@ -40923,7 +40923,7 @@ var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {} }],[LI, p]] }, h.children));-}), Yfe = class e extends _b {+}), Yfe = class e extends vb {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;@@ -40996,8 +40996,8 @@ var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}}, Xfe = /*#__PURE__*/ (0, P.createContext)(null), lz = /*#__PURE__*/ (0, P.createContext)(null), Zfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = vI(e, t, Xfe), /*#__PURE__*/ P.createElement(oS, {- content: /*#__PURE__*/ P.createElement(pS, e),+ return [e, t] = vI(e, t, Xfe), /*#__PURE__*/ P.createElement(sS, {+ content: /*#__PURE__*/ P.createElement(mS, e),createCollection: () => new Yfe()}, (n) => /*#__PURE__*/ P.createElement(Qfe, {props: e,@@ -41015,14 +41015,14 @@ var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {}};function Qfe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = FS(), a = MT({+ let { dragAndDropHooks: r } = e, { direction: i } = IS(), a = NT({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, P.useRef)(o), l = (0, P.useRef)(s);(0, P.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, P.useContext)(OI), [y, b] = dw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, P.useContext)(OI), [y, b] = fw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));ape(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));let D = cR({...e,@@ -41032,7 +41032,7 @@ function Qfe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = Uoe({+ }), { gridProps: O } = Hoe({...e,isVirtualized: g,layoutDelegate: _@@ -41054,7 +41054,7 @@ function Qfe({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });ne.setup(e, D, i);- let t = new Pw({+ let t = new Fw({collection: D.collection,collator: a,ref: n,@@ -41081,7 +41081,7 @@ function Qfe({ props: e, collection: t, treeRef: n }) {}}, A, n), M = A.isDropTarget({ type: "root" });}- let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = zT(), ae = {+ let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = BT(), ae = {isEmpty: D.collection.size === 0,isFocused: ie,isFocusVisible: F,@@ -41106,8 +41106,8 @@ function Qfe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let ce = US(e, { global: !0 });- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(SI.div, {+ let ce = WS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yC, null, /*#__PURE__*/ P.createElement(SI.div, {...K(ce, oe, O, re, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -41132,7 +41132,7 @@ function Qfe({ props: e, collection: t, treeRef: n }) {renderDropIndicator: NL(r, A)}))), se)), ee);}-var $fe = /*#__PURE__*/ lS(class extends fb {+var $fe = /*#__PURE__*/ uS(class extends pb {static {this.type = "content";}@@ -41142,29 +41142,29 @@ var $fe = /*#__PURE__*/ lS(class extends fb {values: t});return /*#__PURE__*/ P.createElement(OI.Provider, { value: EI }, n.children);-}), dz = /*#__PURE__*/ (0, P.createContext)(null), epe = /*#__PURE__*/ uS(class extends fb {+}), dz = /*#__PURE__*/ (0, P.createContext)(null), epe = /*#__PURE__*/ dS(class extends pb {static {this.type = "item";}}, (e, t, n) => {let r = (0, P.useContext)(lz);- t = Xx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(jL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ak({+ t = Zx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(jL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = jk({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: _ } = UT({+ }, 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: _ } = WT({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = zT(), { isFocusVisible: b, focusProps: x } = zT({ within: !0 }), { checkboxProps: S } = Rae({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = BT(), { isFocusVisible: b, focusProps: x } = BT({ within: !0 }), { checkboxProps: S } = Lae({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = bw();+ let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = xw();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -41220,7 +41220,7 @@ var $fe = /*#__PURE__*/ lS(class extends fb {(0, P.useEffect)(() => {a && ne.current;}, []);- let N = xb({+ let N = Sb({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41230,7 +41230,7 @@ var $fe = /*#__PURE__*/ lS(class extends fb {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), re = zx(), ie = US(e, { global: !0 });+ }), re = Bx(), ie = WS(e, { global: !0 });return delete ie.id, delete ie.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, w && !w.isHidden && /*#__PURE__*/ P.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41298,7 +41298,7 @@ var $fe = /*#__PURE__*/ lS(class extends fb {[LL, { isSelected: f.isSelected }]] }, N))));});-lS(mb, function(e, t, n) {+uS(hb, function(e, t, n) {let { isVirtualized: r } = (0, P.useContext)(OI), i = (0, P.useContext)(lz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);XL((0, P.useMemo)(() => ({onLoadMore: o,@@ -41309,8 +41309,8 @@ lS(mb, function(e, t, n) {o,s,i?.collection- ]), l), t = Xx(t);- let { rowProps: u, gridCellProps: d } = Ak({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = Zx(t);+ let { rowProps: u, gridCellProps: d } = jk({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]}, m = gI({@@ -41337,7 +41337,7 @@ lS(mb, function(e, t, n) {}})), a && m.children && /*#__PURE__*/ P.createElement(SI.div, {ref: t,- ...K(US(e), p),+ ...K(WS(e), p),...m,"data-level": f}, /*#__PURE__*/ P.createElement("div", {@@ -41346,7 +41346,7 @@ lS(mb, function(e, t, n) {}, m.children)));});function tpe(e, t) {- t = Xx(t);+ t = Zx(t);let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(jL), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;@@ -41360,7 +41360,7 @@ function tpe(e, t) {});}function npe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = bw(), c = gI({+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = xw(), c = gI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41384,7 +41384,7 @@ function npe(e, t) {}var rpe = /*#__PURE__*/ (0, P.forwardRef)(npe);function ipe() {- let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(jL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = bw();+ let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(jL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = xw();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ P.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41864,7 +41864,7 @@ function kz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrreturn /* @__PURE__ */ (0, F.jsxs)(jI, {"data-label": "true",...a,- className: oF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: sF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, F.jsx)("span", {@@ -41884,7 +41884,7 @@ function Az({ isInvalid: e = !1, className: t, ...n }) {return /* @__PURE__ */ (0, F.jsx)(Jue, {slot: e ? "errorMessage" : "description",...n,- className: oF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: sF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx@@ -41899,13 +41899,13 @@ function Mz({ size: e = "medium", fieldClassName: t, inputClassName: n, classNamchildren: /* @__PURE__ */ (0, F.jsx)(Jfe, {...a,"data-input-size": e,- className: oF("group flex h-max w-full flex-col items-start gap-1", r),+ className: sF("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}Mz.displayName = "TextField";-var Nz = sF({+var Nz = cF({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",@@ -41924,7 +41924,7 @@ function Pz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCllet l = (0, P.useContext)(jz), u = e ?? l.size ?? "medium", d = r != null;return /* @__PURE__ */ (0, F.jsx)(UI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => oF(Nz.field, d ? Nz.fieldWithAddonSize[u] : Nz.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 }) => sF(Nz.field, d ? Nz.fieldWithAddonSize[u] : Nz.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, F.jsxs)("div", {className: Nz.content,children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -41935,7 +41935,7 @@ function Pz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl}) : null, /* @__PURE__ */ (0, F.jsx)(ede, {ref: o,...c,- className: oF(Nz.input, l.inputClassName, a)+ className: sF(Nz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, F.jsx)(n, {className: Nz.icon,@@ -41982,7 +41982,7 @@ var Kpe = {collections: "max-w-4xl"};function Iz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = Ex();+ let { isFocusVisible: a } = Dx();return /* @__PURE__ */ (0, F.jsx)(CR, {isOpen: e,onOpenChange: t,@@ -42014,9 +42014,9 @@ function Lz({ children: e }) {function Rz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-note-layout": "",- className: oF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: sF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {- className: oF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: sF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -42033,27 +42033,27 @@ function Rz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, F.jsx)("div", {role: "status",- className: oF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: sF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, F.jsx)("div", {role: "status",- className: oF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: sF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, F.jsx)("div", {role: "note",- className: oF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: sF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, F.jsx)("div", {role: "alert",- className: oF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: sF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, F.jsx)("div", {role: "note",- className: oF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: sF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}@@ -43445,7 +43445,7 @@ function fhe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: rreturn /* @__PURE__ */ (0, F.jsx)("nav", {ref: r,"aria-label": t,- className: oF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: sF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, F.jsx)("ol", {className: "flex items-center gap-2.5 px-1",children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(dhe, {@@ -43462,10 +43462,10 @@ function QB({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN}), e] });if (i) return /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "page",- className: oF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: sF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = oF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = sF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, F.jsx)("li", {className: "flex items-center",children: n ? /* @__PURE__ */ (0, F.jsx)(lhe, {@@ -43475,14 +43475,14 @@ function QB({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN}) : /* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: r,- className: oF("cursor-pointer", s),+ className: sF("cursor-pointer", s),children: o})});}// src/react/boardui/components/foundations/direction/direction.tsxfunction $B() {- return FS().direction;+ return IS().direction;}// src/react/boardui/components/base/dropdown/menu-styles.tsvar eV = "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", phe = "w-[266px]", mhe = "flex w-full flex-col gap-1 outline-none", tV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", nV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";@@ -43514,7 +43514,7 @@ function hhe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single","data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => oF("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 === iV ? "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) => sF("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 === iV ? "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)})})});@@ -43529,7 +43529,7 @@ function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => oF("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),+ className: (e) => sF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),children: [/* @__PURE__ */ (0, F.jsx)($fe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {let f = n === null ? null : o && r ? r : n ?? (t ? o ? vz : _z : Tpe);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -43549,14 +43549,14 @@ function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNamclassName: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",children: /* @__PURE__ */ (0, F.jsx)(mz, {"aria-hidden": !0,- className: oF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: sF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: oF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: sF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, F.jsx)(f, {"aria-hidden": !0,- className: oF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: sF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -43621,7 +43621,7 @@ function _he({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: oF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: sF("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, F.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43648,8 +43648,8 @@ function _he({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction});}function vhe({ state: e, children: t }) {- let n = by(), r = Yy(), [i, a] = (0, P.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(db.div, {+ let n = by(), r = Xy(), [i, a] = (0, P.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(fb.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43713,7 +43713,7 @@ function oV({ state: e, size: t = "md" }) {let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = aV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: oF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? oF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : oF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: sF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? sF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : sF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43741,12 +43741,12 @@ function sV({ className: e, children: t, size: n = "md", ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)(Zue, {ref: r,...i,- className: (t) => oF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ className: (t) => sF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(oV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: oF(a.label, "text-text-primary"),+ className: sF(a.label, "text-text-primary"),children: t})] })});@@ -44236,9 +44236,9 @@ function Ehe() {function iH({ children: e }) {return /* @__PURE__ */ (0, F.jsx)(se, {client: H,- children: /* @__PURE__ */ (0, F.jsx)(sne, {+ children: /* @__PURE__ */ (0, F.jsx)(one, {reducedMotion: "user",- children: /* @__PURE__ */ (0, F.jsx)(PT, {+ children: /* @__PURE__ */ (0, F.jsx)(FT, {getContainer: Ehe,children: e})@@ -44971,7 +44971,7 @@ function sge(e, t, n) {}}// src/react/boardui/components/base/buttons/link-button.tsx-var kH = sF({+var kH = cF({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",@@ -44989,7 +44989,7 @@ var kH = sF({}});function AH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = oF(kH.base, kH.size[t], kH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+ let c = sF(kH.base, kH.size[t], kH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n ? /* @__PURE__ */ (0, F.jsx)(n, {className: kH.icon[t],"aria-hidden": !0@@ -45137,7 +45137,7 @@ function NH(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 = ub(n, { transform: [r, E] }, uge[e]);+ l = db(n, { transform: [r, E] }, uge[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45631,19 +45631,19 @@ function XH(e) {// src/react/boardui/components/application/settings/settings-rows.tsxfunction ZH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: oF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: sF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}function QH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {- className: oF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: sF("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}function wge({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {- className: oF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: sF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, F.jsx)("p", {@@ -45812,7 +45812,7 @@ function nU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, F.jsx)("div", {- className: oF("flex flex-col gap-2 pt-3", o),+ className: sF("flex flex-col gap-2 pt-3", o),children: r})})]@@ -46118,7 +46118,7 @@ function pU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"data-processing-tone": d ? "error" : h ? "warning" : "neutral","aria-label": "扫描任务",role: d ? "alert" : "status",- className: oF("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: sF("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",@@ -46187,7 +46187,7 @@ function pU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {children: /* @__PURE__ */ (0, F.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, F.jsxs)("div", {- className: oF("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),+ className: sF("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, F.jsx)("ol", {"aria-label": "处理步骤",@@ -46195,16 +46195,16 @@ function pU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {children: e.steps.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: oF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: sF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(hpe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}) : /* @__PURE__ */ (0, F.jsx)(gpe, {"aria-hidden": !0,- className: oF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: sF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, F.jsx)(xw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, F.jsx)(Sw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46600,7 +46600,7 @@ var l_e = class extends P.Component {return this.state.failed ? null : this.props.children;}}, u_e = (0, P.memo)(function({ entry: e, actions: t, go: n }) {- return J6(e.path) ? (0, Lt.createPortal)(AMe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+ return J6(e.path) ? (0, Lt.createPortal)(jMe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});function d_e({ children: e }) {let t = BB();@@ -46614,7 +46614,7 @@ function d_e({ children: e }) {path: e,element: t.element}, e)),- Object.entries(EMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {+ Object.entries(DMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),@@ -46634,7 +46634,7 @@ function d_e({ children: e }) {path: e,element: V6["/"].element}, e)),- Object.entries(DMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {+ Object.entries(OMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),@@ -46725,22 +46725,22 @@ function AU({ className: e, triggerClassName: t, popoverClassName: n, size: r =...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: oF("group flex flex-col", e),+ className: sF("group flex flex-col", e),children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(NI, {ref: l,- className: oF("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),+ className: sF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),children: [/* @__PURE__ */ (0, F.jsx)(Qde, {- className: oF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: sF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, F.jsx)(uhe, { className: oF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, F.jsx)(uhe, { className: sF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]}), /* @__PURE__ */ (0, F.jsx)(oR, {ref: u,isNonModal: !0,offset: 4,- className: oF(phe, eV, "p-2", n),+ className: sF(phe, eV, "p-2", n),children: /* @__PURE__ */ (0, F.jsx)(_de, {items: a,- className: oF(mhe, "max-h-[240px] overflow-auto"),+ className: sF(mhe, "max-h-[240px] overflow-auto"),children: /* @__PURE__ */ (0, F.jsx)(kU.Provider, {value: r,children: i@@ -46753,7 +46753,7 @@ function jU({ className: e, children: t, ...n }) {let r = (0, P.useContext)(kU);return /* @__PURE__ */ (0, F.jsx)(bde, {...n,- className: (t) => oF(tV, 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) => sF(tV, 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});}@@ -47380,12 +47380,12 @@ function LU(e) {var RU = "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", zU = "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", w_e = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", BU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", VU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";// src/react/catalog-grid/catalog-view-toggle.tsxfunction HU() {- let e = PM();+ let e = FM();return /* @__PURE__ */ (0, F.jsxs)(ER, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: cce,+ onChange: sce,"data-entity-layout": "",className: BU,children: [/* @__PURE__ */ (0, F.jsx)(DR, {@@ -47419,7 +47419,7 @@ function HU() {}// src/react/components/icon-swap.tsxfunction UU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = Ex();+ let { isFocusVisible: i } = Dx();return /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47554,18 +47554,18 @@ function O_e(e, t, n, r) {}), sW ||= setTimeout(cW, 800));}// src/react/entity-filter/entity-filter.ts-var lW = (e) => e === "videos", uW = () => /* @__PURE__ */ (0, F.jsx)("span", {+var k_e = (e) => e === "videos", lW = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), dW = Vz("shuffle"), fW = Vz("arrow-up"), pW = Vz("arrow-down");-function mW(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = lW(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), uW = Vz("shuffle"), dW = Vz("arrow-up"), fW = Vz("arrow-down");+function pW(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = k_e(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, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = dI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = dI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = dI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, P.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(yW, {+ }, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(vW, {items: o,hidden: !l,actions: s@@ -47598,19 +47598,19 @@ function mW(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(vW, {+ n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(_W, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, F.jsx)(uW, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(gW, {+ }), d ? /* @__PURE__ */ (0, F.jsx)(lW, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(hW, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, F.jsx)(uW, {})] }) : null,+ }), /* @__PURE__ */ (0, F.jsx)(lW, {})] }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47631,7 +47631,7 @@ function mW(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, F.jsx)(uW, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, F.jsx)(lW, {}) : null]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: y,"data-entity-tags": "",@@ -47644,17 +47644,17 @@ function mW(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(_W, {+ }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(gW, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, F.jsx)(bW, { ...e })+ bottom: /* @__PURE__ */ (0, F.jsx)(yW, { ...e })})] });}-var hW = [[+var mW = [["videos","视频","play",@@ -47665,7 +47665,7 @@ var hW = [["pics","image"]];-function gW({ head: e, row: t, glide: n, onMedia: r }) {+function hW({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {ref: t,role: "group",@@ -47673,7 +47673,7 @@ function gW({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: hW.map(([t, i, a, o]) => {+ children: mW.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47691,7 +47691,7 @@ function gW({ head: e, row: t, glide: n, onMedia: r }) {})});}-function _W({ head: e, actions: t }) {+function gW({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47703,7 +47703,7 @@ function _W({ head: e, actions: t }) {onClick: () => t.onlineProvider(n),dangerouslySetInnerHTML: { __html: qU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(uW, {}) : null,+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(lW, {}) : null,e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-follow-tag": e.k,"data-entity-press": "",@@ -47717,7 +47717,7 @@ function _W({ head: e, actions: t }) {}, e.k))] });}-function vW({ keys: e, view: t, row: n, glide: r, onView: i }) {+function _W({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47765,7 +47765,7 @@ function vW({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function yW({ items: e, hidden: t, actions: n }) {+function vW({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47785,7 +47785,7 @@ function yW({ items: e, hidden: t, actions: n }) {})] }) : null});}-function bW(e) {+function yW(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, F.jsxs)("button", {@@ -47797,27 +47797,27 @@ function bW(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, F.jsx)(xW, {+ /* @__PURE__ */ (0, F.jsx)(bW, {text: n,busy: r}),/* @__PURE__ */ (0, F.jsx)(nB, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(wW, {+ t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(CW, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(DW, {+ t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(EW, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(EW, {+ t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(TW, {head: e.online,actions: o}) : null] });}-function xW({ text: e, busy: t }) {+function bW({ text: e, busy: t }) {return /* @__PURE__ */ (0, F.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, F.jsx)("span", {@@ -47827,7 +47827,7 @@ function xW({ text: e, busy: t }) {}) : e});}-function SW({ name: e, label: t, value: n, options: r, onChange: i }) {+function xW({ name: e, label: t, value: n, options: r, onChange: i }) {return /* @__PURE__ */ (0, F.jsx)(ER, {name: e,"aria-label": t,@@ -47852,23 +47852,23 @@ function SW({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function CW({ onPress: e, busy: t = !1 }) {+function SW({ onPress: e, busy: t = !1 }) {return /* @__PURE__ */ (0, F.jsx)(nI, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: dW,+ icon: uW,onPress: e});}-function wW({ head: e, actions: t }) {- let n = PM();+function CW({ head: e, actions: t }) {+ let n = FM();return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(CW, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(SW, {+ /* @__PURE__ */ (0, F.jsx)(SW, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(xW, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,@@ -47876,14 +47876,14 @@ function wW({ head: e, actions: t }) {}) : null,/* @__PURE__ */ (0, F.jsx)(HU, {}),/* @__PURE__ */ (0, F.jsx)(FU, {}),- /* @__PURE__ */ (0, F.jsx)(TW, {+ /* @__PURE__ */ (0, F.jsx)(wW, {sorts: e.sorts,onSort: t.setSort})]});}-function TW({ sorts: e, onSort: t }) {+function wW({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47892,19 +47892,19 @@ function TW({ sorts: e, onSort: t }) {"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, F.jsx)(UU, {- a: fW,- b: pW,+ a: dW,+ b: fW,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function EW({ head: e, actions: t }) {+function TW({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(CW, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(SW, {+ /* @__PURE__ */ (0, F.jsx)(SW, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(xW, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47924,27 +47924,27 @@ function EW({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, F.jsx)(TW, {+ /* @__PURE__ */ (0, F.jsx)(wW, {sorts: e.sorts,onSort: t.onlineSort})]});}-function DW({ head: e, actions: t, helpers: n }) {+function EW({ head: e, actions: t, helpers: n }) {let [r, i] = (0, P.useState)(!1), a = (0, P.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, P.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, F.jsx)(CW, {+ e.shuffle ? /* @__PURE__ */ (0, F.jsx)(SW, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, F.jsx)(SW, {+ /* @__PURE__ */ (0, F.jsx)(xW, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47959,8 +47959,8 @@ function DW({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var OW = "peach.catalog.tiers.v1";-function kW() {+var DW = "peach.catalog.tiers.v1";+function OW() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -47974,41 +47974,41 @@ function kW() {};}}-function AW(e) {+function kW(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(OW, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(DW, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-var jW = "";-function MW(e) {- let t = !e.tiers, n = BW(e.comboHost);+var AW = "";+function jW(e) {+ let t = !e.tiers, n = zW(e.comboHost);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(yW, {+ n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(vW, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, F.jsx)(FW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(NW, { ...e })+ /* @__PURE__ */ (0, F.jsx)(PW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(MW, { ...e })]});}-function NW(e) {+function MW(e) {let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = dI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, P.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = VW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = BW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, P.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -48069,16 +48069,16 @@ function NW(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(LW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(PW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(IW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(NW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(RW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(LW, { ...e })});}-function PW({ tag: e, onPress: t }) {+function NW({ tag: e, onPress: t }) {return /* @__PURE__ */ (0, F.jsxs)(oI, {"data-catalog-tag": e.k,"data-entity-press": "",@@ -48090,14 +48090,14 @@ function PW({ tag: e, onPress: t }) {})]});}-function FW(e) {+function PW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useCallback)((e) => () => t.moreTops(e), [t]), l = VW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = VW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? kW() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;+ }, i = !e.tiers, a = e.empty || i, o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useCallback)((e) => () => t.moreTops(e), [t]), l = BW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = BW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? OW() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, P.useEffect)(() => {- i || AW({+ i || kW({performers: f,studios: p});@@ -48118,7 +48118,7 @@ function FW(e) {children: [f ? /* @__PURE__ */ (0, F.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, F.jsx)(LW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(IW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -48135,18 +48135,18 @@ function FW(e) {}) : null, p ? /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, F.jsx)(LW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(IW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, F.jsx)(IW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, F.jsx)(FW, { studio: e }), e.name]}, e.name))}) : null]});}-function IW({ studio: e }) {+function FW({ studio: e }) {let [t, n] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("span", {"data-tier-mark": "",@@ -48164,7 +48164,7 @@ function IW({ studio: e }) {}) : e.fallback});}-function LW({ kind: e }) {+function IW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48180,21 +48180,21 @@ function LW({ kind: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", {}), /* @__PURE__ */ (0, F.jsx)("span", { children: "\xA0" })]}, t)) });}-function RW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = PM(), [o, s] = (0, P.useState)(!1);+function LW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = FM(), [o, s] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, F.jsx)(zW, { count: e }), /* @__PURE__ */ (0, F.jsx)(nB, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, F.jsx)(RW, { count: e }), /* @__PURE__ */ (0, F.jsx)(nB, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(CW, {+ /* @__PURE__ */ (0, F.jsx)(SW, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(SW, {+ n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(xW, {name: n.name,label: n.label,value: n.value,@@ -48203,14 +48203,14 @@ function RW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {}, n.name) : null,/* @__PURE__ */ (0, F.jsx)(HU, {}),/* @__PURE__ */ (0, F.jsx)(FU, {}),- /* @__PURE__ */ (0, F.jsx)(TW, {+ /* @__PURE__ */ (0, F.jsx)(wW, {sorts: r,onSort: i.setSort})]})] });}-function zW({ count: e }) {+function RW({ count: e }) {let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, P.useLayoutEffect)(() => {if (e === !1) return;@@ -48219,7 +48219,7 @@ function zW({ count: e }) {return;}let i = t.current;- i && (jW && i.dataset.popCount === void 0 && (i.dataset.popCount = jW), jW = r, As(i, r));+ i && (AW && i.dataset.popCount === void 0 && (i.dataset.popCount = AW), AW = r, As(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, F.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, F.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48235,7 +48235,7 @@ function zW({ count: e }) {})}, "skeleton");}-function BW(e) {+function zW(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -48245,7 +48245,7 @@ function BW(e) {};}, [e]), t;}-function VW(e, t, n, r, i) {+function BW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48288,8 +48288,8 @@ function VW(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var HW = "100% 0px";-function UW(e, t) {+var VW = "100% 0px";+function HW(e, t) {let [n, r] = (0, P.useState)(e ? "skeleton" : "none"), [i] = (0, P.useState)(() => e ? t() : ""), a = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {a.current && Ks(a.current);@@ -48315,7 +48315,7 @@ function UW(e, t) {fading: n === "fade"};}-function WW({ message: e, onRetry: t }) {+function UW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48328,7 +48328,7 @@ function WW({ message: e, onRetry: t }) {});}// src/react/components/art-slot.tsx-function GW({ artwork: e, identity: t = e.html, relayout: n }) {+function WW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, P.useState)({identity: t,artwork: e@@ -48347,63 +48347,63 @@ function GW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/library-catalog.ts-var KW = "peach.library-colors.v1", qW = null, JW = /* @__PURE__ */ new Set();-function YW() {+var GW = "peach.library-colors.v1", KW = null, qW = /* @__PURE__ */ new Set();+function JW() {try {- let e = JSON.parse(localStorage.getItem(KW) || "{}");+ let e = JSON.parse(localStorage.getItem(GW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function XW(e) {- qW = e;+function YW(e) {+ KW = e;try {- localStorage.setItem(KW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(GW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- JW.forEach((t) => t(e));+ qW.forEach((t) => t(e));}-function ZW() {- return qW;+function XW() {+ return KW;}-function QW(e) {- return JW.add(e), () => {- JW.delete(e);+function ZW(e) {+ return qW.add(e), () => {+ qW.delete(e);};}// src/react/components/library-tint.ts-var $W = /* @__PURE__ */ new Map(), eG = !1, tG = /* @__PURE__ */ new Set();-function nG(e) {+var QW = /* @__PURE__ */ new Map(), $W = !1, eG = /* @__PURE__ */ new Set();+function tG(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function rG(e) {- $W = e;+function nG(e) {+ QW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...$W.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${nG(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...QW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${tG(e.color)}}`).join("\n");}-function iG(e) {- rG(e), tG.forEach((e) => e());+function rG(e) {+ nG(e), eG.forEach((e) => e());}-var aG = (e) => new Map(e.map((e) => [e.id, {+var iG = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: Qo[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), oG = !1;-function sG() {- if (oG) return;- oG = !0, QW((e) => iG(aG(e)));- let e = ZW();+}])), aG = !1;+function oG() {+ if (aG) return;+ aG = !0, ZW((e) => rG(iG(e)));+ let e = XW();if (e) {- rG(aG(e));+ nG(iG(e));return;}- let t = Object.entries(YW()).filter(([, e]) => e);- t.length && rG(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(JW()).filter(([, e]) => e);+ t.length && nG(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48411,73 +48411,73 @@ function sG() {color: t}])));}-function cG() {- eG || ZW() || (eG = !0, B("/api/libraries").then((e) => XW(e.libraries || [])).catch(() => {- eG = !1;+function sG() {+ $W || XW() || ($W = !0, B("/api/libraries").then((e) => YW(e.libraries || [])).catch(() => {+ $W = !1;}));}-function lG(e, t) {- let n = $W.get(e) ?? {+function cG(e, t) {+ let n = QW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- iG(new Map([...$W, [e, {+ rG(new Map([...QW, [e, {...n,color: t}]]));}-function uG(e) {- return tG.add(e), () => {- tG.delete(e);+function lG(e) {+ return eG.add(e), () => {+ eG.delete(e);};}-function dG({ names: e = !1 } = {}) {- return sG(), e && cG(), (0, P.useSyncExternalStore)(uG, () => $W, () => $W);+function uG({ names: e = !1 } = {}) {+ return oG(), e && sG(), (0, P.useSyncExternalStore)(lG, () => QW, () => QW);}// src/react/components/row-click.ts-var fG = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function pG(e, t) {+var dG = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function fG(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(fG);+ let r = n.closest(dG);return !r || !t.contains(r) || r === t;}-function mG(e) {+function pG(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var hG = 9 / 16, gG = "未命名视频";-function _G({ name: e }) {+var mG = 9 / 16, hG = "未命名视频";+function gG({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-var vG = {+var _G = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, yG = {+}, vG = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function bG({ item: e }) {+function yG({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && yG[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && vG[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, F.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function xG({ item: e, actions: t }) {+function bG({ item: e, actions: t }) {let [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48496,10 +48496,10 @@ function xG({ item: e, actions: t }) {children: i}) : null] });}-function SG(e, t, n) {- return t === "short" ? hG : LA(n);+function xG(e, t, n) {+ return t === "short" ? mG : LA(n);}-function CG(e) {+function SG(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = uo(e), s = i[0] || "", c = Ya(e);return {avatar: r ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -48531,7 +48531,7 @@ function CG(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48541,16 +48541,16 @@ function CG(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]})};}-function wG() {+function CG() {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-preview": "",@@ -48569,7 +48569,7 @@ function wG() {})]});}-function TG({ item: e, actions: t, on: n, onChange: r }) {+function wG({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-later": "",@@ -48584,11 +48584,11 @@ function TG({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: n ? "check" : "bookmark-plus" })})});}-function EG({ reason: e }) {+function TG({ reason: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {ref: t,@@ -48618,17 +48618,17 @@ function EG({ reason: e }) {})})] });}-function DG(e, t) {+function EG(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 OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = dG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, P.useRef)(e);+function DG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = uG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, P.useRef)(e);_.current = e;let v = (0, P.useCallback)((e) => {let t = _.current;u.current && u.current !== e && Al(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Ml(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 = SG(e, t, n), w = S ? n.size : "small", T = C === hG && !!e.is_jav, E = T ? so(e, !1) : ao(e, w, !1, n.javImage), D = T || w === "small" ? E.html : ao(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || gG, A = o.titleHtml(e, O).trim() || z(gG), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: ne } = CG(e), N = (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 = xG(e, t, n), w = S ? n.size : "small", T = C === mG && !!e.is_jav, E = T ? so(e, !1) : ao(e, w, !1, n.javImage), D = T || w === "small" ? E.html : ao(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || hG, A = o.titleHtml(e, O).trim() || z(hG), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: ne } = SG(e), N = (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;@@ -48655,10 +48655,10 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === hG ? "" : void 0,+ "data-pic-portrait": C === mG ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, F.jsx)(GW, {+ E.html ? /* @__PURE__ */ (0, F.jsx)(WW, {artwork: E,identity: D,relayout: (e) => Sl(e, w)@@ -48672,11 +48672,11 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-group": "",@@ -48691,7 +48691,7 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-duration": "",children: kn(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(xG, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(bG, {item: e,actions: s}) : null,@@ -48707,22 +48707,22 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, F.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, F.jsx)(wG, {}),+ /* @__PURE__ */ (0, F.jsx)(CG, {}),p || g.length ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, F.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "bookmark" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, F.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "heart" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, F.jsx)(TG, {+ i ? null : /* @__PURE__ */ (0, F.jsx)(wG, {item: e,actions: s,on: p,@@ -48737,27 +48737,27 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), DG(u.current, -a);+ e.stopPropagation(), EG(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), DG(u.current, a);+ e.stopPropagation(), EG(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "expand" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "expand" })})]})@@ -48776,7 +48776,7 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: mG,+ onMouseDown: pG,children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48818,15 +48818,15 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "calendar" }), e.release_date]}) : null, /* @__PURE__ */ (0, F.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(EG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(TG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-tags": "",children: N.map((t) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48836,15 +48836,15 @@ function OG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, F.jsx)(bG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(yG, { item: e })]})]})]});}-function kG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, P.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : vG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function OG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, P.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : _G[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, F.jsxs)("article", {ref: o,"data-media-card": "",@@ -48856,14 +48856,14 @@ function kG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: mG,+ onMouseDown: pG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -48875,13 +48875,13 @@ function kG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(_G, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(gG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, F.jsx)(xG, {+ n ? null : /* @__PURE__ */ (0, F.jsx)(bG, {item: e,actions: i})@@ -48892,7 +48892,7 @@ function kG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(_G, { name: u })+ children: /* @__PURE__ */ (0, F.jsx)(gG, { name: u })}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-text": "",children: [@@ -48920,29 +48920,29 @@ function kG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe]}),e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, F.jsx)(bG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(yG, { item: e })]})]})]});}-function AG(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(kG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(OG, { ...e });+function kG(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(OG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(DG, { ...e });}-var jG = (0, P.memo)(AG), MG = 1100, NG = 340, PG = 5e3;-function FG(e, t, n) {+var AG = (0, P.memo)(kG), jG = 1100, MG = 340, NG = 5e3;+function PG(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, PG);+ }, s = () => o(!1), c = setTimeout(s, NG);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function IG({ load: e, canFlip: t, referrerPolicy: n }) {+function FG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, P.useState)([]), [a, o] = (0, P.useState)(0), [s, c] = (0, P.useState)(null), l = (0, P.useRef)({live: !1,generation: 0,@@ -48984,11 +48984,11 @@ function IG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => FG(t, e, n)));+ let s = await Promise.all(a.map((t) => PG(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, MG);+ p(), e.cycle = setInterval(p, jG);}));};return (0, P.useEffect)(() => d, [d]), {@@ -48997,7 +48997,7 @@ function IG({ 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(NG, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(MG, () => {e.armed = null, m();});},@@ -49007,8 +49007,8 @@ function IG({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var LG = Vz("play");-function RG({ src: e }) {+var IG = Vz("play");+function LG({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {"data-mix-poster": "",@@ -49021,8 +49021,8 @@ function RG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var zG = "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 BG({ faces: e, fallback: t, onOpenEntity: n }) {+var RG = "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 zG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, F.jsx)("button", {@@ -49030,18 +49030,18 @@ function BG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${zG} cursor-pointer outline-none`,+ className: `${RG} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: Za(e.name, e, Ma(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${zG} mt-0.5`,+ className: `${RG} mt-0.5`,children: t});}-function VG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let b = IG({+function BG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {+ let b = FG({load: i,canFlip: a}), x = (0, P.useRef)(b.onPointerLeave);@@ -49068,11 +49068,11 @@ function VG({ 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, F.jsx)(GW, {+ f?.html ? /* @__PURE__ */ (0, F.jsx)(WW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, F.jsx)(RG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, F.jsx)(LG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -49102,7 +49102,7 @@ function VG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, F.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, F.jsx)(LG, {+ children: [/* @__PURE__ */ (0, F.jsx)(IG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -49115,8 +49115,8 @@ function VG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, F.jsx)(LG, {})- }) : /* @__PURE__ */ (0, F.jsx)(BG, {+ children: /* @__PURE__ */ (0, F.jsx)(IG, {})+ }) : /* @__PURE__ */ (0, F.jsx)(zG, {faces: o,fallback: Fn(e),onOpenEntity: s@@ -49139,7 +49139,7 @@ function VG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/folia/blockReflows.ts-var HG = [+var VG = [[[{@@ -52700,7 +52700,7 @@ var HG = [}]]-], UG = [+], HG = [[{x: 0,@@ -52997,89 +52997,89 @@ var HG = [rows: 2}]-], WG = (e) => e.map((e) => ({+], UG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), GG = (e) => e.map((e) => ({+})), WG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), KG = [+})), GG = [(e) => e,+ UG,WG,- GG,- (e) => WG(GG(e))-], qG = UG.flatMap((e) => KG.map((t) => t(e))), JG = HG.flatMap((e) => KG.map((t) => e.map(t)));-qG.length;-var YG = (e, t) => {+ (e) => UG(WG(e))+], KG = HG.flatMap((e) => GG.map((t) => t(e))), qG = VG.flatMap((e) => GG.map((t) => e.map(t)));+KG.length;+var JG = (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;-}, XG = (e, t) => {- let n = UG.length;- return ((e + t * 2) % n + n) % n * KG.length + YG(e, t) % KG.length;-}, ZG = (e, t) => qG[XG(e, t)], QG = (e, t, n) => n < 0 || n >= 12 ? null : JG[XG(e, t)][n], $G = 103.36, eK = 6.08, tK = 12 * $G, nK = 8 * $G, rK = 12, iK = (e, t) => (e % t + t) % t, aK = (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 oK(e, t) {- let n = Math.max(1, Math.ceil(e / rK)), r = t ? 3 : Math.min(3, n);+}, YG = (e, t) => {+ let n = HG.length;+ return ((e + t * 2) % n + n) % n * GG.length + JG(e, t) % GG.length;+}, XG = (e, t) => KG[YG(e, t)], ZG = (e, t, n) => n < 0 || n >= 12 ? null : qG[YG(e, t)][n], QG = 103.36, $G = 6.08, eK = 12 * QG, tK = 8 * QG, nK = 12, rK = (e, t) => (e % t + t) % t, iK = (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 aK(e, t) {+ let n = Math.max(1, Math.ceil(e / nK)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * tK,- height: Math.ceil(n / r) * nK+ width: r * eK,+ height: Math.ceil(n / r) * tK};}-function sK(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = ZG(e, t)[n];+function oK(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = XG(e, t)[n];return {- x: e * tK + r * $G,- y: t * nK + i * $G,- width: a * $G - eK,- height: o * $G - eK+ x: e * eK + r * QG,+ y: t * tK + i * QG,+ width: a * QG - $G,+ height: o * QG - $G};}-function cK(e) {+function sK(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function lK(e, t, n) {+function cK(e, t, n) {if (!e) return null;let [r, i, a] = n.split(":").map(Number);if (![r,i,a- ].every(Number.isInteger) || a < 0 || a >= rK) return null;- let o = oK(e, t), s = o.height / nK;+ ].every(Number.isInteger) || a < 0 || a >= nK) return null;+ let o = aK(e, t), s = o.height / tK;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : iK(r, o.columns), l = ((t ? i : iK(i, s)) * o.columns + c) * rK + a;+ let c = t ? r : rK(r, o.columns), l = ((t ? i : rK(i, s)) * o.columns + c) * nK + a;return t && l >= e ? null : {- ...sK(r, i, a),+ ...oK(r, i, a),index: l % e,key: n};}-function uK(e, t) {+function lK(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / rK);- return lK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % rK}`);+ let n = Math.floor(t / nK);+ return cK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % nK}`);}-function dK(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = QG(r, i, a);+function uK(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = ZG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * tK + e.x * $G,- y: i * nK + e.y * $G,- width: e.cols * $G - eK,- height: e.rows * $G - eK+ x: r * eK + e.x * QG,+ y: i * tK + e.y * QG,+ width: e.cols * QG - $G,+ height: e.rows * QG - $G}]));}-function fK(e) {+function dK(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / rK), i = sK(e % 3, Math.floor(e / 3), r % rK);+ let e = Math.floor(r / nK), i = oK(e % 3, Math.floor(e / 3), r % nK);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * tK - eK : t,+ width: e >= 36 ? 3 * eK - $G : t,height: n};}-function pK(e, t, n, r) {+function fK(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 {@@ -53088,22 +53088,22 @@ function pK(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function mK(e, t, n, r) {+function pK(e, t, n, r) {if (!e || !r.width || !r.height) return [];let i = 180 / n.scale, a = {x: -n.x / n.scale - i,y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = oK(e, t), s = o.height / nK, c = [];- for (let n = Math.floor(a.y / nK); n <= Math.floor((a.y + a.height) / nK); n += 1) for (let r = Math.floor(a.x / tK); r <= Math.floor((a.x + a.width) / tK); r += 1) {+ }, o = aK(e, t), s = o.height / tK, c = [];+ for (let n = Math.floor(a.y / tK); n <= Math.floor((a.y + a.height) / tK); n += 1) for (let r = Math.floor(a.x / eK); r <= Math.floor((a.x + a.width) / eK); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : iK(r, o.columns), l = t ? n : iK(n, s);- for (let s = 0; s < rK; s += 1) {- let u = (l * o.columns + i) * rK + s;+ let i = t ? r : rK(r, o.columns), l = t ? n : rK(n, s);+ for (let s = 0; s < nK; s += 1) {+ let u = (l * o.columns + i) * nK + s;if (t && u >= e) continue;- let d = sK(r, n, s);- aK(d, a) && c.push({+ let d = oK(r, n, s);+ iK(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53112,7 +53112,7 @@ function mK(e, t, n, r) {}return c;}-var hK = class {+var mK = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53124,7 +53124,7 @@ var hK = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : lK(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : cK(t, !1, e);return r ? {...r,index: n@@ -53154,7 +53154,7 @@ var hK = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * tK,+ x: (e + 2) * eK,y: 0};}@@ -53167,10 +53167,10 @@ var hK = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / tK)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / eK)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, gK = [+}, hK = ["q","performer","series",@@ -53185,16 +53185,16 @@ var hK = class {"dur_max","region"];-function _K(e = {}) {- return gK.some((t) => !!e[t]);+function gK(e = {}) {+ return hK.some((t) => !!e[t]);}// src/react/video-wall/use-wall-camera.ts-var vK = {+var _K = {x: 16,y: 16,scale: 1};-function yK(e, t, n = vK, r = !1) {+function vK(e, t, n = _K, r = !1) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)({width: 0,height: 0@@ -53214,7 +53214,7 @@ function yK(e, t, n = vK, r = !1) {let f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, P.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = pK(e, o.current, fK(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = fK(e, o.current, dK(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53285,7 +53285,7 @@ function yK(e, t, n = vK, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = cb(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = lb(0, 1, {duration: .42,ease: [.22,@@ -53314,7 +53314,7 @@ function yK(e, t, n = vK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...vK }, !0);+ g(), _({ ..._K }, !0);},pan: (e, t) => {g(), _({@@ -53375,16 +53375,16 @@ function yK(e, t, n = vK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var bK = {+var yK = {type: "spring",stiffness: 300,damping: 34-}, xK = {+}, bK = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function SK(e, t, n) {+function xK(e, t, n) {let [r, i] = (0, P.useState)({paused: !0,time: 0,@@ -53425,15 +53425,15 @@ function SK(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function CK({ 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 = Yy(), x = SK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function SK({ 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 = Xy(), x = xK(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(tn(e));}};- return /* @__PURE__ */ (0, F.jsxs)(db.div, {+ return /* @__PURE__ */ (0, F.jsxs)(fb.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53443,7 +53443,7 @@ function CK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : xK,+ transition: b ? { duration: 0 } : bK,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53547,7 +53547,7 @@ function CK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group});}// src/react/components/mix-queue.tsx-function wK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function CK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, P.useRef)(null), l = (0, P.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53583,7 +53583,7 @@ function wK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function TK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function wK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-item-text": "",children: a@@ -53606,7 +53606,7 @@ function TK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var EK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {+var TK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53615,28 +53615,28 @@ var EK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function DK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function EK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, F.jsx)(wK, {+ children: /* @__PURE__ */ (0, F.jsx)(CK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(TK, {+ children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(wK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? fN(e.part_label) : "",+ e.part_label ? pN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, F.jsx)(GW, { artwork: ao(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, F.jsx)(WW, { artwork: ao(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, F.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, F.jsx)("span", { children: [e.edition_label,- e.part_label ? fN(e.part_label) : "",+ e.part_label ? pN(e.part_label) : "",kn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53644,7 +53644,7 @@ function DK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {});}// src/react/video-wall/wall-route.ts-function OK(e = `${location.pathname}${location.search}`, t = {}) {+function DK(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",@@ -53659,17 +53659,17 @@ function OK(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function kK(e = `${location.pathname}${location.search}`) {+function OK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of gK) t.delete(e);+ for (let e of hK) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function AK() {+function kK() {let e = new URLSearchParams($V.navigation.location.search).get("returnTo") || "/";$V.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var jK = /* @__PURE__ */ new Map(), MK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var AK = /* @__PURE__ */ new Map(), jK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = ao(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -53682,7 +53682,7 @@ var jK = /* @__PURE__ */ new Map(), MK = (0, P.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, F.jsx)(GW, {+ children: /* @__PURE__ */ (0, F.jsx)(WW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && cl(e, r);@@ -53690,31 +53690,31 @@ var jK = /* @__PURE__ */ new Map(), MK = (0, P.memo)(function({ item: e, image:})});});-function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function A_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, P.useState)(() => {- let e = jK.get(f);+ let e = AK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, P.useState)(() => m?.exploration || new hK()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, P.useState)(() => m?.exploration || new mK()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = Pt({- queryKey: GM(M || {+ queryKey: KM(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => eN(M, {+ queryFn: ({ signal: e }) => tN(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === rN(te, O || w?.id || null)) || w, N = yK(e.length, t && !!e.length, m?.camera || {+ }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === iN(te, O || w?.id || null)) || w, N = vK(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), re = Yy(), [ie, ae] = (0, P.useState)(!!m);+ }, !!w), re = Xy(), [ie, ae] = (0, P.useState)(!!m);(0, P.useEffect)(() => {if (!e.length || ie || re) return;let t = setTimeout(() => ae(!0), 1100);@@ -53748,17 +53748,17 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (jK.delete(f), jK.set(f, {+ ke.current && (AK.delete(f), AK.set(f, {...Ae.current,camera: N.snapshot(),exploration: h- }), jK.size > 8 && jK.delete(jK.keys().next().value));+ }), AK.size > 8 && AK.delete(AK.keys().next().value));};(0, P.useLayoutEffect)(je);- let Me = mK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({+ let Me = pK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? lK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? dK(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? cK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? uK(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, ce(null), fe(!1);@@ -53797,7 +53797,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(dK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(uK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, ze = () => {ne && y.current && (je(), Ie(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));}, Be = async (e = ne) => {@@ -53819,7 +53819,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && fe(!1);}}, Ve = () => {- let e = iN(te || null, se || 0);+ let e = aN(te || null, se || 0);e && (k(e.id), Be(e));};(0, P.useEffect)(() => {@@ -53841,7 +53841,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = N.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (N.view.size.width / 2 - r.x) / r.scale,y: (N.view.size.height / 2 - r.y) / r.scale- }, o = t ? uK(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? lK(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), ue(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -53933,7 +53933,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, F.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(MK, {+ children: /* @__PURE__ */ (0, F.jsx)(jK, {item: w,image: Te,big: !0@@ -53941,7 +53941,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, F.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, F.jsx)(MK, {+ children: /* @__PURE__ */ (0, F.jsx)(jK, {item: w,image: Te,big: !0@@ -53970,7 +53970,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Xe.code ? /* @__PURE__ */ (0, F.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,/* @__PURE__ */ (0, F.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? fN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? pN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -53997,7 +53997,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, F.jsx)(CK, {+ /* @__PURE__ */ (0, F.jsx)(SK, {item: Xe,playing: se,frame: b,@@ -54019,7 +54019,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: me}),- A ? /* @__PURE__ */ (0, F.jsx)(DK, {+ A ? /* @__PURE__ */ (0, F.jsx)(EK, {items: He,activeId: Xe.id,kind: te?.kind || "wall",@@ -54035,7 +54035,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : AK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : kK());},children: [/* @__PURE__ */ (0, F.jsx)("button", {@@ -54043,7 +54043,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: AK,+ onClick: kK,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54061,7 +54061,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, F.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "ghost",- onClick: () => $V.push(kK()),+ onClick: () => $V.push(OK()),children: "清除筛选"})]}) : null,@@ -54170,7 +54170,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + N.view.camera.x / N.view.camera.scale) + Math.max(0, t.y + N.view.camera.y / N.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, F.jsx)(db.article, {+ return /* @__PURE__ */ (0, F.jsx)(fb.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -54191,7 +54191,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: oe && !re && !r && ie ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: re ? { duration: 0 } : {- layout: bK,+ layout: yK,transform: a ? {type: "spring",stiffness: 360,@@ -54224,7 +54224,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},children: r ? Ze : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(MK, {+ /* @__PURE__ */ (0, F.jsx)(jK, {item: n,image: Te,ratio: i.width / i.height@@ -54250,7 +54250,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, F.jsx)(db.span, {+ /* @__PURE__ */ (0, F.jsx)(fb.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: re ? 0 : .24 }@@ -54289,7 +54289,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, F.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, F.jsx)(CW, {+ children: /* @__PURE__ */ (0, F.jsx)(SW, {busy: r,onPress: () => void qe()})@@ -54335,7 +54335,7 @@ function k_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return (0, Lt.createPortal)(Qe, Se);}// src/catalog-onboarding.ts-var NK = [+var MK = ["loc","creator","performer",@@ -54354,19 +54354,19 @@ var NK = ["jav","thumb"];-function A_e(e = typeof location > "u" ? "/" : location.href) {+function j_e(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...NK,+ ...MK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function j_e(e, t) {+async function M_e(e, t) {let n = new URLSearchParams();- for (let t of NK) e[t] && n.set(t, e[t]);+ for (let t of MK) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -54377,9 +54377,9 @@ async function j_e(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function PK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function NK({ 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 Ts("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(A_e()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Ts("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(j_e()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54397,28 +54397,28 @@ function PK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:return Ts("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function M_e({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || PK() : t ? Ts("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ts("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${kK()}">清除筛选</a>` });+function N_e({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || NK() : t ? Ts("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ts("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${OK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function FK({ label: e, maintenance: t = !1, children: n }) {+function PK({ label: e, maintenance: t = !1, children: n }) {let r = NH("hover");return /* @__PURE__ */ (0, F.jsx)("div", {ref: r,role: "group","aria-label": e,"data-processing-maintenance": t || void 0,- className: oF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),+ className: sF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),children: n});}-function IK({ option: e, metadataOnly: t, onRun: n }) {+function FK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: oF(tV, i ? "cursor-not-allowed opacity-50" : nV, "text-body-2-medium"),+ className: sF(tV, i ? "cursor-not-allowed opacity-50" : nV, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54429,7 +54429,7 @@ function IK({ option: e, metadataOnly: t, onRun: n }) {})});}-function N_e({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function P_e({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, P.useState)(t), [s, c] = (0, P.useState)(), [l, u] = (0, P.useState)("");(0, P.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {@@ -54479,7 +54479,7 @@ function N_e({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function LK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {+function IK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(null), u = (0, P.useRef)(r);(0, P.useEffect)(() => () => s.current?.close(), []);let [d, f] = (0, P.useState)(!1), p = {@@ -54558,7 +54558,7 @@ function LK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(N_e, {+ c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(P_e, {command: c.command,dialog: c.dialog,speed: r,@@ -54609,17 +54609,17 @@ function LK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standchildren: /* @__PURE__ */ (0, F.jsxs)(yR, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [t ? /* @__PURE__ */ (0, F.jsxs)(FK, {+ children: [t ? /* @__PURE__ */ (0, F.jsxs)(PK, {label: "日常同步",children: [/* @__PURE__ */ (0, F.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(IK, {+ }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(FK, {option: e,metadataOnly: n,onRun: g}, e.label))]- }) : null, /* @__PURE__ */ (0, F.jsxs)(FK, {+ }) : null, /* @__PURE__ */ (0, F.jsxs)(PK, {label: t ? "全库维护" : "补全方式",maintenance: t,children: [t ? /* @__PURE__ */ (0, F.jsxs)("div", {@@ -54631,7 +54631,7 @@ function LK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(IK, {+ }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(FK, {option: e,metadataOnly: n,onRun: g@@ -54642,17 +54642,17 @@ function LK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand] });}// src/react/library-processing/library-completion.tsx-function RK(e, t) {+function LK(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) && !ao(e, "small", !1, t).html).map((e) => e.id))];}-function zK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, F.jsx)(P_e, {+function RK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, F.jsx)(F_e, {assetIds: e,onComplete: t,className: n}) : null;}-function P_e({ assetIds: e, onComplete: t, className: n }) {+function F_e({ assetIds: e, onComplete: t, className: n }) {let r = Pt({queryKey: mH,queryFn: ({ signal: e }) => SH(e),@@ -54678,12 +54678,12 @@ function P_e({ assetIds: e, onComplete: t, className: n }) {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: oF("@container", n),+ className: sF("@container", n),children: /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, F.jsx)(LK, {+ children: /* @__PURE__ */ (0, F.jsx)(IK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54705,31 +54705,31 @@ function P_e({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function F_e(e) {- return I_e(e) || typeof e == "function" || L_e(e);-}function I_e(e) {+ return L_e(e) || typeof e == "function" || R_e(e);+}+function L_e(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function L_e(e) {+function R_e(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function BK(e, t) {- return e == null ? null : F_e(e) ? /* @__PURE__ */ P.createElement(e, t) : e;+function zK(e, t) {+ return e == null ? null : I_e(e) ? /* @__PURE__ */ P.createElement(e, t) : e;}-function R_e(e) {+function z_e(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? BK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : BK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? zK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : zK(n.cell, t.getContext());}- return "header" in e && e.header ? BK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? BK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? zK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? zK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function z_e({ update: e, notify: t, unwatched: n }) {+function B_e({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54846,7 +54846,7 @@ function z_e({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function B_e(e, t, n) {+function V_e(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54854,38 +54854,38 @@ function B_e(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var VK = [], HK = 0, { link: UK, unlink: V_e, propagate: H_e, checkDirty: WK, shallowPropagate: GK } = /* @__PURE__ */ z_e({+var BK = [], VK = 0, { link: HK, unlink: H_e, propagate: U_e, checkDirty: UK, shallowPropagate: WK } = /* @__PURE__ */ B_e({update(e) {return e._update();},notify(e) {- VK[qK++] = e, e.flags &= -3;+ BK[KK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, XK(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, YK(e));}-}), KK = 0, qK = 0, JK, YK = 0;-function U_e(e) {+}), GK = 0, KK = 0, qK, JK = 0;+function W_e(e) {try {- ++YK, e();+ ++JK, e();} finally {- --YK || ZK();+ --JK || XK();}}-function XK(e) {+function YK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = V_e(n, e);+ for (; n !== void 0;) n = H_e(n, e);}-function ZK() {- if (!(YK > 0)) {- for (; KK < qK;) {- let e = VK[KK];- VK[KK++] = void 0, e.notify();+function XK() {+ if (!(JK > 0)) {+ for (; GK < KK;) {+ let e = BK[GK];+ BK[GK++] = void 0, e.notify();}- KK = 0, qK = 0;+ GK = 0, KK = 0;}}-function W_e(e, t) {+function G_e(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54894,53 +54894,53 @@ function W_e(e, t) {depsTail: void 0,flags: +!n,get() {- return JK !== void 0 && UK(i, JK, HK), i._snapshot;+ return qK !== void 0 && HK(i, qK, VK), i._snapshot;},subscribe(e) {- let t = B_e(e), n = { current: !1 }, r = G_e(() => {- i.get(), n.current ? (JK = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = V_e(e), n = { current: !1 }, r = K_e(() => {+ i.get(), n.current ? (qK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = JK, o = t?.compare ?? Object.is;- if (n) JK = i, ++HK, i.depsTail = void 0;+ let a = qK, o = t?.compare ?? Object.is;+ if (n) qK = i, ++VK, i.depsTail = void 0;else if (e === void 0) return !1;n && (i.flags = 5);try {let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;} finally {- JK = a, n && (i.flags &= -5), XK(i);+ qK = a, n && (i.flags &= -5), YK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && WK(i.deps, i)) {+ if (e & 16 || e & 32 && UK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && GK(e);+ e !== void 0 && WK(e);}} else e & 32 && (i.flags = e & -33);- return JK !== void 0 && UK(i, JK, HK), i._snapshot;+ return qK !== void 0 && HK(i, qK, VK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (H_e(e), GK(e), ZK());+ e !== void 0 && (U_e(e), WK(e), XK());}}, i;}-function G_e(e) {+function K_e(e) {let t = () => {- let t = JK;- JK = n, ++HK, n.depsTail = void 0, n.flags = 6;+ let t = qK;+ qK = n, ++VK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- JK = t, n.flags &= -5, XK(n);+ qK = t, n.flags &= -5, YK(n);}}, n = {deps: void 0,@@ -54950,16 +54950,16 @@ function G_e(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && WK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && UK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, XK(this);+ this.flags = 0, this.depsTail = void 0, YK(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function QK(e, t) {+function ZK(e, t) {if (Object.is(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;if (e instanceof Map && t instanceof Map) {@@ -54973,17 +54973,17 @@ function QK(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = $K(e);- if (n.length !== $K(t).length) return !1;+ let n = QK(e);+ if (n.length !== QK(t).length) return !1;for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;return !0;}-function $K(e) {+function QK(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 K_e = /* @__PURE__ */ o(((e) => {- var t = A(), n = rS();+var q_e = /* @__PURE__ */ o(((e) => {+ var t = A(), n = iS();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -55027,33 +55027,33 @@ var K_e = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), eq = /* @__PURE__ */ o(((e, t) => {- t.exports = K_e();-})), q_e = eq();-function J_e(e, t) {+})), $K = /* @__PURE__ */ o(((e, t) => {+ t.exports = q_e();+})), J_e = $K();+function Y_e(e, t) {return e === t;}-function tq(e, t = (e) => e, n) {- let r = n?.compare ?? J_e, i = (0, P.useCallback)((t) => {+function eq(e, t = (e) => e, n) {+ let r = n?.compare ?? Y_e, i = (0, P.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, P.useCallback)(() => e.get(), [e]);- return (0, q_e.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, J_e.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function Y_e(e) {- let t = tq(e.source, e.selector, { compare: QK });+function X_e(e) {+ let t = eq(e.source, e.selector, { compare: ZK });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function X_e(e) {+function Z_e(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 Z_e(e) {+function Q_e(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -55083,7 +55083,7 @@ function Z_e(e) {}};}-function Q_e(e, t = Object.is) {+function $_e(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -55096,28 +55096,28 @@ function Q_e(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function $_e() {- return Z_e({- createAtom: W_e,- batch: U_e+function eve() {+ return Q_e({+ createAtom: G_e,+ batch: W_e});}// node_modules/@tanstack/table-core/dist/utils.js-function nq(e, t) {+function tq(e, t) {return typeof e == "function" ? e(t) : e;}-function rq(e) {- if (Array.isArray(e)) return e.map(rq);+function nq(e) {+ if (Array.isArray(e)) return e.map(nq);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? aq() : {}, r = Object.keys(e);+ let n = t === null ? iq() : {}, r = Object.keys(e);for (let t = 0; t < r.length; t++) {let i = r[t];Object.defineProperty(n, i, {configurable: !0,enumerable: !0,- value: rq(e[i]),+ value: nq(e[i]),writable: !0});}@@ -55125,7 +55125,7 @@ function rq(e) {}return e;}-function iq(e, t) {+function rq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -55133,53 +55133,53 @@ function iq(e, t) {}return e;}-function aq() {+function iq() {return Object.create(null);}-function oq(e, t) {+function aq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function sq(e, t) {+function oq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => nq(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => tq(n, e));};}-function cq(e) {+function sq(e) {if (typeof e != "object" || !e) return !1;if (Array.isArray(e)) return !0;let t = Object.getPrototypeOf(e);return t === Object.prototype || t === null;}-function lq(e) {+function cq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var eve = 3;-function tve(e, t) {- return uq(e, t, eve);+var tve = 3;+function nve(e, t) {+ return lq(e, t, tve);}-function uq(e, t, n) {+function lq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !cq(e) || !cq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = lq(e), i = lq(t);+ if (n <= 0 || !sq(e) || !sq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = cq(e), i = cq(t);if (r.length !== i.length) return !1;let a = e, o = t;for (let e = 0; e < r.length; e++) {let i = r[e];- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !uq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !lq(a[i], o[i], n - 1)) return !1;}return !0;}-function dq(e, t, n, r = tve) {+function uq(e, t, n, r = nve) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = nq(n, e);+ let t = tq(n, e);return r(e, t) ? e : t;});}-function nve(e) {+function rve(e) {return e instanceof Function;}-function rve(e, t) {+function ive(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55189,7 +55189,7 @@ function rve(e, t) {};return r(e), n;}-var ive = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var ave = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55203,23 +55203,23 @@ var ive = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function fq(e) {+function dq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function pq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function fq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {let o = { onAfterUpdate: r ? () => {let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return ive({+ return ave({...a,...o});}-function mq(e, t = "_") {+function pq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55227,10 +55227,10 @@ function mq(e, t = "_") {parentName: n};}-function hq(e, t, n) {+function mq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = mq(r);- t[n] = a ? pq({+ let { fnKey: n, fnName: o } = pq(r);+ t[n] = a ? fq({memoDeps: a,fn: i,fnName: o,@@ -55239,15 +55239,15 @@ function hq(e, t, n) {}) : i;}}-function gq(e, t, n, r) {+function hq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = mq(i);+ let { fnKey: r, fnName: s } = pq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = pq({+ this[i] = fq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55263,17 +55263,17 @@ function gq(e, t, n, r) {};}}-function _q(e, t, n, ...r) {+function gq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function ave(e) {+function ove(e) {return e.row.getValue(e.column.id);}-function ove(e) {+function sve(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function sve(e) {+function cve(e) {return {table: e.table,column: e.column,@@ -55284,18 +55284,18 @@ function sve(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var cve = { assignCellPrototype: (e, t) => {- gq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => ave(e) },- cell_renderValue: { fn: (e) => ove(e) },+var lve = { assignCellPrototype: (e, t) => {+ hq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => ove(e) },+ cell_renderValue: { fn: (e) => sve(e) },cell_getContext: {- fn: (e) => sve(e),+ fn: (e) => cve(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function lve(e) {+function uve(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55303,7 +55303,7 @@ function lve(e) {}return e._columnPrototype;}-function uve(e, t, n, r) {+function dve(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55323,53 +55323,53 @@ function uve(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = lve(e), u = Object.create(l);+ let l = uve(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);return u;}// node_modules/@tanstack/table-core/dist/core/featureStubs.js-function vq(e) {+function _q(e) {return e.getIsVisible?.() ?? !0;}-function dve(e) {+function fve(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function yq(e, t) {+function vq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function bq(e, t, n, r) {+function yq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function xq(e, t) {+function bq(e, t) {return e._expandRows?.(t) ?? t;}-function fve(e) {+function pve(e) {e.autoResetExpanded?.();}-function Sq(e) {+function xq(e) {e.autoResetPageIndex?.();}-function pve(e) {+function mve(e) {e.autoResetSorting?.();}-function mve(e) {+function hve(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function hve(e) {+function gve(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function gve(e) {+function _ve(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return yq(e.table, t);+ return vq(e.table, t);}return [e];}-function _ve(e) {+function vve(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55380,53 +55380,53 @@ function _ve(e) {...e.options.defaultColumn};}-function Cq(e, t, n, r = 0) {+function Sq(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 = uve(e, o, r, n), c = o;- s.columns = c.columns ? Cq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = dve(e, o, r, n), c = o;+ s.columns = c.columns ? Sq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function vve(e) {- return Cq(e, e.options.columns);-}function yve(e) {- return e.getAllColumns().flatMap((e) => e.getFlatColumns());+ return Sq(e, e.options.columns);}function bve(e) {- let t = aq(), n = e.getAllFlatColumns();+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());+}+function xve(e) {+ let t = iq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function xve(e) {- return yq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));-}function Sve(e) {- let t = aq(), n = e.getAllLeafColumns();+ return vq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+}+function Cve(e) {+ let t = iq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Cve(e, t) {+function wve(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var wve = {+var Tve = {assignColumnPrototype: (e, t) => {- gq("coreColumnsFeature", e, t, {+ hq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => hve(e),+ fn: (e) => gve(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => gve(e),+ fn: (e) => _ve(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55437,25 +55437,25 @@ var wve = {});},constructTableAPIs: (e) => {- hq("coreColumnsFeature", e, {+ mq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => _ve(e),+ fn: () => vve(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => vve(e),+ fn: () => yve(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => yve(e),+ fn: () => bve(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => bve(e),+ fn: () => xve(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => xve(e),+ fn: () => Sve(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55464,15 +55464,15 @@ var wve = {]},table_getAllLeafColumnsById: {- fn: () => Sve(e),+ fn: () => Cve(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => Cve(e, t) }+ table_getColumn: { fn: (t) => wve(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Tve(e) {+function Eve(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55480,38 +55480,38 @@ function Tve(e) {}return e._headerPrototype;}-function wq(e, t, n) {- let r = Tve(e), i = Object.create(r);+function Cq(e, t, n) {+ let r = Eve(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function Tq(e, t = 1) {+function wq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- vq(i) && i.columns.length && (n = Math.max(n, Tq(i.columns, t + 1)));+ _q(i) && i.columns.length && (n = Math.max(n, wq(i.columns, t + 1)));}return n;}-function Eve(e, t) {+function Dve(e, t) {return e ? `${e}_${t}` : String(t);}-function Dve(e, t, n, r) {+function Ove(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 Ove(e, t) {+function kve(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function Eq(e, t, n, r, i, a) {+function Tq(e, t, n, r, i, a) {let o = {depth: t,- id: Eve(r, t),+ id: Dve(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55519,10 +55519,10 @@ function Eq(e, t, n, r, i, a) {let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {- let e = wq(n, u, {- id: Dve(r, t, u.id, a.id),+ let e = Cq(n, u, {+ id: Ove(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(Ove(s, u)) : void 0,+ placeholderId: d ? String(kve(s, u)) : void 0,depth: t,index: s.length});@@ -55531,18 +55531,18 @@ function Eq(e, t, n, r, i, a) {o.headers.push(a), a.headerGroup = o;}for (let e = 0; e < a.length; e++) a[e](o);- i.push(o), t > 0 && Eq(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Tq(s, t - 1, n, r, i, a);}-function Dq(e) {+function Eq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!vq(n.column)) continue;+ if (!_q(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Dq(n.subHeaders);+ Eq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- vq(t.column) && (r += t.colSpan);+ _q(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55552,37 +55552,37 @@ function Dq(e) {} else n.rowSpan = 1;}}-function kve(e, t, n, r) {- let i = Tq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = wq(n, t[e], {+function Ave(e, t, n, r) {+ let i = wq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Cq(n, t[e], {depth: i,index: e}));- return Eq(s, i - 1, n, r, a, o), a.reverse(), Dq(a[0]?.headers ?? []), a;+ return Tq(s, i - 1, n, r, a, o), a.reverse(), Eq(a[0]?.headers ?? []), a;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function Oq(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) Oq(e.subHeaders[n], t);+function Dq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Dq(e.subHeaders[n], t);t.push(e);}-function Ave(e) {+function jve(e) {let t = [];- return Oq(e, t), t;+ return Dq(e, t), t;}-function jve(e) {+function Mve(e) {return {column: e.column,header: e,table: e.column.table};}-function Mve(e) {- return kve(e.getAllColumns(), bq(e, dve(e), (e) => e.id), e);-}function Nve(e) {- return [...e.getHeaderGroups()].reverse();+ return Ave(e.getAllColumns(), yq(e, fve(e), (e) => e.id), e);}function Pve(e) {+ return [...e.getHeaderGroups()].reverse();+}+function Fve(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55590,7 +55590,7 @@ function Pve(e) {}return n;}-function Fve(e) {+function Ive(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55599,23 +55599,23 @@ function Fve(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Ive = {+var Lve = {assignHeaderPrototype: (e, t) => {- gq("coreHeadersFeature", e, t, {+ hq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => Ave(e),+ fn: (e) => jve(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => jve(e),+ fn: (e) => Mve(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- hq("coreHeadersFeature", e, {+ mq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Mve(e),+ fn: () => Nve(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55626,22 +55626,22 @@ var Ive = {]},table_getFooterGroups: {- fn: () => Nve(e),+ fn: () => Pve(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Pve(e),+ fn: () => Fve(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => Fve(e),+ fn: () => Ive(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function Lve(e) {+function Rve(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55649,98 +55649,98 @@ function Lve(e) {}return e._rowPrototype;}-var Rve = (e, t, n, r, i, a, o) => {- let s = Lve(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = aq(), c._valuesCache = aq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var zve = (e, t, n, r, i, a, o) => {+ let s = Rve(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = iq(), c._valuesCache = iq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];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 zve() {- return (e) => pq({+function Bve() {+ return (e) => fq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => Bve(e, e.options.data),- onAfterUpdate: fq(() => {- fve(e), Sq(e), pve(e), mve(e);+ fn: () => Vve(e, e.options.data),+ onAfterUpdate: dq(() => {+ pve(e), xq(e), mve(e), hve(e);})});}-function kq(e, t, n, r = 0, i) {+function Oq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = Rve(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 = kq(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = zve(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Oq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function Bve(e, t) {+function Vve(e, t) {let n = {rows: [],flatRows: [],- rowsById: aq()+ rowsById: iq()};- return n.rows = kq(e, n, t), n;+ return n.rows = Oq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Vve(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? zve()(e)), e._rowModels.coreRowModel();-}function Hve(e) {- return e.getCoreRowModel();+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Bve()(e)), e._rowModels.coreRowModel();}function Uve(e) {- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();+ return e.getCoreRowModel();}function Wve(e) {- return e.getFilteredRowModel();+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}function Gve(e) {- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();+ return e.getFilteredRowModel();}function Kve(e) {- return e.getGroupedRowModel();+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}function qve(e) {- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();+ return e.getGroupedRowModel();}function Jve(e) {- return e.getSortedRowModel();+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}function Yve(e) {- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();+ return e.getSortedRowModel();}function Xve(e) {- return e.getExpandedRowModel();+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}function Zve(e) {- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+ return e.getExpandedRowModel();}function Qve(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 $ve(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var $ve = { constructTableAPIs: (e) => {- hq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Vve(e) },- table_getPreFilteredRowModel: { fn: () => Hve(e) },- table_getFilteredRowModel: { fn: () => Uve(e) },- table_getPreGroupedRowModel: { fn: () => Wve(e) },- table_getGroupedRowModel: { fn: () => Gve(e) },- table_getPreSortedRowModel: { fn: () => Kve(e) },- table_getSortedRowModel: { fn: () => qve(e) },- table_getPreExpandedRowModel: { fn: () => Jve(e) },- table_getExpandedRowModel: { fn: () => Yve(e) },- table_getPrePaginatedRowModel: { fn: () => Xve(e) },- table_getPaginatedRowModel: { fn: () => Zve(e) },- table_getRowModel: { fn: () => Qve(e) }+var eye = { constructTableAPIs: (e) => {+ mq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => Hve(e) },+ table_getPreFilteredRowModel: { fn: () => Uve(e) },+ table_getFilteredRowModel: { fn: () => Wve(e) },+ table_getPreGroupedRowModel: { fn: () => Gve(e) },+ table_getGroupedRowModel: { fn: () => Kve(e) },+ table_getPreSortedRowModel: { fn: () => qve(e) },+ table_getSortedRowModel: { fn: () => Jve(e) },+ table_getPreExpandedRowModel: { fn: () => Yve(e) },+ table_getExpandedRowModel: { fn: () => Xve(e) },+ table_getPrePaginatedRowModel: { fn: () => Zve(e) },+ table_getPaginatedRowModel: { fn: () => Qve(e) },+ table_getRowModel: { fn: () => $ve(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function eye(e) {+function tye(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55748,48 +55748,48 @@ function eye(e) {}return e._cellPrototype;}-function tye(e, t, n) {- let r = eye(n), i = Object.create(r);+function nye(e, t, n) {+ let r = tye(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 nye(e) {+function rye(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function rye(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? xq(e, t).rows : t.rows;+function iye(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? bq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function iye(e, t) {- if (oq(e._valuesCache, t)) return e._valuesCache[t];+function aye(e, t) {+ if (aq(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 aye(e, t) {- if (oq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function oye(e, t) {+ if (aq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function oye(e, t) {+function sye(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function sye(e) {- return rve(e.subRows, (e) => e.subRows);-}function cye(e) {+ return ive(e.subRows, (e) => e.subRows);+}+function lye(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 lye(e) {+function uye(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function uye(e) {+function dye(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55798,77 +55798,77 @@ function uye(e) {}return t.reverse();}-function dye(e) {+function fye(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 = tye(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = nye(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function fye(e) {- let t = aq(), n = e.getAllCells();+function pye(e) {+ let t = iq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function pye(e, t, n, r) {+function mye(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function mye(e, t, n) {+function hye(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 hye = {+var gye = {assignRowPrototype: (e, t) => {- gq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => nye(e) },+ hq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => rye(e) },row_getAllCellsByColumnId: {- fn: (e) => fye(e),+ fn: (e) => pye(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => dye(e),+ fn: (e) => fye(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => sye(e),+ fn: (e) => cye(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => lye(e) },- row_getParentRows: { fn: (e) => uye(e) },- row_getUniqueValues: { fn: (e, t) => aye(e, t) },- row_getValue: { fn: (e, t) => iye(e, t) },- row_renderValue: { fn: (e, t) => oye(e, t) }+ row_getParentRow: { fn: (e) => uye(e) },+ row_getParentRows: { fn: (e) => dye(e) },+ row_getUniqueValues: { fn: (e, t) => oye(e, t) },+ row_getValue: { fn: (e, t) => aye(e, t) },+ row_renderValue: { fn: (e, t) => sye(e, t) }});},constructTableAPIs: (e) => {- hq("coreRowsFeature", e, {+ mq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => rye(e),+ fn: () => iye(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => pye(t, e, n, r) },- table_getRow: { fn: (t, n) => mye(e, t, n) },+ table_getRowId: { fn: (t, n, r) => mye(t, e, n, r) },+ table_getRow: { fn: (t, n) => hye(e, t, n) },table_getMaxSubRowDepth: {- fn: () => cye(e),+ fn: () => lye(e),memoDeps: () => [e.getCoreRowModel()]}});}};// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function Aq(e, t, n = (e, t) => e === t) {+function kq(e, t, n = (e, t) => e === t) {let r = t === void 0 ? e.options.state : t;e._reactivity.batch(() => {if (r) for (let t in r) {@@ -55879,13 +55879,13 @@ function Aq(e, t, n = (e, t) => e === t) {}});}-function jq(e, t, n = (e, t) => e === t) {+function Aq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Aq(e, t, n), e._reactivity.commit?.();+ kq(e, t, n), e._reactivity.commit?.();});}-function gye(e) {- let t = rq(e.initialState);+function _ye(e) {+ let t = nq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55896,7 +55896,7 @@ function gye(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function _ye(e, t) {+function vye(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55928,26 +55928,26 @@ function _ye(e, t) {}});}-function Mq(e, t, n) {- let r = _ye(e, nq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && jq(e, r.state ?? null);+function jq(e, t, n) {+ let r = vye(e, tq(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Aq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var vye = {- coreCellsFeature: cve,- coreColumnsFeature: wve,- coreHeadersFeature: Ive,- coreRowModelsFeature: $ve,- coreRowsFeature: hye,+var yye = {+ coreCellsFeature: lve,+ coreColumnsFeature: Tve,+ coreHeadersFeature: Lve,+ coreRowModelsFeature: eye,+ coreRowsFeature: gye,coreTablesFeature: { constructTableAPIs: (e) => {- hq("coreTablesFeature", e, {- table_reset: { fn: () => gye(e) },- table_setOptions: { fn: (t) => Mq(e, t) }+ mq("coreTablesFeature", e, {+ table_reset: { fn: () => _ye(e) },+ table_setOptions: { fn: (t) => jq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function Nq() {+function Mq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -55962,21 +55962,21 @@ function Nq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Pq(e) {+function Nq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function yye(e, t = {}) {+function bye(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), rq(t);+ }), nq(t);}-function bye(e) {+function xye(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: {- ...vye,+ ...yye,..._},_headerGroupInstanceInitFns: [],@@ -56014,7 +56014,7 @@ function bye(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = yye(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = bye(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -56022,14 +56022,14 @@ function bye(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && oq(i, n)) {+ if (i && aq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Aq(v), v.store = X_e(t.createReadonlyAtom(() => {+ kq(v), v.store = Z_e(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -56037,7 +56037,7 @@ function bye(e) {}return e;}, {- compare: QK,+ compare: ZK,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -56047,107 +56047,107 @@ function bye(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function xye() {- return aq();+function Sye() {+ return iq();}-function Fq(e, t) {- Lq(e) && zq(e.table, (n) => {- let r = Object.assign(aq(), n), i = t ?? !_q(e, "getIsVisible", Iq), a = e.getLeafColumns();+function Pq(e, t) {+ Iq(e) && Rq(e.table, (n) => {+ let r = Object.assign(iq(), n), i = t ?? !gq(e, "getIsVisible", Fq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- Lq(t) && (r[t.id] = i);+ Iq(t) && (r[t.id] = i);}return r;});}-function Iq(e) {+function Fq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => _q(e, "getIsVisible", Iq)) : (oq(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => gq(e, "getIsVisible", Fq)) : (aq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function Lq(e) {+function Iq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function Sye(e) {+function Cye(e) {return (t) => {- Fq(e, t.target.checked);+ Pq(e, t.target.checked);};}-function Cye(e) {+function wye(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- _q(r.column, "getIsVisible", Iq) && n.push(r);+ gq(r.column, "getIsVisible", Fq) && n.push(r);}- return bq(e.table, n, (e) => e.column.id, () => _q(e, "getVisibleCellsByColumnId", Rq));+ return yq(e.table, n, (e) => e.column.id, () => gq(e, "getVisibleCellsByColumnId", Lq));}-function Rq(e) {- let t = aq(), n = e.getAllCells();+function Lq(e) {+ let t = iq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- _q(r.column, "getIsVisible", Iq) && (t[r.column.id] = r);+ gq(r.column, "getIsVisible", Fq) && (t[r.column.id] = r);}return t;}-function wye(e) {- return e.getAllFlatColumns().filter((e) => _q(e, "getIsVisible", Iq));-}function Tye(e) {- return e.getAllLeafColumns().filter((e) => _q(e, "getIsVisible", Iq));+ return e.getAllFlatColumns().filter((e) => gq(e, "getIsVisible", Fq));}-function zq(e, t) {- dq(e, "columnVisibility", t);+function Eye(e) {+ return e.getAllLeafColumns().filter((e) => gq(e, "getIsVisible", Fq));}-function Eye(e, t) {- zq(e, t ? aq() : Object.assign(aq(), rq(e.initialState.columnVisibility ?? {})));+function Rq(e, t) {+ uq(e, "columnVisibility", t);}-function Bq(e, t) {- t ??= !Vq(e);- let n = aq(), r = e.getAllLeafColumns();+function Dye(e, t) {+ Rq(e, t ? iq() : Object.assign(iq(), nq(e.initialState.columnVisibility ?? {})));+}+function zq(e, t) {+ t ??= !Bq(e);+ let n = iq(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !Lq(i);+ n[i.id] = t || !Iq(i);}- zq(e, n);+ Rq(e, n);}-function Vq(e) {- return !e.getAllLeafColumns().some((e) => !_q(e, "getIsVisible", Iq));-}-function Dye(e) {- return e.getAllLeafColumns().some((e) => _q(e, "getIsVisible", Iq));+function Bq(e) {+ return !e.getAllLeafColumns().some((e) => !gq(e, "getIsVisible", Fq));}function Oye(e) {+ return e.getAllLeafColumns().some((e) => gq(e, "getIsVisible", Fq));+}+function kye(e) {return (t) => {- Bq(e, t.target.checked);+ zq(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var Hq = {+var Vq = {getInitialState: (e) => ({- columnVisibility: xye(),+ columnVisibility: Sye(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: sq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: oq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- gq("columnVisibilityFeature", e, t, {+ hq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Iq(e),+ fn: (e) => Fq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => Lq(e) },- column_getToggleVisibilityHandler: { fn: (e) => Sye(e) },- column_toggleVisibility: { fn: (e, t) => Fq(e, t) }+ column_getCanHide: { fn: (e) => Iq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => Cye(e) },+ column_toggleVisibility: { fn: (e, t) => Pq(e, t) }});},assignRowPrototype: (e, t) => {- gq("columnVisibilityFeature", e, t, {+ hq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => Cye(e),+ fn: (e) => wye(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -56155,15 +56155,15 @@ var Hq = {]},row_getVisibleCellsByColumnId: {- fn: (e) => Rq(e),+ fn: (e) => Lq(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- hq("columnVisibilityFeature", e, {+ mq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => wye(e),+ fn: () => Tye(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56173,7 +56173,7 @@ var Hq = {]},table_getVisibleLeafColumns: {- fn: () => Tye(e),+ fn: () => Eye(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56182,51 +56182,51 @@ var Hq = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => zq(e, t) },- table_resetColumnVisibility: { fn: (t) => Eye(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => Bq(e, t) },- table_getIsAllColumnsVisible: { fn: () => Vq(e) },- table_getIsSomeColumnsVisible: { fn: () => Dye(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => Oye(e) }+ table_setColumnVisibility: { fn: (t) => Rq(e, t) },+ table_resetColumnVisibility: { fn: (t) => Dye(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => zq(e, t) },+ table_getIsAllColumnsVisible: { fn: () => Bq(e) },+ table_getIsSomeColumnsVisible: { fn: () => Oye(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => kye(e) }});}-}, Uq = 0, Wq = 10;-function Gq() {+}, Hq = 0, Uq = 10;+function Wq() {return {- pageIndex: Uq,- pageSize: Wq+ pageIndex: Hq,+ pageSize: Uq};}-function kye(e) {+function Aye(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? Uq) === Uq) return;- Jq(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? Hq) === Hq) return;+ qq(e, !0);}}-function Kq(e, t) {- dq(e, "pagination", t);+function Gq(e, t) {+ uq(e, "pagination", t);}-function Aye(e, t) {- Kq(e, t ? Gq() : rq(e.initialState.pagination ?? Gq()));+function jye(e, t) {+ Gq(e, t ? Wq() : nq(e.initialState.pagination ?? Wq()));}-function qq(e, t) {- Kq(e, (n) => {- let r = nq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function Kq(e, t) {+ Gq(e, (n) => {+ let r = tq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r};});}-function Jq(e, t) {- qq(e, t ? Uq : e.initialState.pagination?.pageIndex ?? Uq);+function qq(e, t) {+ Kq(e, t ? Hq : e.initialState.pagination?.pageIndex ?? Hq);}-function jye(e, t) {- Yq(e, t ? Wq : e.initialState.pagination?.pageSize ?? Wq);+function Mye(e, t) {+ Jq(e, t ? Uq : e.initialState.pagination?.pageSize ?? Uq);}-function Yq(e, t) {- Kq(e, (e) => {- let n = Math.max(1, nq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function Jq(e, t) {+ Gq(e, (e) => {+ let n = Math.max(1, tq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56234,231 +56234,231 @@ function Yq(e, t) {};});}-function Mye(e) {- let t = Xq(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}function Nye(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;+ let t = Yq(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function Pye(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Uq, n = Xq(e);- return n === -1 || n !== 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function Fye(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Uq, n = Xq(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ let t = e.atoms.pagination?.get()?.pageIndex ?? Hq, n = Yq(e);+ return n === -1 || n !== 0 && t < n - 1;}function Iye(e) {- return qq(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? Hq, n = Yq(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function Lye(e) {- return qq(e, (e) => e + 1);+ return Kq(e, (e) => e - 1);}function Rye(e) {- return qq(e, 0);+ return Kq(e, (e) => e + 1);}function zye(e) {- let t = Xq(e);- if (!(!Number.isFinite(t) || t <= 0)) return qq(e, t - 1);+ return Kq(e, 0);}-function Xq(e) {+function Bye(e) {+ let t = Yq(e);+ if (!(!Number.isFinite(t) || t <= 0)) return Kq(e, t - 1);+}+function Yq(e) {let t = e.options.pageCount;if (t != null) return t;- let n = Zq(e), r = e.atoms.pagination?.get()?.pageSize ?? Wq;+ let n = Xq(e), r = e.atoms.pagination?.get()?.pageSize ?? Uq;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function Zq(e) {+function Xq(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var Qq = {+var Zq = {getInitialState: (e) => ({...e,pagination: {- ...Gq(),+ ...Wq(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: sq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: oq("pagination", e) }),constructTableAPIs: (e) => {- hq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => kye(e) },- table_setPagination: { fn: (t) => Kq(e, t) },- table_resetPagination: { fn: (t) => Aye(e, t) },- table_setPageIndex: { fn: (t) => qq(e, t) },- table_resetPageIndex: { fn: (t) => Jq(e, t) },- table_setPageSize: { fn: (t) => Yq(e, t) },- table_getPageCount: { fn: () => Xq(e) },- table_resetPageSize: { fn: (t) => jye(e, t) },- table_getPageOptions: { fn: () => Mye(e) },- table_getCanPreviousPage: { fn: () => Nye(e) },- table_getCanNextPage: { fn: () => Pye(e) },- table_getCanLastPage: { fn: () => Fye(e) },- table_previousPage: { fn: () => Iye(e) },- table_nextPage: { fn: () => Lye(e) },- table_firstPage: { fn: () => Rye(e) },- table_lastPage: { fn: () => zye(e) },- table_getRowCount: { fn: () => Zq(e) }+ mq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => Aye(e) },+ table_setPagination: { fn: (t) => Gq(e, t) },+ table_resetPagination: { fn: (t) => jye(e, t) },+ table_setPageIndex: { fn: (t) => Kq(e, t) },+ table_resetPageIndex: { fn: (t) => qq(e, t) },+ table_setPageSize: { fn: (t) => Jq(e, t) },+ table_getPageCount: { fn: () => Yq(e) },+ table_resetPageSize: { fn: (t) => Mye(e, t) },+ table_getPageOptions: { fn: () => Nye(e) },+ table_getCanPreviousPage: { fn: () => Pye(e) },+ table_getCanNextPage: { fn: () => Fye(e) },+ table_getCanLastPage: { fn: () => Iye(e) },+ table_previousPage: { fn: () => Lye(e) },+ table_nextPage: { fn: () => Rye(e) },+ table_firstPage: { fn: () => zye(e) },+ table_lastPage: { fn: () => Bye(e) },+ table_getRowCount: { fn: () => Xq(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function Bye() {- return aq();+function Vye() {+ return iq();}-function $q(e, t) {+function Qq(e, t) {e.options.onRowSelectionChange?.(t);}-function Vye(e, t) {- e._lastSelectedRowId = null, $q(e, t ? aq() : Object.assign(aq(), rq(e.initialState.rowSelection ?? {})));+function Hye(e, t) {+ e._lastSelectedRowId = null, Qq(e, t ? iq() : Object.assign(iq(), nq(e.initialState.rowSelection ?? {})));}-function eJ(e, t, n) {- e._lastSelectedRowId = null, $q(e, (r) => {- if (t = t === void 0 ? !_q(e, "getIsAllRowsSelected", rJ) : t, n?.deselectAll && !t) return aq();- let i = Object.assign(aq(), r), a = e.getPreGroupedRowModel().flatRows;+function $q(e, t, n) {+ e._lastSelectedRowId = null, Qq(e, (r) => {+ if (t = t === void 0 ? !gq(e, "getIsAllRowsSelected", nJ) : t, n?.deselectAll && !t) return iq();+ let i = Object.assign(iq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- pJ(t, e) && (i[t.id] = !0);+ fJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- lJ(e) && delete i[e.id];+ cJ(e) && delete i[e.id];});return i;});}-function tJ(e, t, n) {- e._lastSelectedRowId = null, $q(e, (r) => {- let i = t === void 0 ? !_q(e, "getIsAllPageRowsSelected", iJ) : t;- if (n?.deselectAll && !i) return aq();- let a = Object.assign(aq(), r);+function eJ(e, t, n) {+ e._lastSelectedRowId = null, Qq(e, (r) => {+ let i = t === void 0 ? !gq(e, "getIsAllPageRowsSelected", rJ) : t;+ if (n?.deselectAll && !i) return iq();+ let a = Object.assign(iq(), r);return e.getRowModel().rows.forEach((t) => {- fJ(a, t.id, i, !0, e, !0);+ dJ(a, t.id, i, !0, e, !0);}), a;});}-function Hye(e) {+function Uye(e) {return e.getCoreRowModel();}-function Uye(e) {+function Wye(e) {let t = e.getCoreRowModel();- return _q(e, "getIsSomeRowsSelected", aJ) ? gJ(t, e) : {+ return gq(e, "getIsSomeRowsSelected", iJ) ? hJ(t, e) : {rows: [],flatRows: [],- rowsById: aq()+ rowsById: iq()};}-function Wye(e) {+function Gye(e) {let t = e.getFilteredRowModel();- return _q(e, "getIsSomeRowsSelected", aJ) ? gJ(t, e) : {+ return gq(e, "getIsSomeRowsSelected", iJ) ? hJ(t, e) : {rows: [],flatRows: [],- rowsById: aq()+ rowsById: iq()};}-function Gye(e) {+function Kye(e) {let t = e.getSortedRowModel();- return _q(e, "getIsSomeRowsSelected", aJ) ? gJ(t, e) : {+ return gq(e, "getIsSomeRowsSelected", iJ) ? hJ(t, e) : {rows: [],flatRows: [],- rowsById: aq()+ rowsById: iq()};}-function nJ(e) {+function tJ(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function rJ(e) {+function nJ(e) {let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);if (r) {let e = /* @__PURE__ */ new Map();- t.some((t) => !_J(t, n) && pJ(t, e)) && (r = !1);+ t.some((t) => !gJ(t, n) && fJ(t, e)) && (r = !1);}return r;}-function iJ(e) {+function rJ(e) {let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;for (let e = 0; e < t.length; e++) {let a = t[e];- if (_J(a, n)) !i && pJ(a, r) && (i = !0);- else if (pJ(a, r)) return !1;+ if (gJ(a, n)) !i && fJ(a, r) && (i = !0);+ else if (fJ(a, r)) return !1;}return i;}-function aJ(e) {- return _q(e, "getSelectedRowIds", nJ).length > 0;-}-function Kye(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => lJ(e)).some((e) => sJ(e) || _q(e, "getIsSomeSelected", cJ));+function iJ(e) {+ return gq(e, "getSelectedRowIds", tJ).length > 0;}function qye(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => cJ(e)).some((e) => oJ(e) || gq(e, "getIsSomeSelected", sJ));+}+function Jye(e) {return (t) => {- eJ(e, t.target.checked);+ $q(e, t.target.checked);};}-function Jye(e) {+function Yye(e) {return (t) => {- tJ(e, t.target.checked);+ eJ(e, t.target.checked);};}-function oJ(e, t, n) {- let r = sJ(e);- $q(e.table, (i) => {+function aJ(e, t, n) {+ let r = oJ(e);+ Qq(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(aq(), i);- return fJ(a, e.id, t, (n?.selectChildren ?? !0) && dJ(e), e.table), !t && n?.deselectParents && mJ(a, e), a;+ let a = Object.assign(iq(), i);+ return dJ(a, e.id, t, (n?.selectChildren ?? !0) && uJ(e), e.table), !t && n?.deselectParents && pJ(a, e), a;});}-function sJ(e) {- return _J(e, e.table.atoms.rowSelection?.get() ?? {});+function oJ(e) {+ return gJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function cJ(e) {- return vJ(e) === "some";+function sJ(e) {+ return _J(e) === "some";}-function Yye(e) {- return vJ(e) === "all";+function Xye(e) {+ return _J(e) === "all";}-function lJ(e) {+function cJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function uJ(e) {+function lJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function dJ(e) {+function uJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function Xye(e, t) {- let n = lJ(e);+function Zye(e, t) {+ let n = cJ(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 && dJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && Zye(e, s, o, t) || oJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && uJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && Qye(e, s, o, t) || aJ(e, o, t), a._lastSelectedRowId = e.id;};}-function Zye(e, t, n, r) {+function Qye(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !dJ(s) || !dJ(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !uJ(s) || !uJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return $q(a, (e) => {- let t = Object.assign(aq(), e);+ return Qq(a, (e) => {+ let t = Object.assign(iq(), e);for (let e = f; e <= p; e++) {let s = o[e];- lJ(s) && dJ(s) && (fJ(t, s.id, n, i, a), !n && r?.deselectParents && mJ(t, s));+ cJ(s) && uJ(s) && (dJ(t, s.id, n, i, a), !n && r?.deselectParents && pJ(t, s));}return t;}), !0;}-function fJ(e, t, n, r, i, a) {+function dJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (dJ(o) || Object.keys(e).forEach((t) => delete e[t]), lJ(o) && (e[t] = !0)) : (!a || lJ(o)) && delete e[t], r && o.subRows.length && uJ(o) && o.subRows.forEach((t) => fJ(e, t.id, n, r, i, a));+ n ? (uJ(o) || Object.keys(e).forEach((t) => delete e[t]), cJ(o) && (e[t] = !0)) : (!a || cJ(o)) && delete e[t], r && o.subRows.length && lJ(o) && o.subRows.forEach((t) => dJ(e, t.id, n, r, i, a));}-function pJ(e, t) {- if (!lJ(e)) return !1;+function fJ(e, t) {+ if (!cJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -56474,7 +56474,7 @@ function pJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!uJ(r)) {+ if (!lJ(r)) {s = !1;break;}@@ -56482,50 +56482,50 @@ function pJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function mJ(e, t) {+function pJ(e, t) {let n = t.table.getCoreRowModel().rowsById, r = t.parentId;for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;}-function hJ(e, t, n, r) {+function mJ(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = _J(o, t);+ let o = e[a], s = gJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = hJ(o.subRows, t, n, r);+ let e = mJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- iq(t, o), t.subRows = e, i.push(t);+ rq(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function gJ(e, t) {- let n = [], r = aq(), i = t.atoms.rowSelection?.get() ?? {};+function hJ(e, t) {+ let n = [], r = iq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: hJ(e.rows, i, n, r),+ rows: mJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function _J(e, t) {- return !!(oq(t, e.id) && t[e.id]);+function gJ(e, t) {+ return !!(aq(t, e.id) && t[e.id]);}-function vJ(e) {+function _J(e) {if (!e.subRows.length) return !1;let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;for (let a = 0; a < e.subRows.length; a++) {let o = e.subRows[a];if (n && !r) break;- if (lJ(o) && (i = !0, _J(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = vJ(o);+ if (cJ(o) && (i = !0, gJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = _J(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}return i ? r ? "all" : n ? "some" : !1 : !1;}// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var yJ = {+var vJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -56533,11 +56533,11 @@ var yJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: Bye(),+ rowSelection: Vye(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: sq("rowSelection", e),+ onRowSelectionChange: oq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56548,11 +56548,11 @@ var yJ = {}}),assignRowPrototype: (e, t) => {- gq("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => oJ(e, t, n) },- row_getIsSelected: { fn: (e) => sJ(e) },+ hq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => aJ(e, t, n) },+ row_getIsSelected: { fn: (e) => oJ(e) },row_getIsSomeSelected: {- fn: (e) => cJ(e),+ fn: (e) => sJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56560,44 +56560,44 @@ var yJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => Yye(e),+ fn: (e) => Xye(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => lJ(e) },- row_getCanSelectSubRows: { fn: (e) => uJ(e) },- row_getCanMultiSelect: { fn: (e) => dJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => Xye(e, t) }+ row_getCanSelect: { fn: (e) => cJ(e) },+ row_getCanSelectSubRows: { fn: (e) => lJ(e) },+ row_getCanMultiSelect: { fn: (e) => uJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => Zye(e, t) }});},constructTableAPIs: (e) => {- hq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => $q(e, t) },- table_resetRowSelection: { fn: (t) => Vye(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => eJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => tJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => Hye(e) },+ mq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => Qq(e, t) },+ table_resetRowSelection: { fn: (t) => Hye(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => $q(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => eJ(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => Uye(e) },table_getSelectedRowModel: {- fn: () => Uye(e),+ fn: () => Wye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => Wye(e),+ fn: () => Gye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => Gye(e),+ fn: () => Kye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => nJ(e),+ fn: () => tJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => rJ(e),+ fn: () => nJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -56606,7 +56606,7 @@ var yJ = {]},table_getIsAllPageRowsSelected: {- fn: () => iJ(e),+ fn: () => rJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -56615,48 +56615,48 @@ var yJ = {]},table_getIsSomeRowsSelected: {- fn: () => aJ(e),+ fn: () => iJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => Kye(e),+ fn: () => qye(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => qye(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => Jye(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => Jye(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => Yye(e) }});}-}, Qye = /([0-9]+)/gm;+}, $ye = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function $ye(e) {+function ebe(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var bJ = /* @__PURE__ */ $ye({ sort: (e, t) => ebe(e, t) });-function ebe(e, t) {+var yJ = /* @__PURE__ */ ebe({ sort: (e, t) => tbe(e, t) });+function tbe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function tbe() {+function nbe() {return [];}-function xJ(e, t) {- dq(e, "sorting", t);+function bJ(e, t) {+ uq(e, "sorting", t);}-function SJ(e, t) {- xJ(e, t ? [] : rq(e.initialState.sorting ?? []));+function xJ(e, t) {+ bJ(e, t ? [] : nq(e.initialState.sorting ?? []));}-function nbe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && SJ(e);+function rbe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && xJ(e);}-function CJ(e) {+function SJ(e) {let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;for (let t = 0; t < n.length; t++) {let a = n[t].getValue(e.id);@@ -56664,7 +56664,7 @@ function CJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(Qye).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split($ye).length > 1)) {r = "alphanumeric";break;}@@ -56673,9 +56673,9 @@ function CJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return bJ;+ return yJ;}-function wJ(e) {+function CJ(e) {let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);for (let n = 0; n < t.length; n++) {let r = t[n].getValue(e.id);@@ -56683,14 +56683,14 @@ function wJ(e) {}return "desc";}-function TJ(e) {+function wJ(e) {let t = e.table._rowModelFns.sortFns;- return nve(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? CJ(e) : t?.[e.columnDef.sortFn] ?? bJ;+ return rve(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? SJ(e) : t?.[e.columnDef.sortFn] ?? yJ;}-function EJ(e, t, n) {- let r = OJ(e, n && AJ(e)), i = t !== void 0;- xJ(e.table, (a) => {- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && AJ(e) && n);+function TJ(e, t, n) {+ let r = DJ(e, n && kJ(e)), i = t !== void 0;+ bJ(e.table, (a) => {+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && kJ(e) && n);return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {id: e.id,desc: u@@ -56706,40 +56706,40 @@ function EJ(e, t, n) {}], c;});}-function DJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? wJ(e) === "desc" ? "desc" : "asc";+function EJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? CJ(e) === "desc" ? "desc" : "asc";}-function OJ(e, t) {- let n = DJ(e), r = jJ(e);+function DJ(e, t) {+ let n = EJ(e), r = AJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function kJ(e) {+function OJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function AJ(e) {+function kJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function jJ(e) {+function AJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function rbe(e) {- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;-}function ibe(e) {- xJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+ return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}function abe(e) {- let t = kJ(e);+ bJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+}+function obe(e) {+ let t = OJ(e);return (n) => {- t && EJ(e, void 0, AJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && TJ(e, void 0, kJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var MJ = {+var jJ = {getInitialState(e) {return {- sorting: tbe(),+ sorting: nbe(),...e};},@@ -56752,58 +56752,58 @@ var MJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: sq("sorting", e),+ onSortingChange: oq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- gq("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => CJ(e) },- column_getAutoSortDir: { fn: (e) => wJ(e) },- column_getSortFn: { fn: (e) => TJ(e) },- column_toggleSorting: { fn: (e, t, n) => EJ(e, t, n) },- column_getFirstSortDir: { fn: (e) => DJ(e) },- column_getNextSortingOrder: { fn: (e, t) => OJ(e, t) },- column_getCanSort: { fn: (e) => kJ(e) },- column_getCanMultiSort: { fn: (e) => AJ(e) },- column_getIsSorted: { fn: (e) => jJ(e) },- column_getSortIndex: { fn: (e) => rbe(e) },- column_clearSorting: { fn: (e) => ibe(e) },- column_getToggleSortingHandler: { fn: (e) => abe(e) }+ hq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => SJ(e) },+ column_getAutoSortDir: { fn: (e) => CJ(e) },+ column_getSortFn: { fn: (e) => wJ(e) },+ column_toggleSorting: { fn: (e, t, n) => TJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => EJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => DJ(e, t) },+ column_getCanSort: { fn: (e) => OJ(e) },+ column_getCanMultiSort: { fn: (e) => kJ(e) },+ column_getIsSorted: { fn: (e) => AJ(e) },+ column_getSortIndex: { fn: (e) => ibe(e) },+ column_clearSorting: { fn: (e) => abe(e) },+ column_getToggleSortingHandler: { fn: (e) => obe(e) }});},constructTableAPIs(e) {- hq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => nbe(e) },- table_setSorting: { fn: (t) => xJ(e, t) },- table_resetSorting: { fn: (t) => SJ(e, t) }+ mq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => rbe(e) },+ table_setSorting: { fn: (t) => bJ(e, t) },+ table_resetSorting: { fn: (t) => xJ(e, t) }});}-}, obe = typeof window > "u" ? P.useEffect : P.useLayoutEffect;-function NJ(e, t) {+}, sbe = typeof window > "u" ? P.useEffect : P.useLayoutEffect;+function MJ(e, t) {let [{ table: n, rootSource: r }] = (0, P.useState)(() => {- let t = bye({+ let t = xye({...e,features: {- coreReactivityFeature: $_e(),+ coreReactivityFeature: eve(),...e.features}});- return t.Subscribe = ((e) => Y_e({+ return t.Subscribe = ((e) => X_e({...e,source: e.source ?? t.store- })), t.FlexRender = R_e, {+ })), t.FlexRender = z_e, {table: t,- rootSource: Q_e(t.store, QK)+ rootSource: $_e(t.store, ZK)};}), i = n;- Mq(i, (t) => ({+ jq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = tq(r, t, { compare: QK });- return obe(() => {- r.markCommitted(o), jq(i, a ?? null, QK);+ let a = i.options.state, o = r.get(), s = eq(r, t, { compare: ZK });+ return sbe(() => {+ r.markCommitted(o), Aq(i, a ?? null, ZK);}), (0, P.useMemo)(() => ({...n,options: e,@@ -56815,18 +56815,18 @@ function NJ(e, t) {]);}// src/react/boardui/components/base/table/table.tsx-function PJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function NJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: oF("w-full overflow-x-auto", n),+ className: sF("w-full overflow-x-auto", n),children: /* @__PURE__ */ (0, F.jsx)(vfe, {ref: r,...i,- className: oF("bui-table", e === "sm" && "bui-table-sm", t)+ className: sF("bui-table", e === "sm" && "bui-table-sm", t)})});}// src/react/catalog-grid/catalog-table-columns.ts-var FJ = "peach.catalog-column-widths.v1", IJ = "peach.catalog-column-visibility.v1", sbe = {+var PJ = "peach.catalog-column-widths.v1", FJ = "peach.catalog-column-visibility.v1", cbe = {select: {width: 48,min: 48,@@ -56892,13 +56892,13 @@ var FJ = "peach.catalog-column-widths.v1", IJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, cbe = {+}, lbe = {code: !1,o: !1,new: !1,played: !1,release: !1-}, lbe = {+}, ube = {select: "选择",name: "作品",dur: "时长",@@ -56912,7 +56912,7 @@ var FJ = "peach.catalog-column-widths.v1", IJ = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, LJ = [+}, IJ = ["select","name","tags",@@ -56928,13 +56928,13 @@ var FJ = "peach.catalog-column-widths.v1", IJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: lbe[e],- ...sbe[e],+ label: ube[e],+ ...cbe[e],flex: e === "name",required: e === "select" || e === "name",- visible: cbe[e] !== !1+ visible: lbe[e] !== !1}));-function RJ(e) {+function LJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56942,9 +56942,9 @@ function RJ(e) {return {};}}-function ube() {- let e = RJ(FJ), t = RJ(IJ);- return LJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+function dbe() {+ let e = LJ(PJ), t = LJ(FJ);+ return IJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);return {id: t.id,@@ -56955,37 +56955,37 @@ function ube() {});}// src/react/library-processing/completion-row.ts-var zJ = "peach.catalog.completion-row";-function BJ() {+var RJ = "peach.catalog.completion-row";+function zJ() {try {- return localStorage.getItem(zJ) === "1";+ return localStorage.getItem(RJ) === "1";} catch {return !1;}}-function dbe(e) {+function fbe(e) {try {- e ? localStorage.setItem(zJ, "1") : localStorage.removeItem(zJ);+ e ? localStorage.setItem(RJ, "1") : localStorage.removeItem(RJ);} catch {}}-var fbe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var pbe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function VJ(e) {+function BJ(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function pbe(e) {- let t = ube(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${VJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (BJ() ? fbe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function mbe(e) {+ let t = dbe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${BJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (zJ() ? pbe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}-function HJ(e, t) {- return NM() === "list" ? pbe(e) : Rs(e, {+function VJ(e, t) {+ return PM() === "list" ? mbe(e) : Rs(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, P.useRef)(null);return (0, P.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -56999,7 +56999,7 @@ function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && pG(e, r) && n(r.dataset.key);+ r && fG(e, r) && n(r.dataset.key);} : void 0,children: r ? /* @__PURE__ */ (0, F.jsx)(gfe, {className: "relative min-w-0",@@ -57010,7 +57010,7 @@ function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {});}// src/react/components/select.tsx-function WJ({ prefix: e, renderValue: t, size: n, ...r }) {+function UJ({ prefix: e, renderValue: t, size: n, ...r }) {if (e == null) return /* @__PURE__ */ (0, F.jsx)(AU, {...r,size: n,@@ -57028,7 +57028,7 @@ function WJ({ prefix: e, renderValue: t, size: n, ...r }) {});}// src/react/components/table-pagination.tsx-function GJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function WJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, F.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -57067,11 +57067,11 @@ function GJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {});}// src/react/components/table-controls.tsx-function KJ({ label: e, options: t, sorting: n, onChange: r }) {+function GJ({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsxs)(WJ, {+ children: [/* @__PURE__ */ (0, F.jsxs)(UJ, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -57104,7 +57104,7 @@ function KJ({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [+function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -57119,7 +57119,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(WJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(UJ, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -57133,7 +57133,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, F.jsx)(GJ, {+ }), /* @__PURE__ */ (0, F.jsx)(WJ, {label: `${e}分页`,page: c + 1,pages: s,@@ -57146,7 +57146,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/table-column-preferences.ts-function JJ(e) {+function qJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -57154,17 +57154,17 @@ function JJ(e) {return {};}}-function YJ(e, t) {+function JJ(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function mbe(e, t) {+function hbe(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, P.useState)(() => {- let r = JJ(e);+ let r = qJ(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -57181,7 +57181,7 @@ function mbe(e, t) {...r,...Object.fromEntries(t)});- i(a), YJ(e, a);+ i(a), JJ(e, a);},reset: () => {i(n({}));@@ -57191,26 +57191,26 @@ function mbe(e, t) {}};}-function hbe(e, t, n, r = {}) {+function gbe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, P.useState)(() => i(JJ(e)));+ }), [a, o] = (0, P.useState)(() => i(qJ(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), YJ(e, n);+ o(n), JJ(e, n);}};}-function XJ(e, t, n) {+function YJ(e, t, n) {let r = (0, P.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = mbe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = hbe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = hbe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = gbe(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,@@ -57229,15 +57229,15 @@ function XJ(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function gbe() {- return XJ("catalog", LJ, {- widths: FJ,- visibility: IJ+function _be() {+ return YJ("catalog", IJ, {+ widths: PJ,+ visibility: FJ});}// src/react/components/rating-stars.tsx-var ZJ = Vz("star");-function QJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var XJ = Vz("star");+function ZJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-stars": "",@@ -57260,25 +57260,25 @@ function QJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(ZJ, {})+ children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(XJ, {})}, e) : /* @__PURE__ */ (0, F.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, F.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, F.jsx)(ZJ, {}), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(XJ, {}), /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, F.jsx)(ZJ, {})+ children: /* @__PURE__ */ (0, F.jsx)(XJ, {})})]})}, e))});}// src/react/catalog-grid/catalog-table-controls.tsx-function _be({ item: e, actions: t }) {- let { rating: n } = e, r = jH(), i = (0, P.useRef)(0), a = HM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- zM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function vbe({ item: e, actions: t }) {+ let { rating: n } = e, r = jH(), i = (0, P.useRef)(0), a = UM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ BM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57290,7 +57290,7 @@ function _be({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, F.jsx)(QJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(ZJ, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0@@ -57307,7 +57307,7 @@ function _be({ item: e, actions: t }) {}) : null]});}-function $J(e) {+function QJ(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -57322,11 +57322,11 @@ function $J(e) {});}// src/react/components/selection-actions.tsx-function eY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,- className: oF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),+ className: sF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "ghost",size: "small",@@ -57346,8 +57346,8 @@ function eY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {});}// src/react/components/selection-popover.tsx-function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {- let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = /* @__PURE__ */ (0, F.jsx)(eY, {+function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {+ let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = /* @__PURE__ */ (0, F.jsx)($J, {actions: a,layout: o,onNavigate: () => u(!1)@@ -57380,7 +57380,7 @@ function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,onOpenChange: u,placement: "bottom end",offset: 4,- className: oF(eV, "w-max overscroll-contain"),+ className: sF(eV, "w-max overscroll-contain"),children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(PH, {"aria-label": e,"data-selection-placement": t ?? "bottom",@@ -57390,13 +57390,13 @@ function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,})] });}// src/react/components/table-column-controls.tsx-function nY({ preferences: e, label: t = "表格" }) {+function tY({ preferences: e, label: t = "表格" }) {let n = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, F.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(tY, {+ children: [/* @__PURE__ */ (0, F.jsx)(eY, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -57424,20 +57424,20 @@ function nY({ preferences: e, label: t = "表格" }) {})]});}-function rY({ preferences: e, id: t }) {+function nY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(Dfe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function iY(e, t) {+function rY(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function aY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = iY(e, n);+function iY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = rY(e, n);return /* @__PURE__ */ (0, F.jsx)(sV, {slot: null,"aria-label": t,@@ -57445,18 +57445,18 @@ function aY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {isSelected: i,isIndeterminate: a,onChange: () => {- let t = !iY(e, n).all;+ let t = !rY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var vbe = Pq({- rowSortingFeature: MJ,- rowSelectionFeature: yJ,- rowPaginationFeature: Qq,- columnVisibilityFeature: Hq-}), ybe = [+var ybe = Nq({+ rowSortingFeature: jJ,+ rowSelectionFeature: vJ,+ rowPaginationFeature: Zq,+ columnVisibilityFeature: Vq+}), bbe = [{id: "name",label: "名称"@@ -57493,12 +57493,12 @@ var vbe = Pq({id: "played",label: "观看时间"}-], oY = /* @__PURE__ */ new Map();-function bbe(e) {- let t = gbe(), n = dG(), r = FM(e.filters || {}, !1), [i] = (0, P.useState)(() => {+], aY = /* @__PURE__ */ new Map();+function xbe(e) {+ let t = _be(), n = uG(), r = IM(e.filters || {}, !1), [i] = (0, P.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, P.useState)(() => oY.get(i) || {+ }), [a, o] = (0, P.useState)(() => aY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -57506,7 +57506,7 @@ function bbe(e) {}}), { sorting: s, pagination: c } = a;(0, P.useEffect)(() => {- oY.set(i, a);+ aY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = Pt({queryKey: [@@ -57532,9 +57532,9 @@ function bbe(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : RK(f, e.layout.javImage), [h] = (0, P.useState)(BJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : LK(f, e.layout.javImage), [h] = (0, P.useState)(zJ);(0, P.useEffect)(() => {- d.data && !d.isPlaceholderData && dbe(m.length > 0);+ d.data && !d.isPlaceholderData && fbe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57566,14 +57566,14 @@ function bbe(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = NJ({- features: vbe,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = MJ({+ features: ybe,columns: (0, P.useMemo)(() => {- let t = Nq();+ let t = Mq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(aY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(iY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData@@ -57590,7 +57590,7 @@ function bbe(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(xbe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Sbe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57647,7 +57647,7 @@ function bbe(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(_be, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(vbe, {item: t.original,actions: e.actions})@@ -57668,13 +57668,13 @@ function bbe(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => $J(e.original.last_played)+ cell: ({ row: e }) => QJ(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => $J(e.original.first_seen)+ cell: ({ row: e }) => QJ(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -57734,9 +57734,9 @@ function bbe(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(nY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(KJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(tY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(GJ, {label: "作品列表",- options: ybe,+ options: bbe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57746,21 +57746,21 @@ function bbe(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, F.jsx)(zK, {+ }) : null : /* @__PURE__ */ (0, F.jsx)(RK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, F.jsx)(WW, {+ d.isError ? /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, F.jsx)(UJ, {+ /* @__PURE__ */ (0, F.jsx)(HJ, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, F.jsxs)(PJ, {+ children: /* @__PURE__ */ (0, F.jsxs)(NJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -57778,12 +57778,12 @@ function bbe(e) {...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {className: "flex items-center gap-0.5",- children: [BK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: [zK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,children: /* @__PURE__ */ (0, F.jsx)(ZB, {})}) : null]- }), /* @__PURE__ */ (0, F.jsx)(rY, {+ }), /* @__PURE__ */ (0, F.jsx)(nY, {preferences: t,id: e.id})] })@@ -57799,19 +57799,19 @@ function bbe(e) {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(rz, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: VJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(rz, { "data-table-space": "" })]+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(rz, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: BJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(rz, { "data-table-space": "" })]}, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(tz, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(rz, { children: BK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(rz, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(rz, { children: zK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(rz, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, F.jsx)(qJ, {+ d.data ? /* @__PURE__ */ (0, F.jsx)(KJ, {label: "作品列表",total: p,pagination: c,@@ -57822,8 +57822,8 @@ function bbe(e) {]});}-function xbe({ item: e, props: t, disabled: n }) {- let r = ao(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = CG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = dG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {+function Sbe({ item: e, props: t, disabled: n }) {+ let r = ao(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = SG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = uG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })@@ -57848,7 +57848,7 @@ function xbe({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, F.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, F.jsx)(GW, {+ r.html ? /* @__PURE__ */ (0, F.jsx)(WW, {artwork: r,relayout: (e) => Sl(e, "small")}) : /* @__PURE__ */ (0, F.jsx)("span", { children: "无预览" }),@@ -57911,20 +57911,20 @@ function xbe({ item: e, props: t, disabled: n }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function sY(e) {- let t = PM();- if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Cbe, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(bbe, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(wbe, { ...e }, n);+function oY(e) {+ let t = FM();+ if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(wbe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${IM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(xbe, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Tbe, { ...e }, n);}-function Sbe({ name: e }) {+function Cbe({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function cY({ children: e, selectMode: t }) {+function sY({ children: e, selectMode: t }) {let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = n.current;@@ -57940,8 +57940,8 @@ function cY({ children: e, selectMode: t }) {children: e});}-function Cbe(e) {- let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(jG, {+function wbe(e) {+ let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(AG, {item: i,variant: r,layout: e.layout,@@ -57955,13 +57955,13 @@ function Cbe(e) {return r === "next" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, F.jsx)(cY, {+ }) : /* @__PURE__ */ (0, F.jsx)(sY, {selectMode: e.selectMode,children: i});}-function wbe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? hce(e) : IM(e), [s] = (0, P.useState)(() => e.wall ? _ce(o.queryKey) : void 0), c = s || (i && e.initial ? {+function Tbe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? mce(e) : LM(e), [s] = (0, P.useState)(() => e.wall ? gce(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57982,7 +57982,7 @@ function wbe(e) {(0, P.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => yce(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => vce(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57992,7 +57992,7 @@ function wbe(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || _K(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && cK(e.item) ? [e.item] : []), v = a ? [] : RK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = UW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Tbe(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || gK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && sK(e.item) ? [e.item] : []), v = a ? [] : LK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = HW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Ebe(e, l.data, d, f, b);(0, P.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -58019,12 +58019,12 @@ function wbe(e) {let C = (0, P.useCallback)((e, t) => n.open(e, t), [n]), w = (0, P.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, P.useCallback)((e) => n.openShort(e), [n]), E = (0, P.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(Dbe, {+ }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(Obe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(jG, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(AG, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -58042,10 +58042,10 @@ function wbe(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, F.jsx)(zK, { assetIds: v }),+ /* @__PURE__ */ (0, F.jsx)(RK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(k_e, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(A_e, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${IM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -58053,7 +58053,7 @@ function wbe(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? tn(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? M_e({+ emptyHtml: l.data && !_.length ? N_e({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -58068,7 +58068,7 @@ function wbe(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, F.jsx)(WW, {+ if (!l.data) return /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(l.error),onRetry: () => void l.refetch()});@@ -58085,12 +58085,12 @@ function wbe(e) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Sce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(cY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Ebe, {+ children: xce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(sY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Dbe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(lY, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(cY, {entity: i,load: E,enabled: () => e.canLoadMore?.() !== !1@@ -58099,7 +58099,7 @@ function wbe(e) {]});}-function lY({ entity: e, load: t, enabled: n, children: r }) {+function cY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(!1), s = (0, P.useRef)(!1), [c, l] = (0, P.useState)({busy: !1,error: ""@@ -58141,7 +58141,7 @@ function lY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: HW });+ }, { rootMargin: VW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -58164,12 +58164,12 @@ function lY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: Cs(Ss) }- }), c.error ? /* @__PURE__ */ (0, F.jsx)(WW, {+ }), c.error ? /* @__PURE__ */ (0, F.jsx)(UW, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function Tbe(e, t, n, r, i) {+function Ebe(e, t, n, r, i) {let [a, o] = (0, P.useState)([]), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(0), u = (0, P.useRef)(0), d = (0, P.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -58181,7 +58181,7 @@ function Tbe(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- B(`/api/items?${xce(e.filters || {}, l.current)}`, r.signal).then((e) => {+ B(`/api/items?${bce(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58193,9 +58193,9 @@ function Tbe(e, t, n, r, i) {}, [t]), (0, P.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = bce(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = yce(n.length - t, m, p);if (!h.length) return;- let g = LM(s.items, d.current, e.groupCollapse !== !1);+ let g = RM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -58205,7 +58205,7 @@ function Tbe(e, t, n, r, i) {}]);}, [s]), a;}-function Ebe({ cut: e, props: t, onOpen: n }) {+function Dbe({ cut: e, props: t, onOpen: n }) {let r = (0, P.useRef)(null), { wireDrag: i } = t;return (0, P.useEffect)(() => {r.current && i(r.current);@@ -58221,12 +58221,12 @@ function Ebe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, F.jsx)(Sbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, F.jsx)(Cbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(jG, {+ children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(AG, {item: e,variant: "short",layout: t.layout,@@ -58241,17 +58241,17 @@ function Ebe({ cut: e, props: t, onOpen: n }) {})]});}-function uY(e, t, n) {+function lY(e, t, n) {return oo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function Dbe({ seed: e, layout: t, helpers: n, actions: r }) {+function Obe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, P.useRef)(/* @__PURE__ */ new Map()), a = (0, P.useRef)(t);a.current = t;let o = po(e, n.tagLabel), s = (0, P.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => RM(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), uY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = uY(e, t, !1);- return /* @__PURE__ */ (0, F.jsx)(VG, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => zM(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), lY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = lY(e, t, !1);+ return /* @__PURE__ */ (0, F.jsx)(BG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58261,12 +58261,12 @@ function Dbe({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : uY(e, {+ artworkIdentity: c === "small" ? l.html : lY(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => Sl(e, c),- ratio: SG(e, "grid", t),+ ratio: xG(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58277,37 +58277,37 @@ function Dbe({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function dY(e) {+async function uY(e) {await H.fetchQuery({queryKey: er,queryFn: () => tr(e)});}-var Obe = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), kbe = "/api/duplicates?limit=120", fY = ["duplicates"], pY = "/api/batch", mY = (e) => B(kbe, e), Abe = /[\s\-_.()[\]【】/\\]/;-function jbe(e) {+var kbe = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Abe = "/api/duplicates?limit=120", dY = ["duplicates"], fY = "/api/batch", pY = (e) => B(Abe, e), jbe = /[\s\-_.()[\]【】/\\]/;+function Mbe(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 && !Abe.test(n[r - 1]);) --r;+ for (; r > 0 && !jbe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Mbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Nbe(e) {+var Nbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Pbe(e) {await Promise.all([H.fetchQuery({- queryKey: fY,- queryFn: () => mY(e)- }), dY(e)]);+ queryKey: dY,+ queryFn: () => pY(e)+ }), uY(e)]);}-var Pbe = {+var Fbe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Fbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hY = (e, t) => Fbe(e, t).filter((t) => e.some((e) => e.location !== t)), Ibe = (e, t) => t.filter((t) => e.some((e) => hY(e.files, [t]).length));-function Lbe(e, t) {+}, Ibe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), mY = (e, t) => Ibe(e, t).filter((t) => e.some((e) => e.location !== t)), Lbe = (e, t) => t.filter((t) => e.some((e) => mY(e.files, [t]).length));+function Rbe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58326,19 +58326,19 @@ function Lbe(e, t) {}return n;}-function Rbe(e, t) {+function zbe(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 zbe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(pY, {+async function Bbe(e, t) {+ for (let n = 0; n < e.length; n += 200) await V(fY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}});}// src/react/media-repair/media-repair.ts-var gY = "/api/media-repair", _Y = ["media-repair"], vY = ["media-repair", "libraries"], Bbe = {+var hY = "/api/media-repair", gY = ["media-repair"], _Y = ["media-repair", "libraries"], Vbe = {status: "idle",library: "",stage: "",@@ -58350,39 +58350,39 @@ var gY = "/api/media-repair", _Y = ["media-repair"], vY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, yY = (e) => B(gY, e), bY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function Vbe(e) {+}, vY = (e) => B(hY, e), yY = async (e) => (await B("/api/libraries", e)).libraries || [];+async function Hbe(e) {await Promise.all([H.fetchQuery({+ queryKey: gY,+ queryFn: () => vY(e)+ }), H.fetchQuery({queryKey: _Y,queryFn: () => yY(e)- }), H.fetchQuery({- queryKey: vY,- queryFn: () => bY(e)})]);}-var xY = (e) => Number(e).toLocaleString();-function Hbe(e) {+var bY = (e) => Number(e).toLocaleString();+function Ube(e) {if (e.status === "running") {- let t = e.total ? `${xY(Math.min(e.checked || 0, e.total))} / ${xY(e.total)}` : "准备中";+ let t = e.total ? `${bY(Math.min(e.checked || 0, e.total))} / ${bY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${xY(e.repaired)} 部,${xY(e.failed)} 部修不了` : `修好 ${xY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${bY(e.repaired)} 部,${bY(e.failed)} 部修不了` : `修好 ${bY(e.repaired)} 部` : "";}-var Ube = (e) => `${xY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Wbe = "/api/quality-goals?limit=200", SY = ["quality-goals"], CY = (e) => B(Wbe, e);-async function Gbe(e) {+var Wbe = (e) => `${bY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Gbe = "/api/quality-goals?limit=200", xY = ["quality-goals"], SY = (e) => B(Gbe, e);+async function Kbe(e) {await H.fetchQuery({- queryKey: SY,- queryFn: () => CY(e)+ queryKey: xY,+ queryFn: () => SY(e)});}-var Kbe = (e) => e.has_cover ? Wa(e) : `/poster?id=${e.id}&c=4`;+var qbe = (e) => e.has_cover ? Wa(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function wY(e, t, n, r, i, a = i || !e.has(r)) {+function CY(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 qbe = "/api/review", Jbe = "/api/review/decision", Ybe = "/api/review/genre", TY = ["review"], EY = {+var Jbe = "/api/review", Ybe = "/api/review/decision", Xbe = "/api/review/genre", wY = ["review"], TY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58392,40 +58392,40 @@ var qbe = "/api/review", Jbe = "/api/review/decision", Ybe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Xbe = Object.keys(EY), Zbe = "metadata_fields", DY = (e) => typeof e == "string" && Object.hasOwn(EY, e), Qbe = {+}, Zbe = Object.keys(TY), Qbe = "metadata_fields", EY = (e) => typeof e == "string" && Object.hasOwn(TY, e), $be = {creator_tags: "creator",western_identity: "creator"-}, OY = [+}, DY = ["pending","later","ignored"-], kY = {+], OY = {pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, $be = {+}, exe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"-}, AY = (e) => e === "later" || e === "ignored" ? e : "pending", jY = (e, t) => t === "pending" ? {+}, kY = (e) => e === "later" || e === "ignored" ? e : "pending", AY = (e, t) => t === "pending" ? {sections: e.sections,counts: e.counts} : e.queues[t];-function exe(e, t) {+function txe(e, t) {return {...e,- ...t(jY(e, "pending")),+ ...t(AY(e, "pending")),queues: {later: t(e.queues.later),ignored: t(e.queues.ignored)}};}-function txe(e, t) {+function nxe(e, t) {let n = [["candidates", t ? "按来源数量" : "不分组"]];return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;}-function MY(e, t) {+function jY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -58442,10 +58442,10 @@ function MY(e, t) {}return [...n.values()];}-function nxe(e, t, n) {- return n && MY(e, t).find((e) => e.key === n)?.rows || e;+function rxe(e, t, n) {+ return n && jY(e, t).find((e) => e.key === n)?.rows || e;}-function rxe(e, t) {+function ixe(e, t) {let n = Zn(e.length, 20), r = Qn(t, n);return {page: r,@@ -58453,32 +58453,32 @@ function rxe(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function ixe(e) {+function axe(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 axe(e, t, n, r, i, a) {- return wY(e, t, n, r, i, a);+function oxe(e, t, n, r, i, a) {+ return CY(e, t, n, r, i, a);}-function oxe(e, t) {+function sxe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function NY(e, t) {+function MY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var PY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function sxe(e, t) {- let n = NY(e, t), r = PY(e, t);+var NY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function cxe(e, t) {+ let n = MY(e, t), r = NY(e, t);return r ? `${n} · ${r}` : n;}-var cxe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", lxe = (e) => String(e.tags || "").split("|").filter(Boolean), uxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function dxe(e) {+var lxe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", uxe = (e) => String(e.tags || "").split("|").filter(Boolean), dxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function fxe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function fxe(e, t, n, r) {+function pxe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58494,22 +58494,22 @@ function fxe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var pxe = (e) => ({+var mxe = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];-async function FY(e) {- let t = await B(qbe, e);- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${kY[e]}状态未取得,请刷新或更新写入端`);+async function PY(e) {+ let t = await B(Jbe, e);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${OY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function mxe(e) {- let t = await V(Jbe, e);+async function hxe(e) {+ let t = await V(Ybe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(TY, (t) => t && exe(t, (t) => ({+ H.setQueryData(wY, (t) => t && txe(t, (t) => ({...t,sections: {...t.sections,@@ -58525,33 +58525,33 @@ async function mxe(e) {}return t;}-function hxe(e, t) {- let n = H.getQueryData(TY);- return n && OY.flatMap((t) => jY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;+function gxe(e, t) {+ let n = H.getQueryData(wY);+ return n && DY.flatMap((t) => AY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var gxe = (e, t) => V(Ybe, {+var _xe = (e, t) => V(Xbe, {genre: e,tag: t});-async function _xe(e) {+async function vxe(e) {await H.fetchQuery({- queryKey: TY,- queryFn: () => FY(e)+ queryKey: wY,+ queryFn: () => PY(e)});}-function vxe(e, t, n) {+function yxe(e, t, n) {let r = new Set(t);- r.size && H.setQueryData(TY, (t) => {+ r.size && H.setQueryData(wY, (t) => {if (!t) return t;- let i = OY.flatMap((n) => jY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));+ let i = DY.flatMap((n) => AY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));if (!i.length) return t;let a = {skipped: "later",rejected: "ignored",restore: "pending",approved: null- }[n], o = Object.fromEntries(OY.map((o) => {- let s = jY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({+ }[n], o = Object.fromEntries(DY.map((o) => {+ let s = AY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({...e,decision: n === "restore" ? "pending" : n,decision_note: ""@@ -58578,224 +58578,224 @@ function vxe(e, t, n) {};});}-var yxe = () => H.invalidateQueries({- queryKey: TY,+var bxe = () => H.invalidateQueries({+ queryKey: wY,exact: !0});-function bxe(e, t) {+function xxe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${ir(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var xxe = "/api/links", IY = "/api/links/check", LY = "/api/links/prune", RY = ["links"], zY = ["links", "check"], BY = ["links", "prune"], Sxe = {+var Sxe = "/api/links", FY = "/api/links/check", IY = "/api/links/prune", LY = ["links"], RY = ["links", "check"], zY = ["links", "prune"], Cxe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function VY(e) {+async function BY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var HY = (e) => B(xxe, e), UY = (e) => V(IY, { status_only: !0 }, "POST", e), Cxe = ({ retry: e, checkId: t }) => VY(V(IY, e ? {+var VY = (e) => B(Sxe, e), HY = (e) => V(FY, { status_only: !0 }, "POST", e), wxe = ({ retry: e, checkId: t }) => BY(V(FY, e ? {retry: e,check_id: t-} : { restart: !0 })), WY = (e) => B(LY, e), wxe = ({ checkId: e, ids: t }) => VY(V(LY, {+} : { restart: !0 })), UY = (e) => B(IY, e), Txe = ({ checkId: e, ids: t }) => BY(V(IY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), GY = (e) => Number(e || 0).toLocaleString(), Txe = (e) => `已删除 ${GY(e.removed)} 条;${e.marked ? `已隐退女优的 ${GY(e.marked)} 条留作不可点的记录;` : ""}保留 ${GY(e.recovered)} 条未确认失效的链接。`;-function Exe(e) {+})), WY = (e) => Number(e || 0).toLocaleString(), Exe = (e) => `已删除 ${WY(e.removed)} 条;${e.marked ? `已隐退女优的 ${WY(e.marked)} 条留作不可点的记录;` : ""}保留 ${WY(e.recovered)} 条未确认失效的链接。`;+function Dxe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${GY(e.checked)} / ${GY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${WY(e.checked)} / ${WY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var KY = "/api/configuration", qY = "/api/pick-folder", JY = "/api/settings", YY = "/api/follow/schedule", XY = "/api/feeds/schedule", ZY = "/api/thumbnail-jobs", QY = ["settings"], $Y = ["follow-schedule"], eX = ["feed-schedule"], tX = ["thumbnail-jobs"], nX = "/api/media-processing", Dxe = ["media-processing"], Oxe = (e) => B(nX, e), rX = (e) => B(JY, e), kxe = (e) => B(YY, e), Axe = (e) => B(XY, e), jxe = (e) => B(ZY, e);-function Mxe(e = H) {+var GY = "/api/configuration", KY = "/api/pick-folder", qY = "/api/settings", JY = "/api/follow/schedule", YY = "/api/feeds/schedule", XY = "/api/thumbnail-jobs", ZY = ["settings"], QY = ["follow-schedule"], $Y = ["feed-schedule"], eX = ["thumbnail-jobs"], tX = "/api/media-processing", Oxe = ["media-processing"], kxe = (e) => B(tX, e), nX = (e) => B(qY, e), Axe = (e) => B(JY, e), jxe = (e) => B(YY, e), Mxe = (e) => B(XY, e);+function Nxe(e = H) {return e.fetchQuery({- queryKey: QY,- queryFn: ({ signal: e }) => rX(e),+ queryKey: ZY,+ queryFn: ({ signal: e }) => nX(e),staleTime: 0}).catch(() => null);}-function iX() {+function rX() {return Ft({- mutationFn: (e) => V(JY, e),- onSuccess: (e) => H.setQueryData(QY, e)+ mutationFn: (e) => V(qY, e),+ onSuccess: (e) => H.setQueryData(ZY, e)});}-function Nxe() {+function Pxe() {return Ft({- mutationFn: (e) => V(YY, {+ mutationFn: (e) => V(JY, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData($Y, e)+ onSuccess: (e) => H.setQueryData(QY, e)});}-var Pxe = {+var Fxe = {follow: {- url: `${YY}/run`,- key: $Y+ url: `${JY}/run`,+ key: QY},feed: {- url: `${XY}/run`,- key: eX+ url: `${YY}/run`,+ key: $Y}};-function Fxe(e) {- let { url: t, key: n } = Pxe[e];+function Ixe(e) {+ let { url: t, key: n } = Fxe[e];return Ft({mutationFn: () => V(t, {}),onSuccess: (e) => H.setQueryData(n, e)});}-var Ixe = (e) => e?.running ? 3e3 : !1;-function Lxe() {+var Lxe = (e) => e?.running ? 3e3 : !1;+function Rxe() {return Ft({- mutationFn: (e) => V(ZY, { mode: e }),- onSuccess: (e) => H.setQueryData(tX, e)+ mutationFn: (e) => V(XY, { mode: e }),+ onSuccess: (e) => H.setQueryData(eX, e)});}// src/react/data-cleanup/organize.ts-var Rxe = "/api/organize", zxe = "/api/organize/preview", Bxe = "/api/organize/apply", Vxe = "/api/organize/rollback", aX = ["organize"], Hxe = "/api/organize/example", Uxe = (e, t, n) => B(`${Hxe}?${new URLSearchParams({+var zxe = "/api/organize", Bxe = "/api/organize/preview", Vxe = "/api/organize/apply", Hxe = "/api/organize/rollback", iX = ["organize"], Uxe = "/api/organize/example", Wxe = (e, t, n) => B(`${Uxe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), oX = (e) => B(Rxe, e);-async function Wxe(e) {+})}`, n), aX = (e) => B(zxe, e);+async function Gxe(e) {await H.fetchQuery({- queryKey: aX,- queryFn: () => oX(e)+ queryKey: iX,+ queryFn: () => aX(e)});}-var Gxe = (e) => V(zxe, e), Kxe = (e) => V(qY, { initial: e }), qxe = (e) => e.kind === "apply" ? V(Bxe, {+var Kxe = (e) => V(Bxe, e), qxe = (e) => V(KY, { initial: e }), Jxe = (e) => e.kind === "apply" ? V(Vxe, {...e.request,confirm: !0-}) : V(Vxe, { confirm: !0 });-async function Jxe(e) {- H.setQueryData(aX, (t) => t && {+}) : V(Hxe, { confirm: !0 });+async function Yxe(e) {+ H.setQueryData(iX, (t) => t && {...t,templates: e});try {- await V(JY, { organizeTemplates: e });+ await V(qY, { organizeTemplates: e });} catch {}}-var Yxe = (e, t) => e && {+var Xxe = (e, t) => e && {...e,...t-}, Xxe = /目录模板|分隔符|盘符|`\.`/;-function Zxe(e) {+}, Zxe = /目录模板|分隔符|盘符|`\.`/;+function Qxe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var sX = (e) => Number(e || 0).toLocaleString();-function Qxe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${sX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${sX(e.counts.change)} 个文件会改名或移动,${sX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;-}+var oX = (e) => Number(e || 0).toLocaleString();function $xe(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${oX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${oX(e.counts.change)} 个文件会改名或移动,${oX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+}+function eSe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${sX(r)} 个文件${n ? `,${sX(n)} 行未能退回` : ""}。` : `已整理 ${sX(r)} 个文件${n ? `,${sX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${oX(r)} 个文件${n ? `,${oX(n)} 行未能退回` : ""}。` : `已整理 ${oX(r)} 个文件${n ? `,${oX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var eSe = "/api/orphan-records", tSe = "/api/orphan-records/attach", cX = ["orphan-records"], nSe = [+var tSe = "/api/orphan-records", nSe = "/api/orphan-records/attach", sX = ["orphan-records"], rSe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], lX = (e) => B(eSe, e), rSe = (e, t) => V(tSe, {+], cX = (e) => B(tSe, e), iSe = (e, t) => V(nSe, {id: e,target: t-}), iSe = (e) => V(pY, {+}), aSe = (e) => V(fY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), aSe = (e) => [+}), oSe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], oSe = (e) => [...nSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...aSe(e)].filter(Boolean).join(" · "), sSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", cSe = (e) => [e.name, sSe(e.duration)].filter(Boolean).join(" · "), uX = "/api/resource-sync/scan", dX = "/api/resource-sync/apply", fX = ["resource-sync", "scan"], pX = ["resource-sync", "apply"], mX = (e) => V(uX, {+], sSe = (e) => [...rSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...oSe(e)].filter(Boolean).join(" · "), cSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", lSe = (e) => [e.name, cSe(e.duration)].filter(Boolean).join(" · "), lX = "/api/resource-sync/scan", uX = "/api/resource-sync/apply", dX = ["resource-sync", "scan"], fX = ["resource-sync", "apply"], pX = (e) => V(lX, {background: !0,status_only: !0-}, "POST", e), lSe = () => V(uX, {+}, "POST", e), uSe = () => V(lX, {background: !0,restart: !0-}), hX = (e) => B(dX, e), uSe = (e) => V(dX, {+}), mX = (e) => B(uX, e), dSe = (e) => V(uX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), gX = (e) => (e?.sources ?? []).some((e) => Zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function dSe(e) {- gX(H.getQueryData(er)) && await Promise.all([H.fetchQuery({+}), hX = (e) => (e?.sources ?? []).some((e) => Zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function fSe(e) {+ hX(H.getQueryData(er)) && await Promise.all([H.fetchQuery({+ queryKey: dX,+ queryFn: () => pX(e)+ }), H.fetchQuery({queryKey: fX,queryFn: () => mX(e)- }), H.fetchQuery({- queryKey: pX,- queryFn: () => hX(e)})]);}-var fSe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), _X = (e) => Number(e || 0).toLocaleString(), vX = (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 ? `${_X(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", pSe = (e) => `将永久删除文件已不在盘上的 ${_X(yX(e))} 条记录和 ${_X(e.empty)} 个空文件夹,并清理 ${_X(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, mSe = (e) => `将永久删除文件已不在盘上的 ${_X(yX(e))} 条记录(含回收站里的)、${_X(e.empty)} 个空文件夹,并清理 ${_X(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, hSe = (e) => e.online ? [- `找不到文件 · 共 ${_X(e.total)} 项`,- e.vanish ? `${_X(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${_X(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${_X(e.total)} 项`;-function SX(e) {+var pSe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), gX = (e) => Number(e || 0).toLocaleString(), mSe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", _X = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), vX = (e) => e.vanish ? `${gX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", yX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", hSe = (e) => `将永久删除文件已不在盘上的 ${gX(_X(e))} 条记录和 ${gX(e.empty)} 个空文件夹,并清理 ${gX(e.cache?.files)} 个闲置缓存。${yX(e)}${vX(e)}`, gSe = (e) => `将永久删除文件已不在盘上的 ${gX(_X(e))} 条记录(含回收站里的)、${gX(e.empty)} 个空文件夹,并清理 ${gX(e.cache?.files)} 个闲置缓存。来源根目录保留。${yX(e)}${vX(e)}`, _Se = (e) => e.online ? [+ `找不到文件 · 共 ${gX(e.total)} 项`,+ e.vanish ? `${gX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${gX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${gX(e.total)} 项`;+function bX(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${_X(t.length)} 条记录没有删除(${o})` : "",- n ? `${_X(n)} 个文件夹没有删除` : "",- r.length ? `${_X(r.length)} 个缓存没有清理` : ""+ t.length ? `${gX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${gX(n)} 个文件夹没有删除` : "",+ r.length ? `${gX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var gSe = (e, t) => {- let { rest: n } = SX(e), r = `已永久删除 ${_X(e.purged)} 条失效记录和 ${_X(e.dirs_removed)} 个空文件夹,清理 ${_X(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${_X(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${_X(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var vSe = (e, t) => {+ let { rest: n } = bX(e), r = `已永久删除 ${gX(e.purged)} 条失效记录和 ${gX(e.dirs_removed)} 个空文件夹,清理 ${gX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${gX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${gX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, _Se = "/api/review?counts=1", CX = ["review", "counts"], vSe = "/api/ads?limit=1", wX = ["junk-summary"], TX = "/api/items?state=trash&limit=1", EX = ["trash-summary"], ySe = [+}, ySe = "/api/review?counts=1", xX = ["review", "counts"], bSe = "/api/ads?limit=1", SX = ["junk-summary"], CX = "/api/items?state=trash&limit=1", wX = ["trash-summary"], xSe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], DX = (e) => B(_Se, e), OX = (e) => B(vSe, e), kX = (e) => {+], TX = (e) => B(ySe, e), EX = (e) => B(bSe, e), DX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${TX}&library=${encodeURIComponent(t)}` : TX, e);-}, AX = (e) => Number(e || 0).toLocaleString();-function bSe(e) {- let t = EY, 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 B(t ? `${CX}&library=${encodeURIComponent(t)}` : CX, e);+}, OX = (e) => Number(e || 0).toLocaleString();+function SSe(e) {+ let t = TY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function xSe(e) {+function CSe(e) {if (!e) return "";- let t = ySe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${AX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${AX(e.dismissed_total)}`), t.join(" · ");-}-var SSe = [- [CX, ({ signal: e }) => DX(e)],- [SY, ({ signal: e }) => CY(e)],- [EX, ({ signal: e }) => kX(e)],+ let t = xSe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${OX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${OX(e.dismissed_total)}`), t.join(" · ");+}+var wSe = [+ [xX, ({ signal: e }) => TX(e)],+ [xY, ({ signal: e }) => SY(e)],+ [wX, ({ signal: e }) => DX(e)],+ [LY, ({ signal: e }) => VY(e)],[RY, ({ signal: e }) => HY(e)],[zY, ({ signal: e }) => UY(e)],- [BY, ({ signal: e }) => WY(e)],- [cX, ({ signal: e }) => lX(e)]+ [sX, ({ signal: e }) => cX(e)]];-async function CSe(e) {- let t = !!location.hash, n = SSe.map(([n, r]) => {+async function TSe(e) {+ let t = !!location.hash, n = wSe.map(([n, r]) => {if (t) return H.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -58808,22 +58808,22 @@ async function CSe(e) {await Promise.all([...n,H.fetchQuery({- queryKey: wX,- queryFn: () => OX(e)+ queryKey: SX,+ queryFn: () => EX(e)}),H.fetchQuery({- queryKey: fY,- queryFn: () => mY(e)+ queryKey: dY,+ queryFn: () => pY(e)}),- dY(e).then(() => dSe(e)),+ uY(e).then(() => fSe(e)),CH(e),- Vbe(e),- Wxe(e)+ Hbe(e),+ Gxe(e)]);}// src/react/feed-new/feed-new.ts-var jX = (e) => ["feed-new", e ?? "home"], wSe = 8, TSe = 1500;-function ESe(e, t, n) {+var kX = (e) => ["feed-new", e ?? "home"], ESe = 8, DSe = 1500;+function OSe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58834,33 +58834,33 @@ function ESe(e, t, n) {setTimeout(e, n);})]);}-async function DSe(e, t, n) {+async function kSe(e, t, n) {let r = new URLSearchParams({ limit: String(vA().value.feedLimit) });e && r.set("entity", String(e));let i = await on(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await ESe(s, wSe, TSe), {+ return n && o.length && await OSe(s, ESe, DSe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var MX = (e, t, n = !1) => ({- queryKey: jX(e),- queryFn: () => DSe(e, t, n),+var AX = (e, t, n = !1) => ({+ queryKey: kX(e),+ queryFn: () => kSe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), NX = (e, t) => on("/api/feeds/discovery", {+}), jX = (e, t) => on("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function OSe(e) {- H.removeQueries({ queryKey: jX(null) }), await H.fetchQuery(MX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function ASe(e) {+ H.removeQueries({ queryKey: kX(null) }), await H.fetchQuery(AX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var PX = [+var MX = ["loc","creator","tag",@@ -58874,52 +58874,52 @@ var PX = ["browse","folder","folder_recursive"-], FX = {+], NX = {media: "videos",set: 0-}, IX = (e, t) => [+}, PX = (e, t) => ["entity",e,t-], kSe = (e, t, n, r) => [+], jSe = (e, t, n, r) => ["entity-items",e,t,n,r-], LX = (e, t, n, r) => [+], FX = (e, t, n, r) => ["entity-photos",e,t,n,r-], RX = (e) => String(e || "").split(",").filter(Boolean), ASe = (e, t) => RX(e).includes(t);-function zX(e, t, n, r, i = 0) {+], IX = (e) => String(e || "").split(",").filter(Boolean), MSe = (e, t) => IX(e).includes(t);+function LX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...RX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");- for (let t of PX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...IX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of MX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function BX(e, t, n, r, i, a, o) {- let s = zX(e, t, n, r, i);+async function RX(e, t, n, r, i, a, o) {+ let s = LX(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await on(`/api/items?${s}`, a ? { signal: a } : {});}-var VX = (e) => {+var zX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = zX(e.kind, e.name, e.filters, t).toString();+ }, n = LX(e.kind, e.name, e.filters, t).toString();return {- queryKey: kSe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => BX(e.kind, e.name, e.filters, t, 0, n),+ queryKey: jSe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => RX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, HX = (e, t) => ({- queryKey: IX(e, t),+}, BX = (e, t) => ({+ queryKey: PX(e, t),queryFn: ({ signal: n }) => on(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function jSe(e, t, n, r, i, a) {+function NSe(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)}` : ""}`;@@ -58928,10 +58928,10 @@ function jSe(e, t, n, r, i, a) {let s = r ? `&seed=${encodeURIComponent(r)}` : "";return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}-var UX = (e, t, n, r) => ({- queryKey: LX(e, t, n, r),+var VX = (e, t, n, r) => ({+ queryKey: FX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await on(jSe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await on(NSe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58944,8 +58944,8 @@ var UX = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), WX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function MSe(e) {+}), HX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function PSe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -58956,25 +58956,25 @@ async function MSe(e) {t,n] });- e.resolvedEntity?.id && H.setQueryData(IX(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(HX(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: jX(Number(t.id)) }), H.fetchQuery(MX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(VX(e)),- H.fetchInfiniteQuery(UX(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(UX(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && H.setQueryData(PX(t, n), e.resolvedEntity), await Promise.all([+ H.fetchQuery(BX(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: kX(Number(t.id)) }), H.fetchQuery(AX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ H.fetchQuery(zX(e)),+ H.fetchInfiniteQuery(VX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(VX(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var GX = [+var UX = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], KX = "mb-4 flex flex-wrap gap-2";-function NSe(e) {- let t = GX.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${KX}">${GX.map(([e, n]) => ls({+], WX = "mb-4 flex flex-wrap gap-2";+function FSe(e) {+ let t = UX.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${WX}">${UX.map(([e, n]) => ls({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -58982,45 +58982,45 @@ function NSe(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var PSe = "/api/follow/authors", FSe = "/api/follow/tags", ISe = (e) => [+var ISe = "/api/follow/authors", LSe = "/api/follow/tags", RSe = (e) => ["follow","authors",e-], LSe = (e, t) => [+], zSe = (e, t) => ["follow","tags",e,t];-function RSe(e, t, n) {+function BSe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${PSe}?${r}`;+ return e && r.set("q", e), `${ISe}?${r}`;}-function zSe(e, t, n, r) {+function VSe(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), `${FSe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${LSe}?${i}`;}-var BSe = (e, t, n, r) => B(RSe(e, t, n), r), VSe = (e, t, n, r, i) => B(zSe(e, t, n, r), i), HSe = "/api/index", qX = {+var HSe = (e, t, n, r) => B(BSe(e, t, n), r), USe = (e, t, n, r, i) => B(VSe(e, t, n, r), i), WSe = "/api/index", GX = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, USe = {+}, GSe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency",series: "series"-}, JX = [+}, KX = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -59030,31 +59030,31 @@ var BSe = (e, t, n, r) => B(RSe(e, t, n), r), VSe = (e, t, n, r, i) => B(zSe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], YX = [+], qX = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], XX = {+], JX = {people: 120,tags: 100-}, ZX = (e) => e !== "tags", QX = (e) => e === "studios" || e === "agencies";-function $X(e) {- if (e.kind === "creators" && e.category === "animation") return $X({+}, YX = (e) => e !== "tags", XX = (e) => e === "studios" || e === "agencies";+function ZX(e) {+ if (e.kind === "creators" && e.category === "animation") return ZX({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? YX : JX : e.kind === "performers" && t === "local" ? GX : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? qX : KX : e.kind === "performers" && t === "local" ? UX : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function eZ(e) {+function QX(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -59074,50 +59074,50 @@ function eZ(e) {...i && i !== "all" ? { category: i } : {}};}-var tZ = (e, t, n = "all") => [+var $X = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function nZ(e, t, n, r, i) {+function eZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${HSe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${WSe}?${a}`;}-function rZ(e, t = XX.tags) {- let n = e.what === "people" || e.what === "online-authors" ? XX.people : t, r = {+function tZ(e, t = JX.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? JX.people : t, r = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...r,- queryKey: tZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: t, signal: r }) => B(nZ(e.kind, e.q, e.category || "all", n, t), r)+ queryKey: $X(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => B(eZ(e.kind, e.q, e.category || "all", n, t), r)};case "tags": return {...r,- queryKey: tZ("tags", e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => B(nZ("tags", e.q, e.category, n, t), r)+ queryKey: $X("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => B(eZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,- queryKey: ISe(e.q),- queryFn: ({ pageParam: t, signal: r }) => BSe(e.q, n, t, r)+ queryKey: RSe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => HSe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: LSe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => VSe(e.q, e.category, n, t, r)+ queryKey: zSe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => USe(e.q, e.category, n, t, r)};}}-async function WSe(e, t) {- let n = rZ(eZ($X(e)));+async function KSe(e, t) {+ let n = tZ(QX(ZX(e)));H.removeQueries({queryKey: n.queryKey,exact: !0@@ -59131,20 +59131,20 @@ async function WSe(e, t) {getNextPageParam: n.getNextPageParam});}-var GSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], KSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, iZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qSe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, JSe = {+var qSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], JSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, nZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", YSe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, XSe = {numeric: !0,sensitivity: "base"};-function aZ(e, t) {+function rZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", JSe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", XSe))) {let e = Fn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/boardui/components/base/badges/chip.tsx-var oZ = sF({+var iZ = cF({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",@@ -59163,15 +59163,15 @@ var oZ = sF({soft: "bg-background-secondary-default text-text-secondary"}});-function sZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function aZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("span", {ref: r,- className: oF(oZ.base, oZ.variant[e], oZ.color[t], n),+ className: sF(iZ.base, iZ.variant[e], iZ.color[t], n),...i});}// src/react/index/index-people.tsx-function cZ({ html: e, face: t, company: n, big: r }) {+function oZ({ html: e, face: t, company: n, big: r }) {let i = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -59183,8 +59183,8 @@ function cZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var YSe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", XSe = Vz("rss");-function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var ZSe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", QSe = Vz("rss");+function sZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",...o,@@ -59194,7 +59194,7 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: aradius: "plain",padding: "none",interactive: !0,- className: `${YSe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${ZSe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -59203,10 +59203,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, F.jsx)(sZ, {+ children: /* @__PURE__ */ (0, F.jsx)(aZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, F.jsx)(XSe, {})+ children: /* @__PURE__ */ (0, F.jsx)(QSe, {})})}) : null,/* @__PURE__ */ (0, F.jsx)("span", {@@ -59222,24 +59222,24 @@ 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 = QX(e) || e === "series", a = n === "big";+function cZ({ kind: e, items: t, layout: n, props: r }) {+ let i = XX(e) || e === "series", a = n === "big";return /* @__PURE__ */ (0, F.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || USe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, F.jsx)(lZ, {+ let n = t.entity_kind || GSe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, F.jsx)(sZ, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${qSe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${YSe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, F.jsx)(cZ, {+ children: /* @__PURE__ */ (0, F.jsx)(oZ, {html: o.html,face: o.face,company: i,@@ -59249,14 +59249,14 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {})});}-function ZSe({ items: e, layout: t, props: n }) {+function $Se({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, F.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(lZ, {+ children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(sZ, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -59265,7 +59265,7 @@ function ZSe({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, F.jsx)(cZ, {+ children: /* @__PURE__ */ (0, F.jsx)(oZ, {html: n.authorAvatar(e),company: !1,big: r@@ -59274,8 +59274,8 @@ function ZSe({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var dZ = (e) => e.replace(/\s+/g, " ").trim();-function fZ(e) {+var lZ = (e) => e.replace(/\s+/g, " ").trim();+function uZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -59283,12 +59283,12 @@ function fZ(e) {let t = document.createRange();t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);}- return dZ(n);+ return lZ(n);}-function pZ(e) {+function dZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && fZ(e) && !mZ(e)) {+ if (e.matches("a") && uZ(e) && !fZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -59301,7 +59301,7 @@ function pZ(e) {let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);}-function mZ(e) {+function fZ(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -59312,19 +59312,19 @@ function mZ(e) {}return !1;}-function QSe() {+function eCe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {- let n = pZ(t), r = e.getBoundingClientRect();+ let n = dZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, o = () => {clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;}, s = (s, c) => {if (!(s instanceof Element)) return;let l = s.closest("[title]");- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (fZ(l) !== dZ(n) || mZ(l)) && (i = setTimeout(() => {- t === l && l.isConnected && pZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (uZ(l) !== lZ(n) || fZ(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && dZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));}, c)));};document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {@@ -59333,32 +59333,32 @@ function QSe() {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {if (!t || !Ko(n, t)) return;- let r = pZ(t);+ let r = dZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}// src/board-controls.ts-function hZ(e) {+function pZ(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var gZ = /* @__PURE__ */ new WeakSet();-function $Se() {- if (gZ.has(document)) return;- gZ.add(document);+var mZ = /* @__PURE__ */ new WeakSet();+function tCe() {+ if (mZ.has(document)) return;+ mZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(hZ), tCe(e), eCe(e);+ e.querySelectorAll("input[type=range]").forEach(pZ), rCe(e), nCe(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));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && pZ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && hZ(e.target);- }), QSe();+ e.target instanceof HTMLInputElement && e.target.type === "range" && pZ(e.target);+ }), eCe();}-function eCe(e) {+function nCe(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;@@ -59382,15 +59382,15 @@ function eCe(e) {r.observe(e);});}-var _Z = /* @__PURE__ */ new Map();-function tCe(e) {+var hZ = /* @__PURE__ */ new Map();+function rCe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = _Z.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = hZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -59399,7 +59399,7 @@ function tCe(e) {w: i.offsetWidth,h: i.offsetHeight};- Cc(t, r, a, "x"), r = a, _Z.set(n, a);+ Cc(t, r, a, "x"), r = a, hZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -59415,8 +59415,8 @@ function tCe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var vZ = "/vendor/swiper/14.3.0/", yZ = null, nCe = () => yZ ??= Promise.all([new Promise((e, t) => {- let n = `${vZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var gZ = "/vendor/swiper/14.3.0/", _Z = null, iCe = () => _Z ??= Promise.all([new Promise((e, t) => {+ let n = `${gZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -59430,11 +59430,11 @@ var vZ = "/vendor/swiper/14.3.0/", yZ = null, nCe = () => yZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${vZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${gZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw yZ = null, e;+ throw _Z = null, e;});-function rCe(e, t, n) {+function aCe(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);@@ -59455,46 +59455,46 @@ function rCe(e, t, n) {}};}-var bZ = (e) => {+var vZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : jn(t)).replace(" ", "\xA0") : "大小未知";-}, iCe = (e) => e.asset?.name || e.name || "未命名图片";-function aCe(e, t) {+}, oCe = (e) => e.asset?.name || e.name || "未命名图片";+function sCe(e, t) {let n = e.asset;- if (n) return [Ln[n.location ?? ""] || n.location || "来源未知", bZ(n.size)].join(" · ");+ if (n) return [Ln[n.location ?? ""] || n.location || "来源未知", vZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? bZ(e.size) : ""+ e.size ? vZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var xZ = null, SZ = null, oCe = 0;-function sCe() {- return SZ && xZ?.isConnected || (SZ?.unmount(), xZ = document.createElement("div"), xZ.className = "peach-react", xZ.dataset.photoLightboxHost = "", document.body.append(xZ), SZ = (0, Rt.createRoot)(xZ)), SZ;+var yZ = null, bZ = null, cCe = 0;+function lCe() {+ return bZ && yZ?.isConnected || (bZ?.unmount(), yZ = document.createElement("div"), yZ.className = "peach-react", yZ.dataset.photoLightboxHost = "", document.body.append(yZ), bZ = (0, Rt.createRoot)(yZ)), bZ;}-async function CZ(e, t, n) {+async function xZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await nCe();+ r = await iCe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = sCe();- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(cCe, {+ let i = lCe();+ (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(uCe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++oCe)));+ }, ++cCe)));}-function wZ() {- SZ && (0, Lt.flushSync)(() => SZ.render(null));+function SZ() {+ bZ && (0, Lt.flushSync)(() => bZ.render(null));}-function cCe({ slides: e, index: t, Swiper: n, host: r }) {+function uCe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, P.useId)(), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), [_, v] = (0, P.useState)(t), [y, b] = (0, P.useState)(100), [x, S] = (0, P.useState)({}), [C, w] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, P.useState)(!1), [k, A] = (0, P.useState)({at: t,text: ""@@ -59537,7 +59537,7 @@ function cCe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = rCe(e, a, b);+ i(t, 0), h.current = aCe(e, a, b);let m = Lc(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();};@@ -59554,13 +59554,13 @@ function cCe({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let x = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : wZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : SZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, P.useLayoutEffect)(() => {- m.current && hZ(m.current);+ m.current && pZ(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;@@ -59591,18 +59591,18 @@ function cCe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), wZ();+ e.preventDefault(), SZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && wZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && SZ();},children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: wZ,+ onClick: SZ,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -59738,10 +59738,10 @@ function cCe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: iCe(j)+ children: oCe(j)}, _), /* @__PURE__ */ (0, F.jsx)("span", {"data-photo-detail-meta": "",- children: aCe(j, x[_])+ children: sCe(j, x[_])})]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -59779,40 +59779,40 @@ function cCe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function lCe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(uCe, {+function dCe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(fCe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(dCe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(mCe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(pCe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(gCe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var TZ = XX.people;-function uCe({ roster: e, props: t }) {+var CZ = JX.people;+function fCe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, P.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, P.useState)(TZ), s = (0, P.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, P.useCallback)(async () => {- o((e) => e + TZ);+ }), [n, r]), [a, o] = (0, P.useState)(CZ), s = (0, P.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, P.useCallback)(async () => {+ o((e) => e + CZ);}, []);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uZ, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(cZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(lY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(cY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function dCe(e) {- let t = UW(!e.items, e.skeletonHtml);+function pCe(e) {+ let t = HW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(sY, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(oY, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -59832,33 +59832,33 @@ function dCe(e) {}) : null]});}-var fCe = (e) => Array.from({ length: e.n }, (t, n) => ({+var mCe = (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}`, pCe = (e) => EZ(e) ? {- src: `/sample-image?${DZ(e)}`,- thumb: OZ(e),+})), wZ = (e) => e.sample === !0, TZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, EZ = (e) => wZ(e) ? `/sample-thumb?${TZ(e)}` : `/photo-thumb?id=${e.id}`, hCe = (e) => wZ(e) ? {+ src: `/sample-image?${TZ(e)}`,+ thumb: EZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: OZ(e),+ thumb: EZ(e),name: e.name || "",asset: e};-function mCe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(fCe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {+function gCe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(mCe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, P.useCallback)((e) => {- CZ(e, o.map(pCe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(hCe, {+ xZ(e, o.map(hCe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(_Ce, {item: e,index: t,lost: s.has(t),@@ -59876,7 +59876,7 @@ function mCe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(kZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(DZ, {label: e.code,title: e.name,meta: [@@ -59888,7 +59888,7 @@ function mCe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, F.jsx)(kZ, {+ m.length && e.total ? /* @__PURE__ */ (0, F.jsx)(DZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -59897,14 +59897,14 @@ function mCe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, F.jsx)(lY, {+ e.hasMore ? /* @__PURE__ */ (0, F.jsx)(cY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function kZ({ label: e, title: t, meta: n }) {+function DZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-photo-group": "",children: [@@ -59921,7 +59921,7 @@ function kZ({ label: e, title: t, meta: n }) {]});}-function hCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function _Ce({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59930,7 +59930,7 @@ function hCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, F.jsx)("img", {- src: OZ(e),+ src: EZ(e),alt: a,loading: "lazy",decoding: "async",@@ -59940,9 +59940,9 @@ function hCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var gCe = 2e3, _Ce = (e) => e, vCe = (e, t) => t;-function AZ(e) {- let { queryKey: t, jobOf: n = _Ce, withJob: r = vCe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);+var vCe = 2e3, yCe = (e) => e, bCe = (e, t) => t;+function OZ(e) {+ let { queryKey: t, jobOf: n = yCe, withJob: r = bCe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);(0, P.useEffect)(() => {l.current = e;});@@ -59951,7 +59951,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" ? gCe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? vCe : i ?? !1;}}), d = Ft({mutationFn: (e) => l.current.start(e),@@ -59975,13 +59975,13 @@ function AZ(e) {};}// src/react/follow-feed/follow-check.ts-var jZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function yCe(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)) : [];+var kZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function xCe(e, t) {+ return t ? kZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function bCe({ sources: e, report: t }) {- let n = jZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = AZ({+function SCe({ sources: e, report: t }) {+ let n = kZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = OZ({queryKey: br,queryFn: ({ signal: e }) => $r(e),start: (e) => ni(e),@@ -60007,8 +60007,8 @@ function bCe({ sources: e, report: t }) {});}// src/react/follow-feed/follow-card.tsx-var xCe = (e) => Number(e) > 0;-function MZ({ name: e, actions: t, children: n, ...r }) {+var CCe = (e) => Number(e) > 0;+function AZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, F.jsx)("a", {...r,href: hn("creator", e),@@ -60018,15 +60018,15 @@ function MZ({ name: e, actions: t, children: n, ...r }) {children: n});}-var NZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var jZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: JU(e) }});-function SCe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function wCe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, P.useState)(!1), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);return (0, P.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, F.jsx)(NZ, { provider: i }) : /* @__PURE__ */ (0, F.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, F.jsx)(jZ, { provider: i }) : /* @__PURE__ */ (0, F.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -60045,7 +60045,7 @@ function SCe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function CCe(e) {+function TCe(e) {let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Zi(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) => O_e(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? $i(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ta({cover: p,coverFace: (f?.thumb_url ? f : u).face,@@ -60054,7 +60054,7 @@ function CCe(e) {limit: 9}), S = (0, P.useRef)(x.faces);S.current = x.faces;- let C = IG({+ let C = FG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -60077,7 +60077,7 @@ function CCe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: mG,+ onMouseDown: pG,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -60091,7 +60091,7 @@ function CCe(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, F.jsx)(SCe, {+ p ? /* @__PURE__ */ (0, F.jsx)(wCe, {src: p,fallback: m,width: _?.width,@@ -60099,7 +60099,7 @@ function CCe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, F.jsx)(NZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, F.jsx)(jZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -60132,7 +60132,7 @@ function CCe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- xCe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {+ CCe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-duration": "",children: kn(u.duration)}) : null,@@ -60204,7 +60204,7 @@ function CCe(e) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, F.jsx)(MZ, {+ E.entityName ? /* @__PURE__ */ (0, F.jsx)(AZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -60228,7 +60228,7 @@ function CCe(e) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, F.jsx)(MZ, {+ E.entityName ? /* @__PURE__ */ (0, F.jsx)(AZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -60277,9 +60277,9 @@ function CCe(e) {]});}-var PZ = (0, P.memo)(CCe);+var MZ = (0, P.memo)(TCe);// src/react/components/use-masonry-grid.ts-function wCe(e, t) {+function ECe(e, t) {let n = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {let t = n.current;@@ -60314,37 +60314,37 @@ function wCe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var FZ = [+var NZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], IZ = FZ.map(([e]) => e);-function LZ(e) {+], PZ = NZ.map(([e]) => e);+function FZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: IZ.find((e) => e === n) || "list",+ tab: PZ.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""};}-function RZ(e) {+function IZ(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");}-function zZ(e, t) {- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : RZ({- tab: t || LZ(e).tab,+function LZ(e, t) {+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : IZ({+ tab: t || FZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var BZ = () => /* @__PURE__ */ (0, F.jsx)("span", {+var RZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), TCe = Vz("settings"), VZ = Vz("chevron-down"), ECe = Vz("history"), DCe = Vz("arrow-up"), OCe = Vz("arrow-down"), kCe = [[+}), DCe = Vz("settings"), zZ = Vz("chevron-down"), OCe = Vz("history"), kCe = Vz("arrow-up"), ACe = Vz("arrow-down"), jCe = [["fixed","固定比例","layout-grid"@@ -60353,7 +60353,7 @@ var BZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"瀑布流","columns-2"]];-function ACe(e, t, n) {+function MCe(e, t, n) {return (0, P.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -60401,7 +60401,7 @@ function ACe(e, t, n) {n]);}-function jCe(e) {+function NCe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = Ri(t, r), o = It(a), s = Pt({queryKey: zi,queryFn: ({ signal: e }) => Bi(e)@@ -60409,7 +60409,7 @@ function jCe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = ACe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({+ }), [c, l]), d = MCe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({tags: Hl(d.visible.flatMap(Wi).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -60435,10 +60435,10 @@ function jCe(e) {m,i]);- let h = NCe(e, !!c);+ let h = FCe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, F.jsx)(HZ, {}), /* @__PURE__ */ (0, F.jsx)(WW, {+ children: [/* @__PURE__ */ (0, F.jsx)(BZ, {}), /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(o.error),onRetry: () => void o.refetch()})]@@ -60469,7 +60469,7 @@ function jCe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(HZ, { children: d.sources.length ? /* @__PURE__ */ (0, F.jsx)(q, {+ /* @__PURE__ */ (0, F.jsx)(BZ, { children: d.sources.length ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -60480,20 +60480,20 @@ function jCe(e) {dangerouslySetInnerHTML: { __html: xs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, F.jsx)(PCe, {+ /* @__PURE__ */ (0, F.jsx)(ICe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, F.jsx)(FCe, {+ /* @__PURE__ */ (0, F.jsx)(LCe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, F.jsx)(ICe, {+ /* @__PURE__ */ (0, F.jsx)(RCe, {facets: d,view: t,total: v,@@ -60501,7 +60501,7 @@ function jCe(e) {props: e,route: g}),- /* @__PURE__ */ (0, F.jsx)(LCe, {+ /* @__PURE__ */ (0, F.jsx)(zCe, {conditions: _,onDrop: (e) => i.route(sa(t, e)),onClear: () => g({@@ -60513,8 +60513,8 @@ function jCe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, F.jsx)(RCe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, F.jsx)(zCe, {+ d.broken.length ? /* @__PURE__ */ (0, F.jsx)(BCe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, F.jsx)(VCe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60537,14 +60537,14 @@ function jCe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(lY, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(cY, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(MCe, {+ children: [/* @__PURE__ */ (0, F.jsx)(zZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(PCe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? tn(o.error) : "",load: () => {@@ -60555,7 +60555,7 @@ function jCe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : ECe,+ leadingIcon: h.olderBusy ? void 0 : OCe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60573,7 +60573,7 @@ function jCe(e) {})] });}-function HZ({ children: e }) {+function BZ({ children: e }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, F.jsx)("h2", {@@ -60583,28 +60583,28 @@ function HZ({ children: e }) {"data-follow-head-actions": "",children: [/* @__PURE__ */ (0, F.jsx)(pI, {variant: "secondary",- leadingIcon: TCe,+ leadingIcon: DCe,"data-follow-manage": "",- href: UZ(),+ href: VZ(),children: "管理关注"}), e]})]});}-function MCe({ busy: e, error: t, load: n }) {+function PCe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, F.jsx)(WW, {+ children: [/* @__PURE__ */ (0, F.jsx)(zZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, F.jsx)(UW, {message: t,onRetry: n}) : null] });}-function NCe(e, t) {+function FCe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, P.useState)(0), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(!1), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useRef)({helpers: n,actions: r@@ -60666,7 +60666,7 @@ function NCe(e, t) {olderBusy: c === "older" || f && o};}-function PCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function ICe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, P.useRef)(null);(0, P.useEffect)(() => {r.helpers.wireDrag(a.current);@@ -60686,7 +60686,7 @@ function PCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, F.jsx)(MZ, {+ return s ? /* @__PURE__ */ (0, F.jsx)(AZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -60703,7 +60703,7 @@ function PCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function FCe({ rows: e, pressed: t, props: n, onPick: r }) {+function LCe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, P.useRef)(null);return (0, P.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60724,7 +60724,7 @@ function FCe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+function RCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = dI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = dI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, P.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);@@ -60782,7 +60782,7 @@ function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, F.jsx)(BZ, {})] }) : null, /* @__PURE__ */ (0, F.jsxs)("div", {+ }), /* @__PURE__ */ (0, F.jsx)(RZ, {})] }) : null, /* @__PURE__ */ (0, F.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -60802,7 +60802,7 @@ function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, F.jsx)(RZ, {}) : null]}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -60817,7 +60817,7 @@ function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {onClick: () => a({ provider: e.provider === t ? "" : t }),dangerouslySetInnerHTML: { __html: JU(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null,+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(RZ, {}) : null,e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-follow-tag": n,"data-entity-press": "",@@ -60845,11 +60845,11 @@ function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {/* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(CW, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(SW, {+ /* @__PURE__ */ (0, F.jsx)(SW, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(xW, {label: "图片布局",value: i.photoLayout,- options: kCe,+ options: jCe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -60880,8 +60880,8 @@ function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {n && a(n);},children: [n, r ? /* @__PURE__ */ (0, F.jsx)(UU, {- a: DCe,- b: OCe,+ a: kCe,+ b: ACe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60892,7 +60892,7 @@ function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function LCe({ conditions: e, onDrop: t, onClear: n }) {+function zCe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60917,19 +60917,19 @@ function LCe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function RCe({ count: e }) {+function BCe({ count: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(UZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(VZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var UZ = () => zZ(window.location.search);-function zCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = UW(e, () => c.listSkeletonHtml(s.media));+var VZ = () => LZ(window.location.search);+function VCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = HW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(BCe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(HCe, {facets: t,data: n,context: r,@@ -60940,29 +60940,29 @@ function zCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function BCe({ 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 ? {+function HCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = UZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = wCe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = ECe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, F.jsx)(PZ, {+ return /* @__PURE__ */ (0, F.jsx)(MZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(WZ(t, s)),+ selected: r.selected.has(HZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(WZ(t, s)) || "",- failure: l.failures.get(WZ(t, s)) || "",+ busy: l.busy.get(HZ(t, s)) || "",+ failure: l.failures.get(HZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, F.jsx)(VCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(UCe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60985,10 +60985,10 @@ function BCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function WZ(e, t) {+function HZ(e, t) {return Zi(e, t.media).id;}-function VCe({ data: e, filtered: t, clear: n, checkAction: r }) {+function UCe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-empty": "",@@ -61009,12 +61009,12 @@ function VCe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var HCe = {+var WCe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function GZ(e) {+function UZ(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, P.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, P.useState)(() => /* @__PURE__ */ new Map()), c = Ri(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -61037,7 +61037,7 @@ function GZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(HCe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(WCe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await V(pr, {item: t,to: i@@ -61082,9 +61082,9 @@ function GZ(e) {};}// src/react/entity-body/entity-online.tsx-function UCe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = UW(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(WW, {+function GCe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = HW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(t.error),onRetry: () => {t.refetch();@@ -61095,11 +61095,11 @@ function UCe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, F.jsx)(WCe, {+ a || !n ? null : /* @__PURE__ */ (0, F.jsx)(KCe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(lY, {+ !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(cY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -61109,8 +61109,8 @@ function UCe(e) {]});}-function WCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = GZ({+function KCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = UZ({view: e,revision: 0,actions: c@@ -61128,7 +61128,7 @@ function WCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {let n = Zi(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, F.jsx)(PZ, {+ return /* @__PURE__ */ (0, F.jsx)(MZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -61141,11 +61141,11 @@ function WCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, F.jsx)(GCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(qCe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: yCe(n.sources || [], e.author)+ sources: xCe(n.sources || [], e.author)});return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-list": "",@@ -61154,7 +61154,7 @@ function WCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function GCe({ searched: e, clear: t, actions: n, sources: r }) {+function qCe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-empty": "",className: "contents",@@ -61165,7 +61165,7 @@ function GCe({ searched: e, clear: t, actions: n, sources: r }) {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, F.jsx)(bCe, {+ }) : r.length ? /* @__PURE__ */ (0, F.jsx)(SCe, {sources: r,report: n.checkReport}) : /* @__PURE__ */ (0, F.jsx)(pI, {@@ -61177,7 +61177,7 @@ function GCe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function KZ(e) {+function WZ(e) {return {x0: 0,y0: 0,@@ -61185,7 +61185,7 @@ function KZ(e) {y1: e.height};}-function qZ(e) {+function GZ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -61193,40 +61193,40 @@ function qZ(e) {y1: Math.round(e.y1)};}-function JZ(e) {+function KZ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function YZ(e, t) {- if (!JZ(e)) return {+function qZ(e, t) {+ if (!KZ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return KZ(e);+ if (t == null || !(t > 0)) return WZ(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return qZ({+ return GZ({x0: i,y0: a,x1: i + n,y1: a + r});}-function KCe(e, t) {- if (!JZ(e) || !(t > 0)) return KZ(e);+function JCe(e, t) {+ if (!KZ(e) || !(t > 0)) return WZ(e);let n = Math.min(e.width, e.height * t);- return qZ({+ return GZ({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function qCe(e, t, n) {- if (!JZ(t) || !(n > 0)) return KZ(t);- let r = XZ(e, t), i = YZ({+function YCe(e, t, n) {+ if (!KZ(t) || !(n > 0)) return WZ(t);+ let r = JZ(e, t), i = qZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -61237,8 +61237,8 @@ function qCe(e, t, n) {y1: r.y0 + i.y1};}-function XZ(e, t, n = null, r = "width") {- if (!JZ(t)) return {+function JZ(e, t, n = null, r = "width") {+ if (!KZ(t)) return {x0: 0,y0: 0,x1: 0,@@ -61247,43 +61247,43 @@ function XZ(e, t, n = null, r = "width") {let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return qZ({+ return GZ({x0: s,y0: c,x1: s + a,y1: c + o});}-function ZZ(e, t, n, r) {+function YZ(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return qZ({+ return GZ({x0: o,y0: s,x1: o + i,y1: s + a});}-function QZ(e, t, n, r = null) {- if (!JZ(n) || !(t > 0)) return e;+function XZ(e, t, n, r = null) {+ if (!KZ(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return XZ({+ return JZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function JCe(e, t, n, r, i = null) {+function XCe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return XZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return JZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function YCe(e, t) {- return JZ(t) ? {+function ZCe(e, t) {+ return KZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -61295,8 +61295,8 @@ function YCe(e, t) {height: 0};}-function XCe(e, t) {- if (!JZ(t)) return {+function QCe(e, t) {+ if (!KZ(t)) return {size: "cover",position: "50% 50%"};@@ -61306,7 +61306,7 @@ function XCe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function ZCe(e, t) {+function $Ce(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}%`,@@ -61315,15 +61315,15 @@ function ZCe(e, t) {height: `${t.height / r * 100}%`};}-function $Z(e, t, n) {+function ZZ(e, t, n) {return t > 0 ? e * n / t : 0;}-function QCe(e, t) {+function ewe(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 $Ce = .02, eQ = 1.08;-function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var twe = .02, QZ = 1.08;+function $Z({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, P.useRef)(null), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);(0, P.useEffect)(() => {u(!1);@@ -61342,8 +61342,8 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: $Z(e, n.clientWidth, r.width),- dy: $Z(t, n.clientHeight, r.height)+ dx: ZZ(e, n.clientWidth, r.width),+ dy: ZZ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61360,22 +61360,22 @@ 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(JCe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i(YZ(n.box, o.dx, o.dy, r)) : i(XCe(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) * $Ce), o = {+ let a = Math.max(1, (n.x1 - n.x0) * twe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- 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)));+ o[e.key] ? (e.preventDefault(), i(YZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(XZ(n, e.key === "-" ? 1 / QZ : QZ, r, t)));}- let v = n && r ? YCe(XZ(n, r, t), r) : null, y = v ? QCe(v, d) : !1, b = v ? {+ let v = n && r ? ZCe(JZ(n, r, t), r) : null, y = v ? ewe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61394,7 +61394,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- JZ({+ KZ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -61433,7 +61433,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(QZ(n, e.deltaY > 0 ? eQ : 1 / eQ, r, t));+ n && r && i(XZ(n, e.deltaY > 0 ? QZ : 1 / QZ, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, F.jsx)("span", {@@ -61455,13 +61455,13 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var ewe = "/api/avatar-choices", nQ = "/api/avatar-pick", twe = "/api/avatar-code-cover", rQ = "/api/avatar-frame", nwe = "/avatar-choice", iQ = (e, t) => [+var nwe = "/api/avatar-choices", eQ = "/api/avatar-pick", rwe = "/api/avatar-code-cover", tQ = "/api/avatar-frame", iwe = "/avatar-choice", nQ = (e, t) => ["avatar-choices",e,t-], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${nwe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rwe = (e, t, n) => B(ewe + aQ(e, t), n), iwe = (e) => V(twe, { code: e });-async function awe(e, t, n) {- let r = await V(rQ, {+], rQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, iQ = (e, t, n, r = "") => `${iwe}${rQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), aQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", awe = (e, t, n) => B(nwe + rQ(e, t), n), owe = (e) => V(rwe, { code: e });+async function swe(e, t, n) {+ let r = await V(tQ, {kind: e,id: t,ref: n.ref@@ -61474,12 +61474,12 @@ async function awe(e, t, n) {bases: r.bases};}-var owe = (e, t, n) => V(rQ, {+var cwe = (e, t, n) => V(tQ, {kind: e,id: t,url: n-}), swe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function cQ(e, t) {+}), lwe = (e, t, n) => oQ(`${tQ}${rQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function oQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -61488,17 +61488,17 @@ async function cQ(e, t) {if (n.ok) return r;throw new Hn(r?.error || `请求失败(${n.status})`, n.status, r);}-function lQ(e, t, n) {+function sQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? qCe(e.focus, t, n) : YZ(t, n);+ return e.focus && r ? YCe(e.focus, t, n) : qZ(t, n);}-var cwe = (e) => e.crop && JZ({+var uwe = (e) => e.crop && KZ({width: e.width,height: e.height});-async function lwe(e, t, n) {+async function dwe(e, t, n) {if (!("file" in n)) {- await V(nQ, {+ await V(eQ, {kind: e,id: t,...n@@ -61511,19 +61511,19 @@ async function lwe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await oQ(`${eQ}${rQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var uQ = 2;-function uwe(e, t) {+var cQ = 2;+function fwe(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}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, cQ).join("」「")}」`}${n.length > cQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var dwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function fwe(e) {- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var pwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function mwe(e) {+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${pwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var dQ = (e) => e.cast > 1, pwe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mwe = {+var lQ = (e) => e.cast > 1, hwe = (e) => lQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, gwe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61533,7 +61533,7 @@ var dQ = (e) => e.cast > 1, pwe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function hwe(e) {+function _we(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61544,19 +61544,19 @@ function hwe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var gwe = (e) => `${mwe[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}` : ""), _we = 8, vwe = 3 / 4;-async function ywe(e, t, n) {+var vwe = (e) => `${gwe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (lQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ywe = 8, bwe = 3 / 4;+async function xwe(e, t, n) {switch (n.via) {- case "choice": return { choice: await awe(e, t, n.choice) };- case "code": return { choice: await iwe(n.code) };- case "url": return { choice: await owe(e, t, n.url) };+ case "choice": return { choice: await swe(e, t, n.choice) };+ case "code": return { choice: await owe(n.code) };+ case "url": return { choice: await cwe(e, t, n.url) };case "file": return {- choice: await swe(e, t, n.file),+ choice: await lwe(e, t, n.file),file: n.file};}}-function bwe({ kind: e, entityId: t, name: n, onPicked: r }) {+function Swe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61576,7 +61576,7 @@ function bwe({ kind: e, entityId: t, name: n, onPicked: r }) {onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, F.jsx)(xwe, {+ children: /* @__PURE__ */ (0, F.jsx)(Cwe, {kind: e,entityId: t,name: n,@@ -61585,24 +61585,24 @@ function bwe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, P.useRef)(null), o = cV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = iQ(e, t), m = (0, P.useRef)(!1), h = Pt({+function Cwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, P.useRef)(null), o = cV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = nQ(e, t), m = (0, P.useRef)(!1), h = Pt({queryKey: p,- queryFn: ({ signal: n }) => rwe(e, t, n),+ queryFn: ({ signal: n }) => awe(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});(0, P.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: iQ(e, t) });+ m.current && H.removeQueries({ queryKey: nQ(e, t) });}, [e, t]);let g = Ft({- mutationFn: (n) => lwe(e, t, n),+ mutationFn: (n) => dwe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = Ft({- mutationFn: (n) => ywe(e, t, n),+ mutationFn: (n) => xwe(e, t, n),onMutate: () => {g.reset();},@@ -61623,7 +61623,7 @@ function xwe({ 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 ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : fwe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : mwe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [@@ -61637,14 +61637,14 @@ function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, F.jsxs)(sZ, {+ }), !d && S.length ? /* @__PURE__ */ (0, F.jsxs)(aZ, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? pwe(d.choice) : uwe(n, x)+ children: d ? hwe(d.choice) : fwe(n, x)}),T ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",@@ -61672,7 +61672,7 @@ function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {onClick: i})]- }), d ? /* @__PURE__ */ (0, F.jsx)(Cwe, {+ }), d ? /* @__PURE__ */ (0, F.jsx)(Twe, {kind: e,entityId: t,choice: d.choice,@@ -61692,7 +61692,7 @@ function xwe({ 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: _we }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {+ children: h.isPending ? Array.from({ length: ywe }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -61705,7 +61705,7 @@ function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: gwe(n),+ title: vwe(n),...Uz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({@@ -61715,8 +61715,8 @@ function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, F.jsx)(Swe, {- src: oQ(e, t, n.ref, sQ(n, n.ref)),+ /* @__PURE__ */ (0, F.jsx)(wwe, {+ src: iQ(e, t, n.ref, aQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -61725,15 +61725,15 @@ function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, F.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, F.jsx)(sZ, {+ children: /* @__PURE__ */ (0, F.jsx)(aZ, {variant: "caption",color: "gray",children: "在用"})}) : null,- dQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {+ lQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, F.jsxs)(sZ, {+ children: /* @__PURE__ */ (0, F.jsxs)(aZ, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -61818,7 +61818,7 @@ function xwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function Swe({ src: e, choice: t }) {+function wwe({ src: e, choice: t }) {let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1), [a, o] = (0, P.useState)(!1);(0, P.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61826,7 +61826,7 @@ function Swe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = cwe(t) ? ZCe(lQ(t, s, vwe), s) : null, l = r || a ? !0 : void 0;+ }, c = uwe(t) ? $Ce(sQ(t, s, bwe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, F.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61852,23 +61852,23 @@ function Swe({ src: e, choice: t }) {})]});}-function Cwe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = cV();+function Twe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = aQ(n, s), m = iQ(e, t, s, p), h = cV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? XCe(d, l) : null;+ let _ = d && l ? QCe(d, l) : null;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, F.jsx)(tQ, {+ children: [m ? /* @__PURE__ */ (0, F.jsx)($Z, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), JZ(e) && f(s === n.ref ? lQ(n, e, 1) : YZ(e, 1));+ u(e), KZ(e) && f(s === n.ref ? sQ(n, e, 1) : qZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -61882,7 +61882,7 @@ function Cwe({ 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: hwe(e)+ children: _we(e)}, e))}) : null]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61930,9 +61930,9 @@ function Cwe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var fQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function pQ({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? fQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";+var uQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function dQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? uQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";if ((0, P.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -62013,7 +62013,7 @@ function pQ({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function mQ({ code: e, person: t, detail: n = !1 }) {+function fQ({ code: e, person: t, detail: n = !1 }) {let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(n || typeof IntersectionObserver > "u");(0, P.useEffect)(() => {if (!r.current || i) return;@@ -62027,7 +62027,7 @@ function mQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: Fn(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, F.jsx)("img", {- src: fQ(e, `actor:${t.source_actor_id}`),+ src: uQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -62037,7 +62037,7 @@ function mQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/feed-new/feed-new-row.tsx-function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+function pQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {let a = (0, P.useContext)(OU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";(0, P.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);@@ -62070,7 +62070,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(mQ, {+ }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(fQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -62079,7 +62079,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}), e, `${l.length}:${t}`))] }) : null;}// src/react/entity-hero/glyph.tsx-function gQ({ name: e }) {+function mQ({ name: e }) {let { wide: t, viewBox: n } = rn(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,@@ -62089,20 +62089,20 @@ function gQ({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function _Q(e, t) {+function hQ(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var vQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function yQ(e, t, n, r) {+var gQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function _Q(e, t, n, r) {let i = (0, P.useRef)(r);i.current = r, (0, P.useEffect)(() => {if (!e) return;let r = () => {- t.current && vQ(n.current) ? _Q(t.current, n.current) : i.current();+ t.current && gQ(n.current) ? hQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -62116,17 +62116,17 @@ function yQ(e, t, n, r) {n]);}-function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function vQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = (0, P.useRef)(!1), d = (0, P.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, vQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, gQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !vQ(s.current) && (s.current.showPopover(), _Q(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !gQ(s.current) && (s.current.showPopover(), hQ(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {u.current || o.current?.matches(":hover,:focus-visible") || s.current?.matches(":hover") || f();}, 150);};- return yQ(c, o, s, f), (0, P.useEffect)(() => {+ return _Q(c, o, s, f), (0, P.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -62152,7 +62152,7 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && vQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && gQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -62170,16 +62170,16 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function wwe({ following: e, busy: t, onToggle: n, tip: r }) {+function Ewe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(!1), u = () => {- vQ(o.current) && o.current.hidePopover(), c(!1);+ gQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !vQ(o.current) && (o.current.showPopover(), _Q(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !gQ(o.current) && (o.current.showPopover(), hQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return yQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {- i.current && vQ(o.current) && _Q(i.current, o.current);+ return _Q(s, i, o, () => c(!1)), (0, P.useEffect)(() => {+ i.current && gQ(o.current) && hQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, F.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -62188,7 +62188,7 @@ function wwe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }),+ /* @__PURE__ */ (0, F.jsx)(mQ, { name: "rss" }),/* @__PURE__ */ (0, F.jsx)("input", {ref: a,type: "checkbox",@@ -62222,7 +62222,7 @@ function wwe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function Twe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function Dwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null);return (0, P.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");@@ -62233,7 +62233,7 @@ function Twe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(mQ, { name: "chevron-down" })}), /* @__PURE__ */ (0, F.jsx)(oR, {placement: "bottom start",offset: 8,@@ -62256,7 +62256,7 @@ function Twe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}, e))}),/* @__PURE__ */ (0, F.jsx)(fde, { "data-namepick-rule": "" }),@@ -62265,18 +62265,18 @@ function Twe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var Ewe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", Dwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function Owe(e) {+var Owe = (e) => e === "studio" || e === "agency", yQ = (e) => e === "performer" || e === "creator", kwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function Awe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function SQ(e) {+function bQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62288,13 +62288,13 @@ function SQ(e) {linked: !1} : null;}-function CQ(e, t) {+function xQ(e, t) {let n = Dn(e, "performer"), r = wn(t);return r && [e.label, n].map(wn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var wQ = (e) => ({ site: bn(e) });-function kwe(e, t) {- let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var SQ = (e) => ({ site: bn(e) });+function jwe(e, t) {+ let n = bQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62304,7 +62304,7 @@ function kwe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${CQ(e, n)} · ${t}`+ title: `${xQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62312,11 +62312,11 @@ function kwe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (xQ(t) && e.link_kind !== "social") return {+ if (yQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: CQ(e, n),- mark: wQ(e)+ title: xQ(e, n),+ mark: SQ(e)};if (e.link_kind === "social") {let t = Cn(r);@@ -62324,7 +62324,7 @@ function kwe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : wQ(e)+ mark: t ? { brand: t } : SQ(e)};}return {@@ -62332,12 +62332,12 @@ function kwe(e, t) {url: r,title: e.label || "",text: Dn(e, t, i),- mark: wQ(e)+ mark: SQ(e)};});- return [...r, ...Awe(a)];+ return [...r, ...Mwe(a)];}-function Awe(e) {+function Mwe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62345,8 +62345,8 @@ function Awe(e) {sources: t.map((e) => e.label)}];}-var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function jwe(e) {+var CQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function Nwe(e) {return [["legal_name",@@ -62402,7 +62402,7 @@ function jwe(e) {}]}] : []);}-function Mwe(e) {+function Pwe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62459,14 +62459,14 @@ function Mwe(e) {tags: e.tags}), t;}-function EQ(e, t = 4) {+function wQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function Nwe(e) {+function Fwe(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 ? {@@ -62476,7 +62476,7 @@ function Nwe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function Pwe(e) {+function Iwe(e) {return Xa({id: e.id,hasImage: e.has_image,@@ -62487,8 +62487,8 @@ function Pwe(e) {standIn: e.avatar_stand_in});}-function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = xQ(e), c = Ewe(e), l = s ? Mwe(n.profile) : c ? jwe(n.company_profile) : [], u = kwe(n, e), d = TQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);+function Lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = yQ(e), c = Owe(e), l = s ? Pwe(n.profile) : c ? Nwe(n.company_profile) : [], u = jwe(n, e), d = CQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);return (0, P.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, P.useEffect)(() => {@@ -62501,7 +62501,7 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, F.jsx)(Iwe, {+ children: [/* @__PURE__ */ (0, F.jsx)(Rwe, {kind: e,name: t,helpers: o,@@ -62509,7 +62509,7 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, F.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, F.jsx)(bwe, {+ children: /* @__PURE__ */ (0, F.jsx)(Swe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62524,9 +62524,9 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(Twe, {+ e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(Dwe, {current: n.canonical_name,- choices: Owe(n),+ choices: Awe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),@@ -62538,7 +62538,7 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, F.jsx)(Lwe, {+ /* @__PURE__ */ (0, F.jsx)(zwe, {kind: e,entity: n,actions: a@@ -62559,14 +62559,14 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, F.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(Uwe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(Gwe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(Wwe, {+ d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(Kwe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(Bwe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(Hwe, {follow: n.follow,entity: n,actions: a@@ -62575,11 +62575,11 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, F.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(Vwe, {+ children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(Uwe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, F.jsx)(Hwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, F.jsx)(Wwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62598,7 +62598,7 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${Pwe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${Iwe(e)}` }}), /* @__PURE__ */ (0, F.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62606,14 +62606,14 @@ function Fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {+ }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(pQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function Iwe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function Rwe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, P.useState)(() => `${n.portraitImg()}<span>${z(Fn(t))}</span>`);return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -62622,8 +62622,8 @@ function Iwe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function Lwe({ kind: e, entity: t, actions: n }) {- let r = SQ(t), i = (e, t) => (r) => {+function zwe({ kind: e, entity: t, actions: n }) {+ let r = bQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, F.jsx)("a", {href: hn("agency", r.name, r.id),@@ -62632,44 +62632,44 @@ function Lwe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = Nwe(t.name_groups);+ let e = Fwe(t.name_groups);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }),+ /* @__PURE__ */ (0, F.jsx)(TQ, { entity: t }),/* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(zwe, {+ t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(Vwe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),+ /* @__PURE__ */ (0, F.jsx)(mQ, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", {- lang: pF(e),+ lang: mF(e),children: e}, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(vQ, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(OQ, {+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(EQ, {label: e.label,names: e.names}, t)) })@@ -62691,61 +62691,61 @@ function Lwe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, F.jsx)(TQ, { entity: t }) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {href: hn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, F.jsx)(Rwe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, F.jsx)(Bwe, { aliases: s }) : null]});}-function Rwe({ aliases: e }) {- let { shown: t, rest: n } = EQ(e, 3);+function Bwe({ aliases: e }) {+ let { shown: t, rest: n } = wQ(e, 3);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),+ /* @__PURE__ */ (0, F.jsx)(mQ, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ n ? /* @__PURE__ */ (0, F.jsx)(vQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(OQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(EQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function zwe({ follow: e, actions: t }) {+function Vwe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62754,7 +62754,7 @@ function zwe({ follow: e, actions: t }) {})]});}-function Bwe({ follow: e, entity: t, actions: n }) {+function Hwe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, P.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62788,37 +62788,37 @@ function Bwe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function DQ({ entity: e }) {+function TQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function OQ({ label: e, names: t }) {+function EQ({ label: e, names: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, F.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-pop-name": "",- lang: pF(e.name),+ lang: mF(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, F.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function Vwe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {+function Uwe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function Hwe({ tags: e }) {- let { shown: t, rest: n } = EQ(e);+function Wwe({ tags: e }) {+ let { shown: t, rest: n } = wQ(e);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, F.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ }, e)), n ? /* @__PURE__ */ (0, F.jsx)(vQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62834,10 +62834,10 @@ function Hwe({ tags: e }) {})}) : null] });}-function kQ({ mark: e }) {+function DQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, F.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: e.brand })+ children: /* @__PURE__ */ (0, F.jsx)(mQ, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, F.jsx)("span", {@@ -62845,7 +62845,7 @@ function kQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function Uwe({ link: e }) {+function Gwe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, F.jsx)("a", {"data-link": "icon",@@ -62854,19 +62854,19 @@ function Uwe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, F.jsx)(DQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, F.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, F.jsx)(DQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, F.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(DQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62878,7 +62878,7 @@ function Uwe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark }),+ /* @__PURE__ */ (0, F.jsx)(DQ, { mark: e.mark }),/* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.text@@ -62893,7 +62893,7 @@ function Uwe({ link: e }) {});}}-function Wwe({ entity: e, actions: t, helpers: n }) {+function Kwe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, P.useState)(!!e.feed?.following), [a, o] = (0, P.useState)(!1), s = (0, P.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62911,33 +62911,33 @@ function Wwe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entry-marks": "",- children: [TQ(e).map((e, t) => /* @__PURE__ */ (0, F.jsxs)("a", {+ children: [CQ(e).map((e, t) => /* @__PURE__ */ (0, F.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, F.jsx)(gQ, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, F.jsx)(mQ, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, F.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(wwe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(Ewe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: Dwe(r)+ tip: kwe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var Gwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function Kwe(e, t, n) {+var qwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function Jwe(e, t, n) {let [r, i] = (0, P.useState)(() => Qi(e));r.author !== e && i(Qi(e));let [a, o] = (0, P.useState)({@@ -63016,7 +63016,7 @@ function Kwe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: Fi,- seed: Gwe()+ seed: qwe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -63046,8 +63046,8 @@ function Kwe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function qwe(e) {- let { kind: t, name: n } = e, r = Pt(HX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function Ywe(e) {+ let { kind: t, name: n } = e, r = Pt(BX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a} : void 0), { actions: s } = e;@@ -63065,17 +63065,17 @@ function qwe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(WW, {+ ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(UW, {message: Wn(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(Xwe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(Qwe, {...e,entity: r.data});}-function AQ(e) {+function OQ(e) {let [t, n] = (0, P.useState)({key: e,n: 1@@ -63087,22 +63087,22 @@ function AQ(e) {};return n(r), r.n;}-var Jwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function Ywe(e, t) {+var Xwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function Zwe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function Xwe(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = It(UX(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 || WX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function Qwe(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = It(VX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || HX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0- } : FX, [y, b] = (0, P.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, P.useState)(x);+ } : NX, [y, b] = (0, P.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, P.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = Kwe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = Jwe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, P.useState)(0), k = VX(e), A = Pt(k), j = AQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, P.useState)(0), k = zX(e), A = Pt(k), j = OQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, P.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -63112,26 +63112,26 @@ function Xwe(e) {}, [e.layout, M]), te = {jav: e.jav,seed: e.seed- }, ne = (0, P.useCallback)((e, r, a) => BX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = It({- ...UX(t, n, ie, ae),+ }, ne = (0, P.useCallback)((e, r, a) => RX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = It({+ ...VX(t, n, ie, ae),enabled: w === "photos"- }), se = oe.data?.pages[0], ce = AQ(JSON.stringify(LX(t, n, ie, ae))), le = (0, P.useMemo)(() => {+ }), se = oe.data?.pages[0], ce = OQ(JSON.stringify(FX(t, n, ie, ae))), le = (0, P.useMemo)(() => {let e = oe.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: ce,- codeSets: t.id ? [] : WX(t),+ codeSets: t.id ? [] : HX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = Pt({- ...MX(d, o.feedRowHtml),+ ...AX(d, o.feedRowHtml),enabled: !!d}), pe = (0, P.useRef)(e.feedRevision);(0, P.useEffect)(() => {- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: jX(d) }));+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: kX(d) }));}, [d, e.feedRevision]);let me = !!A.data;(0, P.useEffect)(() => {@@ -63150,7 +63150,7 @@ function Xwe(e) {he.current = !1;}, []);let I = (0, P.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: IX(t, n) }), await H.invalidateQueries({ queryKey: [+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: PX(t, n) }), await H.invalidateQueries({ queryKey: ["entity-items",t,n@@ -63184,7 +63184,7 @@ function Xwe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(IX(t, n), (e) => e && {+ onSuccess: (e, r) => H.setQueryData(PX(t, n), (e) => e && {...e,feed: {...e.feed,@@ -63238,10 +63238,10 @@ function Xwe(e) {let e = await on("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- he.current && await H.invalidateQueries({ queryKey: jX(d) });+ he.current && await H.invalidateQueries({ queryKey: kX(d) });})();},- feedAction: NX,+ feedAction: jX,avatarPicked: () => {s.avatarChanged(), I().then(() => {he.current && O((e) => e + 1);@@ -63289,19 +63289,19 @@ function Xwe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : FX));+ } : NX));},setState: (e) => s.route({...i,state: e- }, FX),+ }, NX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = VX({+ let r = s.reshuffleVideos(), a = zX({kind: t,name: n,filters: {@@ -63315,7 +63315,7 @@ function Xwe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = Jwe(), a = await H.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);+ let r = Xwe(), a = await H.fetchInfiniteQuery(VX(t, n, ie, r)).catch(() => null);he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({...e,[ie]: r@@ -63350,7 +63350,7 @@ function Xwe(e) {k: e.k,label: Nl(e.k),n: e.n,- selected: ASe(i.tag, e.k)+ selected: MSe(i.tag, e.k)})), Te = [u.length,!_,@@ -63385,14 +63385,14 @@ function Xwe(e) {creator: "",studio: "",owner: ""- }, FX), Ne = "", Pe = !1;+ }, NX), Ne = "", Pe = !1;if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Pe = !A.data;- let e = RX(i.tag).length;+ let e = IX(i.tag).length;Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : Ywe(se, WX(se).length) : Pe = oe.isPending;+ } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : Zwe(se, HX(se).length) : Pe = oe.isPending;let Fe = (0, P.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63409,7 +63409,7 @@ function Xwe(e) {u]);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Fwe, {+ /* @__PURE__ */ (0, F.jsx)(Lwe, {kind: t,name: n,entity: r,@@ -63419,7 +63419,7 @@ function Xwe(e) {actions: be,helpers: xe}, D),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(mW, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(pW, {kind: t,name: n,view: w,@@ -63438,7 +63438,7 @@ function Xwe(e) {}), c.filter),(0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(y_e, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(UCe, {+ children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(GCe, {view: T.view,media: T.media,result: T.result,@@ -63452,16 +63452,16 @@ function Xwe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(WW, {+ }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(UW, {message: Wn(A.error),onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, F.jsx)(Zwe, {+ }) : je ? /* @__PURE__ */ (0, F.jsx)($we, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, F.jsx)(lCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(dCe, {kind: t,name: n,view: w,@@ -63493,7 +63493,7 @@ function Xwe(e) {}), c.body)] });}-function Zwe({ filtered: e, onShowAll: t, onOnline: n }) {+function $we({ filtered: e, onShowAll: t, onOnline: n }) {return e ? /* @__PURE__ */ (0, F.jsx)(zz, {icon: Vz("search"),title: "没有符合条件的视频",@@ -63519,30 +63519,30 @@ function Zwe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var jQ = ["diagnostics"], MQ = (e) => B("/api/diagnostics", e);-async function Qwe(e) {+var kQ = ["diagnostics"], AQ = (e) => B("/api/diagnostics", e);+async function eTe(e) {await H.fetchQuery({- queryKey: jQ,- queryFn: () => MQ(e),+ queryKey: kQ,+ queryFn: () => AQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsx-function $we({ host: e, revision: t, helpers: n, actions: r }) {- let i = Pt(MX(null, n.feedRowHtml)), a = (0, P.useRef)(t);+function tTe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = Pt(AX(null, n.feedRowHtml)), a = (0, P.useRef)(t);return (0, P.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: jX(null) }));- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: kX(null) }));+ }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(pQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: NX,+ act: jX,settled: r.settled}), e);}// src/react/index/index-search.tsx-var eTe = Vz("search");-function NQ({ label: e, value: t, onQuery: n }) {+var nTe = Vz("search");+function jQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, P.useState)(t), a = (0, P.useRef)(!1), o = (0, P.useRef)(void 0);(0, P.useEffect)(() => {clearTimeout(o.current), i(t);@@ -63567,7 +63567,7 @@ function NQ({ label: e, value: t, onQuery: n }) {},children: /* @__PURE__ */ (0, F.jsx)(Pz, {type: "search",- leadingIcon: eTe,+ leadingIcon: nTe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -63579,7 +63579,7 @@ function NQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function PQ(e) {+function MQ(e) {let [t, n] = (0, P.useState)({filter: e,pageIndex: 0,@@ -63596,7 +63596,7 @@ function PQ(e) {}), [e])};}-function FQ(e, t, n) {+function NQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, P.useEffect)(() => {if (e === void 0) return;@@ -63613,15 +63613,15 @@ function FQ(e, t, n) {]);}// src/react/components/board-tabs.tsx-function IQ({ value: e }) {+function PQ({ value: e }) {return /* @__PURE__ */ (0, F.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 tTe = "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 LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+var rTe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function FQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {let a = (0, P.useRef)(null), o = eI(a);return (0, P.useLayoutEffect)(() => {let e = a.current;@@ -63631,7 +63631,7 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, F.jsx)(lF, {+ }, [t]), /* @__PURE__ */ (0, F.jsx)(uF, {ref: o,role: "tablist","aria-label": n,@@ -63655,7 +63655,7 @@ function LQ({ 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: tTe,+ className: rTe,onClick: () => {i || r(e.value);},@@ -63665,11 +63665,11 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/index/index-tags.tsx-var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {+var IQ = () => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), zQ = Vz("pencil"), BQ = (e, t) => ({+}), LQ = Vz("pencil"), RQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63678,7 +63678,7 @@ var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function nTe({ tag: e, actions: t }) {+function iTe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63687,13 +63687,13 @@ function nTe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": iZ(t.online, e.cat),+ "data-tag-cat": nZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, F.jsx)(RQ, {}),+ /* @__PURE__ */ (0, F.jsx)(IQ, {}),/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63704,16 +63704,16 @@ function nTe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(tB, { item: BQ(e, t.online) }),+ t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(tB, { item: RQ(e, t.online) }),t.edit ? /* @__PURE__ */ (0, F.jsx)(eB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(LQ, {})}) : null]});}-function VQ({ groups: e, actions: t }) {+function zQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",@@ -63726,10 +63726,10 @@ function VQ({ groups: e, actions: t }) {}),children: [/* @__PURE__ */ (0, F.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, F.jsx)(IQ, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, F.jsx)(PQ, { value: n.length })]}), /* @__PURE__ */ (0, F.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(nTe, {+ children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(iTe, {tag: e,actions: t}, e.k))@@ -63737,26 +63737,26 @@ function VQ({ groups: e, actions: t }) {}, e))});}-var rTe = "\xA0";-function HQ({ tags: e, actions: t }) {+var aTe = "\xA0";+function BQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": iZ(t.online, e.cat),+ "data-tag-cat": nZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": iZ(t.online, e.cat),+ "data-tag-cat": nZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 truncate",- children: e.label + rTe+ children: e.label + aTe}), /* @__PURE__ */ (0, F.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63765,16 +63765,16 @@ function HQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(tB, { item: BQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(eB, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(tB, { item: RQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(eB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(LQ, {})}) : null]}) : null]}, e.k))});}-var iTe = [[+var oTe = [["cloud","标签云","tags"@@ -63783,7 +63783,7 @@ var iTe = [["字母表","text-aa"]];-function UQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+function VQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {let d = eI();return /* @__PURE__ */ (0, F.jsx)(iI, {label: "标签筛选",@@ -63807,10 +63807,10 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vie}) : null]}) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : iZ(n, e),+ "data-tag-cat": e === "all" ? "all" : nZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, F.jsx)(RQ, {}), r]+ children: [/* @__PURE__ */ (0, F.jsx)(IQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {@@ -63837,7 +63837,7 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vievalue: a,onChange: (e) => c(e),className: `ml-auto ${BU}`,- children: iTe.map(([e, t, n]) => {+ children: oTe.map(([e, t, n]) => {let r = Vz(n);return /* @__PURE__ */ (0, F.jsx)(DR, {value: e,@@ -63855,8 +63855,8 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function aTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, F.jsxs)(Pk, {+function sTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, F.jsxs)(Fk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,@@ -63892,20 +63892,20 @@ function aTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var WQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {+var HQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), GQ = null, KQ = { "--floating-radius": "var(--radius-2xl)" };-function qQ() {- let e = GQ;- GQ = null, e?.root.unmount();-}-var JQ = (e, t) => {- if (GQ?.host === e) return;- qQ();+}), UQ = null, WQ = { "--floating-radius": "var(--radius-2xl)" };+function GQ() {+ let e = UQ;+ UQ = null, e?.root.unmount();+}+var KQ = (e, t) => {+ if (UQ?.host === e) return;+ GQ();let n = (0, Rt.createRoot)(e);- GQ = {+ UQ = {host: e,root: n}, n.render(/* @__PURE__ */ (0, F.jsxs)(iH, { children: [/* @__PURE__ */ (0, F.jsx)(fH, {@@ -63914,7 +63914,7 @@ var JQ = (e, t) => {closeButton: !0,gap: 8,style: {- ...KQ,+ ...WQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63929,8 +63929,8 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: WQ(t.success, !0),- error: WQ(t.error, !1)+ success: HQ(t.success, !0),+ error: HQ(t.error, !1)}}), /* @__PURE__ */ (0, F.jsx)(fH, {id: "processing",@@ -63938,7 +63938,7 @@ var JQ = (e, t) => {gap: 8,expand: !0,style: {- ...KQ,+ ...WQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63953,13 +63953,13 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, oTe = 6e3, YQ = (e, t) => {+}, cTe = 6e3, qQ = (e, t) => {if (!String(t.html ?? "").trim()) return;let n = t.alert ? sH.error : sH.success, r = t.action;n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : oTe,+ duration: t.timeout > 0 ? t.timeout : cTe,action: r ? {label: r.label,onClick: (e) => {@@ -63967,7 +63967,7 @@ var JQ = (e, t) => {}} : void 0});-}, XQ = (e) => e.id ?? e.entity_id, ZQ = {+}, JQ = (e) => e.id ?? e.entity_id, YQ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -63975,26 +63975,26 @@ var JQ = (e, t) => {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, QQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function $Q(e, t, n) {+}, XQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function ZQ(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await Hc({- title: ZQ[e.operation],+ title: YQ[e.operation],body: i,- confirmLabel: ZQ[e.operation],+ confirmLabel: YQ[e.operation],onConfirm: () => V("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), YQ(`tag-management-${Date.now()}`, {- html: `已${ZQ[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), qQ(`tag-management-${Date.now()}`, {+ html: `已${YQ[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function QQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, P.useRef)({operation: e,selected: t,@@ -64003,24 +64003,24 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, P.useRef)({name: t[0]?.k || "",- target_id: t[0] ? XQ(t[0]) : 0+ target_id: t[0] ? JQ(t[0]) : 0}), [s, c] = (0, P.useState)(null);return (0, P.useEffect)(() => {let e = new AbortController(), t = a.current, n = Bc({- title: ZQ[t.operation],+ title: YQ[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(XQ),+ ids: t.selected.map(JQ),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await QQ(n, e.signal)+ plan: await XQ(n, e.signal)};}});@@ -64031,14 +64031,14 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await $Q(r.command, r.plan, e.signal) && t.done();+ await ZQ(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(sTe, {+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(lTe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -64047,8 +64047,8 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function sTe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? XQ(t[0]) : 0);+function lTe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? JQ(t[0]) : 0);return (0, P.useEffect)(() => {r({name: i,@@ -64067,22 +64067,22 @@ function sTe({ operation: e, selected: t, dialog: n, update: r }) {value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, F.jsx)(WJ, {+ }) : /* @__PURE__ */ (0, F.jsx)(UJ, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(XQ(t)) === String(e));- n && s(XQ(n));+ let n = t.find((t) => String(JQ(t)) === String(e));+ n && s(JQ(n));},children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(jU, {- id: String(XQ(e)),+ id: String(JQ(e)),children: e.k- }, XQ(e)))+ }, JQ(e)))});}// src/react/index/tag-manager.tsx-function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function $Q({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, P.useRef)(null), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(t), [p, m] = (0, P.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, P.useState)(!1), [b, x] = (0, P.useState)(!1), S = JSON.stringify([o,_,@@ -64090,7 +64090,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = PQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = MQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -64107,25 +64107,25 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,],queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)});- FQ(E.data?.total, C, w);+ NQ(E.data?.total, C, w);let [D, O] = (0, P.useState)(/* @__PURE__ */ new Map());(0, P.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, P.useState)(null), M = jH(), ee = E.data?.items || [], te = ee, ne = (s ? YX : JX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), N = te.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, P.useState)(null), M = jH(), ee = E.data?.items || [], te = ee, ne = (s ? qX : KX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), N = te.map((e) => ({...e,label: e.k- })), re = g === "alphabet" ? aZ(N, (e) => e) : [], ie = [...D.values()], ae = (e) => {+ })), re = g === "alphabet" ? rZ(N, (e) => e) : [], ie = [...D.values()], ae = (e) => {M.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return $Q(n, await QQ(n, t), t);+ return ZQ(n, await XQ(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, oe = ie.map(XQ), se = {+ }, oe = ie.map(JQ), se = {online: s,favorites: s,picked: k,@@ -64146,13 +64146,13 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, F.jsx)(NQ, {+ children: /* @__PURE__ */ (0, F.jsx)(jQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, F.jsx)(UQ, {+ /* @__PURE__ */ (0, F.jsx)(VQ, {categories: ne,category: h,online: s,@@ -64209,10 +64209,10 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: "立即重试"}),children: "无法读取标签"- }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {+ }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(zQ, {groups: re,actions: se- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(BQ, {tags: N,actions: se}) : /* @__PURE__ */ (0, F.jsx)(Rz, {@@ -64221,7 +64221,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),E.data ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, F.jsx)(qJ, {+ children: /* @__PURE__ */ (0, F.jsx)(KJ, {label: "标签管理",total: E.data.total,pagination: C,@@ -64235,7 +64235,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, F.jsxs)(Pk, {+ /* @__PURE__ */ (0, F.jsxs)(Fk, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,@@ -64276,7 +64276,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, F.jsx)(e$, {+ A ? /* @__PURE__ */ (0, F.jsx)(QQ, {operation: A,selected: ie,scope: o,@@ -64287,7 +64287,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var cTe = [+var uTe = [{value: "studios",label: "厂牌",@@ -64303,7 +64303,7 @@ var cTe = [label: "系列",symbol: "list"}-], lTe = [{+], dTe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -64311,7 +64311,7 @@ var cTe = [value: "online",label: "在线",symbol: "rss"-}], uTe = [+}], fTe = [{value: "performers",label: "艺人",@@ -64327,7 +64327,7 @@ var cTe = [label: "在线",symbol: "rss"}-], dTe = {+], pTe = {people: [["big","大图 · 竖幅头像",@@ -64356,15 +64356,15 @@ var cTe = ["layout-grid"]]};-function fTe({ kind: e, layout: t, onChange: n }) {+function mTe({ kind: e, layout: t, onChange: n }) {return /* @__PURE__ */ (0, F.jsx)(LU, {- "aria-label": `${qX[e]}索引版式`,+ "aria-label": `${GX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",className: `flex-none ${RU}`,- children: dTe[e === "series" ? "series" : QX(e) ? "company" : "people"].map(([e, t, n]) => {+ children: pTe[e === "series" ? "series" : XX(e) ? "company" : "people"].map(([e, t, n]) => {let r = Vz(n);return /* @__PURE__ */ (0, F.jsx)(DR, {value: e,@@ -64379,14 +64379,14 @@ function fTe({ kind: e, layout: t, onChange: n }) {})});}-function pTe(e) {- let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => $X({+function hTe(e) {+ let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => ZX({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, P.useState)(e.layout), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, P.useState)("any"), d = (0, P.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = qX[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, P.useState)(e.layout), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, P.useState)("any"), d = (0, P.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = GX[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, P.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -64405,7 +64405,7 @@ function pTe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, { pagination: C, onChange: w } = PQ(JSON.stringify(r)), T = rZ(eZ(r), C.pageSize), E = It({+ }, { pagination: C, onChange: w } = MQ(JSON.stringify(r)), T = tZ(QX(r), C.pageSize), E = It({queryKey: f === "tags" && (C.pageIndex || C.pageSize !== 100) ? [...T.queryKey,"page",@@ -64420,9 +64420,9 @@ function pTe(e) {getNextPageParam: f === "tags" ? () => void 0 : T.getNextPageParam,enabled: !(t && f === "tags"),placeholderData: b ? ke : void 0- }), D = GSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;- FQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);- let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : KSe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;+ }), D = qSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;+ NQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);+ let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : JSe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;ee && !E.isPlaceholderData && (M.current = {key: j,counts: ee@@ -64438,15 +64438,15 @@ function pTe(e) {D,f,v- ]), ie = (0, P.useMemo)(() => f === "tags" && h === "alphabet" ? aZ(re, (t) => v ? t : e.tagLabel(t)) : [], [+ ]), ie = (0, P.useMemo)(() => f === "tags" && h === "alphabet" ? rZ(re, (t) => v ? t : e.tagLabel(t)) : [], [re,h,f,v]), ae = (t) => {o(t), e.savePreference({ layout: t });- }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: lTe,+ }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(FQ, {+ tabs: dTe,value: m,label: "词表",onChange: (e) => {@@ -64456,8 +64456,8 @@ function pTe(e) {view: e === "online" ? "alphabet" : h});}- }) : QX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: cTe,+ }) : XX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(FQ, {+ tabs: uTe,value: f,label: "资料类型",onChange: (e) => S({ kind: e })@@ -64466,7 +64466,7 @@ function pTe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : re.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, ce = (v ? YX : JX).filter(N);+ }, ce = (v ? qX : KX).filter(N);return /* @__PURE__ */ (0, F.jsxs)("div", {ref: d,"data-index-page": f,@@ -64481,12 +64481,12 @@ function pTe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- ZX(f) ? /* @__PURE__ */ (0, F.jsx)("span", {+ YX(f) ? /* @__PURE__ */ (0, F.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: E.isPending || E.isError ? "" : A}) : null,- ZX(f) ? /* @__PURE__ */ (0, F.jsx)(fTe, {+ YX(f) ? /* @__PURE__ */ (0, F.jsx)(mTe, {kind: f,layout: a,onChange: ae@@ -64505,7 +64505,7 @@ function pTe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, F.jsx)(NQ, {+ /* @__PURE__ */ (0, F.jsx)(jQ, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64514,8 +64514,8 @@ function pTe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: uTe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(FQ, {+ tabs: fTe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64527,7 +64527,7 @@ function pTe(e) {}}) : null,oe,- t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(t$, {+ t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)($Q, {scope: m,search: p,category: g,@@ -64541,8 +64541,8 @@ function pTe(e) {}, m) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, F.jsx)("div", {"aria-label": "身份分类",- className: KX,- children: GX.filter((e) => e[0] === g || N(e)).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(q, {+ className: WX,+ children: UX.filter((e) => e[0] === g || N(e)).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(q, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -64550,7 +64550,7 @@ function pTe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, F.jsx)(UQ, {+ f === "tags" ? /* @__PURE__ */ (0, F.jsx)(VQ, {categories: ce,category: g,online: v,@@ -64588,7 +64588,7 @@ function pTe(e) {}),children: tn(E.error)});- if (!D.length) return /* @__PURE__ */ (0, F.jsx)(hTe, {+ if (!D.length) return /* @__PURE__ */ (0, F.jsx)(_Te, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64597,12 +64597,12 @@ function pTe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, F.jsx)(ZSe, {+ if (y) return /* @__PURE__ */ (0, F.jsx)($Se, {items: D,layout: a,props: e});- if (ZX(f)) return /* @__PURE__ */ (0, F.jsx)(uZ, {+ if (YX(f)) return /* @__PURE__ */ (0, F.jsx)(cZ, {kind: f,items: D,layout: a,@@ -64613,10 +64613,10 @@ function pTe(e) {picked: s,press: se};- return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {+ return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(zQ, {groups: ie,actions: t- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(BQ, {tags: re,actions: t});@@ -64624,7 +64624,7 @@ function pTe(e) {}),f === "tags" && !E.isPending && !E.isError ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, F.jsx)(qJ, {+ children: /* @__PURE__ */ (0, F.jsx)(KJ, {label: "标签",total: k ?? D.length,pagination: C,@@ -64649,7 +64649,7 @@ function pTe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(aTe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(sTe, {count: s.size,match: l,onMatch: u,@@ -64663,7 +64663,7 @@ function pTe(e) {]});}-var mTe = {+var gTe = {tags: "标签",performers: "艺人",creators: "卖家",@@ -64671,7 +64671,7 @@ var mTe = {agencies: "事务所",series: "系列"};-function hTe({ kind: e, filtered: t, online: n, onClear: r }) {+function _Te({ kind: e, filtered: t, online: n, onClear: r }) {if (t) return /* @__PURE__ */ (0, F.jsx)(zz, {icon: Vz("search"),title: "没有符合条件的内容",@@ -64682,7 +64682,7 @@ function hTe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : mTe[e], a = /* @__PURE__ */ (0, F.jsx)(pI, {+ let i = n && e === "performers" ? "创作者" : gTe[e], a = /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",@@ -64699,15 +64699,15 @@ function hTe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var n$ = {+var e$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, gTe = (e) => n$[e.junk_kind || "other"] || n$.other;-function _Te(e) {+}, vTe = (e) => e$[e.junk_kind || "other"] || e$.other;+function yTe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64718,40 +64718,40 @@ function _Te(e) {glyph: "check"};}-var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), vTe = (e, t) => [+var t$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), bTe = (e, t) => ["junk-queue",e.view,e.kind,t];-function yTe({ kind: e, view: t }) {+function xTe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function bTe(e, t) {- let n = await B(`/api/ads?${yTe(e)}`, t);+async function STe(e, t) {+ let n = await B(`/api/ads?${xTe(e)}`, t);return {...n,items: n.items || []};}// src/react/junk-queue/junk-card.tsx-function i$({ name: e }) {+function n$({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-var a$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = gTe(e), m = String(e.name || ""), h = _Te(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));+var r$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function CTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = vTe(e), m = String(e.name || ""), h = yTe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+ t.target.closest("[data-junk-actions]") || r$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), a$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), r$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -64782,7 +64782,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: mG,+ onMouseDown: pG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",@@ -64790,7 +64790,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, F.jsx)(n$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -64802,7 +64802,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(i$, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(n$, { name: "check" })})]}),@@ -64839,7 +64839,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: xs("正在定位") }- }) : /* @__PURE__ */ (0, F.jsx)(i$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {+ }) : /* @__PURE__ */ (0, F.jsx)(n$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64851,7 +64851,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(n$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64863,7 +64863,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(n$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64878,7 +64878,7 @@ function xTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var STe = (0, P.memo)(xTe), o$ = [+var wTe = (0, P.memo)(CTe), i$ = [["","全部",@@ -64914,40 +64914,40 @@ var STe = (0, P.memo)(xTe), o$ = ["其它","hard-drive"]-], CTe = (e) => o$.find(([t]) => t === e)?.[0] ?? "";-function s$(e) {+], TTe = (e) => i$.find(([t]) => t === e)?.[0] ?? "";+function a$(e) {let t = new URLSearchParams(e);return {- kind: CTe(t.get("type")),+ kind: TTe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function c$(e = "", t = "pending") {+function o$(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 l$(e) {+function s$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: c$("", "pending")+ href: o$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: c$("", "dismissed")+ href: o$("", "dismissed")};}-var u$ = (e) => e === "dismissed" ? "已排除" : "待判断", d$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function wTe({ kind: e, view: t }) {- let n = o$.map(([n, r, i]) => `<a href="${c$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${d$(i)}${z(r)}</a>`).join(""), r = l$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${_s(u$(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\"" : ""}>${d$(r.glyph)}${r.label}</a></nav></div></div></div>`;+var c$ = (e) => e === "dismissed" ? "已排除" : "待判断", l$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function ETe({ kind: e, view: t }) {+ let n = i$.map(([n, r, i]) => `<a href="${o$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${l$(i)}${z(r)}</a>`).join(""), r = s$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${_s(c$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${l$(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/components/collection-summary.tsx-function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function u$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -64973,31 +64973,31 @@ function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function p$({ name: e }) {+function d$({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function m$({ scope: e, count: t }) {+function f$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function TTe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = cV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = dI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? o$.map(([e]) => r$(t, e)).join(",") : ""}`), l = l$(s), u = (e) => {+function DTe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = cV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = dI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? i$.map(([e]) => t$(t, e)).join(",") : ""}`), l = s$(s), u = (e) => {let t = e.target.closest("a");- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || c$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || o$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, F.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, F.jsx)(f$, {- label: u$(s),+ children: /* @__PURE__ */ (0, F.jsx)(u$, {+ label: c$(s),figure: d,pending: !t && !n,flush: !0@@ -65017,17 +65017,17 @@ function TTe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- o$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {- href: c$(e, s),+ i$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {+ href: o$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, F.jsx)(p$, { name: r }),+ /* @__PURE__ */ (0, F.jsx)(d$, { name: r }),n,- /* @__PURE__ */ (0, F.jsx)(m$, {+ /* @__PURE__ */ (0, F.jsx)(f$, {scope: e,- count: t ? r$(t, e) : 0+ count: t ? t$(t, e) : 0})]}, e || "all")),@@ -65041,9 +65041,9 @@ function TTe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, F.jsx)(p$, { name: l.glyph }),+ /* @__PURE__ */ (0, F.jsx)(d$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, F.jsx)(m$, {+ /* @__PURE__ */ (0, F.jsx)(f$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -65055,33 +65055,33 @@ function TTe({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var ETe = Vz("check"), DTe = (e, t) => e[1] === t.view && e[2] === t.kind;-function OTe(e) {+var OTe = Vz("check"), kTe = (e, t) => e[1] === t.view && e[2] === t.kind;+function ATe(e) {let t = {kind: e.kind,view: e.view}, n = Pt({- queryKey: vTe(t, e.revision),- queryFn: ({ signal: e }) => bTe(t, e),- placeholderData: (e, n) => n && DTe(n.queryKey, t) ? e : void 0+ queryKey: bTe(t, e.revision),+ queryFn: ({ signal: e }) => STe(t, e),+ placeholderData: (e, n) => n && kTe(n.queryKey, t) ? e : void 0});(0, P.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = kTe(e.countRow), i = n.isPending;+ let r = jTe(e.countRow), i = n.isPending;(0, P.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, P.useLayoutEffect)(() => {r && n.data && Ns(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(TTe, {+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(DTe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(ATe, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(MTe, {props: e,data: n.data,pending: i,@@ -65089,7 +65089,7 @@ function OTe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function kTe(e) {+function jTe(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -65099,8 +65099,8 @@ function kTe(e) {};}, [e]), t;}-function ATe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = UW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {+function MTe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = HW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -65108,14 +65108,14 @@ function ATe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, F.jsx)(WW, {+ if (!t) return /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";return /* @__PURE__ */ (0, F.jsx)(zz, {- icon: ETe,+ icon: OTe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",actions: t ? /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",@@ -65130,7 +65130,7 @@ function ATe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, F.jsx)(STe, {+ children: u.map((t) => /* @__PURE__ */ (0, F.jsx)(wTe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -65139,7 +65139,7 @@ function ATe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(jTe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(NTe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, F.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -65149,14 +65149,14 @@ function ATe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function jTe({ onMore: e }) {+function NTe({ onMore: e }) {let t = (0, P.useRef)(null);return (0, P.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: HW });+ }, { rootMargin: VW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, F.jsx)("div", {ref: t,@@ -65166,18 +65166,18 @@ function jTe({ onMore: e }) {});}// src/react/wants/wants.ts-var h$ = "/api/wants", g$ = ["wants"], MTe = (e) => [+var p$ = "/api/wants", m$ = ["wants"], PTe = (e) => ["wants","follow",e-], NTe = [+], FTe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], _$ = (e) => B(h$, e);-function PTe(e, t) {- H.setQueryData(g$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], h$ = (e) => B(p$, e);+function ITe(e, t) {+ H.setQueryData(m$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -65185,37 +65185,37 @@ function PTe(e, t) {} : n)} : n);}-var FTe = (e, t) => B(`${h$}?follow=${encodeURIComponent(e)}`, t), v$ = (e, t) => V(h$, {+var LTe = (e, t) => B(`${p$}?follow=${encodeURIComponent(e)}`, t), g$ = (e, t) => V(p$, {action: "add",...e-}, "POST", t), y$ = (e, t) => V(h$, {+}, "POST", t), _$ = (e, t) => V(p$, {action: "remove",ids: e-}, "POST", t), ITe = (e, t) => V(h$, {+}, "POST", t), RTe = (e, t) => V(p$, {action: "reset",ids: e-}, "POST", t), b$ = () => H.invalidateQueries({ queryKey: g$ }), LTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function RTe(e) {+}, "POST", t), v$ = () => H.invalidateQueries({ queryKey: m$ }), zTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function BTe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}// src/react/jav/jav-navigation.ts-var x$ = [+var y$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], S$ = (e) => x$.some(([t]) => t === e) ? e : "library", zTe = (e) => S$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function BTe(e) {+], b$ = (e) => y$.some(([t]) => t === e) ? e : "library", VTe = (e) => b$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function HTe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/react/jav/jav.ts-var C$ = (e, t = "taste", n = "desc") => [+var x$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function w$(e, t, n = {}) {+function S$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -65224,7 +65224,7 @@ function w$(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 VTe(e, t, n) {+function UTe(e, t, n) {let r = io({...e,is_jav: !0@@ -65233,82 +65233,82 @@ function VTe(e, t, n) {let i = z(Ka(e));return no(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 HTe(e, t) {+async function WTe(e, t) {e === "wants" ? await H.ensureQueryData({- queryKey: g$,- queryFn: () => _$(t),+ queryKey: m$,+ queryFn: () => h$(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await H.ensureQueryData({- queryKey: C$("external"),- queryFn: () => w$("external", t),+ queryKey: x$("external"),+ queryFn: () => S$("external", t),staleTime: 3e4,revalidateIfStale: !0});}// src/react/components/fieldset-layout.ts-var T$ = UH({+var C$ = UH({padding: "none",bordered: "line",className: "overflow-hidden"-}), E$ = {+}), w$ = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, D$ = {+}, T$ = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function O$(e) {- return `${T$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function E$(e) {+ return `${C$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/management.ts-var k$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", A$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", UTe = "aria-disabled=\"true\"", N$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, P$ = (e, t, n) => `<div class="${E$[n]}"><div class="flex flex-col gap-2">+var D$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", O$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", k$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", A$ = "disabled data-skeleton-action", GTe = "aria-disabled=\"true\"", j$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, M$ = (e, t, n) => `<div class="${w$[n]}"><div class="flex flex-col gap-2"><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 WTe() {- return N$(`<section aria-label="扫描与采集" class="${O$("stack")}" data-cleanup-task data-cleanup-processing>- ${P$("扫描与采集", k$, "stack")}- <footer class="${D$.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>${os("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ls({+function KTe() {+ return j$(`<section aria-label="扫描与采集" class="${E$("stack")}" data-cleanup-task data-cleanup-processing>+ ${M$("扫描与采集", D$, "stack")}+ <footer class="${T$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${os("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ls({label: "同步新增文件",- attrs: M$+ attrs: A$})}${ls({glyph: "chevron-down",- attrs: `${M$} aria-label="更多同步方式"`+ attrs: `${A$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function GTe() {- return N$(`<section aria-label="媒体修复" class="${O$("split")}" data-cleanup-task data-cleanup-processing>- ${P$("媒体修复", A$, "split")}- <footer class="${D$.split}">${ds(j$, {+function qTe() {+ return j$(`<section aria-label="媒体修复" class="${E$("split")}" data-cleanup-task data-cleanup-processing>+ ${M$("媒体修复", O$, "split")}+ <footer class="${T$.split}">${ds(k$, {className: "w-48",- attrs: UTe+ attrs: GTe})}${ls({label: "开始修复",- attrs: M$+ attrs: A$})}</footer></section>`);}-function F$() {+function N$() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = T$, n = E$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${D$.stack}">${ls({+ ], t = C$, n = w$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${T$.stack}">${ls({label: e,- attrs: M$+ attrs: A$})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${os(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${j$}</strong><span class="text-caption-1-regular">${j$}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${os(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${k$}</strong><span class="text-caption-1-regular">${k$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${WTe()}</div><div id="mediaRepair">${GTe()}</div>+ <div id="libraryProcessing">${KTe()}</div><div id="mediaRepair">${qTe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ds(j$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => ls({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ds(k$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => ls({variant: "secondary",- label: j$,- attrs: M$+ label: k$,+ attrs: A$})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -65316,57 +65316,57 @@ function F$() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${j$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${j$}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${k$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${k$}</div></div>${i("检查死链")}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var KTe = UH({+var JTe = UH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), qTe = "border-t border-border-button-default p-4 first:border-t-0";-function I$({ id: e, gap: t = "none", children: n }) {+}), YTe = "border-t border-border-button-default p-4 first:border-t-0";+function P$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, F.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function L$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function F$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, F.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: O$(e),+ className: E$(e),children: [/* @__PURE__ */ (0, F.jsx)("div", {- className: E$[e],+ className: w$[e],children: a}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {- className: D$[e],+ className: T$[e],children: i}) : null]});}// src/react/components/status-label.tsx-var JTe = {+var XTe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function R$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, F.jsx)(sZ, {+function I$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, F.jsx)(aZ, {"data-status-tone": e,variant: "caption",- color: JTe[e],+ color: XTe[e],...t});}// src/react/components/path-line.tsx-function YTe({ className: e }) {+function ZTe({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -65379,8 +65379,8 @@ function YTe({ className: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-folder-open" })});}-var XTe = "打开文件管理器失败,请重试";-function z$({ path: e, prefix: t, className: n, onRevealed: r }) {+var QTe = "打开文件管理器失败,请重试";+function L$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(!0);(0, P.useEffect)(() => () => {c.current = !1;@@ -65391,7 +65391,7 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {try {await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof Hn ? e.message : XTe);+ c.current && s(e instanceof Hn ? e.message : QTe);} finally {c.current && a(!1);}@@ -65402,10 +65402,10 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("p", {- className: oF("min-w-0 break-all", n),+ className: sF("min-w-0 break-all", n),children: [t, e]}), /* @__PURE__ */ (0, F.jsx)(ZF, {- icon: YTe,+ icon: ZTe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",@@ -65419,7 +65419,7 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {});}// src/react/library-processing/issue-export.ts-async function ZTe(e, t) {+async function $Te(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -65442,18 +65442,18 @@ async function ZTe(e, t) {rows: n}, null, 2);}-function QTe(e, t) {+function eEe(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 $Te = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", eEe = (e) => {+var tEe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", nEe = (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(",")}。`;-}, tEe = (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} 部视频预览。` : "") + eEe(e);-function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+}, rEe = (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} 部视频预览。` : "") + nEe(e);+function iEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {let a = age(e), o = jH(), s = jH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = nge(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && vH(e), f = u && !!a?.log, p = hH(e), m = cV();return /* @__PURE__ */ (0, F.jsxs)("div", {"aria-live": "polite",@@ -65465,7 +65465,7 @@ function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "warning",title: "处理较慢",- children: $Te+ children: tEe}) : null,u ? /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: d ? "warning" : "error",@@ -65520,7 +65520,7 @@ function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, F.jsx)(z$, {+ children: /* @__PURE__ */ (0, F.jsx)(L$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65534,7 +65534,7 @@ function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "success",title: "处理完成",- children: tEe(n)+ children: rEe(n)}) : null,n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",@@ -65551,8 +65551,8 @@ function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {variant: "secondary",size: "small",...Uz(!!o.busy),- onClick: () => void o.run("export", (t) => ZTe(e, t), (t) => {- QTe(e.job_id, t), i("已导出问题清单");+ onClick: () => void o.run("export", (t) => $Te(e, t), (t) => {+ eEe(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, e.archived ? null : /* @__PURE__ */ (0, F.jsx)(q, {@@ -65577,7 +65577,7 @@ function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {className: "gap-0 p-3",extra: e.issues_log && !f ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, F.jsx)(z$, {+ children: /* @__PURE__ */ (0, F.jsx)(L$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65589,7 +65589,7 @@ function nEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function B$(e) {+function R$(e) {let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = HH(e), o = Ft({mutationFn: (e) => V(pH, e),onSuccess: (e) => {@@ -65604,7 +65604,7 @@ function B$(e) {};return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, F.jsx)(L$, {+ children: [/* @__PURE__ */ (0, F.jsx)(F$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -65626,7 +65626,7 @@ function B$(e) {trailingIcon: pz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, F.jsx)(LK, {+ /* @__PURE__ */ (0, F.jsx)(IK, {scan: !0,busy: d,metadataOnly: s?.metadata_only,@@ -65642,7 +65642,7 @@ function B$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(I$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(sZ, {+ children: [/* @__PURE__ */ (0, F.jsx)(P$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(aZ, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, F.jsxs)("span", {@@ -65659,11 +65659,11 @@ function B$(e) {}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: k$+ children: D$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, F.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, F.jsx)(R$, { children: "已暂停" })+ children: /* @__PURE__ */ (0, F.jsx)(I$, { children: "已暂停" })}) : _H(s) ? /* @__PURE__ */ (0, F.jsx)(Cge, { state: s }) : null,_H(s) ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums",@@ -65674,7 +65674,7 @@ function B$(e) {_H(s) ? /* @__PURE__ */ (0, F.jsx)(VH, { state: s }) : null]})- }), /* @__PURE__ */ (0, F.jsx)(nEe, {+ }), /* @__PURE__ */ (0, F.jsx)(iEe, {state: s,problem: u,settled: i,@@ -65689,32 +65689,32 @@ function B$(e) {});}// src/react/playlists/playlists.ts-var rEe = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => B(rEe, e);-async function iEe(e) {+var aEe = "/api/playlists", z$ = "/api/playlist", B$ = ["playlists"], V$ = (e) => B(aEe, e);+async function oEe(e) {await H.fetchQuery({- queryKey: H$,- queryFn: () => U$(e),+ queryKey: B$,+ queryFn: () => V$(e),staleTime: 0});}-var aEe = () => H.invalidateQueries({- queryKey: H$,+var sEe = () => H.invalidateQueries({+ queryKey: B$,exact: !0-}), oEe = (e) => e.current_asset_id || e.preview_asset_id || null, sEe = (e) => `/poster?id=${e}&c=4`, cEe = (e) => V(V$, {+}), cEe = (e) => e.current_asset_id || e.preview_asset_id || null, lEe = (e) => `/poster?id=${e}&c=4`, uEe = (e) => V(z$, {action: "create",name: e,asset_ids: []-}), lEe = (e, t) => V(V$, {+}), dEe = (e, t) => V(z$, {action: "rename",id: e,name: t-}), uEe = (e) => V(V$, {+}), fEe = (e) => V(z$, {action: "delete",id: e-}), dEe = (e) => B(`${V$}?id=${e}`).catch(() => null);-function fEe(e) {+}), pEe = (e) => B(`${z$}?id=${e}`).catch(() => null);+function mEe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(V$, {+ return V(z$, {action: "create",name: e.name,asset_ids: t,@@ -65723,52 +65723,52 @@ function fEe(e) {});}// src/react/scraping/custom-source-data.ts-var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => B(W$, e), pEe = "/api/scraping", mEe = "/api/scraping/settings", hEe = "/api/scraping/check", q$ = "/api/scraping/cover", gEe = "/api/scraping/amane-bridge", _Ee = "/api/scraping/amane-bridge/check", vEe = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], yEe = 262144, Z$ = (e) => B(pEe, e), Q$ = (e) => B(q$, e), $$ = (e) => B(gEe, e);-async function bEe(e) {+var H$ = "/api/custom-metadata", U$ = ["custom-metadata"], W$ = (e) => B(H$, e), hEe = "/api/scraping", gEe = "/api/scraping/settings", _Ee = "/api/scraping/check", G$ = "/api/scraping/cover", vEe = "/api/scraping/amane-bridge", yEe = "/api/scraping/amane-bridge/check", bEe = "/api/scraping/amane-bridge/rebuild", K$ = ["scraping"], q$ = ["scraping", "cover"], J$ = ["scraping", "amane-bridge"], xEe = 262144, Y$ = (e) => B(hEe, e), X$ = (e) => B(G$, e), Z$ = (e) => B(vEe, e);+async function SEe(e) {await Promise.all([H.fetchQuery({- queryKey: J$,- queryFn: () => Z$(e)+ queryKey: K$,+ queryFn: () => Y$(e)}),H.fetchQuery({- queryKey: Y$,- queryFn: () => Q$(e)+ queryKey: q$,+ queryFn: () => X$(e)}),H.fetchQuery({- queryKey: X$,- queryFn: () => $$(e)+ queryKey: J$,+ queryFn: () => Z$(e)}),H.fetchQuery({- queryKey: G$,- queryFn: () => K$(e)+ queryKey: U$,+ queryFn: () => W$(e)})]);}-function xEe(e, t) {+function CEe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}// src/react/search/search.ts-var e1 = /* @__PURE__ */ new Set([+var Q$ = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), t1 = /* @__PURE__ */ new Set([+]), $$ = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), n1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function SEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), e1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function wEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || n1(t).includes(n1(e)));+ }, d = t.filter((t) => !e || e1(t).includes(e1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65789,8 +65789,8 @@ function SEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !t1.has(e.kind)),- right: e.filter((e) => t1.has(e.kind)),+ left: e.filter((e) => !$$.has(e.kind)),+ right: e.filter((e) => $$.has(e.kind)),empty: !1,options: l};@@ -65840,7 +65840,7 @@ function SEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !t1.has(e.kind)).map(h), _ = m.filter((e) => t1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !$$.has(e.kind)).map(h), _ = m.filter((e) => $$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65850,16 +65850,16 @@ function SEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function CEe(e, t, n = Math.random) {+function TEe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => n1(t) === n1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => e1(t) === e1(e))).slice(0, 5);}// src/react/search/search-page.tsx-var wEe = () => ({+var EEe = () => ({dismissed: !1,history: [],pool: [],@@ -65878,7 +65878,7 @@ var wEe = () => ({active: -1,reveal: !1,rewind: !1-}), r1 = (e) => SEe({+}), t1 = (e) => wEe({query: e.query,history: e.history,picks: e.picks,@@ -65887,18 +65887,18 @@ var wEe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), TEe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), i1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+}), DEe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), n1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});-function EEe(e) {+function OEe(e) {let t = (0, P.useRef)(e);t.current = e;let n = (0, P.useRef)(null);- n.current ??= wEe();+ n.current ??= EEe();let r = n.current, i = (0, P.useRef)(null), [, a] = (0, P.useReducer)((e) => e + 1, 0), o = (0, P.useRef)(null);- o.current ??= DEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= kEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, P.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {@@ -65913,7 +65913,7 @@ function EEe(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 = r1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(kEe, {+ let c = t1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(jEe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65926,7 +65926,7 @@ function EEe(e) {children: [/* @__PURE__ */ (0, F.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, F.jsx)("a", {href: e.href,- onMouseDown: a1,+ onMouseDown: r1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65945,7 +65945,7 @@ function EEe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, F.jsx)(OEe, {+ c.tabs ? /* @__PURE__ */ (0, F.jsx)(AEe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65972,7 +65972,7 @@ function EEe(e) {]});}-function DEe(e, t, n, r) {+function kEe(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 () => {@@ -65983,7 +65983,7 @@ function DEe(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => n1(e) !== n1(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => e1(e) !== e1(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -66030,9 +66030,9 @@ function DEe(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : CEe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : TEe(t.pool, o()), t.active = -1;let a = n();- a && (TEe(r1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (DEe(t1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -66044,7 +66044,7 @@ function DEe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? r1(t).options : [], y = (e) => {+ }, v = () => p() ? t1(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -66053,7 +66053,7 @@ function DEe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && e1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && Q$.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -66099,13 +66099,13 @@ function DEe(e, t, n, r) {await V("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => n1(t) !== n1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => e1(t) !== e1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function OEe({ tabs: e, kind: t, onPick: n, wire: r }) {+function AEe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {r(i.current);@@ -66119,9 +66119,9 @@ function OEe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, F.jsx)(IQ, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, F.jsx)(PQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, F.jsxs)(lF, {+ return /* @__PURE__ */ (0, F.jsxs)(uF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -66130,8 +66130,8 @@ function OEe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var a1 = (e) => e.preventDefault();-function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var r1 = (e) => e.preventDefault();+function jEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -66143,33 +66143,33 @@ function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: a1,+ onMouseDown: r1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, F.jsx)(i1, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(n1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, F.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, F.jsx)(i1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, F.jsx)(n1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, F.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: a1,+ onMouseDown: r1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, F.jsx)(i1, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(n1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = Q$.has(c) ? c : void 0;if (["asset","jav",@@ -66183,8 +66183,8 @@ function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: a1,- children: [/* @__PURE__ */ (0, F.jsx)(o1, {+ onMouseDown: r1,+ children: [/* @__PURE__ */ (0, F.jsx)(i1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -66209,9 +66209,9 @@ function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: a1,+ onMouseDown: r1,children: [- /* @__PURE__ */ (0, F.jsx)(s1, {+ /* @__PURE__ */ (0, F.jsx)(a1, {item: s,kind: c}),@@ -66234,11 +66234,11 @@ function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-open-work": e.id,"aria-label": `打开 ${e.code || s.value}`,- onMouseDown: a1,+ onMouseDown: r1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, F.jsx)(o1, {+ children: /* @__PURE__ */ (0, F.jsx)(i1, {card: e,helpers: n})@@ -66252,7 +66252,7 @@ function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(s1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(a1, {item: s,kind: c}) : null,@@ -66265,13 +66265,13 @@ function kEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function o1({ card: e, helpers: t }) {+function i1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function s1({ item: e, kind: t }) {+function a1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -66290,24 +66290,24 @@ function s1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var c1 = ["configuration"], l1 = (e) => B(KY, e);-async function AEe(e) {+var o1 = ["configuration"], s1 = (e) => B(GY, e);+async function MEe(e) {await H.fetchQuery({- queryKey: c1,- queryFn: () => l1(e)+ queryKey: o1,+ queryFn: () => s1(e)});}// src/react/settings-panel/legacy-controls.tsx-var u1 = (e) => e.map(([e, t, n]) => n ? [+var c1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function l1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(l);return f.current = l, (0, P.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Mc(t, n, u1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Mc(t, n, c1(r), i, {attr: a,className: o,text: s@@ -66325,13 +66325,13 @@ function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function f1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function u1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(-1), m = (0, P.useRef)(l);return m.current = l, (0, P.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Yo(u1(n), r, { label: t });+ e.innerHTML = Yo(c1(n), r, { label: t });let i = Xo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -66344,7 +66344,7 @@ function f1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function jEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function NEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)({onStep: a,onSettle: o@@ -66378,7 +66378,7 @@ function jEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var MEe = [+var PEe = [["strength","强度",@@ -66405,8 +66405,8 @@ var MEe = [100]];-function NEe({ host: e, spot: t, index: n, glow: r }) {- let i = nse[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = cV(), [l, u] = (0, P.useState)("all");+function FEe({ host: e, spot: t, index: n, glow: r }) {+ let i = ese[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = cV(), [l, u] = (0, P.useState)("all");(0, P.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -66419,7 +66419,7 @@ function NEe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = oA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Vo(), o.current?.focus();+ r[t].color = cA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Vo(), o.current?.focus();};return /* @__PURE__ */ (0, F.jsxs)("div", {"data-glow-stop": t,@@ -66444,7 +66444,7 @@ function NEe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })+ /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "popmenu",@@ -66456,7 +66456,7 @@ function NEe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: ase.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: rse.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66470,7 +66470,7 @@ function NEe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: ose.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: ise.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66487,8 +66487,8 @@ function NEe({ host: e, spot: t, index: n, glow: r }) {})]});}-function PEe({ host: e }) {- let t = e.store.value.homeGlow, n = $k(t.preset);+function IEe({ host: e }) {+ let t = e.store.value.homeGlow, n = tA(t.preset);return /* @__PURE__ */ (0, F.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66507,10 +66507,10 @@ function PEe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, F.jsx)("b", {"data-glow-preset-name": "",- children: rse(t.preset)+ children: tse(t.preset)})]}),- /* @__PURE__ */ (0, F.jsx)(nj, {+ /* @__PURE__ */ (0, F.jsx)(rj, {store: e.store,label: "光晕配色"}),@@ -66521,7 +66521,7 @@ function PEe({ host: e }) {}),/* @__PURE__ */ (0, F.jsx)("div", {"data-glow-fields": "",- children: MEe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(jEe, {+ children: PEe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(NEe, {field: r,label: i,max: a,@@ -66542,7 +66542,7 @@ function PEe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = cA(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = uA(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66561,7 +66561,7 @@ function PEe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-stops": "",- children: Xk.map((n, r) => /* @__PURE__ */ (0, F.jsx)(NEe, {+ children: Qk.map((n, r) => /* @__PURE__ */ (0, F.jsx)(FEe, {host: e,spot: n,index: r,@@ -66573,7 +66573,7 @@ function PEe({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var FEe = {+var LEe = {batchSizeSetting: {min: 1,max: 200,@@ -66620,22 +66620,22 @@ var FEe = {optional: !0,fallback: 60}-}, p1 = (e) => `peach.number.${e}`;-function m1(e, t) {+}, d1 = (e) => `peach.number.${e}`;+function f1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = FEe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);- d.current ||= zk(Number(localStorage.getItem(p1(e))), o, s, n && n > 0 ? n : l);+function p1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = LEe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);+ d.current ||= Vk(Number(localStorage.getItem(d1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, P.useState)(n ?? 0), [m, h] = (0, P.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, P.useState)(""), v = (0, P.useRef)(null), y = (0, P.useRef)(i);y.current = i, (0, P.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(p1(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(d1(e), String(d.current)), y.current(d.current)));}, x = (0, P.useRef)(b);x.current = b, (0, P.useEffect)(() => {let e = v.current;@@ -66645,7 +66645,7 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let S = f > 0, C = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(p1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(d1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-number-setting": "",@@ -66682,7 +66682,7 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": "true",- children: [c, m1(Number(m), c) ? ` · ${m1(Number(m), c)}` : ""]+ children: [c, f1(Number(m), c) ? ` · ${f1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, F.jsx)("small", {id: `${e}-error`,@@ -66695,13 +66695,13 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {});}// src/react/sidebar/sidebar-order.ts-function g1(e) {- let { mutate: t } = iX();+function m1(e) {+ let { mutate: t } = rX();return (0, P.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function _1(e, t, n, r) {+function h1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66710,17 +66710,17 @@ function _1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var IEe = "__home__", v1 = (e) => e === "" ? IEe : e;-function LEe({ host: e }) {- let t = g1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {- let a = _1(n, e, r, i);+var REe = "__home__", g1 = (e) => e === "" ? REe : e;+function zEe({ host: e }) {+ let t = m1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {+ let a = h1(n, e, r, i);a && t(a);}, _ = (e, r) => {let i = n.indexOf(e), a = i + r;if (i < 0 || a < 0 || a >= n.length) return;let o = [...n];[o[i], o[a]] = [o[a], o[i]], t(o);- }, v = a.find(([e]) => v1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => g1(e) === o) ?? a[0], y = () => {h.current && Wo(h.current), l(!1);}, b = () => {let e = h.current;@@ -66741,7 +66741,7 @@ function LEe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", v1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", g1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66773,9 +66773,9 @@ function LEe({ host: e }) {/* @__PURE__ */ (0, F.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(gP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, F.jsx)(hP, { name: a ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(gP, { name: a ?? "" }),/* @__PURE__ */ (0, F.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -66789,7 +66789,7 @@ function LEe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66799,7 +66799,7 @@ function LEe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66811,11 +66811,11 @@ function LEe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, F.jsx)(gP, { name: "eye-off" })})]})]- }, v1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {+ }, g1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66831,13 +66831,13 @@ function LEe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(hP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(gP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(gP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, F.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66848,15 +66848,15 @@ function LEe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": v1(e),+ "data-sidebar-add-option": g1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(v1(e)), y(), m.current?.focus();+ s(g1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]- }, v1(e)))+ children: [/* @__PURE__ */ (0, F.jsx)(gP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]+ }, g1(e)))}) : null]}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66872,13 +66872,13 @@ function LEe({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var y1 = [+var _1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], REe = [+], BEe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66887,7 +66887,7 @@ var y1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], zEe = [["desc", "降序"], ["asc", "升序"]], BEe = [[+], VEe = [["desc", "降序"], ["asc", "升序"]], HEe = [["cover","官方封面",""@@ -66895,7 +66895,7 @@ var y1 = ["thumbnail","预览图",""-]], VEe = [+]], UEe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66914,88 +66914,88 @@ var y1 = ["切片","隐藏切片"]-], HEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {+], WEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", v1 = null, y1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();-function UEe(e) {- return w1.add(e), () => {- w1.delete(e);+}, b1 = 0, x1 = null, S1 = /* @__PURE__ */ new Set();+function GEe(e) {+ return S1.add(e), () => {+ S1.delete(e);};}-function WEe() {- for (let e of [...w1]) e();+function KEe() {+ for (let e of [...S1]) e();}-function T1(e) {- x1 = {- ...x1,+function C1(e) {+ y1 = {+ ...y1,...e- }, (0, Lt.flushSync)(WEe);+ }, (0, Lt.flushSync)(KEe);}-async function GEe(e) {- let t = x1.epoch, n = await e.configurable();- x1.open && x1.epoch === t && T1({ configurable: n });+async function qEe(e) {+ let t = y1.epoch, n = await e.configurable();+ y1.open && y1.epoch === t && C1({ configurable: n });}-function KEe(e = "") {- let t = b1;+function JEe(e = "") {+ let t = v1;if (!t) return;- let n = y1.findIndex(([t]) => t === e);- if (x1.open && !x1.closing) {- n >= 0 && n !== x1.tab && T1({ tab: n });+ let n = _1.findIndex(([t]) => t === e);+ if (y1.open && !y1.closing) {+ n >= 0 && n !== y1.tab && C1({ tab: n });return;}- Vo(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Mxe();- T1({+ Vo(), b1 += 1, x1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = Nxe();+ C1({open: !0,closing: !1,configurable: null,- epoch: x1.epoch + 1,- tab: n >= 0 ? n : x1.tab+ epoch: y1.epoch + 1,+ tab: n >= 0 ? n : y1.tab}), r.then((e) => {e && t.syncRemote(e);- }), GEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), qEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function E1(e = !0) {- if (!x1.open || x1.closing) return;- let t = ++S1;- e && b1?.closed?.(), T1({ closing: !0 });+function w1(e = !0) {+ if (!y1.open || y1.closing) return;+ let t = ++b1;+ e && v1?.closed?.(), C1({ closing: !0 });let n = () => {- t === S1 && x1.closing && (T1({+ t === b1 && y1.closing && (C1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), C1 instanceof HTMLElement && document.contains(C1) && C1.focus(), C1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), x1 instanceof HTMLElement && document.contains(x1) && x1.focus(), x1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var qEe = {- open: KEe,- close: E1,- isOpen: () => x1.open,+var YEe = {+ open: JEe,+ close: w1,+ isOpen: () => y1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function JEe(e) {- return b1 = e, qEe;+function XEe(e) {+ return v1 = e, YEe;}-function YEe() {- let e = (0, P.useSyncExternalStore)(UEe, () => x1);- return b1 ? /* @__PURE__ */ (0, F.jsx)(QEe, {- host: b1,+function ZEe() {+ let e = (0, P.useSyncExternalStore)(GEe, () => y1);+ return v1 ? /* @__PURE__ */ (0, F.jsx)(eDe, {+ host: v1,view: e}) : null;}-function XEe(e) {+function QEe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(HEe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(WEe)].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 D1 = (e) => `settings-tab-${e}`, O1 = (e) => `settings-group-${e}`;-function ZEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var T1 = (e) => `settings-tab-${e}`, E1 = (e) => `settings-group-${e}`;+function $Ee({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(e), l = (0, P.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -67023,7 +67023,7 @@ function ZEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectc.current = e, d.current(l.current[e], t);}, [e, t]);let f = (e, t) => {- let n = y1.length, r = t;+ let n = _1.length, r = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;else if (e.key === "Home") r = 0;@@ -67052,11 +67052,11 @@ function ZEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- y1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {+ _1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",- id: D1(r),- "aria-controls": O1(r),+ id: T1(r),+ "aria-controls": E1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -67067,7 +67067,7 @@ function ZEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(hP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(wle, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(gP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Cle, { name: n }), t]}, t)),/* @__PURE__ */ (0, F.jsx)("div", {"data-settings-service": "",@@ -67078,27 +67078,27 @@ function ZEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(hP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, F.jsx)(gP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-right" })]})})]});}-function k1({ index: e, tab: t, children: n, cards: r = !1 }) {+function D1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, F.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: O1(e),+ id: E1(e),role: "tabpanel",- "aria-labelledby": D1(e),+ "aria-labelledby": T1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: y1[e][0] }), n]+ children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: _1[e][0] }), n]});}-function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function O1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, F.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, F.jsx)("small", {@@ -67115,7 +67115,7 @@ function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function j1({ title: e, description: t, kind: n, children: r }) {+function k1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -67123,7 +67123,7 @@ function j1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, F.jsx)("small", { children: t }) : t] }), r]});}-function QEe({ host: e, view: t }) {+function eDe({ host: e, view: t }) {(0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -67144,7 +67144,7 @@ function QEe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== x1.tab && (T1({ tab: t }), e.selectSection?.(y1[t][0]));+ t !== y1.tab && (C1({ tab: t }), e.selectSection?.(_1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, F.jsx)("section", {"data-settings-panel": "",@@ -67155,9 +67155,9 @@ function QEe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: XEe,+ onKeyDown: QEe,onClick: (e) => {- e.target === e.currentTarget && E1();+ e.target === e.currentTarget && w1();},children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-card": "",@@ -67168,27 +67168,27 @@ function QEe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, F.jsx)("h2", {id: "settingsTitle",- children: y1[t.tab][0]+ children: _1[t.tab][0]}), /* @__PURE__ */ (0, F.jsx)(Hz, {id: "settingsClose",label: "关闭设置",- onPress: () => E1()+ onPress: () => w1()})]}),- /* @__PURE__ */ (0, F.jsx)(ZEe, {+ /* @__PURE__ */ (0, F.jsx)($Ee, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- E1(!1), e.openConfiguration();+ w1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, F.jsxs)(k1, {+ /* @__PURE__ */ (0, F.jsxs)(D1, {index: 0,tab: t.tab,cards: !0,@@ -67196,9 +67196,9 @@ function QEe({ host: e, view: t }) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "主题",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(l1, {id: "themeSetting",name: "theme",legend: "主题",@@ -67226,7 +67226,7 @@ function QEe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(O1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -67234,7 +67234,7 @@ function QEe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(O1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -67244,7 +67244,7 @@ function QEe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, F.jsx)(PEe, { host: e }),+ /* @__PURE__ */ (0, F.jsx)(IEe, { host: e }),/* @__PURE__ */ (0, F.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -67256,35 +67256,35 @@ function QEe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, F.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, F.jsx)(LEe, { host: e })+ children: /* @__PURE__ */ (0, F.jsx)(zEe, { host: e })})})]})]}),- /* @__PURE__ */ (0, F.jsx)(eDe, {+ /* @__PURE__ */ (0, F.jsx)(nDe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(tDe, {+ /* @__PURE__ */ (0, F.jsx)(rDe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsxs)(k1, {+ /* @__PURE__ */ (0, F.jsxs)(D1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, F.jsx)(iDe, {+ /* @__PURE__ */ (0, F.jsx)(oDe, {host: e,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(p1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -67294,24 +67294,24 @@ function QEe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "口味与记录",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",children: /* @__PURE__ */ (0, F.jsx)(pI, {variant: "secondary",href: "/taste",- onClick: () => E1(!1),+ onClick: () => w1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, F.jsx)(k1, {+ /* @__PURE__ */ (0, F.jsx)(D1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, F.jsx)(A1, {+ children: /* @__PURE__ */ (0, F.jsx)(O1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -67326,7 +67326,7 @@ function QEe({ host: e, view: t }) {})});}-function $Ee(e, t) {+function tDe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Ds("arrow-up", "arrow-down", "a", {@@ -67336,9 +67336,9 @@ function $Ee(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function eDe({ host: e, tab: t, epoch: n }) {+function nDe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, F.jsxs)(k1, {+ return /* @__PURE__ */ (0, F.jsxs)(D1, {index: 1,tab: t,children: [@@ -67346,11 +67346,11 @@ function eDe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "每批加载作品",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(p1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -67360,24 +67360,24 @@ function eDe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, F.jsx)(f1, {+ children: [/* @__PURE__ */ (0, F.jsx)(u1, {id: "defaultSortSetting",label: "默认排序",- options: REe,+ options: BEe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, F.jsx)(f1, {+ }), /* @__PURE__ */ (0, F.jsx)(u1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: zEe,+ options: VEe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -67385,13 +67385,13 @@ function eDe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => $Ee(e, o)+ decorate: (e) => tDe(e, o)})]})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(l1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -67417,16 +67417,16 @@ function eDe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(p1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = zk(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Vk(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -67435,16 +67435,16 @@ function eDe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, F.jsx)(rDe, {+ /* @__PURE__ */ (0, F.jsx)(aDe, {host: e,epoch: n})]});}-function tDe({ host: e, tab: t, epoch: n }) {+function rDe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, F.jsxs)(k1, {+ return /* @__PURE__ */ (0, F.jsxs)(D1, {index: 2,tab: t,children: [@@ -67452,13 +67452,13 @@ function tDe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "默认图片",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(l1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: BEe,+ options: HEe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -67473,21 +67473,21 @@ function tDe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "显示数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(p1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = zk(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Vk(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(O1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67495,7 +67495,7 @@ function tDe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- VEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(nDe, {+ UEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(iDe, {host: e,id: t,settingKey: n,@@ -67505,8 +67505,8 @@ function tDe({ host: e, tab: t, epoch: n }) {]});}-function nDe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = iX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {+function iDe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = rX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {s(t), kc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -67530,10 +67530,10 @@ function nDe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function rDe({ host: e, epoch: t }) {+function aDe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(O1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67541,7 +67541,7 @@ function rDe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(O1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67549,11 +67549,11 @@ function rDe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(p1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67565,86 +67565,86 @@ function rDe({ host: e, epoch: t }) {})] });}-function iDe({ host: e, epoch: t }) {- let n = e.store.value, r = iX();- return /* @__PURE__ */ (0, F.jsx)(j1, {+function oDe({ host: e, epoch: t }) {+ let n = e.store.value, r = rX();+ return /* @__PURE__ */ (0, F.jsx)(k1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(p1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = zk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Vk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})});}// src/react/sidebar/sidebar-island.tsx-var M1 = "__home__", aDe = {+var A1 = "__home__", sDe = {creator: 26,tag: 30,tech: 16-}, N1 = 180, P1 = null, F1 = {+}, j1 = 180, M1 = null, N1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, I1 = /* @__PURE__ */ new Set();-function oDe(e) {- return I1.add(e), () => {- I1.delete(e);+}, P1 = /* @__PURE__ */ new Set();+function cDe(e) {+ return P1.add(e), () => {+ P1.delete(e);};}-function L1() {- for (let e of [...I1]) e();+function F1() {+ for (let e of [...P1]) e();}-var sDe = {+var lDe = {render(e) {- F1 = {- ...F1,+ N1 = {+ ...N1,props: e- }, (0, Lt.flushSync)(L1);+ }, (0, Lt.flushSync)(F1);},navChanged() {- F1 = {- ...F1,- epoch: F1.epoch + 1- }, (0, Lt.flushSync)(L1);+ N1 = {+ ...N1,+ epoch: N1.epoch + 1+ }, (0, Lt.flushSync)(F1);}};-function cDe(e) {- return P1 = e, F1 = {- ...F1,+function uDe(e) {+ return M1 = e, N1 = {+ ...N1,props: {content: null,filters: {},latest: null}- }, sDe;+ }, lDe;}-function lDe() {- let e = (0, P.useSyncExternalStore)(oDe, () => F1);- return P1 ? /* @__PURE__ */ (0, F.jsx)(uDe, {- host: P1,+function dDe() {+ let e = (0, P.useSyncExternalStore)(cDe, () => N1);+ return M1 ? /* @__PURE__ */ (0, F.jsx)(fDe, {+ host: M1,props: e.props,epoch: e.epoch}) : null;}-function uDe({ host: e, props: t, epoch: n }) {+function fDe({ host: e, props: t, epoch: n }) {let r = (0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, F.jsx)(dDe, {+ /* @__PURE__ */ (0, F.jsx)(pDe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, F.jsx)(pDe, {+ t.content ? /* @__PURE__ */ (0, F.jsx)(hDe, {host: e,content: t.content,filters: t.filters,@@ -67652,8 +67652,8 @@ function uDe({ host: e, props: t, epoch: n }) {}) : null] });}-function dDe({ host: e, epoch: t, version: n }) {- let r = g1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = dI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || M1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function pDe({ host: e, epoch: t, version: n }) {+ let r = m1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = dI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || A1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, P.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67677,7 +67677,7 @@ function dDe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || M1);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || A1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67692,7 +67692,7 @@ function dDe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : _1(i, n, e, a);+ let o = n === null ? null : h1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67720,16 +67720,16 @@ function dDe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, F.jsx)(hP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]- }, t || M1))+ }) : /* @__PURE__ */ (0, F.jsx)(gP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ }, t || A1))}), v ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var R1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function fDe(e) {+var I1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function mDe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67743,7 +67743,7 @@ function fDe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function pDe({ host: e, content: t, filters: n, latest: r }) {+function hDe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, P.useLayoutEffect)(() => {t.kind === "catalog" && Ns(e.scroll, "drawer");@@ -67752,8 +67752,8 @@ function pDe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? mDe(e, t.facets, n, r, i) : hDe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(gDe, {+ let a = t.kind === "catalog" ? gDe(e, t.facets, n, r, i) : _De(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(vDe, {title: e.title,kind: e.kind,active: e.active,@@ -67762,11 +67762,11 @@ function pDe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function mDe(e, t, n, r, i) {- let a = fDe(r), o = (t, r, i) => {+function gDe(e, t, n, r, i) {+ let a = mDe(r), o = (t, r, i) => {if (!t.length) return null;- let o = R1(n, r);- return /* @__PURE__ */ (0, F.jsx)(V1, {+ let o = I1(n, r);+ return /* @__PURE__ */ (0, F.jsx)(z1, {rows: t,filterKey: r,multi: i,@@ -67776,7 +67776,7 @@ function mDe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = R1(n, l), p = c.some((e) => f.includes(e.value));+ let f = I1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67788,12 +67788,12 @@ function mDe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, F.jsx)(vDe, {+ body: /* @__PURE__ */ (0, F.jsx)(bDe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: aDe[d],+ limit: sDe[d],filterKey: l,selected: f,counts: a,@@ -67808,7 +67808,7 @@ function mDe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(W1, {+ body: /* @__PURE__ */ (0, F.jsx)(H1, {host: e,filters: n})@@ -67823,7 +67823,7 @@ function mDe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(H1, {+ body: /* @__PURE__ */ (0, F.jsx)(B1, {rows: t.followTags,host: e,selected: null,@@ -67832,14 +67832,14 @@ function mDe(e, t, n, r, i) {} : null];}-function hDe(e, t, n) {- let r = t.providers || [], i = R1(n, "provider"), a = new Set(t.selected);+function _De(e, t, n) {+ let r = t.providers || [], i = I1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, F.jsx)(V1, {+ body: /* @__PURE__ */ (0, F.jsx)(z1, {rows: r,filterKey: "provider",multi: !1,@@ -67853,7 +67853,7 @@ function hDe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(W1, {+ body: /* @__PURE__ */ (0, F.jsx)(H1, {host: e,filters: n,commit: e.setFollowDuration@@ -67863,7 +67863,7 @@ function hDe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, F.jsx)(H1, {+ body: /* @__PURE__ */ (0, F.jsx)(B1, {rows: t.tags,host: e,selected: a,@@ -67872,19 +67872,19 @@ function hDe(e, t, n) {} : null];}-function z1(e, t) {+function L1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function gDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => z1(e, n)), u = (0, P.useRef)(!1);+function vDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => L1(e, n)), u = (0, P.useRef)(!1);(0, P.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? z1(e, n) : c;+ let i = u.current ? L1(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -67905,7 +67905,7 @@ function gDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67916,7 +67916,7 @@ function gDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, F.jsx)(B1.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(R1.Provider, {value: d,children: a})@@ -67925,15 +67925,15 @@ function gDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var B1 = (0, P.createContext)(() => {});-function _De({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(hP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {+var R1 = (0, P.createContext)(() => {});+function yDe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(gP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, F.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function z1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67950,7 +67950,7 @@ function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, F.jsx)(_De, { dot: e.dot }),+ /* @__PURE__ */ (0, F.jsx)(yDe, { dot: e.dot }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67965,8 +67965,8 @@ function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function vDe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, P.useContext)(B1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);+function bDe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, P.useContext)(R1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);p !== e && (m(e), f(null));let h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, P.useLayoutEffect)(() => {@@ -67981,7 +67981,7 @@ function vDe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), To(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(V1, {+ }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(z1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -68006,10 +68006,10 @@ function vDe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(gP, { name: "chevron-down" })}) : null] });}-function H1({ rows: e, host: t, selected: n, badges: r }) {+function B1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {@@ -68031,10 +68031,10 @@ function H1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var U1 = (e, t) => e ? Math.min(N1, Number(e) / 60) : t;-function W1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [U1(t.dur_min, 0), U1(t.dur_max, N1)]), [c, l] = (0, P.useState)("max");- i !== r && (a(r), s([U1(t.dur_min, 0), U1(t.dur_max, N1)]));+var V1 = (e, t) => e ? Math.min(j1, Number(e) / 60) : t;+function H1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [V1(t.dur_min, 0), V1(t.dur_max, j1)]), [c, l] = (0, P.useState)("max");+ i !== r && (a(r), s([V1(t.dur_min, 0), V1(t.dur_max, j1)]));let [u, d] = o, f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(o);h.current = o;let g = (e, t) => {@@ -68047,11 +68047,11 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, P.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / N1 * 100}%`), e.style.setProperty("--hi", `${d / N1 * 100}%`);+ e.style.setProperty("--lo", `${u / j1 * 100}%`), e.style.setProperty("--hi", `${d / j1 * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / N1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / j1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);});@@ -68061,7 +68061,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {"data-range-end": e,"data-range-active": c === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= N1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= j1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-duration": "",@@ -68076,7 +68076,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: N1,+ max: j1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -68087,7 +68087,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: N1,+ max: j1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -68101,7 +68101,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function G1() {+function U1() {let e = (e) => ls({label: e,variant: "secondary",@@ -68115,11 +68115,11 @@ function G1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", yDe = [+var W1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", xDe = ["自动补全","仅使用本地资料","自定义"-], bDe = [+], SDe = [["读本地 NFO 和图片","✓",@@ -68150,7 +68150,7 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], xDe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", SDe = [+], CDe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", G1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", K1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", q1 = "只填域名,留空用默认地址", wDe = [{provider: "coomer",label: "Coomer",@@ -68240,8 +68240,8 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", CDe = "peach.configuration.shape.v1";-function Z1() {+], J1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", TDe = "peach.configuration.shape.v1";+function Y1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -68249,28 +68249,28 @@ function Z1() {return {};}}-function wDe(e, t) {+function EDe(e, t) {try {- let n = Z1();+ let n = Y1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(CDe, JSON.stringify({+ localStorage.setItem(TDe, JSON.stringify({...n,[e]: t}));} catch {}}-var Q1 = (e) => Z1()[e], $1 = (e) => e === !0, e0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, t0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], n0 = "disabled data-skeleton-action", r0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, a0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, o0 = (e = "3em") => a0(e, "24px"), s0 = () => a0("var(--icon-inline)", "var(--icon-inline)"), c0 = (e, t = "primary", n = "medium") => ls({+var X1 = (e) => Y1()[e], Z1 = (e) => e === !0, Q1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, $1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], e0 = "disabled data-skeleton-action", t0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, n0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, r0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, i0 = (e = "3em") => r0(e, "24px"), a0 = () => r0("var(--icon-inline)", "var(--icon-inline)"), o0 = (e, t = "primary", n = "medium") => ls({label: e,variant: t,size: n,- attrs: n0-}), l0 = (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>`, u0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, TDe = (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">${s0()}${e}</span>` : e}</p>`;+ attrs: e0+}), s0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, c0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, DDe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${a0()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, d0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${TDe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? l0(n, i) : ""}</div></section>`, f0 = (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>`, p0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => f0(e, t, `<span class="skeleton ${n}"></span>`), m0 = (e, t = "4em") => f0(e, "", r0(t)), h0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, g0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, _0 = (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>${i0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, v0 = (e) => `<div class="flex flex-col gap-1">${g0(e)}${ds(r0("8em"))}</div>`, y0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${a0("16px", "16px")}${e}</span>`, b0 = (e) => `<span class="inline-flex items-center gap-1">${s0()}${e}</span>`, x0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${os("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, EDe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), S0 = (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">${EDe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, DDe = SDe;-function ODe(e = Q1("credentials")) {- let t = new Set(t0(e?.done, 64, String));- return DDe.map((e) => {+}, l0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${DDe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? s0(n, i) : ""}</div></section>`, u0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, d0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => u0(e, t, `<span class="skeleton ${n}"></span>`), f0 = (e, t = "4em") => u0(e, "", t0(t)), p0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, m0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, h0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${n0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, g0 = (e) => `<div class="flex flex-col gap-1">${m0(e)}${ds(t0("8em"))}</div>`, _0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${r0("16px", "16px")}${e}</span>`, v0 = (e) => `<span class="inline-flex items-center gap-1">${a0()}${e}</span>`, y0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${os("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, ODe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), b0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${ODe.has(e) ? t0("100%") + t0("80%") + t0("6em") : t0("6em")}</dd></div>`).join("")}</dl>`, kDe = wDe;+function ADe(e = X1("credentials")) {+ let t = new Set($1(e?.done, 64, String));+ return kDe.map((e) => {let n = t.has(e.provider);return {...e,@@ -68279,134 +68279,134 @@ function ODe(e = Q1("credentials")) {};});}-function kDe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = o0() + (n && !e.done ? t.map(() => o0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${a0("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 ? h0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + h0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? h0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => _0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${c0("保存配置")}</div>${x0("凭据文件")}</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>${x0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function jDe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = i0() + (n && !e.done ? t.map(() => i0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${r0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? p0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + p0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? p0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => h0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${o0("保存配置")}</div>${y0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${y0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function C0() {- let e = ODe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return d0("来源凭据", u0(`<div class="flex flex-col gap-4">${[+function x0() {+ let e = ADe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return l0("来源凭据", c0(`<div class="flex flex-col gap-4">${[["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],["不需要凭据", e.filter((e) => e.requirement === "none")],["暂不支持", e.filter((e) => e.requirement === "blocked")]- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(kDe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("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(jDe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? t0("5em") : "" });}-function w0() {- let e = t0(Q1("indexers")?.open, 20, $1).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">${os("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${r0("6em")}${r0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${_0("名称")}${_0("Torznab 地址")}${_0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${y0("启用")}${c0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return d0("资源搜索", u0(`<div class="flex min-w-0 flex-col gap-4">${x0("索引器连接帮助")}${e}</div>`), c0("添加索引器", "secondary") + c0("保存配置"));+function S0() {+ let e = $1(X1("indexers")?.open, 20, Z1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${os("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${t0("6em")}${t0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${h0("名称")}${h0("Torznab 地址")}${h0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${_0("启用")}${o0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return l0("资源搜索", c0(`<div class="flex min-w-0 flex-col gap-4">${y0("索引器连接帮助")}${e}</div>`), o0("添加索引器", "secondary") + o0("保存配置"));}-function T0() {- let e = Q1("javBrowser"), t = $1(e?.enabled);- return d0("浏览器添加 JAV", u0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${r0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${o0()}</div><p class="text-caption-1-regular text-text-secondary">${r0("70%")}</p><div class="flex flex-wrap items-center gap-2">${c0("重新检测", "secondary")}</div></div>`}${v0("浏览器添加的下载渠道")}${$1(e?.ready) ? "" : h0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${_0("Peach 地址")}</div>`), (t ? c0("关闭浏览器添加", "secondary") : "") + c0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function C0() {+ let e = X1("javBrowser"), t = Z1(e?.enabled);+ return l0("浏览器添加 JAV", c0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${t0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${i0()}</div><p class="text-caption-1-regular text-text-secondary">${t0("70%")}</p><div class="flex flex-wrap items-center gap-2">${o0("重新检测", "secondary")}</div></div>`}${g0("浏览器添加的下载渠道")}${Z1(e?.ready) ? "" : p0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${h0("Peach 地址")}</div>`), (t ? o0("关闭浏览器添加", "secondary") : "") + o0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var E0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${g0(e)}${ds(r0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${_0(`${e}地址`)}</div><div class="w-full sm:w-28">${_0(`${e}端口`)}</div></div>${x0("代理认证")}` : "") + "</div>";-function D0() {- let e = Q1("cloudProxy"), t = t0(e?.accounts, 12, (e) => Array.isArray(e) ? [$1(e[0]), $1(e[1])] : [!1, !1]), n = e0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${g0(b0(r0("6em")))}${h0(r0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${g0(b0(r0("8em")))}${h0(r0("50%"))}${E0("数据代理", e)}${E0("API 代理", t)}<div class="flex justify-end">${c0("保存配置")}</div></div>`).join("") : h0(r0("60%"));- return d0("CloudDrive 代理", u0(`${h0(X1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), c0("重新读取", "secondary"));+var w0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${m0(e)}${ds(t0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${h0(`${e}地址`)}</div><div class="w-full sm:w-28">${h0(`${e}端口`)}</div></div>${y0("代理认证")}` : "") + "</div>";+function T0() {+ let e = X1("cloudProxy"), t = $1(e?.accounts, 12, (e) => Array.isArray(e) ? [Z1(e[0]), Z1(e[1])] : [!1, !1]), n = Q1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${m0(v0(t0("6em")))}${p0(t0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${m0(v0(t0("8em")))}${p0(t0("50%"))}${w0("数据代理", e)}${w0("API 代理", t)}<div class="flex justify-end">${o0("保存配置")}</div></div>`).join("") : p0(t0("60%"));+ return l0("CloudDrive 代理", c0(`${p0(J1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), o0("重新读取", "secondary"));}-var O0 = (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>`, ADe = (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">${i0()}</span>${ls({+var E0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, MDe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${n0()}</span>${ls({glyph: "folder-search",variant: "secondary",- attrs: n0+ attrs: e0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${O0("来源", ds(r0("6em")), "w-full @lg:w-60")}${O0("读取策略", ds(r0("4em")), "w-full @lg:w-32")}${e > 1 ? O0("移到媒体库", ds(r0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, jDe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${E0("来源", ds(t0("6em")), "w-full @lg:w-60")}${E0("读取策略", ds(t0("4em")), "w-full @lg:w-32")}${e > 1 ? E0("移到媒体库", ds(t0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, NDe = (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>${ls({label: "自动识别",variant: "secondary",- attrs: n0-})}${i0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ds(r0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${ADe(t).repeat(e)}<div class="flex">${ls({+ attrs: e0+})}${n0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ds(t0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${MDe(t).repeat(e)}<div class="flex">${ls({label: "添加文件夹",variant: "secondary",- attrs: n0-})}</div></div></div>`, MDe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${K1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, NDe = "<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 PDe(e = Q1("media")) {- let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);+ attrs: e0+})}</div></div></div>`, PDe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${W1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, FDe = "<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 IDe(e = X1("media")) {+ let t = $1(e?.folders, 12, (e) => Q1(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: $1(e?.cloud)+ cloud: Z1(e?.cloud)} : {folders: [1],cloud: !1};}-function FDe() {- let e = Q1("discovery"), t = $1(e?.enabled), n = t && $1(e?.cloud), r = n && $1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${ds(r0("4em"), { prefix: "对应目录" })}${ls({+function LDe() {+ let e = X1("discovery"), t = Z1(e?.enabled), n = t && Z1(e?.cloud), r = n && Z1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${n0()}</span>${ds(t0("4em"), { prefix: "对应目录" })}${ls({glyph: "trash",variant: "secondary",- attrs: n0+ attrs: e0})}</div>`;- return d0("自动发现新文件", u0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${o0()}</div>`) + p0("发现新文件后自动入库", t ? r0("10em") : "") + p0("监视本机文件夹", t && $1(e?.watchLocal) ? r0("12em") : "") + p0("接收 CloudDrive2 通知") + (n ? f0("Webhook 配置", r0("20em"), "") : "") + (r ? u0(x0("查看配置"), !0) : "") + (n ? u0(`<div class="flex flex-col gap-3">${g0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(e0(e?.prefixes, 20))}</div><div>${c0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? c0("更换密钥", "secondary") : "") + c0("保存配置"));-}-var IDe = () => {- let e = PDe();- return d0("媒体库与目录", u0(`${MDe}<div class="flex flex-col gap-4">${e.folders.map((t) => jDe(t, e.folders.length)).join("")}</div>- <div class="self-start">${c0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${q1}</p>- ${e.cloud ? NDe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + FDe() + d0("番号识别规则", u0(`${r0("90%")}${r0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), c0("保存配置")) + d0("视频预览", p0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + p0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + p0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, LDe = () => `<div>${c0("采集来源与登录状态", "secondary")}</div>` + C0() + d0("关注采集", f0("自动检查更新", "", "<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>") + m0("订阅源拉取") + p0("首次采集范围", "", "ui-configuration-skeleton-select") + m0("头像刷新") + m0("favicon 刷新")) + w0() + d0("作品资料站点", u0(`<p class="text-body-2-regular text-text-secondary">${J1}</p>${_0(b0("JavDB 地址"), Y1)}${_0(b0("MISSAV 地址"), Y1)}`), c0("保存配置")), RDe = () => {- let e = Q1("downloads"), t = $1(e?.pikpak), n = $1(e?.pikpakRoots) ? v0(b0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${g0(b0("PikPak 根目录对应的媒体目录"))}${h0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = $1(e?.cloud) ? d0("云下载", u0(_0("CloudDrive2 地址") + _0("CloudDrive2 API 令牌", "需要离线任务权限。") + ($1(e?.has115) ? _0(b0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? _0(b0("PikPak 目标目录"), "目录要已经存在。") + n : "") + _0("等待上限(小时)", r0("14em"))), c0("检查连接", "secondary") + c0("保存配置")) : "", i = $1(e?.pikpakLoggedIn);- return r + (t ? d0("PikPak 账号", i ? S0(["账号", r0("4em")]) : u0(_0("账号") + _0("密码") + y0("保存密码,登录过期时自动重新登录")), i ? c0("登出", "secondary") : ($1(e?.browserLogin) ? c0("用浏览器登录", "secondary") : "") + c0("登录"), {- aside: o0(),+ return l0("自动发现新文件", c0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${i0()}</div>`) + d0("发现新文件后自动入库", t ? t0("10em") : "") + d0("监视本机文件夹", t && Z1(e?.watchLocal) ? t0("12em") : "") + d0("接收 CloudDrive2 通知") + (n ? u0("Webhook 配置", t0("20em"), "") : "") + (r ? c0(y0("查看配置"), !0) : "") + (n ? c0(`<div class="flex flex-col gap-3">${m0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(Q1(e?.prefixes, 20))}</div><div>${o0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? o0("更换密钥", "secondary") : "") + o0("保存配置"));+}+var RDe = () => {+ let e = IDe();+ return l0("媒体库与目录", c0(`${PDe}<div class="flex flex-col gap-4">${e.folders.map((t) => NDe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${o0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${G1}</p>+ ${e.cloud ? FDe : ""}<span class="text-body-medium text-text-primary">${t0("15em")}</span>`), o0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? T0() : "") + LDe() + l0("番号识别规则", c0(`${t0("90%")}${t0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), o0("保存配置")) + l0("视频预览", d0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + d0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + d0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, zDe = () => `<div>${o0("采集来源与登录状态", "secondary")}</div>` + x0() + l0("关注采集", u0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + f0("订阅源拉取") + d0("首次采集范围", "", "ui-configuration-skeleton-select") + f0("头像刷新") + f0("favicon 刷新")) + S0() + l0("作品资料站点", c0(`<p class="text-body-2-regular text-text-secondary">${K1}</p>${h0(v0("JavDB 地址"), q1)}${h0(v0("MISSAV 地址"), q1)}`), o0("保存配置")), BDe = () => {+ let e = X1("downloads"), t = Z1(e?.pikpak), n = Z1(e?.pikpakRoots) ? g0(v0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${m0(v0("PikPak 根目录对应的媒体目录"))}${p0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = Z1(e?.cloud) ? l0("云下载", c0(h0("CloudDrive2 地址") + h0("CloudDrive2 API 令牌", "需要离线任务权限。") + (Z1(e?.has115) ? h0(v0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? h0(v0("PikPak 目标目录"), "目录要已经存在。") + n : "") + h0("等待上限(小时)", t0("14em"))), o0("检查连接", "secondary") + o0("保存配置")) : "", i = Z1(e?.pikpakLoggedIn);+ return r + (t ? l0("PikPak 账号", i ? b0(["账号", t0("4em")]) : c0(h0("账号") + h0("密码") + _0("保存密码,登录过期时自动重新登录")), i ? o0("登出", "secondary") : (Z1(e?.browserLogin) ? o0("用浏览器登录", "secondary") : "") + o0("登录"), {+ aside: i0(),mark: !0- }) : "") + T0();-}, k0 = {+ }) : "") + C0();+}, D0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, A0 = {+}, O0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function zDe(e) {- let t = e === "locked" ? "" : _0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + _0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (k0[e] ? h0(k0[e]) : "") + (e === "open" ? a0("100%", "64px") : "") + (e === "password" || e === "legacy" ? y0("关闭访问密码") : "") + (e === "password" ? _0("当前访问密码 *") : "") + t;+function VDe(e) {+ let t = e === "locked" ? "" : h0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + h0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (D0[e] ? p0(D0[e]) : "") + (e === "open" ? r0("100%", "64px") : "") + (e === "password" || e === "legacy" ? _0("关闭访问密码") : "") + (e === "password" ? h0("当前访问密码 *") : "") + t;}-var BDe = () => {- let e = Q1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = $1(e?.tunnelNamed), r = (n && $1(e?.tunnelNamedMode) ? h0(A0.named) + _0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + _0("隧道令牌", r0("16em")) : h0(A0.quick)) + ($1(e?.tunnelNote) ? a0("100%", "64px") : ""), i = e0(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">${_0([+var HDe = () => {+ let e = X1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = Z1(e?.tunnelNamed), r = (n && Z1(e?.tunnelNamedMode) ? p0(O0.named) + h0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + h0("隧道令牌", t0("16em")) : p0(O0.quick)) + (Z1(e?.tunnelNote) ? r0("100%", "64px") : ""), i = Q1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${h0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${c0("复制地址", "secondary")}</div>`).join("");- return (i || $1(e?.port) ? d0("访问地址", u0(a + (i ? a0("100%", "40px") : "") + ($1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${g0("谁可以访问")}${a0("min(100%, 20em)", "36px")}</div>` + ($1(e?.lan) ? _0("局域网访问地址") : "") : "") + ($1(e?.port) ? _0("端口") : "")), $1(e?.port) ? c0("保存配置") : "", $1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + d0("访问密码", u0(zDe(t)), t === "locked" ? "" : c0("保存配置")) + d0("Cloudflare 公网入口", u0((n ? a0("10.5em", "36px") : "") + r), c0("启动公网入口", n ? "secondary" : "primary") + (n ? c0("保存配置") : ""), { aside: o0() }) + d0("Peach 代理", p0("连接方式", "", "ui-configuration-skeleton-select") + ($1(e?.proxyAddress) ? u0(_0("代理地址"), !0) : ""), c0("保存配置"));-}, VDe = [+ ][t])}</div>${o0("复制地址", "secondary")}</div>`).join("");+ return (i || Z1(e?.port) ? l0("访问地址", c0(a + (i ? r0("100%", "40px") : "") + (Z1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${m0("谁可以访问")}${r0("min(100%, 20em)", "36px")}</div>` + (Z1(e?.lan) ? h0("局域网访问地址") : "") : "") + (Z1(e?.port) ? h0("端口") : "")), Z1(e?.port) ? o0("保存配置") : "", Z1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + l0("访问密码", c0(VDe(t)), t === "locked" ? "" : o0("保存配置")) + l0("Cloudflare 公网入口", c0((n ? r0("10.5em", "36px") : "") + r), o0("启动公网入口", n ? "secondary" : "primary") + (n ? o0("保存配置") : ""), { aside: i0() }) + l0("Peach 代理", d0("连接方式", "", "ui-configuration-skeleton-select") + (Z1(e?.proxyAddress) ? c0(h0("代理地址"), !0) : ""), o0("保存配置"));+}, UDe = ["版本","操作系统","数据目录","设置文件","日志目录"-], HDe = () => {- let e = Q1("maintenance"), t = [+], WDe = () => {+ let e = X1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, e0(e?.releaseFacts, 5))), n = e0(e?.releaseNotes, 4), r = e0(e?.storageRows, 12), i = e0(e?.storageNotes, 3), a = t0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${o0("6em")}</span>`, s = (t) => !e || $1(t), c = s(e?.reporting) ? p0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + ($1(e?.reportingIdle) ? u0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${p0("上传馆藏与口味明细", $1(e?.sharingNotice) ? r0("12em") : "")}${$1(e?.sharingIdle) ? u0(o, !0) : ""}${l0(c0("预览上传内容", "secondary"))}</div>` : "";- return d0("检查更新", S0(t) + (n ? u0(h0(r0("50%")).repeat(n), !0) : ""), c0("检查更新"), {- aside: o0("4em"),- status: r0("5em")- }) + d0("自动更新", p0("自动检查新版本") + p0("自动下载更新") + p0("检查频率", $1(e?.autoUpdateHelp) ? r0("12em") : "", "ui-configuration-skeleton-select"), c0("保存配置")) + d0("开机自启", p0("开机后启动 Peach") + p0("只启动托盘,不打开网页") + p0("在桌面创建快捷方式", $1(e?.desktopNote) ? r0("12em") : "") + ($1(e?.startupNote) ? u0(h0(r0("60%")), !0) : ""), c0("保存配置")) + d0("视频播放", p0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + d0("存储空间", S0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => f0(r0("6em"), "", r0("4em"))).join("") : u0(h0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? u0(h0(r0("80%")).repeat(i), !0) : ""), c0("更改位置", "secondary") + c0(r ? "重新统计" : "统计占用")) + (c || l ? d0("数据上传", c + l) : "") + d0("运行信息", S0(a.length ? a : VDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${f0("安装教程", "", c0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? d0("卸载 Peach", ($1(e?.uninstallHelp) ? u0(h0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + p0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + u0(x0("数据目录"), !0), c0("卸载 Peach"), { status: r0("16em") }) : "");+ ].slice(0, Math.max(4, Q1(e?.releaseFacts, 5))), n = Q1(e?.releaseNotes, 4), r = Q1(e?.storageRows, 12), i = Q1(e?.storageNotes, 3), a = $1(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${i0("6em")}</span>`, s = (t) => !e || Z1(t), c = s(e?.reporting) ? d0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (Z1(e?.reportingIdle) ? c0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${d0("上传馆藏与口味明细", Z1(e?.sharingNotice) ? t0("12em") : "")}${Z1(e?.sharingIdle) ? c0(o, !0) : ""}${s0(o0("预览上传内容", "secondary"))}</div>` : "";+ return l0("检查更新", b0(t) + (n ? c0(p0(t0("50%")).repeat(n), !0) : ""), o0("检查更新"), {+ aside: i0("4em"),+ status: t0("5em")+ }) + l0("自动更新", d0("自动检查新版本") + d0("自动下载更新") + d0("检查频率", Z1(e?.autoUpdateHelp) ? t0("12em") : "", "ui-configuration-skeleton-select"), o0("保存配置")) + l0("开机自启", d0("开机后启动 Peach") + d0("只启动托盘,不打开网页") + d0("在桌面创建快捷方式", Z1(e?.desktopNote) ? t0("12em") : "") + (Z1(e?.startupNote) ? c0(p0(t0("60%")), !0) : ""), o0("保存配置")) + l0("视频播放", d0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + l0("存储空间", b0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => u0(t0("6em"), "", t0("4em"))).join("") : c0(p0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? c0(p0(t0("80%")).repeat(i), !0) : ""), o0("更改位置", "secondary") + o0(r ? "重新统计" : "统计占用")) + (c || l ? l0("数据上传", c + l) : "") + l0("运行信息", b0(a.length ? a : UDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${u0("安装教程", "", o0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? l0("卸载 Peach", (Z1(e?.uninstallHelp) ? c0(p0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + d0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + c0(y0("数据目录"), !0), o0("卸载 Peach"), { status: t0("16em") }) : "");};-function UDe(e) {+function GDe(e) {switch (e) {- case "系统诊断": return G1();- case "来源与订阅": return LDe();- case "下载渠道": return RDe();- case "网络与访问": return BDe();- case "应用与维护": return HDe();- default: return IDe();+ case "系统诊断": return U1();+ case "来源与订阅": return zDe();+ case "下载渠道": return BDe();+ case "网络与访问": return HDe();+ case "应用与维护": return WDe();+ default: return RDe();}}-function WDe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(uV).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">${UDe(e)}</div></div></div>`;+function k0(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(uV).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">${GDe(e)}</div></div></div>`;}// src/react/jav/discovery-sorts.ts-var j0 = [+var A0 = [["taste","口味",@@ -68414,7 +68414,7 @@ var j0 = [],["release_date",- Vk[1],+ Uk[1],"按发行日期排序"],[@@ -68433,10 +68433,10 @@ var j0 = ["按番号排序"]];-function GDe(e) {+function KDe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function KDe(e) {+function qDe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -68461,8 +68461,8 @@ function KDe(e) {};}// src/jav-skeleton.ts-var M0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, qDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, N0 = "w-full min-w-0";-function P0() {+var j0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, JDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, M0 = "w-full min-w-0";+function N0() {return ["w-20","w-16",@@ -68472,8 +68472,8 @@ function P0() {"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 F0(e, t = kA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${M0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${qDe("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">${M0("80%")}${M0("60%")}${M0("40%")}</div></div>`).join("")}</div>`;+function P0(e, t = kA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${j0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${JDe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${j0("80%")}${j0("60%")}${j0("40%")}</div></div>`).join("")}</div>`;let n = LA({...IA({active: !0,@@ -68482,16 +68482,16 @@ function F0(e, t = kA()) {}),size: t});- return `<div data-media-grid class="${N0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${M0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${M0("85%")}${M0("65%")}</div><div data-media-byline>${M0("55%")}</div>+ <div data-media-title>${j0("85%")}${j0("65%")}</div><div data-media-byline>${j0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function JDe(e) {+function YDe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${ls({@@ -68499,28 +68499,28 @@ function JDe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${x$.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">${y$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${cs("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${M0("100%")}</div>${F0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${YDe()}${F0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${j0("100%")}</div>${P0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${XDe()}${P0(e)}</section>`}</div></div>`;}-function YDe() {+function XDe() {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="" ${kA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${os(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>${P0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${N0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ss()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${os("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>- ${j0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? os("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${A0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? os("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.ts-var I0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", L0 = (e = "60%") => `<span class="${I0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, R0 = "disabled data-skeleton-action", z0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function XDe() {+var F0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", I0 = (e = "60%") => `<span class="${F0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, L0 = "disabled data-skeleton-action", R0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function ZDe() {let e = ["馆藏视频","看过",@@ -68528,27 +68528,27 @@ function XDe() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${I0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${L0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${L0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${z0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${L0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${F0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${I0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${I0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${R0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${I0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${L0()}</span><b class="text-title-2-medium">${L0("3em")}</b><small class="text-caption-1-regular">${L0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${I0()}</span><b class="text-title-2-medium">${I0("3em")}</b><small class="text-caption-1-regular">${I0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${L0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${I0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${z0}"><h3 class="text-title-2-medium">${e}</h3><div class="${I0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${R0}"><h3 class="text-title-2-medium">${e}</h3><div class="${F0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68557,11 +68557,11 @@ function XDe() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${I0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${F0} h-7"></div>`).join("")}</div></section></div></div>`;}-function ZDe() {+function QDe() {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 = ["浏览记录","口味维度",@@ -68569,20 +68569,20 @@ function ZDe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${I0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${L0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${L0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${I0} h-6"></div>`).join(""), r = (e) => `<section class="${z0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${I0} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${F0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${I0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${I0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${F0} h-6"></div>`).join(""), r = (e) => `<section class="${R0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${F0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${ds("全部时间")}<span data-button-group data-split-button data-variant="primary">${ls({glyph: "compass",label: "读取浏览器历史",- attrs: R0+ attrs: L0})}${ls({glyph: "chevron-down",- attrs: R0+ attrs: L0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -68600,11 +68600,11 @@ function ZDe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${L0("8em")}</small></div>+ <small class="text-caption-1-regular">${I0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${z0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${I0} h-72 max-sm:h-48"></div></section>+ <section class="${R0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${F0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -68612,20 +68612,20 @@ function ZDe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${I0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${F0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function QDe() {+function $De() {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="${I0} 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">${L0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${L0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${L0("75%")}</span>+ <span class="${F0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${I0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${I0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${I0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${L0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${L0("8em")}</span>+ <b class="text-title-2-medium">${I0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${I0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -68634,27 +68634,27 @@ function QDe() {variant: "secondary",size: "small",label: e,- attrs: R0+ attrs: L0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${L0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${L0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${I0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${I0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${R0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${L0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function $De() {+function eOe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${I0} 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">${L0("80%")}</h3><p class="text-body-2-regular">${L0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${F0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${I0("80%")}</h3><p class="text-body-2-regular">${I0("60%")}</p></div></div><footer class="flex justify-end">${ls({variant: "secondary",size: "small",label: "查看版本",- attrs: R0+ attrs: L0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -68663,20 +68663,20 @@ function $De() {</div></div>`;}// src/board-skeleton.ts-var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, eOe = () => `${B0("80%")}${B0("48%")}`, V0 = (e, t) => e.repeat(t), H0 = "disabled data-skeleton-action", U0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, W0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, tOe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", G0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var z0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tOe = () => `${z0("80%")}${z0("48%")}`, B0 = (e, t) => e.repeat(t), V0 = "disabled data-skeleton-action", H0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, U0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, nOe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", W0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${tOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${U0("3em")}</b></div>`).join("")}</div>`, nOe = (e = "") => FZ.some(([t]) => t === e) ? e : "list", K0 = (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>`, q0 = (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>`, rOe = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${nOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${H0("3em")}</b></div>`).join("")}</div>`, rOe = (e = "") => NZ.some(([t]) => t === e) ? e : "list", G0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${NZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, K0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, iOe = ({ table: e, sort: t, dir: n }) => {let r = Gn.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">${U0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ls({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${H0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ls({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: H0+ attrs: V0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${ls({variant: "ghost",glyph: "layout-grid",@@ -68693,42 +68693,42 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, eOeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: H0+ attrs: V0})}</span></div></div>`;-}, J0 = () => `<span class="flex shrink-0 items-center gap-1">${ls({+}, q0 = () => `<span class="flex shrink-0 items-center gap-1">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: H0+ attrs: V0})}${ls({variant: "secondary",size: "small",glyph: "trash",- attrs: H0-})}</span>`, iOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${q0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${U0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${W0(14, 14)}</span>${W0(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">${U0("113px")}</span>${J0()}</span></div>`, Y0 = (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>${W0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${U0("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">${ls({+ attrs: V0+})}</span>`, aOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${K0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${H0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${U0(14, 14)}</span>${U0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${H0("113px")}</span>${q0()}</span></div>`, J0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${U0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${H0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: H0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${W0(14, 14)}${W0(14, 14)}</span><span class="flex flex-none items-center gap-2">${ls({+ attrs: V0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${U0(14, 14)}${U0(14, 14)}</span><span class="flex flex-none items-center gap-2">${ls({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: H0+ attrs: V0})}${ls({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: H0-})}</span></span></div><div data-source-divider>${V0(iOe(), e)}</div></section>`, aOe = () => {+ attrs: V0+})}</span></span></div><div data-source-divider>${B0(aOe(), e)}</div></section>`, oOe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, oOe = [+}, sOe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68736,90 +68736,90 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, eOe["status", "状态"],["checked", "上次检查"],["actions", ""]-], sOe = {+], cOe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, cOe = "<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>", lOe = (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>${oOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${sOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${cOe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${V0(`<tr>${[- q0(),- `<span class="flex min-w-0 items-center gap-2">${W0(32, 32, !0)}${U0("5em")}</span>`,- U0("10em"),- `<span class="flex items-center gap-1.5">${W0(14, 14)}${U0("4em")}</span>`,- W0(48, 24),- U0("113px"),- J0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, uOe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${U0("111px")}</span><div data-toolbar-actions>${ds(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${W0(204, 32)}</div></div>`, dOe = () => `<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">${U0("120px")}</h3>${[+}, lOe = "<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>", uOe = (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>${sOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${cOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${lOe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${B0(`<tr>${[+ K0(),+ `<span class="flex min-w-0 items-center gap-2">${U0(32, 32, !0)}${H0("5em")}</span>`,+ H0("10em"),+ `<span class="flex items-center gap-1.5">${U0(14, 14)}${H0("4em")}</span>`,+ U0(48, 24),+ H0("113px"),+ q0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, dOe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${H0("111px")}</span><div data-toolbar-actions>${ds(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${U0(204, 32)}</div></div>`, fOe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${H0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${U0(e)}</span>`).join("")}</div>`, fOe = (e) => {- let t = nOe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(t)}<div class="flex flex-col gap-4">${dOe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || aOe(), a = n ? lOe(i, r) : `${q0("全选本页")}<div class="flex flex-col gap-3">${Y0(3)}${Y0(4)}${Y0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(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"}">${rOe({+].map((e) => `<span class="text-body-medium">${H0(e)}</span>`).join("")}</div>`, pOe = (e) => {+ let t = rOe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${W0()}<div class="flex flex-col gap-6">${G0(t)}<div class="flex flex-col gap-4">${fOe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || oOe(), a = n ? uOe(i, r) : `${K0("全选本页")}<div class="flex flex-col gap-3">${J0(3)}${J0(4)}${J0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${W0()}<div class="flex flex-col gap-6">${G0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${iOe({table: n,...r- })}${a}${uOe(n, i)}</div></div></div></div></div>`;+ })}${a}${dOe(n, i)}</div></div></div></div></div>`;};-function pOe() {- 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">${B0("85%")}${B0("65%")}${V0(eOe(), 4)}</div></aside></div>`;+function mOe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${z0("85%")}${z0("65%")}${B0(tOe(), 4)}</div></aside></div>`;}-function mOe(e, t = {}) {+function hOe(e, t = {}) {let n = "";- if (e === "/stats") n = XDe();- else if (e === "/jav") n = JDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = ZDe();- else if (e === "/subscriptions") n = fOe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in uV) n = WDe(uV[e.split("/")[2]]);+ if (e === "/stats") n = ZDe();+ else if (e === "/jav") n = YDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = QDe();+ else if (e === "/subscriptions") n = pOe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in uV) n = k0(uV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${U0("8em")}</span><span class="text-caption-1-regular">${U0("14em")}</span>${U0("60%")}${U0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${U0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = QDe();- else if (e === "/quality-goals") n = $De();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${H0("8em")}</span><span class="text-caption-1-regular">${H0("14em")}</span>${H0("60%")}${H0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${H0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = $De();+ else if (e === "/quality-goals") n = eOe();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>${ls({label: "新建",- attrs: H0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${V0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: V0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${B0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}// src/react/components/overlay-host.ts-function hOe(e) {+function gOe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function X0(e) {+function Y0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return hOe(n ?? t.body);+ return gOe(n ?? t.body);}-var Z0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";-function gOe(e) {+var X0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";+function _Oe(e) {let t = e.querySelector(":scope > [data-react-overlays]");for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {- let t = e.matches(Z0) ? e : e.querySelector(Z0);+ let t = e.matches(X0) ? e : e.querySelector(X0);if (t) return t;}return null;}-function Q0(e) {+function Z0(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}// src/react/follow-detail/follow-detail.ts-var $0 = (e) => ["follow-item", e], _Oe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, vOe = "/api/follow/save", yOe = "/api/follow/media/hide", e2 = class extends Error {+var Q0 = (e) => ["follow-item", e], vOe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, yOe = "/api/follow/save", bOe = "/api/follow/media/hide", $0 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function t2(e, t) {- let n = await B(_Oe(e), t);+async function e2(e, t) {+ let n = await B(vOe(e), t);for (let t of n.groups || []) {let r = Wi(t).find((t) => t.id === e);if (r) return {@@ -68829,9 +68829,9 @@ async function t2(e, t) {aliases: n.author_aliases || []};}- throw new e2();+ throw new $0();}-function bOe(e) {+function xOe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Wi(t.group).find((t) => t.id === e);@@ -68842,20 +68842,20 @@ function bOe(e) {}return null;}-async function n2(e, t) {- let n = $0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({+async function t2(e, t) {+ let n = Q0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({queryKey: zi,queryFn: () => Bi(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? bOe(e.id);+ } : H.getQueryData(n) ?? xOe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => t2(e.id, t)+ queryFn: () => e2(e.id, t)}), await i;}-function xOe(e, t, n, r) {+function SOe(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 && $i(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,@@ -68870,32 +68870,32 @@ function xOe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var SOe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), COe = {+var COe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), wOe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, wOe = {+}, TOe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function TOe(e) {+function EOe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return COe[t] || t;+ return wOe[t] || t;} catch {return "外部文件页";}}-function r2(e, t) {- return wOe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function n2(e, t) {+ return TOe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function EOe(e, t, n = "") {+function DOe(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;@@ -68904,54 +68904,54 @@ function EOe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var DOe = (e) => String(e.name || "").trim(), i2 = (e, t) => e.tag_types?.[t] || "unknown", OOe = /* @__PURE__ */ new Set([+var OOe = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] || "unknown", kOe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function kOe(e, t) {- let n = i2(e, t);- return `r34-${OOe.has(n) ? n : "general"}`;+function AOe(e, t) {+ let n = r2(e, t);+ return `r34-${kOe.has(n) ? n : "general"}`;}-var a2 = [+var i2 = ["copyright","character","artist","general","metadata"];-function AOe(e, t) {+function jOe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = a2.indexOf(i2(e, t));- return n < 0 ? a2.length : n;+ let n = i2.indexOf(r2(e, t));+ return n < 0 ? i2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function o2(e, t) {+function a2(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var jOe = (e, t) => ({+var MOe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), s2 = (e) => e?.size ? { size: e.size } : {};-function MOe(e, t) {+}), o2 = (e) => e?.size ? { size: e.size } : {};+function NOe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: r2(t, e),- ...s2(t)+ source: n2(t, e),+ ...o2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: r2(a, e),- ...s2(a)+ source: n2(a, e),+ ...o2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68959,7 +68959,7 @@ function MOe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var NOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Rs(e, {+var POe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Rs(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68967,7 +68967,7 @@ var NOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), POe = [+}), FOe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68977,38 +68977,38 @@ var NOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], FOe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], IOe = (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>${POe.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>${FOe.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>`, IOe = {- "/data-cleanup": () => F$(),- "/resource-sync": () => F$(),- "/review": () => FOe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, LOe = {+ "/data-cleanup": () => N$(),+ "/resource-sync": () => N$(),+ "/review": () => IOe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${c2("正在读取采集来源", {+ ${s2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function l2(e, { followLayout: t, followSort: n, followDir: r }) {- return mOe(e, {+function c2(e, { followLayout: t, followSort: n, followDir: r }) {+ return hOe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (IOe[e] ?? (() => c2("正在读取页面")))();+ }) || (LOe[e] ?? (() => s2("正在读取页面")))();}-var u2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function d2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = u2(t);+var l2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function u2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = l2(t);r && r === n || (e.innerHTML = t, Ks(e));}// src/react/components/related-section.tsx-function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, P.useCallback)((e) => {e && (Ks(e), t(e));}, [t]);@@ -69021,7 +69021,7 @@ function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, F.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, F.jsx)(WW, {+ children: /* @__PURE__ */ (0, F.jsx)(UW, {message: i,onRetry: a || (() => {})})@@ -69047,7 +69047,7 @@ function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function p2({ queue: e, children: t, queueCards: n }) {+function f2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -69055,7 +69055,7 @@ function p2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, P.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, P.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -69135,7 +69135,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, F.jsx)(LOe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(ROe, {item: e,selected: r === t,onSelect: n,@@ -69154,7 +69154,7 @@ function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function LOe({ item: e, selected: t, onSelect: n, render: r }) {+function ROe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(typeof IntersectionObserver > "u");return (0, P.useEffect)(() => {if (!i.current || a) return;@@ -69180,14 +69180,14 @@ function LOe({ item: e, selected: t, onSelect: n, render: r }) {});}// src/react/follow-detail/follow-related.ts-var ROe = (e, t, n) => [+var zOe = (e, t, n) => ["follow-feed","related",e,t,n];-function h2(e, t, n, r) {+function m2(e, t, n, r) {let i = new Set((t.group ? Wi(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {let t = Wi(e);@@ -69202,7 +69202,7 @@ function h2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function zOe(e, t, n, r) {+async function BOe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Qi(i),status: "new",@@ -69216,17 +69216,17 @@ async function zOe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return h2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && h2(o, e, t, n).length < n && await s("", 0), {+ return m2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && m2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var g2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var h2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }});-function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {let [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(!1), m = Pt({queryKey: ["tag-management", n],queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),@@ -69265,7 +69265,7 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `修改标签 ${a(e.k)}`,...Uz(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "pencil" })+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "pencil" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69274,10 +69274,10 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `删除标签 ${a(e.k)}`,...l(e.k),onClick: () => c(e),- children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, F.jsx)(BOe, {+ }, e.k)), /* @__PURE__ */ (0, F.jsx)(VOe, {tags: e,candidates: h,label: a,@@ -69301,7 +69301,7 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, F.jsx)(e$, {+ u ? /* @__PURE__ */ (0, F.jsx)(QQ, {operation: "rename",selected: [u],scope: n,@@ -69310,7 +69310,7 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+function VOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {let c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = cV(), d = (0, P.useRef)(null), f = (0, P.useRef)(!1), [p, m] = (0, P.useState)(!1), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), [y, b] = (0, P.useState)(-1), x = (0, P.useRef)({adding: i,query: h,@@ -69356,7 +69356,7 @@ function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? Ace(_, t, uN()) : {+ let w = p ? kce(_, t, dN()) : {recent: [],results: [],create: ""@@ -69399,7 +69399,7 @@ function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, F.jsx)(g2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, F.jsx)(h2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -69420,7 +69420,7 @@ function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-label": "添加标签","aria-expanded": p,...Uz(!!i),- children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" })+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" })}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: l,id: "tagPicker",@@ -69433,7 +69433,7 @@ function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,children: [s ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: xs("正在读取标签") }- }) : /* @__PURE__ */ (0, F.jsx)(g2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {+ }) : /* @__PURE__ */ (0, F.jsx)(h2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -69477,7 +69477,7 @@ function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -69494,7 +69494,7 @@ function BOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function VOe({ item: e, label: t, actions: n }) {+function HOe({ item: e, label: t, actions: n }) {let r = jH(), i = () => H.invalidateQueries({ predicate: (e) => ["follow-feed","follow",@@ -69518,7 +69518,7 @@ function VOe({ item: e, label: t, actions: n }) {}, "POST", t);a(n), await i();}, () => {- o === "add" && dN(s);+ o === "add" && fN(s);let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {let t = await V("/api/follow/tag", {@@ -69534,10 +69534,10 @@ function VOe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, F.jsx)(_2, {- tags: AOe(e, t).map((t) => ({+ children: [/* @__PURE__ */ (0, F.jsx)(g2, {+ tags: jOe(e, t).map((t) => ({k: t,- cat: kOe(e, t)+ cat: AOe(e, t)})),scope: "online",adding: !!r.busy,@@ -69554,22 +69554,22 @@ function VOe({ item: e, label: t, actions: n }) {});}// src/react/follow-detail/follow-detail-page.tsx-var v2 = (e) => Number(e) > 0, HOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var _2 = (e) => Number(e) > 0, UOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), y2 = R("external-link", "ui-externalmark");-function UOe(e) {+}), v2 = R("external-link", "ui-externalmark");+function WOe(e) {let { id: t, actions: n } = e, r = Pt({- queryKey: $0(t),- queryFn: ({ signal: e }) => t2(t, e)+ queryKey: Q0(t),+ queryFn: ({ signal: e }) => e2(t, e)}), i = Pt({queryKey: zi,queryFn: ({ signal: e }) => Bi(e)}), a = (0, P.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, P.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, F.jsx)(KOe, {+ return r.data ? /* @__PURE__ */ (0, F.jsx)(qOe, {...e,data: r.data,- context: jOe(r.data, a),+ context: MOe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, F.jsx)("div", {@@ -69578,9 +69578,9 @@ function UOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? WOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(GOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(WW, {+ children: r.isError ? GOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(KOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(r.error),onRetry: () => void r.refetch()}) : null@@ -69588,8 +69588,8 @@ function UOe(e) {})});}-var WOe = (e) => e instanceof e2 || e instanceof Hn && e.status === 404;-function GOe({ onBack: e }) {+var GOe = (e) => e instanceof $0 || e instanceof Hn && e.status === 404;+function KOe({ onBack: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -69598,7 +69598,7 @@ function GOe({ onBack: e }) {dangerouslySetInnerHTML: { __html: bs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69607,8 +69607,8 @@ var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function KOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = xOe(c, l, n, i), d = QOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({+function qOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = SOe(c, l, n, i), d = $Oe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({key: "",kind: ""}), h = {@@ -69628,20 +69628,20 @@ function KOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? SOe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(w2, {+ let g = !u.embedded.length && u.collection ? COe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(C2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(w2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(C2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, F.jsx)(YOe, {+ }) : /* @__PURE__ */ (0, F.jsx)(XOe, {group: u.collection,itemId: c.id,helpers: o,@@ -69651,14 +69651,14 @@ function KOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, F.jsx)(JOe, {+ children: [/* @__PURE__ */ (0, F.jsx)(YOe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, F.jsx)(XOe, {+ }, f), /* @__PURE__ */ (0, F.jsx)(ZOe, {item: c,data: e,context: t,@@ -69668,9 +69668,9 @@ function KOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, F.jsx)(p2, {+ }), /* @__PURE__ */ (0, F.jsx)(f2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(qOe, {+ children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(JOe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -69680,23 +69680,23 @@ function KOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function qOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function JOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = Pt({- queryKey: ROe(e.item.id, t, n),- queryFn: ({ signal: r }) => zOe(e, t, n, r)- }), [s] = (0, P.useState)(() => c2("正在读取推荐", {+ queryKey: zOe(e.item.id, t, n),+ queryFn: ({ signal: r }) => BOe(e, t, n, r)+ }), [s] = (0, P.useState)(() => s2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, P.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = h2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = m2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, F.jsx)(f2, {+ return /* @__PURE__ */ (0, F.jsx)(d2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -69706,11 +69706,11 @@ function qOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, F.jsx)(PZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, F.jsx)(MZ, {variant: "next",group: e,media: t,- authorSources: o2(e.primary, u),+ authorSources: a2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -69723,8 +69723,8 @@ function qOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function JOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, P.useRef)(null), p = MOe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, P.useState)(g), b = (0, P.useRef)({+function YOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, P.useRef)(null), p = NOe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, P.useState)(g), b = (0, P.useRef)({item: e,selected: o}), x = (0, P.useRef)(i.failed);@@ -69738,14 +69738,14 @@ function JOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }),+ /* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, F.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void CZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void xZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -69756,7 +69756,7 @@ function JOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {dangerouslySetInnerHTML: { __html: qU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, F.jsx)(m2, {+ u ? /* @__PURE__ */ (0, F.jsx)(p2, {items: c,position: l,onSelect: r,@@ -69773,11 +69773,11 @@ function JOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var x2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var b2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function S2({ src: e }) {+function x2({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {src: e,@@ -69787,14 +69787,14 @@ function S2({ src: e }) {onError: () => n(!0)});}-function C2(e) {+function S2(e) {return (0, P.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function YOe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = $i(e), a = C2(n);- return /* @__PURE__ */ (0, F.jsx)(wK, {+function XOe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = $i(e), a = S2(n);+ return /* @__PURE__ */ (0, F.jsx)(CK, {kind: "collection","data-follow-queue": "",title: "视频合集",@@ -69802,12 +69802,12 @@ function YOe({ group: e, itemId: t, helpers: n, actions: r }) {listRef: a,summary: `${YU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = EOe(e, n, i ? n.provider_label : ""), o = i ? qU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, F.jsxs)(TK, {+ let i = e.duplicates.includes(n), a = DOe(e, n, i ? n.provider_label : ""), o = i ? qU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, F.jsxs)(wK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {className: "mono","data-mix-item-duration": "",children: kn(n.duration)@@ -69832,8 +69832,8 @@ function YOe({ group: e, itemId: t, helpers: n, actions: r }) {})});}-function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = C2(r), c = [];+function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = S2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69843,26 +69843,26 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, F.jsx)(wK, {+ return /* @__PURE__ */ (0, F.jsx)(CK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,summary: `${YU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(EK, {+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(TK, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(TK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(wK, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, F.jsx)("b", {"data-middle-truncate": "",- children: DOe(n)+ children: OOe(n)}), /* @__PURE__ */ (0, F.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -69870,13 +69870,13 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function ZOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {let { kind: c, selected: l, src: u } = r, d = {primary: e,variants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = tW(d, e), p = $U(e, o2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = nW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = tW(d, e), p = $U(e, a2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = nW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69900,7 +69900,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }}) : null]}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -69909,7 +69909,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-reveal-line": "",children: [/* @__PURE__ */ (0, F.jsx)("span", { children: iW(e) }),- v2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,+ _2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,f ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -69926,7 +69926,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, F.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, F.jsxs)(MZ, {+ children: p.entityName ? /* @__PURE__ */ (0, F.jsxs)(AZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -69958,7 +69958,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, F.jsx)(ZOe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, F.jsx)(QOe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, F.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69981,9 +69981,9 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [TOe(e), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [EOe(e), /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }})]}, e))}) : null,@@ -70083,7 +70083,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(HOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(UOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -70092,7 +70092,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, F.jsx)(VOe, {+ /* @__PURE__ */ (0, F.jsx)(HOe, {item: e,label: o.tagLabel,actions: s@@ -70101,7 +70101,7 @@ function XOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function ZOe({ text: e }) {+function QOe({ text: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = t.current;@@ -70114,7 +70114,7 @@ function ZOe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: pF(e),+ lang: mF(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, F.jsx)(q, {@@ -70126,8 +70126,8 @@ function ZOe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function QOe(e, t, n) {- let r = e.id, i = $0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {+function $Oe(e, t, n) {+ let r = e.id, i = Q0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -70146,7 +70146,7 @@ function QOe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && b$(), t.toast(NOe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && v$(), t.toast(POe(n), { undo: i === "saved" ? void 0 : async () => {await V(pr, {item: r,to: i@@ -70156,7 +70156,7 @@ function QOe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = Ft({- mutationFn: () => V(vOe, { item: r }),+ mutationFn: () => V(yOe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -70164,7 +70164,7 @@ function QOe(e, t, n) {onSettled: () => l("save", !1)}), m = Ft({mutationFn: async ({ index: e, hidden: t }) => {- await V(yOe, {+ await V(bOe, {item: r,media: e,hidden: t@@ -70180,12 +70180,12 @@ function QOe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = Pt({- queryKey: MTe(r),- queryFn: ({ signal: e }) => FTe(r, e)+ queryKey: PTe(r),+ queryFn: ({ signal: e }) => LTe(r, e)}).data?.want ?? null, g = Ft({- mutationFn: async (e) => (e ? await y$([e.id]) : await v$({ follow: r }), !e),+ mutationFn: async (e) => (e ? await _$([e.id]) : await g$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), b$();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), v$();},onError: d,onSettled: () => l("want", !1)@@ -70224,7 +70224,7 @@ function QOe(e, t, n) {};}// src/react/components/identity-cell.tsx-function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(Fn(t.name))}</span>` + Xa({@@ -70270,7 +70270,7 @@ function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function E2({ people: e, onOpen: t }) {+function T2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",@@ -70303,7 +70303,7 @@ function E2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function D2(e) {+function E2(e) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = t.current;@@ -70320,9 +70320,9 @@ function D2(e) {};}// src/react/item-detail/catalog-picture.tsx-function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(pQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(dQ, {item: {code: e.code,has_cover: !1,@@ -70354,34 +70354,34 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), $Oe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => H.ensureQueryData({- queryKey: k2(e.code),- queryFn: () => A2(e.code, t),+var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), eke = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => H.ensureQueryData({+ queryKey: O2(e.code),+ queryFn: () => k2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function eke(e, t) {+function tke(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var M2 = "peach.playback-target.v1", N2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function tke() {+var j2 = "peach.playback-target.v1", M2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+function nke() {try {- return localStorage.getItem(M2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(j2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function P2({ id: e, onOpened: t }) {- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(tke), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = jH();+function N2({ id: e, onOpened: t }) {+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(nke), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = jH();(0, P.useEffect)(() => {let e = new AbortController();return B("/api/local-players", e.signal).then((t) => {- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || N2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || M2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => N2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => M2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {@@ -70405,17 +70405,17 @@ function P2({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, F.jsx)(f1, {+ children: [/* @__PURE__ */ (0, F.jsx)(u1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...N2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...M2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(M2, e);+ localStorage.setItem(j2, e);} catch {}}}), /* @__PURE__ */ (0, F.jsx)(q, {@@ -70445,7 +70445,7 @@ function P2({ id: e, onOpened: t }) {});}// src/react/boardui/components/base/switch/switch.tsx-var nke = sF({+var rke = cF({sm: {track: "h-4 w-7",trackRadius: {@@ -70507,23 +70507,23 @@ var nke = sF({}}});-function rke({ state: e, size: t = "md", shape: n = "pill" }) {- let r = nke[t];+function ike({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = rke[t];return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: oF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? oF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: sF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? sF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, F.jsx)("span", {- className: oF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, F.jsx)("span", { className: oF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: sF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, F.jsx)("span", { className: sF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {return /* @__PURE__ */ (0, F.jsx)(efe, {ref: i,...a,- className: (t) => oF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(rke, {+ className: (t) => sF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(ike, {state: e,size: n,shape: r@@ -70534,12 +70534,12 @@ function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var ike = "/api/cover-crop", ake = (e, t) => V(ike, {+var ake = "/api/cover-crop", oke = (e, t) => V(ake, {code: e,box: t});// src/react/cover-crop/cover-crop-page.tsx-function I2({ className: e }) {+function F2({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -70552,7 +70552,7 @@ function I2({ className: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-crop" })});}-function oke({ code: e, coverUrl: t, box: n, onSaved: r }) {+function ske({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70562,13 +70562,13 @@ function oke({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-3.75" })}), /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, F.jsx)(ske, {+ children: /* @__PURE__ */ (0, F.jsx)(cke, {code: e,coverUrl: t,box: n,@@ -70577,9 +70577,9 @@ function oke({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function ske({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+function cke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = cV(), f = Ft({- mutationFn: (t) => ake(e, t),+ mutationFn: (t) => oke(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -70591,15 +70591,15 @@ function ske({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : KCe(e, La);- c(XZ(t, e, null));+ } : JCe(e, La);+ c(JZ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, F.jsx)(Lz, { children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, F.jsx)(Lz, { children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-6" }) }),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [@@ -70629,24 +70629,24 @@ function ske({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, F.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, F.jsx)(tQ, {+ children: /* @__PURE__ */ (0, F.jsx)($Z, {src: t,aspect: l ? La : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- JZ(e) && p(e);+ KZ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, F.jsx)(F2, {+ children: [/* @__PURE__ */ (0, F.jsx)(P2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(XZ(s, a, La));+ u(e), e && s && a && c(JZ(s, a, La));},children: /* @__PURE__ */ (0, F.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -70674,21 +70674,21 @@ function ske({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var L2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var I2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), R2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+}), L2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), z2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";-function cke(e) {+}), R2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";+function lke(e) {let { queue: t, actions: n } = e, r = Pt({- queryKey: t ? GM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => eN(t, e.helpers, n),+ queryKey: t ? KM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => tN(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? rN(i, e.id) : t ? null : e.id, o = Pt({- queryKey: WM(a ?? 0),- queryFn: ({ signal: e }) => $M(a, e),+ }), i = t && r.data || null, a = i ? iN(i, e.id) : t ? null : e.id, o = Pt({+ queryKey: GM(a ?? 0),+ queryFn: ({ signal: e }) => eN(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -70699,9 +70699,9 @@ function cke(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, F.jsx)(WW, {+ children: e ? /* @__PURE__ */ (0, F.jsx)(UW, {message: tn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -70711,13 +70711,13 @@ function cke(e) {})});}- return /* @__PURE__ */ (0, F.jsx)(lke, {+ return /* @__PURE__ */ (0, F.jsx)(uke, {...e,- item: Dce(o.data, i),+ item: Ece(o.data, i),queue: i}, o.data.id);}-var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -70726,23 +70726,23 @@ var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function lke(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = wke(t, r, i.tagLabel), o = (0, P.useRef)(t);+function uke(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = Tke(t, r, i.tagLabel), o = (0, P.useRef)(t);(0, P.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, P.useEffect)(() => {- n?.kind === "playlist" && V(KM, {+ n?.kind === "playlist" && V(qM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Lce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = iN(n, t.id);+ let s = Ice(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = aN(n, t.id);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, F.jsx)(uke, {+ children: [/* @__PURE__ */ (0, F.jsx)(dke, {item: t,gate: s,helpers: i,@@ -70755,22 +70755,22 @@ function lke(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, F.jsx)(hke, {+ }), /* @__PURE__ */ (0, F.jsx)(gke, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, F.jsx)(p2, {+ }), /* @__PURE__ */ (0, F.jsx)(f2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, F.jsx)(fke, {+ queue: n ? /* @__PURE__ */ (0, F.jsx)(pke, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(Cke, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(wke, {...e,item: n ? {...t,@@ -70779,12 +70779,12 @@ function lke(e) {}) : null})] });}-function uke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function dke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, P.useState)(t ? "" : "auto"), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(-2), d = (0, P.useRef)(!1), f = Pt({- queryKey: k2(e.code || ""),+ queryKey: O2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, A2(e.code, t, n);+ return d.current = !1, k2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -70829,26 +70829,26 @@ function uke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, F.jsx)(B2, { onClose: r.close }),+ /* @__PURE__ */ (0, F.jsx)(z2, { onClose: r.close }),h ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(O2, {+ l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(D2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, e.id),- /* @__PURE__ */ (0, F.jsx)(m2, {+ /* @__PURE__ */ (0, F.jsx)(p2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(O2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(D2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -70874,7 +70874,7 @@ function uke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, F.jsx)(dke, {+ t === "offline" ? /* @__PURE__ */ (0, F.jsx)(fke, {item: e,badge: y,helpers: n,@@ -70885,7 +70885,7 @@ function uke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, F.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, F.jsx)(P2, {+ /* @__PURE__ */ (0, F.jsx)(N2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -70895,7 +70895,7 @@ function uke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, F.jsx)(R2, { html: y }),+ /* @__PURE__ */ (0, F.jsx)(L2, { html: y }),/* @__PURE__ */ (0, F.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70910,12 +70910,12 @@ function uke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]}) : null]});}-function dke({ item: e, badge: t, helpers: n, actions: r }) {+function fke({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -70926,7 +70926,7 @@ function dke({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, F.jsx)(R2, { html: t }),+ /* @__PURE__ */ (0, F.jsx)(L2, { html: t }),/* @__PURE__ */ (0, F.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, F.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70940,8 +70940,8 @@ function dke({ item: e, badge: t, helpers: n, actions: r }) {]});}-function fke({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Nce(e), a = (0, P.useRef)(null), o = mke(e, t, r), s = (0, P.useRef)(o);+function pke({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Mce(e), a = (0, P.useRef)(null), o = hke(e, t, r), s = (0, P.useRef)(o);s.current = o;let c = (0, P.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70949,7 +70949,7 @@ function fke({ 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 = pke(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {+ }, [n, e.kind]), l = mke(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -70968,7 +70968,7 @@ function fke({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, F.jsx)(wK, {+ return /* @__PURE__ */ (0, F.jsx)(CK, {kind: e.kind,title: i.title,summary: i.summary,@@ -70977,11 +70977,11 @@ function fke({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, F.jsx)("i", {- className: `javedition ${jce[i.edition_label] || "censored"}`,+ className: `javedition ${Ace[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && nN(i);- return /* @__PURE__ */ (0, F.jsxs)(TK, {+ }) : null, s = e.kind === "playlist" && rN(i);+ return /* @__PURE__ */ (0, F.jsxs)(wK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70991,25 +70991,25 @@ function fke({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {className: "mono","data-mix-item-duration": "",children: kn(i.duration)})] }),- lead: /* @__PURE__ */ (0, F.jsx)(R2, { html: fo(i) }),+ lead: /* @__PURE__ */ (0, F.jsx)(L2, { html: fo(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, F.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, F.jsxs)("span", {@@ -71020,14 +71020,14 @@ function fke({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? fN(i.part_label) : po(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? pN(i.part_label) : po(i, n.tagLabel)})]}, i.id);})});}-function pke(e, t) {- let n = Ft({ mutationFn: (t) => V(KM, {+function mke(e, t) {+ let n = Ft({ mutationFn: (t) => V(qM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -71040,11 +71040,11 @@ function pke(e, t) {save: (e) => n.mutateAsync(e)});}-function mke(e, t, n) {- let r = GM({+function hke(e, t, n) {+ let r = KM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, tN(e)), e), a = (t) => V(KM, {+ }), i = (e) => (H.setQueryData(r, nN(e)), e), a = (t) => V(qM, {id: e.playlistId,...t}).then((e) => e.playlist), o = Ft({@@ -71060,8 +71060,8 @@ function mke(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Fce(s, t, r, c);- if (Ice(l, s)) return;+ let l = Pce(s, t, r, c);+ if (Fce(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -71103,7 +71103,7 @@ function mke(e, t, n) {}};}-function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function gke({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-side": "",@@ -71111,7 +71111,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, F.jsx)(gke, {+ /* @__PURE__ */ (0, F.jsx)(_ke, {item: e,queue: t,helpers: r,@@ -71123,7 +71123,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, F.jsx)(vke, {+ /* @__PURE__ */ (0, F.jsx)(yke, {item: e,write: n}),@@ -71134,7 +71134,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.width,"×",e.height@@ -71142,11 +71142,11 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: z2(e.size) })]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: R2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -71154,32 +71154,32 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(P2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(N2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, F.jsx)(yke, {+ /* @__PURE__ */ (0, F.jsx)(bke, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(bke, {+ /* @__PURE__ */ (0, F.jsx)(xke, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(zK, {- assetIds: RK([e], r.javImage()),+ /* @__PURE__ */ (0, F.jsx)(RK, {+ assetIds: LK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: WM(e.id) });+ H.invalidateQueries({ queryKey: GM(e.id) });}}),- /* @__PURE__ */ (0, F.jsx)(xke, { item: e }),+ /* @__PURE__ */ (0, F.jsx)(Ske, { item: e }),/* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -71193,7 +71193,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71205,7 +71205,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71216,7 +71216,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71227,7 +71227,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "eye" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "eye" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71238,7 +71238,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71247,7 +71247,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "playlist" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "playlist" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71258,7 +71258,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "sparkles" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71269,11 +71269,11 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "trash" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "trash" })})]}),- /* @__PURE__ */ (0, F.jsx)(Ske, {+ /* @__PURE__ */ (0, F.jsx)(Cke, {item: e,open: s,write: n@@ -71284,7 +71284,7 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, F.jsx)(L2, { name: "sperm" }),+ /* @__PURE__ */ (0, F.jsx)(I2, { name: "sperm" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, F.jsx)("b", {className: "mono",@@ -71297,8 +71297,8 @@ function hke({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function gke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Pce(e, t);+function _ke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Nce(e, t);return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, F.jsxs)("div", {@@ -71329,19 +71329,19 @@ function gke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, F.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, F.jsx)(oke, {+ children: /* @__PURE__ */ (0, F.jsx)(ske, {code: e.cover_key || e.code || "",coverUrl: Wa(e),box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: WM(e.id),+ queryKey: GM(e.id),exact: !0- }), BM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), VM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(_ke, {+ e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(vke, {id: e.id,actions: r,onStatus: i@@ -71351,7 +71351,7 @@ function gke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function _ke({ id: e, actions: t, onStatus: n }) {+function vke({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, P.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -71381,18 +71381,18 @@ function _ke({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "folder-sync" })})] });}-function vke({ item: e, write: t }) {- let n = HM(e.rating);+function yke({ item: e, write: t }) {+ let n = UM(e.rating);return /* @__PURE__ */ (0, F.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": VM(e.rating),- children: [/* @__PURE__ */ (0, F.jsx)(QJ, {+ "data-value": HM(e.rating),+ children: [/* @__PURE__ */ (0, F.jsx)(ZJ, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -71406,14 +71406,14 @@ function vke({ item: e, write: t }) {}), /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Cce(e.rating)+ children: Sce(e.rating)})]});}-function yke({ item: e, actions: t }) {- let n = (0, P.useMemo)(() => Oce(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function bke({ item: e, actions: t }) {+ let n = (0, P.useMemo)(() => Dce(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, F.jsx)(T2, {+ return /* @__PURE__ */ (0, F.jsx)(w2, {kind: e,person: n,onOpen: t.openEntity,@@ -71445,7 +71445,7 @@ function yke({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "user-round" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "user-round" })}), /* @__PURE__ */ (0, F.jsx)("span", {"data-id-name": "",children: "未归属"@@ -71476,18 +71476,18 @@ function yke({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, F.jsx)(E2, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(T2, {people: n.series,onOpen: t.openEntity})]});}-function bke({ item: e, write: t, helpers: n, actions: r }) {+function xke({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, F.jsx)(_2, {+ children: /* @__PURE__ */ (0, F.jsx)(g2, {id: "detailTags",- tags: kce(e, n),+ tags: Oce(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -71498,8 +71498,8 @@ function bke({ item: e, write: t, helpers: n, actions: r }) {})});}-function xke({ item: e }) {- let t = Rce(e);+function Ske({ item: e }) {+ let t = Lce(e);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -71533,7 +71533,7 @@ function xke({ item: e }) {})]});}-function Ske({ item: e, open: t, write: n }) {+function Cke({ item: e, open: t, write: n }) {let [r, i] = (0, P.useState)(e.like_reason || ""), a = (0, P.useRef)(null);(0, P.useEffect)(() => {t && a.current?.focus();@@ -71572,12 +71572,12 @@ function Ske({ item: e, open: t, write: n }) {})]});}-function Cke(e) {+function wke(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({- queryKey: wce(t.id, n),- queryFn: async ({ signal: e }) => (await B(Ece(t.id, n), e)).items || []+ queryKey: Cce(t.id, n),+ queryFn: async ({ signal: e }) => (await B(Tce(t.id, n), e)).items || []}), [o] = (0, P.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, F.jsx)(f2, {+ return /* @__PURE__ */ (0, F.jsx)(d2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -71585,7 +71585,7 @@ function Cke(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, F.jsx)(sY, {+ children: a.data ? /* @__PURE__ */ (0, F.jsx)(oY, {mode: "items",variant: "next",items: a.data,@@ -71598,11 +71598,11 @@ function Cke(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, F.jsx)(R2, { html: o })+ }) : /* @__PURE__ */ (0, F.jsx)(L2, { html: o })});}-function wke(e, t, n) {- let r = e.id, i = WM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {+function Tke(e, t, n) {+ let r = e.id, i = GM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => H.getQueryData(i) || e, p = (e) => {@@ -71618,7 +71618,7 @@ function wke(e, t, n) {rating: t.rating,o_count: t.o_count};- return zM(r, n), t;+ return BM(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -71633,7 +71633,7 @@ function wke(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(qM, t === void 0 ? { kind: e } : {+ let n = await m(JM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -71653,21 +71653,21 @@ function wke(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = UM(n, e);- await _("rate", r), t.toast(r ? `已评 ${HM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = WM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${UM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(pN(e, r), { undo: async () => {+ t.toast(mN(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(YM, {});+ let e = await m(XM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(YM, {})).watch_later });+ p({ watch_later: (await m(XM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -71677,9 +71677,9 @@ function wke(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(XM, { wanted: !e.wanted });+ }), r = await m(ZM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(XM, e));+ n(await m(ZM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71693,7 +71693,7 @@ function wke(e, t, n) {});u("保存中…");try {- o(await m(ZM, {+ o(await m(QM, {liked: a,reason: i}));@@ -71703,7 +71703,7 @@ function wke(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(ZM, r));+ o(await m(QM, r));} });});},@@ -71712,37 +71712,37 @@ function wke(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => sN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(JM, {+ p((t) => cN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(YM, {operation: "add",tag: e.k- }), p((t) => cN(t, e));+ }), p((t) => lN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(JM, {+ let e = await m(YM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- oN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => cN(e, {+ sN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => lN(e, {k: i,cat: "general"- })), dN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(JM, {+ })), fN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(YM, {operation: "remove",tag: i- }), p((e) => sN(e, i));+ }), p((e) => cN(e, i));} }));});}};}// src/react/activity/downloads-panel.tsx-var V2 = "/api/downloads", H2 = ["downloads"], Tke = "/api/downloads/cancel", Eke = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Dke = {+var B2 = "/api/downloads", V2 = ["downloads"], Eke = "/api/downloads/cancel", Dke = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Oke = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71751,21 +71751,21 @@ var V2 = "/api/downloads", H2 = ["downloads"], Tke = "/api/downloads/cancel", Ekremote_done: "lime",landed: "lime",submitted: "neutral"-}, W2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = mF({+}, U2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = hF({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}`;-}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Oke = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function kke() {+}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", kke = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function Ake() {let e = (0, P.useId)(), t = It({- queryKey: [...H2, "pages"],+ queryKey: [...V2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => B(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, F.jsxs)("section", {id: "cloudDownloads",@@ -71784,7 +71784,7 @@ function kke() {r.length ? /* @__PURE__ */ (0, F.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(Ake, {+ children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(jke, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -71803,15 +71803,15 @@ function kke() {]});}-function Ake({ task: e, writable: t }) {- let n = oe(), r = jH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function jke({ task: e, writable: t }) {+ let n = oe(), r = jH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = W2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,GF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: H2 });+ n.invalidateQueries({ queryKey: V2 });}, g = () => {- r.run("cancel", (t) => V(Tke, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => V(Eke, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -71821,11 +71821,11 @@ function Ake({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(V2, t, "POST", e), h);+ r.run("resubmit", (e) => V(B2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(Eke, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => V(Dke, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, F.jsxs)("li", {"data-download-state": e.state,@@ -71848,7 +71848,7 @@ function Ake({ task: e, writable: t }) {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(GW, {+ u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(WW, {artwork: {kind: "cover",html: no(u, "big")@@ -71858,7 +71858,7 @@ function Ake({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${W2(e)}`,+ "aria-label": `打开作品详情:${U2(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -71869,19 +71869,19 @@ function Ake({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, F.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: W2(e),+ title: U2(e),children: f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: W2(e)- }) : W2(e)+ children: U2(e)+ }) : U2(e)}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(sZ, {- color: Dke[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, F.jsx)(aZ, {+ color: Oke[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(sZ, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(aZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -71982,33 +71982,33 @@ function Ake({ 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: W2(e)+ children: U2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, F.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, F.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || Oke(e)+ children: l || kke(e)})}) : null]});}// src/react/activity/work-code.ts-var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);+var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);// src/react/activity/resource-search.tsx-function jke({ className: e }) {+function Mke({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: xs("") }});}-function Mke(e) {+function Nke(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function Nke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => Mke(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = jH(), b = (0, P.useRef)(null);+function Pke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => Nke(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = jH(), b = (0, P.useRef)(null);(0, P.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -72024,7 +72024,7 @@ function Nke({ 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) => q2(e.code, t));+ let r = (n.items || []).find((e) => K2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -72056,7 +72056,7 @@ function Nke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? jke : Ez,+ leadingIcon: y.busy ? Mke : Ez,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -72150,19 +72150,19 @@ function Nke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var Pke = {+var Fke = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function J2({ prefill: e, close: t, receipt: n, provider: r }) {+function q2({ prefill: e, close: t, receipt: n, provider: r }) {return /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, F.jsx)(Fke, {+ children: e ? /* @__PURE__ */ (0, F.jsx)(Ike, {prefill: e,close: t,receipt: n,@@ -72170,11 +72170,11 @@ function J2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function Fke({ prefill: e, close: t, receipt: n, provider: r }) {+function Ike({ prefill: e, close: t, receipt: n, provider: r }) {let i = Pt({- queryKey: H2,- queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e),- refetchInterval: (e) => U2(e.state.data)+ queryKey: V2,+ queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e),+ refetchInterval: (e) => H2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",children: [/* @__PURE__ */ (0, F.jsx)(FI, {@@ -72189,7 +72189,7 @@ function Fke({ prefill: e, close: t, receipt: n, provider: r }) {onClick: t})]});- return a ? /* @__PURE__ */ (0, F.jsx)(Ike, {+ return a ? /* @__PURE__ */ (0, F.jsx)(Lke, {header: o,snapshot: a,prefill: e,@@ -72218,7 +72218,7 @@ function Fke({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function Ike({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+function Lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {let o = oe(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, P.useState)(c?.key || ""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(n.code ?? ""), [h, g] = (0, P.useState)(c?.target || ""), [_, v] = (0, P.useState)(n.code ? n : null), [y, b] = (0, P.useState)(""), x = t.available && s.some((e) => e.key === l), S = jH(), C = (0, P.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};@@ -72235,14 +72235,14 @@ function Ike({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(V2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: H2 });- let t = Pke[e.outcome];+ b(""), S.run("submit", (e) => V(B2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: V2 });+ let t = Fke[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = G2(e.task);+ let n = W2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -72274,17 +72274,17 @@ function Ike({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, F.jsx)(Nke, {+ /* @__PURE__ */ (0, F.jsx)(Pke, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);+ K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : q2(t?.code, n.code) ? t : null),+ } : e : K2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}@@ -72347,7 +72347,7 @@ function Ike({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providemaxLength: 60,value: p,onChange: (e) => {- m(e), q2(e, _?.code) || v(null);+ m(e), K2(e, _?.code) || v(null);}}),y || S.error ? /* @__PURE__ */ (0, F.jsx)(eU, { children: y || S.error }) : null@@ -72370,11 +72370,11 @@ function Ike({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/publication-cache.ts-var Y2 = 864e5, X2 = (e) => {+var J2 = 864e5, Y2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function Z2(e) {+function X2(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -72382,25 +72382,25 @@ function Z2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function Lke(e, t = Date.now()) {- let n = Z2(e);- return n !== void 0 && X2(t) > n ? Infinity : Y2;+function Rke(e, t = Date.now()) {+ let n = X2(e);+ return n !== void 0 && Y2(t) > n ? Infinity : J2;}-function Q2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : Lke(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;+function Z2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : Rke(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;}// src/react/wants/resource-cache.ts-var $2 = "peach.want-resources.v2";-function e4(e) {+var Q2 = "peach.want-resources.v2";+function $2(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function t4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));+function e4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));}-function n4() {+function t4() {try {- let e = JSON.parse(localStorage.getItem($2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(Q2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -72409,23 +72409,23 @@ function n4() {return [];}}-function Rke(e, t) {- let n = n4().find((t) => t.code === e);- return n && Q2(n.saved, t) ? n : void 0;+function zke(e, t) {+ let n = t4().find((t) => t.code === e);+ return n && Z2(n.saved, t) ? n : void 0;}-function zke(e) {- let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function Bke(e) {+ let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function Bke(e, t) {- if (t.state === "ready" && e4(t)) try {- let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem($2, JSON.stringify([{+function Vke(e, t) {+ if (t.state === "ready" && $2(t)) try {+ let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(Q2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -72433,15 +72433,15 @@ function Bke(e, t) {} catch {}}// src/react/wants/resource-display.ts-function Vke(e) {+function Hke(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? jn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function Hke(e) {+function Uke(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function r4({ icon: e, children: t, title: n }) {+function n4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, F.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -72451,8 +72451,8 @@ function r4({ icon: e, children: t, title: n }) {}), t]});}-function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = jH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => Rke(h, e.release_date), [h, e.release_date]);+function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = jH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => zke(h, e.release_date), [h, e.release_date]);(0, P.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -72472,22 +72472,22 @@ function i4({ 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", Bke(h, i), i;+ return m.current = n && i.state === "busy", Vke(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, P.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, P.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && PTe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && ITe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -72495,7 +72495,7 @@ function i4({ 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(V2, {+ let n = await V(B2, {magnet: r.uri,provider: v.key,target: v.target,@@ -72506,7 +72506,7 @@ function i4({ 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: H2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -72540,7 +72540,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}) : null,_.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",- children: Hke(e)+ children: Uke(e)}, e)),_.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(pI, {variant: "secondary",@@ -72571,7 +72571,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(sZ, {+ children: [/* @__PURE__ */ (0, F.jsx)(aZ, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -72585,25 +72585,25 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, F.jsx)(r4, {+ /* @__PURE__ */ (0, F.jsx)(n4, {icon: Fpe,children: e.source}),- /* @__PURE__ */ (0, F.jsx)(r4, {+ /* @__PURE__ */ (0, F.jsx)(n4, {icon: bz,title: `来源大小:${e.size}`,- children: Vke(e.size)+ children: Hke(e.size)}),- e.files ? /* @__PURE__ */ (0, F.jsx)(r4, {+ e.files ? /* @__PURE__ */ (0, F.jsx)(n4, {icon: Epe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, F.jsx)(r4, {+ /* @__PURE__ */ (0, F.jsx)(n4, {icon: fpe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(r4, {+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(n4, {icon: wz,children: e}, e))@@ -72660,10 +72660,10 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var a4 = "peach.jav-reviews.v2";-function o4() {+var i4 = "peach.jav-reviews.v2";+function a4() {try {- let e = localStorage.getItem(a4) || "[]";+ let e = localStorage.getItem(i4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -72671,21 +72671,21 @@ function o4() {return [];}}-function Uke(e, t) {+function Wke(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(a4, i);+ }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(i4, i);} catch {}}-function Wke(e, t) {- let n = o4(), r = [], i = Infinity;+function Gke(e, t) {+ let n = a4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -72693,16 +72693,16 @@ function Wke(e, t) {saved: i} : void 0;}-function Gke(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));+function Kke(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function Kke(e) {+function qke(e) {let t = (0, P.useRef)(!1), n = Pt({- queryKey: k2(e.code),+ queryKey: O2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, A2(e.code, n, r);+ return t.current = !1, k2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -72712,21 +72712,21 @@ function Kke(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, F.jsx)(qke, {+ children: n.data ? /* @__PURE__ */ (0, F.jsx)(Jke, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, F.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(WW, {+ children: [/* @__PURE__ */ (0, F.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(UW, {message: Wn(n.error),onRetry: r}) : null]})});}-var s4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -72735,7 +72735,7 @@ var s4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function Jke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, P.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, P.useEffect)(() => {@@ -72756,12 +72756,12 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avideo: !0}] : []], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = jH(), m = () => {- p.run("want", async (e) => d ? (await y$([d], e), null) : (await v$({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(k2(e), (e) => e && {+ p.run("want", async (e) => d ? (await _$([d], e), null) : (await g$({ code: t.code }, e)).want.id, (t) => {+ f(t), H.setQueryData(O2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), b$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), v$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -72770,24 +72770,24 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(s4, { close: n.close }),+ /* @__PURE__ */ (0, F.jsx)(o4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(Xke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(pQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(Zke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(dQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, F.jsx)(m2, {+ /* @__PURE__ */ (0, F.jsx)(p2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(pQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(dQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72801,33 +72801,33 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, F.jsx)(Jke, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, F.jsx)(Yke, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, F.jsx)(l4, {+ children: [/* @__PURE__ */ (0, F.jsx)(c4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, F.jsx)(l4, {+ }), /* @__PURE__ */ (0, F.jsx)(c4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, F.jsx)(Yke, {+ /* @__PURE__ */ (0, F.jsx)(Xke, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, F.jsx)(l4, {+ children: [/* @__PURE__ */ (0, F.jsx)(c4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, F.jsx)(l4, {+ }), /* @__PURE__ */ (0, F.jsx)(c4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72835,6 +72835,7 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),(t.tag_refs?.length ?? t.tags.length) > 0 ? /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-tags": "",+ "data-detail-tags": "","data-jav-tags": "",children: (t.tag_refs || t.tags.map((e) => ({name: e,@@ -72855,7 +72856,7 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.summary ? /* @__PURE__ */ (0, F.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: pF(t.summary),+ lang: mF(t.summary),children: t.summary}) : null,t.message ? /* @__PURE__ */ (0, F.jsx)(Rz, {@@ -72906,12 +72907,12 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: atone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, F.jsx)(Zke, {+ /* @__PURE__ */ (0, F.jsx)(Qke, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, F.jsx)(Qke, {+ /* @__PURE__ */ (0, F.jsx)($ke, {item: t,actions: n,readOnly: r@@ -72919,24 +72920,24 @@ function qke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, F.jsx)(J2, {+ /* @__PURE__ */ (0, F.jsx)(q2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var c4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var s4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {+}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : null;-function Jke({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;+function Yke({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h1", {@@ -72952,7 +72953,7 @@ function Jke({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {- lang: pF(a),+ lang: mF(a),children: a})] }) : null]})@@ -72971,20 +72972,20 @@ function Jke({ item: e }) {})]});}-function u4({ score: e, review: t = !1 }) {+function l4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, F.jsx)(QJ, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(ZJ, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function Yke({ item: e, navigate: t }) {+function Xke({ item: e, navigate: t }) {let n = (e, n) => t(hn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, F.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -72993,14 +72994,14 @@ function Yke({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, F.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(T2, {+ children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(w2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(mQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(fQ, {code: e.code,person: r,detail: !0@@ -73017,7 +73018,7 @@ function Yke({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, F.jsx)(E2, {+ }), /* @__PURE__ */ (0, F.jsx)(T2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -73026,11 +73027,11 @@ function Yke({ item: e, navigate: t }) {})]});}-function Xke({ src: e }) {+function Zke({ src: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(0);return (0, P.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), sce(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), oce(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));@@ -73050,8 +73051,8 @@ function Xke({ src: e }) {}) : null});}-function Zke({ code: e, count: t, released: n }) {- let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => Wke(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({+function Qke({ code: e, count: t, released: n }) {+ let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => Gke(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -73060,12 +73061,12 @@ function Zke({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => Gke(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => Kke(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await $Oe(e, n, t, s.current);- if (Uke(e, i), !i.ok || i.cache_stale) {+ let i = await eke(e, n, t, s.current);+ if (Wke(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,@@ -73075,7 +73076,7 @@ function Zke({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: eke+ getNextPageParam: tke});(0, P.useEffect)(() => {c.isFetching || (s.current = !1);@@ -73123,7 +73124,7 @@ function Zke({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, {score: Number(e.score),review: !0}) : null,@@ -73135,7 +73136,7 @@ function Zke({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, F.jsx)("p", {"data-long-text": "",- lang: pF(e.content),+ lang: mF(e.content),children: e.content})]}, e.id)),@@ -73182,21 +73183,21 @@ function Zke({ code: e, count: t, released: n }) {})});}-function Qke({ item: e, actions: t, readOnly: n }) {+function $ke({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, P.useState)(!1), a = Pt({- queryKey: H2,+ queryKey: V2,enabled: r,- queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("section", {"data-jav-resources": "",children: /* @__PURE__ */ (0, F.jsx)(nU, {trailing: !0,- summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, F.jsx)(i4, {+ children: s ? /* @__PURE__ */ (0, F.jsx)(r4, {want: {id: 0,code: e.code,@@ -73213,31 +73214,31 @@ function Qke({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function $ke(e, t) {- d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), jse({+var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function eAe(e, t) {+ u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), Ase({...e.player,stage: () => document.getElementById("stage")- }), Mse({- inMiniplayer: (e) => f4?.player === e,- kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",- expand: () => B4(),- toMiniplayer: () => V4()- }), x4 || (x4 = !0, addEventListener("pagehide", () => dM()));-}-var x4 = !1;-function S4() {- if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return d4;-}-function C4(e) {- m4 = e;-}-var eAe = () => m4;-function w4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);- if (f4 && f4.key === a) return nAe(e, f4);- f4 && z4();+ }), jse({+ inMiniplayer: (e) => d4?.player === e,+ kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",+ expand: () => z4(),+ toMiniplayer: () => B4()+ }), b4 || (b4 = !0, addEventListener("pagehide", () => fM()));+}+var b4 = !1;+function x4() {+ if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return u4;+}+function S4(e) {+ p4 = e;+}+var tAe = () => p4;+function C4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);+ if (d4 && d4.key === a) return rAe(e, d4);+ d4 && R4();let o = {player: null,kind: n,@@ -73245,52 +73246,52 @@ function w4(e, t) {mediaIndex: i?.index ?? null,key: a};- p4 = o;+ f4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = DM(s, {+ let c = OM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- p4 === o && (o.player = e);+ f4 === o && (o.player = e);},- handedOff: (e) => f4?.player === e+ handedOff: (e) => d4?.player === e});return () => {- let e = !!o.player && f4?.player === o.player;- p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), dM());+ let e = !!o.player && d4?.player === o.player;+ f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), fM());};}-async function tAe(e, t, n) {+async function nAe(e, t, n) {let r = await on(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await S4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await x4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- C4(a);- let o = w4(t, {+ S4(a);+ let o = C4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));+ s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));};}-function nAe(e, t) {+function rAe(e, t) {let { player: n } = t;- L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), TM(e), e.append(n.el()), fj(n);+ I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), EM(e), e.append(n.el()), pj(n);let r = {player: n,kind: t.kind,@@ -73298,23 +73299,23 @@ function nAe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- p4 = r;- let i = EM(n, e);- return pj(n), () => {- p4 === r && (p4 = null), i(), f4?.player !== n && (dj() === n && fj(null), $j(n), dM());+ f4 = r;+ let i = DM(n, e);+ return mj(n), () => {+ f4 === r && (f4 = null), i(), d4?.player !== n && (fj() === n && pj(null), eM(n), fM());};}-var T4 = () => {- let e = p4?.player;+var w4 = () => {+ let e = f4?.player;return e && !e.isDisposed() ? e : null;};-function E4(e) {- let t = g4;- g4 = !1, f4?.pending && z4();- let n = p4, r = n?.player, i = m4;- if (!n || !r || r.isDisposed() || !i || !h4) return;- let a = S4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && oAe({+function T4(e) {+ let t = h4;+ h4 = !1, d4?.pending && R4();+ let n = f4, r = n?.player, i = p4;+ if (!n || !r || r.isDisposed() || !i || !m4) return;+ let a = x4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && sAe({player: r,kind: n.kind,item: n.item,@@ -73322,46 +73323,46 @@ function E4(e) {key: n.key}, i);}-function D4(e, t) {- g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());+function E4(e, t) {+ h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());}-function O4(e) {- h4 = e, h4 && F4();-}-var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();-function rAe() {- return k4() ? h4?.frame.querySelector("video") ?? null : null;+function D4(e) {+ m4 = e, m4 && P4();}+var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();function iAe() {- return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? rAe();-}-function A4(e) {- h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+ return O4() ? m4?.frame.querySelector("video") ?? null : null;}-function j4(e = f4?.item) {- if (!h4) return;- let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function aAe() {+ return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? iAe();}-function M4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;- let t = e.paused();- h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = Ds("player-pause", "player-play", t ? "b" : "a")), Os(h4.play, t ? "b" : "a");+function k4(e) {+ m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function N4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;- let t = On(f4?.item.duration) || On(e.duration());- h4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;+function A4(e = d4?.item) {+ if (!m4) return;+ let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);-function F4() {- if (!h4 || !d4) return;- let e = P4();- for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+function j4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;+ let t = e.paused();+ m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = Ds("player-pause", "player-play", t ? "b" : "a")), Os(m4.play, t ? "b" : "a");}-function I4(e) {+function M4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;+ let t = On(d4?.item.duration) || On(e.duration());+ m4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;+}+var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);+function P4() {+ if (!m4 || !u4) return;+ let e = N4();+ for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function F4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -73373,17 +73374,17 @@ function I4(e) {"play","pause","ended"- ], M4), t([+ ], j4), t(["timeupdate","durationchange","loadedmetadata"- ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();+ ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();}-function L4(e) {+function I4(e) {e.off.forEach((e) => e()), e.off = [];}-function aAe() {- let e = h4?.root;+function oAe() {+ let e = m4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -73391,8 +73392,8 @@ function aAe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function R4() {- let e = h4?.root;+function L4() {+ let e = m4?.root;if (e) {e.hidden = !0;for (let t of [@@ -73403,73 +73404,73 @@ function R4() {e.style.transform = "";}}-function oAe(e, t) {- if (!h4) return;+function sAe(e, t) {+ if (!m4) return;let n = {...e,meta: t,off: [],pending: !1};- f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), aAe(), pj(e.player);+ d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), oAe(), mj(e.player);}-function z4() {- let e = f4;- e && L4(e), f4 = null, _4++;+function R4() {+ let e = d4;+ e && I4(e), d4 = null, g4++;let t = e?.player ?? null;- t && dj() === t && fj(null), $j(t), t && dM(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), lj(), R4();+ t && fj() === t && pj(null), eM(t), t && fM(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), uj(), L4();}-function B4() {- if (!k4() || !f4) return;- let { kind: e, item: t, mediaIndex: n } = f4;- S4().expand(e, t.id, n);+function z4() {+ if (!O4() || !d4) return;+ let { kind: e, item: t, mediaIndex: n } = d4;+ x4().expand(e, t.id, n);}-function V4() {- k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());+function B4() {+ O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());}-function sAe() {- let e = f4?.player;+function cAe() {+ let e = d4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function H4(e) {- let t = f4?.player;+function V4(e) {+ let t = d4?.player;if (!t || t.isDisposed()) return;- let n = On(t.duration()) || On(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);+ let n = On(t.duration()) || On(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function U4(e) {- return !(!k4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || S4().sourceOffline(String(e.root_id || e.location || "")));-}-async function cAe(e) {- if (!k4() || !f4 || !h4) return;- let t = ++_4, n = await on(`/api/item?id=${e}`).catch(() => null);- if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;- if (!U4(n)) {- S4().openItem(e);+function H4(e) {+ return !(!O4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || x4().sourceOffline(String(e.root_id || e.location || "")));+}+async function lAe(e) {+ if (!O4() || !d4 || !m4) return;+ let t = ++g4, n = await on(`/api/item?id=${e}`).catch(() => null);+ if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;+ if (!H4(n)) {+ x4().openItem(e);return;}- let r = f4;- L4(r), dj() === r.player && fj(null), $j(r.player), dM(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = d4;+ I4(r), fj() === r.player && pj(null), eM(r.player), fM(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- A4(a), DM(i, {+ k4(a), OM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== _4) {- r && dj() === r && fj(null), $j(r);+ if (t !== g4) {+ r && fj() === r && pj(null), eM(r);return;}if (!r) {- z4(), S4().openItem(e);+ R4(), x4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -73478,25 +73479,25 @@ async function cAe(e) {kind: "item",item: n,mediaIndex: null,- key: b4("item", n.id, null),+ key: y4("item", n.id, null),meta: a,off: [],pending: !1};- f4 = i, I4(i);+ d4 = i, F4(i);}- }), j4(n);+ }), A4(n);}// src/react/stage/miniplayer.tsx-var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })-}), lAe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {+}), uAe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {t.stopPropagation(), e();-}, uAe = (0, P.memo)(function() {+}, dAe = (0, P.memo)(function() {let e = (0, P.useRef)(null), t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null);- return (0, P.useLayoutEffect)(() => (O4({+ return (0, P.useLayoutEffect)(() => (D4({root: e.current,frame: n.current,play: r.current,@@ -73506,7 +73507,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => O4(null)), []), (0, P.useEffect)(() => fAe(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {+ }), () => D4(null)), []), (0, P.useEffect)(() => pAe(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -73530,24 +73531,24 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: G4(B4),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "maximize-2" })+ onClick: W4(z4),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "maximize-2" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: G4(z4),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "x" })+ onClick: W4(R4),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "x" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: G4(() => H4(-1)),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-ccw" })+ onClick: W4(() => V4(-1)),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: r,@@ -73556,16 +73557,16 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: G4(sAe),- dangerouslySetInnerHTML: lAe+ onClick: W4(cAe),+ dangerouslySetInnerHTML: uAe}),/* @__PURE__ */ (0, F.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: G4(() => H4(1)),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-cw" })+ onClick: W4(() => V4(1)),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("span", {ref: i,@@ -73582,7 +73583,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => B4(),+ onClick: () => z4(),children: [/* @__PURE__ */ (0, F.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -73596,7 +73597,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {})});});-function dAe(e, t, n) {+function fAe(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@@ -73618,7 +73619,7 @@ function dAe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function fAe(e, t) {+function pAe(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 = {@@ -73644,7 +73645,7 @@ function fAe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), dAe(e, i.dx, i.dy));+ }, 0), fAe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -73655,60 +73656,57 @@ function fAe(e, t) {};}// src/react/stage/stage.tsx-var K4 = null, q4 = null, J4 = null, Y4 = /* @__PURE__ */ new Set(), X4 = 0, Z4 = null, Q4 = !1, $4 = !1, e3 = () => {+var G4 = null, K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function t3() {- if (!K4) throw Error("舞台还没有接上宿主(configureStage)");- return K4;+function e3() {+ if (!G4) throw Error("舞台还没有接上宿主(configureStage)");+ return G4;}-function pAe(e) {- return Y4.add(e), () => {- Y4.delete(e);+function mAe(e) {+ return J4.add(e), () => {+ J4.delete(e);};}-function mAe() {- for (let e of [...Y4]) e();+function hAe() {+ for (let e of [...J4]) e();}-function n3() {- (0, Lt.flushSync)(mAe);+function t3() {+ (0, Lt.flushSync)(hAe);}-function hAe({ view: e }) {- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(gAe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(uAe, {})] });+function gAe({ view: e }) {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(_Ae, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(dAe, {})] });}-var r3 = () => /* @__PURE__ */ (0, F.jsx)("div", {+var n3 = () => /* @__PURE__ */ (0, F.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: pOe() }+ dangerouslySetInnerHTML: { __html: mOe() }});-function i3(e) {+function r3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function gAe({ view: e }) {+function i3() {+ let e = $4(), t = e && _Oe(e);+ t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {+ key: "Escape",+ bubbles: !0,+ cancelable: !0+ }))) : a3();+}+function _Ae({ view: e }) {let t = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {- let e = t.current, n = () => {- let t = gOe(e);- t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {- key: "Escape",- bubbles: !0,- cancelable: !0- }))) : a3();- }, r = (t) => {- t.key !== "Escape" || t.defaultPrevented || !e.open || e.contains(t.target) || (t.preventDefault(), n());- }, i = (t) => {- t.target === e && (t.preventDefault(), n());- };- return document.addEventListener("keydown", r), e.addEventListener("cancel", i), () => {- document.removeEventListener("keydown", r), e.removeEventListener("cancel", i);+ let e = t.current, n = (t) => {+ t.target === e && (t.preventDefault(), i3());};+ return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(cke, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(Kke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(UOe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(lke, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(qke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(WOe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, F.jsxs)("dialog", {ref: t,id: "stage",@@ -73716,27 +73714,27 @@ function gAe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), a3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());},onPointerDown: (e) => {- $4 = i3(e);+ Q4 = r3(e);},onClick: (e) => {- $4 && i3(e) && a3();+ Q4 && r3(e) && a3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(r3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(n3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(r3, {})+ children: /* @__PURE__ */ (0, F.jsx)(n3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(PT, {- getContainer: () => X0(t.current),+ children: /* @__PURE__ */ (0, F.jsx)(FT, {+ getContainer: () => Y0(t.current),children: i})})@@ -73745,10 +73743,10 @@ function gAe({ view: e }) {});}function a3() {- q4 && !Q4 && (Q4 = !0, q4.request.actions.close());+ K4 && !Z4 && (Z4 = !0, K4.request.actions.close());}function o3(e, t) {- let n = e3();+ let n = $4();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}function s3(e) {@@ -73766,14 +73764,14 @@ function s3(e) {let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => t3().player.settings(), i = () => q4?.request === e;+ }, r = () => e3().player.settings(), i = () => K4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,close: a3,present: (e, t) => {let n = e.performers;- C4({+ S4({kind: "item",item: e,title: String(e.title || e.name || ""),@@ -73782,7 +73780,7 @@ function s3(e) {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73802,7 +73800,7 @@ function s3(e) {...s,close: a3,present: (e, t) => {- C4({+ S4({kind: "follow",item: e,title: e.title || "",@@ -73811,7 +73809,7 @@ function s3(e) {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "follow",item: t,media: r,@@ -73828,106 +73826,106 @@ function s3(e) {}};}-function _Ae(e, t) {+function vAe(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {- ...q4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {+ ...K4,phase: "content"- }, n3());+ }, t3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}function c3(e) {- let t = e3();- return !q4 || q4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+ let t = $4();+ return !K4 || K4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function vAe(e) {- !J4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (J4 = {+async function yAe(e) {+ !q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (q4 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});let t = c3(e.kind);if (t) {- await bAe(e, t);+ await xAe(e, t);return;}- q4 && l3({ miniplayer: !1 });- let n = ++X4, r = new AbortController();- Z4 = r, Q4 = !1, $4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);+ K4 && l3({ miniplayer: !1 });+ let n = ++Y4, r = new AbortController();+ X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);let i = s3(e);- q4 = {+ K4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? aN(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : n2(i.props, r.signal);- if (n !== X4 || q4?.request !== e) {+ let a = i.kind === "item" ? oN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : t2(i.props, r.signal);+ if (n !== Y4 || K4?.request !== e) {await a.catch(() => {});return;}- let o = yAe(i);- q4 = {- ...q4,+ let o = bAe(i);+ K4 = {+ ...K4,phase: o ? "content" : "skeleton"- }, n3();- let s = e3();+ }, t3();+ let s = $4();if (!s) {await a.catch(() => {});return;}- o || Ks(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Q0(s);+ o || Ks(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Z0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== X4 || !q4 || o) return;+ if (n !== Y4 || !K4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- q4 = {- ...q4,+ K4 = {+ ...K4,phase: c ? "content" : "reveal"- }, n3(), c || _Ae(s, n), Ps(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), c || vAe(s, n), Ps(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function yAe(e) {- if (e.kind === "jav") return !!H.getQueryData(k2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData($0(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(GM(t)) : null;+function bAe(e) {+ if (e.kind === "jav") return !!H.getQueryData(O2(e.props.code));+ if (e.kind === "follow") return !!H.getQueryData(Q0(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(KM(t)) : null;if (t && !r) return !1;- let i = r ? rN(r, n) : n;- return i != null && !!H.getQueryData(WM(i));+ let i = r ? iN(r, n) : n;+ return i != null && !!H.getQueryData(GM(i));}-async function bAe(e, t) {- let n = ++X4;- Z4?.abort();+async function xAe(e, t) {+ let n = ++Y4;+ X4?.abort();let r = new AbortController();- Z4 = r, $4 = !1;+ X4 = r, Q4 = !1;let i = s3(e);try {- i.kind === "item" ? await aN(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await n2(i.props, r.signal);+ i.kind === "item" ? await oN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await t2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== X4 || !q4 || c3(e.kind) !== t) return;- e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), kl(t), lj(), q4 = {- ...q4,+ if (n !== Y4 || !K4 || c3(e.kind) !== t) return;+ e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), kl(t), uj(), K4 = {+ ...K4,request: e,content: i,phase: "content"- }, n3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ps(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ps(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function xAe() {- Q0(null);- let e = e3();+function SAe() {+ Z0(null);+ let e = $4();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -73938,13 +73936,13 @@ function xAe() {}));}function l3({ miniplayer: e = !0 } = {}) {- if (X4++, Z4?.abort(), Z4 = null, E4(e), !q4) return;- let t = e3();- t && kl(t), lj(), Q0(null), t?.open && t.close(), q4 = null, Q4 = !1, $4 = !1, n3(), C4(null), document.body.removeAttribute("data-detail-open");- let n = J4;- J4 = null;+ if (Y4++, X4?.abort(), X4 = null, T4(e), !K4) return;+ let t = $4();+ t && kl(t), uj(), Z0(null), t?.open && t.close(), K4 = null, Z4 = !1, Q4 = !1, t3(), S4(null), document.body.removeAttribute("data-detail-open");+ let n = q4;+ q4 = null;let r = () => {- !q4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !K4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -73952,79 +73950,80 @@ function l3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function SAe(e) {- q4 && (q4 = {- ...q4,- content: q4.content.kind === "item" ? {+function CAe(e) {+ K4 && (K4 = {+ ...K4,+ content: K4.content.kind === "item" ? {kind: "item",props: {- ...q4.content.props,+ ...K4.content.props,...e}- } : q4.content.kind === "jav" ? q4.content : {+ } : K4.content.kind === "jav" ? K4.content : {kind: "follow",props: {- ...q4.content.props,+ ...K4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, n3());+ }, t3());}-function CAe() {- let e = eAe(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, t3().player.settings().javImage) : "";+function wAe() {+ let e = tAe(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, e3().player.settings().javImage) : "";if (!n) return;- let r = T4();+ let r = w4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var wAe = {- open: vAe,- update: SAe,- exit: xAe,+var TAe = {+ open: yAe,+ update: CAe,+ exit: SAe,dispose: l3,requestClose: a3,- repaintPoster: CAe,- isOpen: () => !!q4,- showing: () => q4 && c3(q4.content.kind) ? q4.content.kind : null,- activeVideo: () => iAe(),- mountWallPlayer: tAe,+ requestEscape: i3,+ repaintPoster: wAe,+ isOpen: () => !!K4,+ showing: () => K4 && c3(K4.content.kind) ? K4.content.kind : null,+ activeVideo: () => aAe(),+ mountWallPlayer: nAe,toggleTheater: () => {- q4 && Bj(!t3().player.settings().theaterMode);+ K4 && Vj(!e3().player.settings().theaterMode);},- toggleMiniplayer: () => V4(),- closeMiniplayer: () => z4(),- miniplayerActive: () => k4(),- miniplayerTakesCard: (e) => U4(e),+ toggleMiniplayer: () => B4(),+ closeMiniplayer: () => R4(),+ miniplayerActive: () => O4(),+ miniplayerTakesCard: (e) => H4(e),miniplayerPlay: (e) => {- cAe(e);+ lAe(e);}};-function TAe(e) {- return K4 = e, $ke(e, {- isOpen: () => !!q4,+function EAe(e) {+ return G4 = e, eAe(e, {+ isOpen: () => !!K4,requestClose: a3- }), wAe;+ }), TAe;}-function EAe() {- let e = (0, P.useSyncExternalStore)(pAe, () => q4);- return K4 ? /* @__PURE__ */ (0, F.jsx)(hAe, { view: e }) : null;+function DAe() {+ let e = (0, P.useSyncExternalStore)(mAe, () => K4);+ return G4 ? /* @__PURE__ */ (0, F.jsx)(gAe, { view: e }) : null;}// src/react/stats/stats.ts-var DAe = "/api/stats", u3 = ["stats"], d3 = (e) => B(DAe, e);-async function OAe(e) {+var OAe = "/api/stats", u3 = ["stats"], d3 = (e) => B(OAe, e);+async function kAe(e) {await H.fetchQuery({queryKey: u3,queryFn: () => d3(e)});}-var f3 = (e) => e != null && Number.isFinite(e), kAe = (e) => f3(e) ? e.toLocaleString() : "未取得", AAe = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, jAe = (e, t) => {- let n = AAe(e, t);+var f3 = (e) => e != null && Number.isFinite(e), AAe = (e) => f3(e) ? e.toLocaleString() : "未取得", jAe = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, MAe = (e, t) => {+ let n = jAe(e, t);return !n && f3(e) && e > 0 && f3(t) && t > 0 ? "<1%" : `${n}%`;}, p3 = (e) => {if (!f3(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, MAe = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", NAe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function PAe(e, t = 6) {+}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, NAe = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", PAe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function FAe(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);@@ -74034,7 +74033,7 @@ function PAe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var FAe = (e) => Math.max(1, ...e) * 1.1, IAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, LAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), RAe = {+var IAe = (e) => Math.max(1, ...e) * 1.1, LAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, RAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), zAe = {video: "视频",image: "图片",illustration: "插画",@@ -74042,10 +74041,10 @@ var FAe = (e) => Math.max(1, ...e) * 1.1, IAe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, zAe = (e) => e.map((e) => ({- name: RAe[e.k] ?? e.k,+}, BAe = (e) => e.map((e) => ({+ name: zAe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), BAe = {+})).sort((e, t) => t.value - e.value), VAe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",@@ -74053,7 +74052,7 @@ var FAe = (e) => Math.max(1, ...e) * 1.1, IAe = (e, t) => e > 0 ? Math.max(e, t}, g3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), VAe = (e) => g3(e, BAe), HAe = [+})), HAe = (e) => g3(e, VAe), UAe = [[1,1,@@ -74089,7 +74088,7 @@ var FAe = (e) => Math.max(1, ...e) * 1.1, IAe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], UAe = (e) => HAe.map(([t, n, r]) => ({+], WAe = (e) => UAe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));@@ -74124,7 +74123,7 @@ function y3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function WAe(e, t) {+function GAe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js@@ -74146,13 +74145,13 @@ function C3(e, t) {function w3(e) {return e.value;}-function GAe(e) {+function KAe(e) {return e.index;}-function KAe(e) {+function qAe(e) {return e.nodes;}-function qAe(e) {+function JAe(e) {return e.links;}function T3(e, t) {@@ -74167,8 +74166,8 @@ function E3({ nodes: e }) {for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function JAe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = GAe, c = WAe, l, u, d = KAe, f = qAe, p = 6;+function YAe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = KAe, c = GAe, l, u, d = qAe, f = JAe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),@@ -74353,7 +74352,7 @@ function JAe() {return m;}// node_modules/d3-path/src/path.js-var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, YAe = O3 - k3;+var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, XAe = O3 - k3;function A3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}@@ -74394,7 +74393,7 @@ A3.prototype = j3.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) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > YAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > XAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -74410,25 +74409,25 @@ function M3(e) {};}// node_modules/d3-shape/src/point.js-function XAe(e) {+function ZAe(e) {return e[0];}-function ZAe(e) {+function QAe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var QAe = Array.prototype.slice;+var $Ae = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function $Ae(e) {+function eje(e) {return e.source;}-function eje(e) {+function tje(e) {return e.target;}-function tje(e) {- var t = $Ae, n = eje, r = XAe, i = ZAe, a = null;+function nje(e) {+ var t = eje, n = tje, r = ZAe, i = QAe, a = null;function o() {- var o, s = QAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ var o, s = $Ae.call(arguments), c = t.apply(this, s), l = n.apply(this, s);if (a ||= o = j3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {@@ -74443,54 +74442,54 @@ function tje(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function nje(e, t, n, r, i) {+function rje(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function rje() {- return tje(nje);+function ije() {+ return nje(rje);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function ije(e) {+function aje(e) {return [e.source.x1, e.y0];}-function aje(e) {+function oje(e) {return [e.target.x0, e.y1];}-function oje() {- return rje().source(ije).target(aje);+function sje() {+ return ije().source(aje).target(oje);}// src/react/taste/taste.ts-var sje = "/api/taste", N3 = "/api/taste/refresh", cje = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], lje = ["taste", "refresh"], uje = [+var cje = "/api/taste", N3 = "/api/taste/refresh", lje = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], uje = ["taste", "refresh"], dje = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], dje = 2e3, fje = (e) => e?.stale && !e.error ? dje : !1, pje = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], fje = 2e3, pje = (e) => e?.stale && !e.error ? fje : !1, mje = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", mje = (e, t) => V(P3, {+}) : "—", hje = (e, t) => V(P3, {...e,window: t-}), I3 = (e, t, n = !1) => B(`${sje}?window=${e}${n ? "&retry=1" : ""}`, t), hje = (e) => B(N3, e);-async function gje(e, t) {+}), I3 = (e, t, n = !1) => B(`${cje}?window=${e}${n ? "&retry=1" : ""}`, t), gje = (e) => B(N3, e);+async function _je(e, t) {await H.fetchQuery({queryKey: F3(e),queryFn: () => I3(e, t)});}-var _je = (e) => V(N3, {+var vje = (e) => V(N3, {window: e,background: !0-}), vje = (e, t) => V(P3, {+}), yje = (e, t) => V(P3, {operation: "remove",source_key: e,window: t});-async function yje(e) {- let t = await fetch(cje, {+async function bje(e) {+ let t = await fetch(lje, {method: "POST",credentials: "same-origin",headers: {@@ -74508,8 +74507,8 @@ async function yje(e) {}return n;}-var bje = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function xje(e) {+var xje = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function Sje(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", {@@ -74518,31 +74517,31 @@ function xje(e) {}) : L3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var Sje = p3, Cje = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), wje = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function Tje(e) {+var Cje = p3, wje = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Tje = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function Eje(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 Eje(e) {- let t = e.map(wje), n = Math.max(1, ...t);+function Dje(e) {+ let t = e.map(Tje), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}var R3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function Dje(e) {+function Oje(e) {let t = R3(e, 6);return t.length < 3 ? [] : t;}var z3 = {width: 720,height: 435-}, Oje = {+}, kje = {source: 145,target: 545-}, B3 = 30, kje = 240;+}, B3 = 30, Aje = 240;function V3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);@@ -74550,7 +74549,7 @@ function V3(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 Aje(e = []) {+function jje(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();@@ -74562,7 +74561,7 @@ function Aje(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) * B3 + kje), u = JAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * B3 + Aje), u = YAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -74577,7 +74576,7 @@ function Aje(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = oje();+ }), d = a.reduce((e, t) => e + t.value, 0), f = sje();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -74608,14 +74607,14 @@ function Aje(e = []) {height: l + z3.height - 404};}-var jje = (e) => In(e, 17), H3 = {+var Mje = (e) => In(e, 17), H3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, Mje = [[+}, Nje = [["big","大图 · 竖幅头像","maximize"@@ -74623,7 +74622,7 @@ var jje = (e) => In(e, 17), H3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Nje = [[+]], Pje = [["big","大图 · 完整标识","maximize"@@ -74631,7 +74630,7 @@ var jje = (e) => In(e, 17), H3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], Pje = [[+]], Fje = [["big","大图 · 系列图片","maximize"@@ -74639,7 +74638,7 @@ var jje = (e) => In(e, 17), H3 = {"compact","紧凑 · 系列图片","layout-grid"-]], Fje = [+]], Ije = [["studios","厂牌",@@ -74655,7 +74654,7 @@ var jje = (e) => In(e, 17), H3 = {"系列","file-stack"]-], Ije = [[+], Lje = [["local","本地","hard-drive"@@ -74663,7 +74662,7 @@ var jje = (e) => In(e, 17), H3 = {"online","在线","rss"-]], Lje = [+]], Rje = [["performers","艺人",@@ -74679,7 +74678,7 @@ var jje = (e) => In(e, 17), H3 = {"在线","rss"]-], Rje = [[+], zje = [["cloud","标签云","tags"@@ -74706,12 +74705,12 @@ var G3 = (e, t, n) => ws(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), zje = (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">+}), Bje = (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">${Mc("tag-view", "标签视图", Rje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function Bje({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Mc("people-layout", o + "索引版式", e === "series" ? Pje : c ? Nje : Mje, a) : "";+ <span class="ml-auto">${Mc("tag-view", "标签视图", zje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function Vje({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Mc("people-layout", o + "索引版式", e === "series" ? Fje : c ? Pje : Nje, 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}@@ -74723,24 +74722,24 @@ function Bje({ 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">${cs("", t, "过滤" + o)}</div></div>- ${e === "tags" ? G3(Ije, n, "词表") : e === "performers" || e === "creators" ? G3(Lje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(Fje, e, "资料类型") : ""}- ${e === "tags" ? zje(r) : ""}- ${e === "performers" && n !== "online" ? NSe(i) : ""}+ ${e === "tags" ? G3(Lje, n, "词表") : e === "performers" || e === "creators" ? G3(Rje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(Ije, e, "资料类型") : ""}+ ${e === "tags" ? Bje(r) : ""}+ ${e === "performers" && n !== "online" ? FSe(i) : ""}${zs({kind: e,layout: a,mode: r})}`;}-var Vje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+var Hje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";function K3(e, t, n) {- let r = Bje(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Vje(r) && (e.innerHTML = r, Ks(e));+ let r = Vje(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Hje(r) && (e.innerHTML = r, Ks(e));}// src/react/router/pages/index-entity.tsx-var Hje = () => lu, Uje = () => Jl, q3 = () => document.getElementById("index");+var Uje = () => lu, Wje = () => Jl, q3 = () => document.getElementById("index");function J3(e, t, n = {}) {- let r = (0, P.useSyncExternalStore)(bu, Hje);+ let r = (0, P.useSyncExternalStore)(bu, Uje);BB();let i = bV($V.navigation.location.pathname), a = (0, P.useRef)({mounted: !0,@@ -74788,7 +74787,7 @@ function J3(e, t, n = {}) {i]);}-async function Wje(e, t, n, r) {+async function Gje(e, t, n, r) {let i = q3();if (!i) return;let a = `/${t}`;@@ -74804,21 +74803,21 @@ async function Wje(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function Gje(e) {+function Kje(e) {let t = q3(), n = t ? RV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Kje({ epoch: e }) {+function qje({ epoch: e }) {let t = (0, P.useContext)(OU), n = BB(), r = n.pathname.split("/").filter(Boolean)[0];return J3(e, (e, i) => {- t && Wje(t, r, n.search, i);- }, { shown: () => Gje(`/${r}`) }), null;+ t && Gje(t, r, n.search, i);+ }, { shown: () => Kje(`/${r}`) }), null;}-function qje() {- let e = DU(), t = (0, P.useSyncExternalStore)(bu, Uje), n = (0, P.useRef)(t);+function Jje() {+ let e = DU(), t = (0, P.useSyncExternalStore)(bu, Wje), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {n.current !== t && (n.current = t, window.location.pathname === "/tags" && UV(q3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, F.jsx)(Kje, { epoch: e }, e);+ }, [t]), /* @__PURE__ */ (0, F.jsx)(qje, { epoch: e }, e);}function Y3(e) {let t;@@ -74835,7 +74834,7 @@ function Y3(e) {} : null;}var X3 = /* @__PURE__ */ new WeakMap();-function Jje(e) {+function Yje(e) {let t = X3.get(e);return t || (t = {helpers: {@@ -74852,7 +74851,7 @@ function Z3() {let e = q3(), t = e ? RV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function Yje(e, t, n, r, i, a, o) {+async function Xje(e, t, n, r, i, a, o) {let s = q3();if (!s) return;let { segment: c, kind: l, name: u } = n;@@ -74867,7 +74866,7 @@ async function Yje(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: Jje(e),+ card: Yje(e),resolvedEntity: o,actions: {...h.actions,@@ -74885,7 +74884,7 @@ async function Yje(e, t, n, r, i, a, o) {behavior: "smooth"}));}-function Xje({ target: e }) {+function Zje({ target: e }) {let t = (0, P.useContext)(OU), n = DU(), r = BB();return J3(n, (n, i) => {let a = t?.entity;@@ -74914,7 +74913,7 @@ function Xje({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = hn(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Yje(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Xje(t, a, {...e,name: c}, r.pathname, r.search, i, s) : eH(l + r.search + r.hash, {@@ -74924,9 +74923,9 @@ function Xje({ target: e }) {})();}, { shown: () => Z3() && !q3()?.hidden }), null;}-function Zje() {+function Qje() {let e = Y3(BB().pathname);- return e ? /* @__PURE__ */ (0, F.jsx)(Xje, { target: e }, JSON.stringify([e.kind, e.name])) : null;+ return e ? /* @__PURE__ */ (0, F.jsx)(Zje, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/jav/jav-header.tsxfunction Q3({ tab: e, navigate: t, find: n }) {@@ -74943,32 +74942,32 @@ function Q3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: x$.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, F.jsx)(FQ, {+ tabs: y$.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(zTe(e))+ onChange: (e) => t(VTe(e))})]});}-function Qje({ navigate: e, receipt: t }) {+function $je({ navigate: e, receipt: t }) {let [n, r] = (0, P.useState)(null);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Q3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, F.jsx)(J2, {+ }), /* @__PURE__ */ (0, F.jsx)(q2, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/router/pages/catalog.tsx-var $je = () => lu, $3 = $V.navigation.seq, e6 = $V.navigation.openEpoch, t6 = $V.navigation.location.pathname, n6 = {+var eMe = () => lu, $3 = $V.navigation.seq, e6 = $V.navigation.openEpoch, t6 = $V.navigation.location.pathname, n6 = {seq: $3,claimed: !0,from: t6@@ -74993,7 +74992,7 @@ function i6(e) {opened: e};}-function eMe(e, t, n, r) {+function tMe(e, t, n, r) {let i = { ...U };if (e === "/trash") return {...i,@@ -75018,7 +75017,7 @@ function eMe(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: un[e] || a.get("state") || "",- ...Yk(a.get("sort"), a.get("dir"), o, s),+ ...Zk(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? zn() : i.seed || zn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -75029,7 +75028,7 @@ function eMe(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function tMe(e, t) {+function nMe(e, t) {let n = { ...e }, r = i6(n.opened);Object.assign(e, r);let i = t.catalog;@@ -75049,21 +75048,21 @@ function tMe(e, t) {}let { pathname: o, search: s } = $V.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = s$(s);- r6 = !0, eH(c$(e, t), { replace: !0 });+ let { kind: e, view: t } = a$(s);+ r6 = !0, eH(o$(e, t), { replace: !0 });return;}let c = r6;- r6 = !1, a &&= o === "/", e.opened = !0, vu({ state: eMe(o, s, a, i) }), i.open(o, {+ r6 = !1, a &&= o === "/", e.opened = !0, vu({ state: tMe(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function nMe(e) {+function rMe(e) {return fn(e) || e === "/trash" || bV(e) || e === "/immerse" || !!Y3(e);}-function rMe() {- let e = (0, P.useContext)(OU), t = DU(), n = (0, P.useSyncExternalStore)(bu, $je), r = BB(), i = (0, P.useRef)(null), a = (0, P.useRef)({+function iMe() {+ let e = (0, P.useContext)(OU), t = DU(), n = (0, P.useSyncExternalStore)(bu, eMe), r = BB(), i = (0, P.useRef)(null), a = (0, P.useRef)({mounted: !0,queued: !1});@@ -75073,13 +75072,13 @@ function rMe() {let n = i6(!bV($V.navigation.location.pathname));return !n.covered && n.opens > 0 && (r6 || n6.seq === $3 ? n.opens = -1 : n6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !nMe($V.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !rMe($V.navigation.location.pathname) && e.catalog.release();});};}, []), (0, P.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && tMe(i.current, e);+ t.queued = !1, t.mounted && i.current && nMe(i.current, e);}));}, [t,@@ -75108,30 +75107,30 @@ function a6() {r.hidden = !0;};}, [r, i]), bV(e) && !yV(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(rMe, {}, e === "/junk-files" ? "/junk-files" : "/"),+ /* @__PURE__ */ (0, F.jsx)(iMe, {}, e === "/junk-files" ? "/junk-files" : "/"),fn(e) ? /* @__PURE__ */ (0, F.jsx)(IU, {}) : null,- i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Qje, {+ i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)($je, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null] });}// src/react/router/pages/follow.tsx-var o6 = () => document.getElementById("stats"), iMe = () => hu;-function aMe(e) {+var o6 = () => document.getElementById("stats"), aMe = () => hu;+function oMe(e) {let t = document.createElement("div");return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-async function oMe(e, t) {+async function sMe(e, t) {let n = o6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = mu;- e.surfaceChanged("follow", "/follow"), d2(n, r.skeleton()), await HV("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), u2(n, r.skeleton()), await HV("/follow", r.props(), {container: n,isCurrent: t,- place: aMe+ place: oMe}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -75140,16 +75139,16 @@ async function oMe(e, t) {behavior: "smooth"});}-function sMe() {+function cMe() {let e = o6(), t = e ? RV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function cMe() {+function lMe() {let e = (0, P.useContext)(OU);return J3(DU(), (t, n) => {- e && oMe(e, n);+ e && sMe(e, n);}, {- shown: sMe,+ shown: cMe,onCovered: () => {$V.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}@@ -75159,9 +75158,9 @@ function s6(e) {let t = e ? RV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function lMe(e, t) {+async function uMe(e, t) {let n = o6();- n && (e.surfaceChanged("playlists", "/playlists"), d2(n, l2("/playlists", {+ n && (e.surfaceChanged("playlists", "/playlists"), u2(n, c2("/playlists", {followLayout: "",followSort: "",followDir: ""@@ -75173,33 +75172,33 @@ async function lMe(e, t) {behavior: "smooth"}));}-function uMe() {- let e = (0, P.useContext)(OU), t = (0, P.useSyncExternalStore)(bu, iMe), n = (0, P.useRef)(t);+function dMe() {+ let e = (0, P.useContext)(OU), t = (0, P.useSyncExternalStore)(bu, aMe), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {if (n.current === t) return;n.current = t;let e = o6();s6(e) && UV(e, { revision: t });}, [t]), J3(DU(), (t, n) => {- e && lMe(e, n);+ e && uMe(e, n);}, { shown: () => {let e = o6();return s6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function dMe() {+function fMe() {let e = new URLSearchParams($V.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function fMe() {+function pMe() {let e = (0, P.useContext)(OU);return TU(() => {- e?.openImmerse(dMe());+ e?.openImmerse(fMe());}, !0), null;}-function pMe() {- return /* @__PURE__ */ (0, F.jsx)(fMe, {}, DU());+function mMe() {+ return /* @__PURE__ */ (0, F.jsx)(pMe, {}, DU());}// src/ui-kit/anchor-scroll.tsvar c6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";@@ -75222,10 +75221,10 @@ async function l6(e, t) {});}// src/react/router/pages/managed.tsx-var mMe = () => lu > 0, u6 = () => (0, P.useSyncExternalStore)(bu, mMe), d6 = () => vA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);-function hMe(e) {+var hMe = () => lu > 0, u6 = () => (0, P.useSyncExternalStore)(bu, hMe), d6 = () => vA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);+function gMe(e) {let t = f6();- return l2(e, {+ return c2(e, {followLayout: d6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""@@ -75244,11 +75243,11 @@ function m6(e, t) {writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function gMe(e, t) {+async function _Me(e, t) {if (e === "/jav") {let e = await p6(t);return t.live ? {- tab: S$(f6().get("tab")),+ tab: b$(f6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -75265,13 +75264,13 @@ async function gMe(e, t) {if (e === "/review") {let e = f6().get("category") || "", n = await p6(t);return t.live ? {- category: DY(e) ? e : "",- queue: AY(f6().get("queue")),+ category: EY(e) ? e : "",+ queue: kY(f6().get("queue")),...m6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = LZ("?" + f6().toString()), n = await p6(t);+ let e = FZ("?" + f6().toString()), n = await p6(t);if (!t.live) return null;let r = vA().value;return {@@ -75283,12 +75282,12 @@ async function gMe(e, t) {}return {};}-var _Me = () => {+var vMe = () => {window.scrollTo({top: 0,behavior: c6()});-}, vMe = /* @__PURE__ */ new Set([+}, yMe = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -75296,10 +75295,10 @@ var _Me = () => {"/tasks","/subscriptions"]);-async function yMe(e, t, n) {+async function bMe(e, t, n) {let r = $V.navigation.seq, i = () => n.live && $V.navigation.seq === r;- if (e === "/jav" && S$(f6().get("tab")) === "library") {- $V.replace(BTe(window.location.search));+ if (e === "/jav" && b$(f6().get("tab")) === "library") {+ $V.replace(HTe(window.location.search));return;}if (e === "/subscriptions" && f6().get("tab") === "wants") {@@ -75329,8 +75328,8 @@ async function yMe(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), d2(a, hMe(e));- let o = await gMe(e, n);+ } }), t.clearSearch()), u2(a, gMe(e));+ let o = await _Me(e, n);if (!o) return;let s = await HV(e, o, {container: a,@@ -75343,7 +75342,7 @@ async function yMe(e, t, n) {replace: !0,state: null});- }) : t ? l6(t, i) : (vMe.has(e) || e === "/settings/library") && _Me();+ }) : t ? l6(t, i) : (yMe.has(e) || e === "/settings/library") && vMe();}}function h6({ path: e }) {@@ -75352,12 +75351,12 @@ function h6({ path: e }) {let n = bV($V.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.useRef)(n);n || i.current && r.current !== null || (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, F.jsx)(bMe, {+ return /* @__PURE__ */ (0, F.jsx)(xMe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function bMe({ path: e, covered: t }) {+function xMe({ path: e, covered: t }) {let n = (0, P.useContext)(OU), r = u6(), i = (0, P.useRef)(null);return (0, P.useEffect)(() => {e.startsWith("/settings/") && UV(document.getElementById("stats"), { section: dV(e) });@@ -75369,7 +75368,7 @@ function bMe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && yMe(e, n, a);+ a.live && bMe(e, n, a);});}, [r]), (0, P.useEffect)(() => () => {let e = i.current;@@ -75381,7 +75380,7 @@ function bMe({ path: e, covered: t }) {});}, []), null;}-function xMe() {+function SMe() {let e = u6(), t = (0, P.useRef)(!1);return (0, P.useEffect)(() => {if (!e || t.current || bV($V.navigation.location.pathname)) return;@@ -75395,11 +75394,11 @@ function xMe() {}, [e]), null;}// src/react/router/route-chunk.ts-var g6 = [], _6 = "peach.chunkReloadAt", SMe = 3e4;-async function CMe() {+var g6 = [], _6 = "peach.chunkReloadAt", CMe = 3e4;+async function wMe() {try {let e = Number(sessionStorage.getItem(_6) || 0);- if (Date.now() - e < SMe || !(await fetch("/healthz", {+ if (Date.now() - e < CMe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;@@ -75412,7 +75411,7 @@ function v6(e) {});return g6.push(r), {preload: () => r().catch(async (e) => {- throw await CMe(), e;+ throw await wMe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -75420,7 +75419,7 @@ function v6(e) {}};}-function wMe() {+function TMe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;let t = [...g6], n = () => {@@ -75444,7 +75443,7 @@ var b6 = v6(() => import("./peach-app.jav-page-C5uPjDXP.js")), x6 = v6(() => impDiagnosticsPage: t};}), k6 = v6(() => import("./peach-app.activity-page-B66P-r0P.js")), A6 = v6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function TMe(e, t, n) {+function EMe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -75454,7 +75453,7 @@ function TMe(e, t, n) {}var M6 = (e) => ({element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e }),- prefetch: (t, n) => y6(O6, Promise.all([AEe(n), ...e === "/settings/diagnostics" ? [Qwe(n)] : []]).then(() => {})),+ prefetch: (t, n) => y6(O6, Promise.all([MEe(n), ...e === "/settings/diagnostics" ? [eTe(n)] : []]).then(() => {})),page: (t, n) => {let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();return /* @__PURE__ */ (0, F.jsx)(r, {@@ -75470,7 +75469,7 @@ var M6 = (e) => ({}), N6 = {"/jav": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/jav" }),- prefetch: (e, t) => y6(b6, HTe(e.tab, t)),+ prefetch: (e, t) => y6(b6, WTe(e.tab, t)),page: (e, t) => {let { JavPage: n } = b6.get();return /* @__PURE__ */ (0, F.jsx)(n, {@@ -75482,7 +75481,7 @@ var M6 = (e) => ({},"/stats": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/stats" }),- prefetch: (e, t) => y6(x6, OAe(t)),+ prefetch: (e, t) => y6(x6, kAe(t)),page: (e, t) => {let { StatsPage: n } = x6.get();return /* @__PURE__ */ (0, F.jsx)(n, {@@ -75493,7 +75492,7 @@ var M6 = (e) => ({},"/taste": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/taste" }),- prefetch: (e, t) => y6(S6, gje("all", t)),+ prefetch: (e, t) => y6(S6, _je("all", t)),page: (e, t, n) => {let { TastePage: r } = S6.get();return /* @__PURE__ */ (0, F.jsx)(r, {@@ -75506,7 +75505,7 @@ var M6 = (e) => ({},"/review": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/review" }),- prefetch: (e, t) => y6(C6, _xe(t)),+ prefetch: (e, t) => y6(C6, vxe(t)),page: (e, t) => {let { ReviewPage: n } = C6.get();return /* @__PURE__ */ (0, F.jsx)(n, {@@ -75521,19 +75520,19 @@ var M6 = (e) => ({},"/data-cleanup": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/data-cleanup" }),- prefetch: (e, t) => y6(w6, CSe(t)),+ prefetch: (e, t) => y6(w6, TSe(t)),page: (e, t, n) => {let { DataCleanupPage: r } = w6.get();return /* @__PURE__ */ (0, F.jsx)(r, {failure: t.failure,- open: (e) => TMe(e, t, n),+ open: (e) => EMe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/duplicates" }),- prefetch: (e, t) => y6(T6, Nbe(t)),+ prefetch: (e, t) => y6(T6, Pbe(t)),page: (e, t) => {let { DuplicatesPage: n } = T6.get();return /* @__PURE__ */ (0, F.jsx)(n, {@@ -75545,13 +75544,13 @@ var M6 = (e) => ({},"/quality-goals": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/quality-goals" }),- prefetch: (e, t) => y6(E6, Gbe(t)),+ prefetch: (e, t) => y6(E6, Kbe(t)),page: (e, t) => {let { QualityGoalsPage: n } = E6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,- javTitleHtml: gF,- javDisplayName: hF,+ javTitleHtml: _F,+ javDisplayName: gF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});@@ -75559,7 +75558,7 @@ var M6 = (e) => ({},"/sources": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/sources" }),- prefetch: (e, t) => y6(D6, bEe(t)),+ prefetch: (e, t) => y6(D6, SEe(t)),page: (e, t) => {let { ScrapingPage: n } = D6.get();return /* @__PURE__ */ (0, F.jsx)(n, { toast: (e) => t.toast(e) });@@ -75573,7 +75572,7 @@ var M6 = (e) => ({"/settings/diagnostics": M6("/settings/diagnostics"),"/tasks": {element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/tasks" }),- prefetch: (e, t) => y6(k6, Hue(t)),+ prefetch: (e, t) => y6(k6, Vue(t)),page: () => {let { ActivityPage: e } = k6.get();return /* @__PURE__ */ (0, F.jsx)(e, {});@@ -75593,10 +75592,10 @@ var M6 = (e) => ({});}}-}, P6 = (e) => Object.hasOwn(N6, e), EMe = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(xMe, {}) } }, DMe = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(pMe, {}) } }, F6 = {+}, P6 = (e) => Object.hasOwn(N6, e), DMe = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(SMe, {}) } }, OMe = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(mMe, {}) } }, F6 = {"/playlists": {- element: /* @__PURE__ */ (0, F.jsx)(uMe, {}),- prefetch: (e, t) => y6(j6, iEe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(dMe, {}),+ prefetch: (e, t) => y6(j6, oEe(t)),page: (e, t) => {let { PlaylistsPage: n } = j6.get();return /* @__PURE__ */ (0, F.jsx)(n, {@@ -75609,14 +75608,14 @@ var M6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, F.jsx)(cMe, {}),+ element: /* @__PURE__ */ (0, F.jsx)(lMe, {}),prefetch: (e, t) => Vi(e, t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(jCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(NCe, { ...e })}}, I6 = (e) => Object.hasOwn(F6, e), L6 = {- element: /* @__PURE__ */ (0, F.jsx)(qje, {}),- prefetch: (e, t) => WSe(e, t),- page: (e, t) => /* @__PURE__ */ (0, F.jsx)(pTe, {+ element: /* @__PURE__ */ (0, F.jsx)(Jje, {}),+ prefetch: (e, t) => KSe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, F.jsx)(hTe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -75637,9 +75636,9 @@ var M6 = (e) => ({"/tags": L6,"/series": L6}, z6 = {- element: /* @__PURE__ */ (0, F.jsx)(Zje, {}),- prefetch: (e) => MSe(e),- page: (e) => /* @__PURE__ */ (0, F.jsx)(qwe, { ...e })+ element: /* @__PURE__ */ (0, F.jsx)(Qje, {}),+ prefetch: (e) => PSe(e),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(Ywe, { ...e })}, B6 = {"/performers/*": z6,"/studios/*": z6,@@ -75650,59 +75649,59 @@ var M6 = (e) => ({}, V6 = {"/": {element: /* @__PURE__ */ (0, F.jsx)(a6, {}),- prefetch: (e, t) => gce(e, t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(sY, { ...e })+ prefetch: (e, t) => hce(e, t),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(oY, { ...e })},"/junk-files": {element: /* @__PURE__ */ (0, F.jsx)(a6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(OTe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(ATe, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), OMe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(Bge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(B$, { ...e }), U6 = {+}, H6 = (e) => Object.hasOwn(V6, e), kMe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(Bge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(R$, { ...e }), U6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(MW, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(jW, { ...e })},"feed-new": {- prefetch: (e) => OSe(e),- page: (e) => /* @__PURE__ */ (0, F.jsx)($we, { ...e })+ prefetch: (e) => ASe(e),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(tTe, { ...e })},"library-processing": {prefetch: (e, t) => CH(t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(OMe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(kMe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(EEe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(OEe, { ...e })}}, W6 = (e) => Object.hasOwn(U6, e), G6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)($oe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Zoe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(kse, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Ose, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Sue, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(xue, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(vle, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(_le, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(YEe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(ZEe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(lDe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(dDe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(EAe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(DAe, {})}}, K6 = (e) => Object.hasOwn(G6, e), q6 = ["/",@@ -75724,21 +75723,21 @@ 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 kMe(e, t, n) {+function AMe(e, t, n) {return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function AMe(e, t, n, r) {+function jMe(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 jMe(e) {+function MMe(e) {return X6 = e, Z6 && e(Z6), () => {X6 === e && (X6 = null);};}-function MMe(e) {- return X6 && (Z6 = e, X6(e), xhe(Promise.resolve(kMe)), wMe()), Promise.resolve();+function NMe(e) {+ return X6 && (Z6 = e, X6(e), xhe(Promise.resolve(AMe)), TMe()), Promise.resolve();}async function e8(e, t, n = (e) => e) {let r = Q6;@@ -75749,61 +75748,61 @@ async function e8(e, t, n = (e) => e) {place: () => n(t)}) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");}-function NMe() {+function PMe() {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();+ $6.clear(), GQ();}var t8 = null, n8 = null;function r8(e) {return t8 ??= (async () => {- let t = TAe(e), n = document.createElement("div");+ let t = EAe(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 PMe(e) {+function FMe(e) {return a8 ??= (async () => {- let t = _le(e), n = document.createElement("div");+ let t = gle(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 FMe(e) {+function IMe(e) {return c8 ??= (async () => {- let t = JEe(e), n = document.createElement("div");+ let t = XEe(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 IMe(e) {+function LMe(e) {return d8 ??= (async () => {- let t = cDe(e);+ let t = uDe(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 LMe(e) {+function RMe(e) {return m8 ??= (async () => {- let t = xue(e);+ let t = bue(e);return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;})(), m8;}var g8 = () => h8, _8 = null, v8 = null;-function RMe(e) {+function zMe(e) {return _8 ??= (async () => {- let t = Qoe(e);+ let t = Xoe(e);return await e8("batch-dock", e.root), v8 = t, t;})(), _8;}var y8 = () => v8, b8 = null;-function zMe(e) {+function BMe(e) {return b8 ??= (async () => {- Ose(e), await e8("glow-picker", e.root);+ Dse(e), await e8("glow-picker", e.root);})(), b8;}function x8(e, t, n, r) {- JQ(e, t), YQ(n, r);+ KQ(e, t), qQ(n, r);}// src/application/effects.tsvar S8 = class {@@ -75888,7 +75887,7 @@ var S8 = class {if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}}, J = new S8();-function BMe() {+function VMe() {return J.dispose(), J = new S8(), J;}// src/application/receipts.js@@ -75902,8 +75901,8 @@ var C8 = {rollSeed: void 0,seededSample: void 0};-function VMe() {- JQ(L("#toasts"), {+function HMe() {+ KQ(L("#toasts"), {success: R("check"),error: R("circle-alert")}), C8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), C8.toastSeq = 0, C8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {@@ -75949,7 +75948,7 @@ function VMe() {};}// src/react/catalog-grid/catalog-state.ts-var HMe = [+var UMe = ["loc","creator","studio",@@ -75971,9 +75970,9 @@ var HMe = ["folder_recursive"];function w8(e, t, n, r = n.defaultSort) {- return Yk(e, t, n.defaultSort, n.defaultSortDirection, r);+ return Zk(e, t, n.defaultSort, n.defaultSortDirection, r);}-function UMe(e, t, n) {+function WMe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = fn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -75999,18 +75998,18 @@ function UMe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function WMe(e, t) {+function GMe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function GMe(e) {+function KMe(e) {let t = ln[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of HMe) {+ for (let t of UMe) {let r = e[t];- !r || t === "tag_match" && r === "all" || t === "dir" && r === Kk(e.sort ?? "") || n.set(t, r);+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Jk(e.sort ?? "") || n.set(t, r);}return !ln[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function KMe(e, t, n) {+function qMe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -76026,7 +76025,7 @@ function KMe(e, t, n) {year: "",state: "",sort: t.defaultSort,- dir: Jk(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Xk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -76047,7 +76046,7 @@ function T8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var qMe = class {+var JMe = class {currentRevision = 0;currentPage = "";painting = null;@@ -76092,16 +76091,16 @@ var qMe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, E8 = 3e4, D8 = 0, JMe = (e, t = D8) => [+}, E8 = 3e4, D8 = 0, YMe = (e, t = D8) => ["facets",e,t-], YMe = (e, t, n = D8) => [+], XMe = (e, t, n = D8) => ["tops",e,t,n-], XMe = (e, t = D8) => [+], ZMe = (e, t = D8) => ["tops",e,t@@ -76110,20 +76109,20 @@ async function O8(e) {let t = String(e), n = await on(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await on(`/api/tops?${r}`));}-function ZMe(e, t) {+function QMe(e, t) {return Promise.all([H.fetchQuery({- queryKey: JMe(e),+ queryKey: YMe(e),queryFn: () => on(`/api/facets${e ? `?${e}` : ""}`),staleTime: E8}), H.fetchQuery({- queryKey: YMe(t, e),+ queryKey: XMe(t, e),queryFn: () => O8(t),staleTime: E8})]);}-function QMe(e) {+function $Me(e) {return H.fetchQuery({- queryKey: XMe(e),+ queryKey: ZMe(e),queryFn: () => O8(e),staleTime: E8});@@ -76244,11 +76243,11 @@ var A8 = ["follow","activity","configuration"-], $Me = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], eNe = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), eNe = [...A8, ...N8], tNe = {+]]), tNe = [...A8, ...N8], nNe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -76284,7 +76283,7 @@ function L8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Sa({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function nNe(e) {+function rNe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(ua(t));};@@ -76303,7 +76302,7 @@ function nNe(e) {};}// src/application/source-action.ts-function rNe(e) {+function iNe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -76318,18 +76317,18 @@ function rNe(e) {};}// src/react/entity-page/entity-route.ts-var R8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+var R8 = () => Object.fromEntries(MX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));function z8(e, t) {let n = new URLSearchParams(e), r = R8();- for (let e of PX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+ for (let e of MX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Yk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Zk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}function B8(e) {let t = new URLSearchParams();- for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kk(e.sort || "") || t.set(n, e[n]);+ for (let n of MX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Jk(e.sort || "") || t.set(n, e[n]);return t.toString();}function V8(e) {@@ -76343,11 +76342,11 @@ function H8(e, t) {let n = new URLSearchParams(B8(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function iNe(e, t, n, r) {+function aNe(e, t, n, r) {let i = H8(n, r);return hn(e, t) + (i ? `?${i}` : "");}-function aNe() {+function oNe() {let e = "";return {fresh(t, n) {@@ -76368,10 +76367,10 @@ function aNe() {};}// src/react/entity-page/photo-surface.ts-function oNe(e, t) {+function sNe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function sNe(e) {+function cNe(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);@@ -76393,12 +76392,12 @@ function sNe(e) {};}// src/react/entity-page/entity-controller.ts-function cNe(e, t, n) {+function lNe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(iNe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(aNe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -76425,7 +76424,7 @@ function cNe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = qk(e, n.sort || "new", n.dir || "");+ let n = c(), i = Yk(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -76476,7 +76475,7 @@ function cNe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function lNe(e) {+function uNe(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -76484,7 +76483,7 @@ function lNe(e) {};}// src/react/entity-page/entity-portrait.ts-function uNe(e, t) {+function dNe(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Xa({kind: e,id: t.id,@@ -76506,11 +76505,11 @@ function uNe(e, t) {return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Sa({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function dNe(e) {- let t = aNe(), n = {+function fNe(e) {+ let t = oNe(), n = {...e.helpers,- portraitImg: uNe- }, r = cNe(e.controller, n, e.actions);+ portraitImg: dNe+ }, r = lNe(e.controller, n, e.actions);return {...r,helpers: n,@@ -76519,12 +76518,12 @@ function dNe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: lNe(e.loading),- photos: sNe(e.photos)+ loading: uNe(e.loading),+ photos: cNe(e.photos)};}// src/card-art/feed-identity.ts-function fNe(e) {+function pNe(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 ? "" : Za(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(hn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -76551,8 +76550,8 @@ var U8 = {function W8(e) {return e.has_cover ? no(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Cs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : no(e, "big").replace(/ src="[^"]*"/, ` src="${z(Ka(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function pNe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? gF({+function mNe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? _F({is_jav: !0,code: e.code,name: e.code,@@ -76564,10 +76563,10 @@ function pNe(e) {<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">${fNe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${pNe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function mNe() {+function hNe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");@@ -76586,7 +76585,7 @@ function q8(e) {localStorage.setItem(K8, e ? "1" : "0");} catch {}}-function hNe() {+function gNe() {try {let e = localStorage.getItem(K8);return e === "1" || e !== "0" && null;@@ -76597,7 +76596,7 @@ function hNe() {function J8(e) {!e || zV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));}-function gNe(e, t) {+function _Ne(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : bs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -76607,7 +76606,7 @@ function gNe(e, t) {}function Y8(e) {let t = e && !e.error && e.items || [];- return gNe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(pNe).join("")}</div>`;+ return _Ne(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(mNe).join("")}</div>`;}function X8(e) {e && (t9(e), Z.appSettings.feedAutoScroll && yc(e));@@ -76615,7 +76614,7 @@ function X8(e) {function Z8(e) {return fn(e) && e !== "/junk-files";}-function _Ne() {+function vNe() {let e = L("#feedNew");zV(e) ? UV(e, { revision: ++U8.feedRevision }) : (J8(e), HV("feed-new", {host: e,@@ -76634,26 +76633,26 @@ function Q8() {function $8() {U8.feedRevision += 1, UV(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });}-function vNe() {+function yNe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? yc(e) : bc(e));}var e5 = 0;-function yNe([e]) {+function bNe([e]) {let t = e.contentRect.width >= U8.HERO_WIDE_PX;cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function bNe() {+function xNe() {U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${DA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span><div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${wn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${wn(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {feedRowHtml: Y8,wireFeedRow: (e) => X8(e)- }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, J.resize(yNe).observe(L("#index"));+ }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, J.resize(bNe).observe(L("#index"));}// src/entity-skeleton.ts-function xNe(e, t, n, r = "") {+function SNe(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">@@ -76669,7 +76668,7 @@ function xNe(e, t, n, r = "") {// src/filter-controls-skeleton.tsvar t5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : os(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${BU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${VU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;function i5(e, t) {- let n = NM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";+ let n = PM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${n5}>${t5("shuffle")}</button>${i}${r5("馆藏显示方式", n, [["cards","卡片",@@ -76728,14 +76727,14 @@ function s5() {return Wl;}function c5(e, t, n = t7()) {- return hPe(n).map(([n, r]) => {- let i = e === n, a = qk(n, e, t);+ return gPe(n).map(([n, r]) => {+ let i = e === n, a = Yk(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Gk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Gk(a.sort, a.dir) : ""}排序` : ""+ dir: i && qk(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? qk(a.sort, a.dir) : ""}排序` : ""};});}@@ -76743,7 +76742,7 @@ function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}function u5() {- return oNe({+ return sNe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -76758,10 +76757,10 @@ function d5() {function f5() {u5() ? JA(NA()) : KA();}-function SNe(e) {+function CNe(e) {Y.photos.setSize(e);}-var p5 = rNe({+var p5 = iNe({request: (e) => on("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })@@ -76773,7 +76772,7 @@ async function m5(e) {let t = { textContent: "" };return await p5(e, t), t.textContent;}-async function CNe(e) {+async function wNe(e) {let t = { textContent: "" }, n = [];return await h5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));@@ -76812,17 +76811,17 @@ async function h5(e, t, n) {t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);}}-function wNe(e) {+function TNe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function TNe(e, t) {+function ENe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");r && J.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));}-async function ENe(e, t) {+async function DNe(e, t) {let n = Bc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -76866,10 +76865,10 @@ function g5(e, t) {label: "JAV 卡片版式",value: kA(),options: wA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = xNe(e, r, e === "agency" ? zs({+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = SNe(e, r, e === "agency" ? zs({kind: "performers",layout: M5.peopleIndexLayout()- }) : HJ("正在读取作品", LA(IA({+ }) : VJ("正在读取作品", LA(IA({active: n,home: !1,portrait: !1@@ -76891,7 +76890,7 @@ function v5(e) {function y5(e, t) {x9(Y.application.fresh(e, t));}-function DNe() {+function ONe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76914,7 +76913,7 @@ function DNe() {return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function ONe() {+function kNe() {Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {let n = a5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;@@ -76932,9 +76931,9 @@ function ONe() {feedRowHtml: Y8,receipt: (e, t) => C8.actionReceipt(e, t),failure: (e, t) => C8.actionFailure(e, t),- aliasForm: (e, t) => ENe(e, t),- sourceToolsHtml: (e) => wNe(e),- wireSourceTools: (e, t) => TNe(e, t),+ aliasForm: (e, t) => DNe(e, t),+ sourceToolsHtml: (e) => TNe(e),+ wireSourceTools: (e, t) => ENe(e, t),comboItems: (e) => I7(e),sortKeys: (e, t, n) => c5(e, t, n)}, Y.entityFollowActions = {@@ -76959,8 +76958,8 @@ function ONe() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function kNe() {- Y.application = dNe({+function ANe() {+ Y.application = fNe({controller: {context: () => {let e = s5();@@ -77060,7 +77059,7 @@ function kNe() {}// src/application/playlists.jsvar b5 = { playlistWrite: void 0 };-function ANe(e, t) {+function jNe(e, t) {e === "tag" ? (vu({ state: {...U,tag: t,@@ -77076,7 +77075,7 @@ function x5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function jNe({ title: e, count: t, save: n }) {+async function MNe({ title: e, count: t, save: n }) {let r = Bc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,@@ -77097,7 +77096,7 @@ async function jNe({ title: e, count: t, save: n }) {}), x9("/playlists");} }));}-async function MNe(e) {+async function NNe(e) {let t = ((await on("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Es(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = Bc({title: "加入播放列表",@@ -77146,7 +77145,7 @@ function S5() {let e = RV(L("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (H5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));}-function NNe(e) {+function PNe(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 : ""));@@ -77154,7 +77153,7 @@ function NNe(e) {function C5(e) {vu({ configurationRequestedSection: e }), Q.navigatePath(hV(e));}-function PNe() {+function FNe() {b5.playlistWrite = (e) => on("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -77173,18 +77172,18 @@ function T5(e, t, n, r, i = !1) {};}function E5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = wY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+ let o = n === "follow", s = CY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {...T5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function FNe(e, t, n, r) {+function INe(e, t, n, r) {let i = w5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: s$(n).view === "dismissed"+ junkDismissed: a$(n).view === "dismissed"};}// src/application/selection.js@@ -77206,7 +77205,7 @@ function O5() {}), E9({selected: new Set(ql),selectMode: Jl- }), D5.batchDockProps = GNe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());+ }), D5.batchDockProps = KNe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());}function k5(e, t = !1) {vu(T5({@@ -77214,25 +77213,25 @@ function k5(e, t = !1) {followSelected: ql}, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), L("#selectMode").setAttribute("aria-pressed", String(Jl)), O5();}-function INe() {+function LNe() {return [...I5.gridCards()].map((e) => +e.dataset.id);}function A5(e, t = !1) {vu(E5({selected: Kl,followSelected: ql- }, j5(), w5(location.pathname), INe(), e, t)), k5(!0);+ }, j5(), w5(location.pathname), LNe(), e, t)), k5(!0);}-function LNe() {+function RNe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function RNe(e, t = !1) {+function zNe(e, t = !1) {vu(E5({selected: Kl,followSelected: ql- }, j5(), "follow", LNe(), e, t)), k5(!0);+ }, j5(), "follow", RNe(), e, t)), k5(!0);}-async function zNe(e, t) {+async function BNe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -77301,7 +77300,7 @@ async function zNe(e, t) {}});}-async function BNe() {+async function VNe() {let e = [...Kl];if (!e.length) return;let t = Bc({@@ -77333,7 +77332,7 @@ async function BNe() {let { confirmed: n, result: r } = await t.done;n && (k5(!1, !0), await o7(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function VNe(e, t) {+async function HNe(e, t) {let n = [...ql];if (!n.length) return;let r = {@@ -77368,7 +77367,7 @@ async function VNe(e, t) {}});}-async function HNe(e, t) {+async function UNe(e, t) {let n = [...Kl];if (!n.length) return;let r = {@@ -77414,8 +77413,8 @@ async function HNe(e, t) {}});}-function UNe() {- RMe({+function WNe() {+ zMe({root: L("[data-batch-dock]"),run: (e, t, n) => {D5.BATCH_RUNNERS[e]?.(t, n);@@ -77424,7 +77423,7 @@ function UNe() {e.render(D5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function WNe() {+function GNe() {D5.batchDockProps = {count: 0,context: "catalog",@@ -77437,13 +77436,13 @@ function WNe() {["other", "其他"],["none", "撤回判定"]], D5.BATCH_RUNNERS = {- batch: zNe,- region: BNe,- follow: VNe,- junk: HNe,+ batch: BNe,+ region: VNe,+ follow: HNe,+ junk: UNe,clear: () => k5(!1, !0)}, J.handler(L("#density"), "onclick", () => {- u5() ? SNe(NA() === "big" ? "small" : "big") : qA();+ u5() ? CNe(NA() === "big" ? "small" : "big") : qA();}), KA(), Dl({selecting: () => Jl,censored: () => $7(),@@ -77464,8 +77463,8 @@ function j5() {followLastSelectedId: Xl};}-function GNe() {- return FNe({+function KNe() {+ return INe({selected: Kl,followSelected: ql}, location.pathname, location.search, U.state);@@ -77475,22 +77474,22 @@ var M5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function KNe() {- return Z.appSettings.followLayout === "table" ? "table" : "default";-}function qNe() {- return LZ(location.search);+ return Z.appSettings.followLayout === "table" ? "table" : "default";}-function JNe(e) {- return RZ(e);+function JNe() {+ return FZ(location.search);}function YNe(e) {- Q.route(JNe(e));+ return IZ(e);}-function XNe(e = "") {- return zZ(location.search, e);+function XNe(e) {+ Q.route(YNe(e));}-function ZNe(e) {+function ZNe(e = "") {+ return LZ(location.search, e);+}+function QNe(e) {return L8(e);}function N5(e) {@@ -77499,7 +77498,7 @@ function N5(e) {function P5() {L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function QNe(e, t) {+function $Ne(e, t) {vu({ state: {...U,state: "",@@ -77510,16 +77509,16 @@ function QNe(e, t) {function F5(e) {M5.controller.openFollowAuthor(e);}-function $Ne(e) {+function ePe(e) {M5.controller.openFollowTag(e);}-function ePe() {- $.FOLLOW_MANAGE_TABS = IZ, J.listen(document, "click", (e) => {+function tPe() {+ $.FOLLOW_MANAGE_TABS = PZ, J.listen(document, "click", (e) => {e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");}), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;}-function tPe() {- M5.controller = nNe({+function nPe() {+ M5.controller = rNe({route: Q.route,followView: C9,adoptFollowView: w9,@@ -77545,12 +77544,12 @@ function L5(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 = wTe(s$(location.search)), Ks(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({+ 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 = ETe(a$(location.search)), Ks(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({count: null,...O7()})), L("#loadSentinel").hidden = !0, U7()) return;let r = L("#grid"), i = q7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== u2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Ks(L("#grid")));+ (a?.dataset.skeleton !== l2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Ks(L("#grid")));}function R5() {L("#catalogFilter").style.display = "none", w7();@@ -77565,13 +77564,13 @@ function z5() {});return Promise.race([I5.entityShapesReady ||= G8(), e]);}-function nPe() {+function rPe() {let e = decodeURIComponent(location.pathname);if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();else if (/^\/assets\/\d+$/.test(e)) R5();else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();else if (e === "/junk-files") L5("正在读取垃圾文件");- else if (e === "/jav" && S$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");+ else if (e === "/jav" && b$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");else if (Q.managedPagePath(e)) {R5();let t = L("#stats");@@ -77585,8 +77584,8 @@ function nPe() {});} else Q.routeMeta(e) ? L5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function rPe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => c2(t, {+function iPe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => s2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",@@ -77600,13 +77599,13 @@ function rPe() {<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Cs(Ss), I5.setGridCards = (e) => Ls(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => l2(e, {- followLayout: KNe(),+ }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => c2(e, {+ followLayout: qNe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(qNe())+ }))(JNe())}), I5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {let t = new URL(e, location.origin), n = AV(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();@@ -77620,7 +77619,7 @@ var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function iPe(e, t, n) {+function aPe(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-${B5(r)}"/></svg>`;@@ -77628,7 +77627,7 @@ function iPe(e, t, n) {}).join("")}</div>`;}// src/application/filter-scroll.js-function aPe(e, t, n, r = !1) {+function oPe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -77669,7 +77668,7 @@ var V5 = {mobileFilterPath: void 0};function H5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), _9()), t && d2(L("#stats"), t);+ L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), _9()), t && u2(L("#stats"), t);}function U5() {X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");@@ -77677,7 +77676,7 @@ function U5() {function W5() {document.body.classList.remove("entity-open", "index-open"), WV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();}-function oPe() {+function sPe() {Q.route("/"), W5();}function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {@@ -77705,7 +77704,7 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {});}function K5(e) {- fFe({+ pFe({...C9(),...e}), g9({ filters: $.followSidebarFilters() });@@ -77717,10 +77716,10 @@ function J5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);t.inert = !e && q5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function sPe() {+function cPe() {q5() && J5(!1);}-function cPe() {+function lPe() {su === null && (vu({ runtimeConfigurable: !1 }), on("/healthz").then((e) => {vu({ runtimeConfigurable: !!e.configurable }), su && X5() && Z5();}).catch(() => {}));@@ -77738,12 +77737,12 @@ function Y5(e = "", t = !1) {replace: !0,state: $V.navigation.location.state});- return e ||= mV(location.pathname), FMe(V5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= mV(location.pathname), IMe(V5.settingsHost()).then((t) => (t.open(e), t));}-function lPe() {+function uPe() {pV(location.pathname) && (gV($V.navigation.location.state) ? $V.go(-1) : Q.navigatePath("/", !0));}-function uPe() {+function dPe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,@@ -77775,15 +77774,15 @@ function uPe() {}};}-function dPe() {+function fPe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = iPe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {+ e.innerHTML = aPe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {if (p8()) return;let t = e.target.closest?.("[data-nav]");t && l7(t.dataset.nav);- }), IMe(uPe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});+ }), LMe(dPe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});}-async function fPe() {+async function pPe() {let e = J, t = null;try {t = await on("/api/settings", { signal: e.signal });@@ -77797,9 +77796,9 @@ function X5() {}function Z5() {let e = X5();- cPe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);+ lPe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);}-function pPe(e) {+function mPe(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -77810,16 +77809,16 @@ function pPe(e) {}function Q5(e = X5()) {$5();- let t = pPe(e), n = g8();+ let t = mPe(e), n = g8();if (n) n.render(t);else {- let e = Sle(t);+ let e = xle(t);e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);}- let r = dP(t)?.title || "";+ let r = fP(t)?.title || "";r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Ps(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function mPe() {+function hPe() {let e = V5.manageHeaderRoot();J.listen(e, "click", (e) => {if (g8()) return;@@ -77829,7 +77828,7 @@ function mPe() {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]") && P7();- }), LMe({+ }), RMe({root: e,openManage: e7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),@@ -77844,15 +77843,15 @@ function $5() {}function e7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", yu(), Q.route(c$()), W5(), _9(), N7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", yu(), Q.route(o$()), W5(), _9(), N7());}function t7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || du : !1;}-function hPe(e = t7()) {- let t = Bk.filter(([e]) => e !== "seed");- return e ? [Vk, ...t] : t;+function gPe(e = t7()) {+ let t = Hk.filter(([e]) => e !== "seed");+ return e ? [Uk, ...t] : t;}function n7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";@@ -77860,7 +77859,7 @@ function n7() {function r7() {return AA(n7());}-function gPe(e) {+function _Pe(e) {yse(e), a7(), L("#grid").hidden || Y7();}function i7(e) {@@ -77871,7 +77870,7 @@ function a7() {e.checked = e.value === r7();}), X.catalogFilterProps && T7({ layout: D7() });}-function _Pe(e) {+function vPe(e) {bse(e), a7(), Y7();}async function o7() {@@ -77900,7 +77899,7 @@ function c7(e) {return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : ln[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}function l7(e) {- if (sPe(), V5.DIRECT_MANAGE_NAV[e]) {+ if (cPe(), V5.DIRECT_MANAGE_NAV[e]) {e7(V5.DIRECT_MANAGE_NAV[e]);return;}@@ -77925,11 +77924,11 @@ function u7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call(mn, t[0]), r = fn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && Jl && k5(!1, !0);}-function vPe() {+function yPe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- V5.mobileFilterScroll = aPe(V5.mobileFilterScroll, n, innerWidth <= 760, r);+ V5.mobileFilterScroll = oPe(V5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && V5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -77943,28 +77942,28 @@ function vPe() {});}}-function yPe() {- vPe(), [".board-filter-frame", "#count"].forEach((e) => {+function bPe() {+ yPe(), [".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 d7() {V5.stickyFrame ||= J.frame(() => {- V5.stickyFrame = 0, yPe();+ V5.stickyFrame = 0, bPe();});}-function bPe() {+function xPe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => $Me(su === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = eNe, V5.DIRECT_MANAGE_NAV = tNe, V5.settingsHost = () => ({+ }), J.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => eNe(su === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = tNe, V5.DIRECT_MANAGE_NAV = nNe, V5.settingsHost = () => ({selectSection: (e) => eH(hV(e), {replace: !0,state: $V.navigation.location.state}),- closed: lPe,+ closed: uPe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => No(e),@@ -77973,11 +77972,11 @@ function bPe() {videoLayouts: wA,followInitialRanges: P8,videoLayout: () => r7(),- setVideoLayout: _Pe,+ setVideoLayout: vPe,censored: $7,- setCensored: UPe,+ setCensored: WPe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: WPe,+ setHighContrast: GPe,receipt: (e) => C8.actionReceipt(e),failure: C8.actionFailure,syncRemote: (e) => yA(e, (e) => Z.settingsEffects[e]?.()),@@ -77997,8 +77996,8 @@ var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({">": ">","\"": """})[e]), m7 = (e) => e.repeat(f7);-function xPe(e, t, n) {- let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = kW();+function SPe(e, t, n) {+ let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = OW();return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ss()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/application/catalog.js@@ -78038,25 +78037,25 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function SPe() {+function CPe() {X.initialParams.has("loc") || (U.loc = h7(U.loc), yu());}function h7(e) {- return WMe(e, Z.sourceOnline);+ return GMe(e, Z.sourceOnline);}function g7(e = U) {- return GMe(e);+ return KMe(e);}-function CPe() {- vu(T8(KMe(U, Z.appSettings, C8.rollSeed))), k8();+function wPe() {+ vu(T8(qMe(U, Z.appSettings, C8.rollSeed))), k8();}function _7(e = null, t = !1) {- CPe(), e && (Object.assign(U, e), yu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({+ wPe(), e && (Object.assign(U, e), yu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function wPe(e, t = null) {+function TPe(e, t = null) {let n = e.id;!e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);}@@ -78065,13 +78064,13 @@ function v7(e) {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function TPe(e, t) {+function EPe(e, t) {i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);}function y7(e, t) {- e.edition_group ? ZPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? QPe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);+ e.edition_group ? QPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? $Pe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);}-async function EPe(e, t) {+async function DPe(e, t) {try {let n = await on("/api/watch-later", {method: "POST",@@ -78088,7 +78087,7 @@ async function EPe(e, t) {C8.actionFailure("更新稍后看", e);}}-async function DPe(e, t) {+async function OPe(e, t) {try {await on("/api/batch", {method: "POST",@@ -78112,8 +78111,8 @@ async function DPe(e, t) {throw C8.actionFailure("操作", e), e;}}-async function OPe(e, t, n, r) {- let i = Number(e.rating) || 0, a = UM(i, t), o = async (t, r) => {+async function kPe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = WM(i, t), o = async (t, r) => {let i = (await on("/api/feedback", {method: "POST",body: JSON.stringify({@@ -78127,7 +78126,7 @@ async function OPe(e, t, n, r) {};try {let e = await o(a, r);- C8.actionReceipt(e ? `已评 ${HM(e)} 星` : "已取消评分", { undo: () => o(i) });+ C8.actionReceipt(e ? `已评 ${UM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {throw r?.aborted || C8.actionFailure("评分", e), e;}@@ -78156,9 +78155,9 @@ async function b7(e) {e[n] && t.set(n, e[n]);});}- return ZMe(t.toString(), X.topsQueryParams(e).toString());+ return QMe(t.toString(), X.topsQueryParams(e).toString());}-function kPe() {+function APe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -78178,7 +78177,7 @@ async function S7(e) {t === X.facetCountsSeq && (e.type === "home" && (n9.facets = n), g9({ latest: Q7(n, e) }));}function C7(e) {- kPe();+ APe();let t = s5();if (t.type === "entity") {let n = { ...t.filters };@@ -78195,7 +78194,7 @@ function C7(e) {} }), Q.route(g7()), W5(), N7();} else e(U), yu(), Q.route(g7()), x7(U), S7(Wl);}-function APe() {+function jPe() {return {tiers: null,tiersPending: !1,@@ -78231,9 +78230,9 @@ function T7(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || APe(),+ ...X.catalogFilterProps || jPe(),...e- }, !X.catalogFilterMounting && (zV(t) ? UV(t, e) : (!t.firstChild && !n && (t.innerHTML = xPe(X.catalogViews(), X.catalogFilterProps.state, O7()), Ks(t)), X.catalogFilterMounting = HV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (zV(t) ? UV(t, e) : (!t.firstChild && !n && (t.innerHTML = SPe(X.catalogViews(), X.catalogFilterProps.state, O7()), Ks(t)), X.catalogFilterMounting = HV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0}).then(() => UV(t, X.catalogFilterProps)).finally(() => {@@ -78258,17 +78257,17 @@ function E7() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = qk(e, U.sort, U.dir);+ let t = Yk(e, U.sort, U.dir);t && (U.sort = t.sort, U.dir = t.dir, yu(), Z7());},- reshuffle: () => HPe(),+ reshuffle: () => UPe(),setLayout: (e) => {- t7() ? i7(e) : gPe(e);+ t7() ? i7(e) : _Pe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await QMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ let n = (await $Me(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];return e === "performers" ? n.map(A7) : n.map(j7);}};@@ -78321,7 +78320,7 @@ function j7(e) {logo: e.has_logo ? qa(e.k, "icon", e.logo_version) : ""};}-function jPe(e, t) {+function MPe(e, t) {X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, T7({tiers: null,tiersPending: !0,@@ -78341,7 +78340,7 @@ async function N7() {U.seed || "",t7()]);- jPe(n, e);+ MPe(n, e);let i;try {i = await b7(t);@@ -78397,7 +78396,7 @@ async function N7() {latest: null});}-function MPe(e, t) {+function NPe(e, t) {n9.total = e, U.state === "trash" && (D5.trashCount = {total: n9.total,shown: t@@ -78466,10 +78465,10 @@ async function R7() {filters: U},detailReturnBarsContext: null- }), a9(!1), U.state === "ads") return FPe(e);+ }), a9(!1), U.state === "ads") return IPe(e);if (X.controller.page === "/junk-files" && B7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;- _Ne();+ vNe();} else Q8();return L7(), L("#count").classList.remove("manage-static", "junkcount"), V7(e);}@@ -78481,10 +78480,10 @@ function B7() {kl(e), WV(e), X.controller.clear(), e.innerHTML = "";}function V7(e) {- return G7("/", PPe, e, { place: mFe });+ return G7("/", FPe, e, { place: hFe });}-function NPe(e) {- return G7("/junk-files", LPe, e);+function PPe(e) {+ return G7("/junk-files", RPe, e);}function H7() {return !!RV(L("#grid"));@@ -78519,7 +78518,7 @@ function K7() {});}function q7(e = "正在读取作品") {- return HJ(e, J7());+ return VJ(e, J7());}function J7() {return U ? LA(K7()) : 16 / 9;@@ -78533,7 +78532,7 @@ function Y7() {seekSeconds: Z.appSettings.seekSeconds}));}-function PPe() {+function FPe() {let e = decodeURIComponent(location.pathname), t = fn(e), n = U.state === "trash";return {mode: "catalog",@@ -78555,9 +78554,9 @@ function PPe() {mix: t && e !== "/wall" && !n && U.browse !== "folders",shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: MPe,+ onCount: NPe,onCountFailed: () => T7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : PK({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : NK({jav: t7() && !t,configurable: su,filtered: !t@@ -78565,11 +78564,11 @@ function PPe() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function FPe(e) {+function IPe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), L5("正在读取垃圾文件")), W5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), NPe(e);+ return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), L5("正在读取垃圾文件")), W5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), PPe(e);}-async function IPe(e, t) {+async function LPe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await on("/api/batch", {@@ -78594,9 +78593,9 @@ async function IPe(e, t) {throw C8.actionFailure("操作", e), e;}}-function LPe() {+function RPe() {return {- ...s$(location.search),+ ...a$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -78605,15 +78604,15 @@ function LPe() {selected: new Set(Kl),countRow: L("#count"),settled: z7,- skeletonHtml: () => c2("正在读取垃圾文件", {+ skeletonHtml: () => s2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function RPe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), vu(T8(UMe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {+function zPe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), vu(T8(WMe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -78634,21 +78633,21 @@ function RPe() {};};}-function zPe() {+function BPe() {J.handler(L("#wallBtn"), "onclick", () => {k5(!1, !0);let e = s5(), t = {...Y.activeFilterState(),jav: t7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(OK(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(DK(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) => gF(e, t),- displayName: (e, t) => hF(e, t),+ titleHtml: (e, t) => _F(e, t),+ displayName: (e, t) => gF(e, t),tagLabel: (e) => Nl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {@@ -78656,11 +78655,11 @@ function zPe() {return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},wallDetails: y7,- open: (e, t) => TPe(e, t),- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : wPe(e, t),+ open: (e, t) => EPe(e, t),+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : TPe(e, t),openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : f9(e.id),openShorts: () => f9(),- openMix: (e, t) => XPe(e, e, !0, t),+ openMix: (e, t) => ZPe(e, e, !0, t),openEntity: (e, t) => y5(e, t),openUnowned: () => _7({ owner: "none" }, !0),toggleTag: (e) => {@@ -78672,9 +78671,9 @@ function zPe() {});},toggleSelection: (e, t) => A5(e, t),- watchLater: (e, t) => EPe(e, t),- rate: (e, t, n, r) => OPe(e, t, n, r),- resourceOperation: (e, t) => DPe(e, t),+ watchLater: (e, t) => DPe(e, t),+ rate: (e, t, n, r) => kPe(e, t, n, r),+ resourceOperation: (e, t) => OPe(e, t),mixRelated: (e) => v7(e),canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {@@ -78714,7 +78713,7 @@ function zPe() {X.catalogFilterProps && T7({ comboHidden: !0 });};}-function BPe() {+function VPe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {Jl && k5(!1, !0), Q.route(e);@@ -78731,10 +78730,10 @@ function BPe() {return Y.sourceHint(e.message);}},- operate: (e, t) => IPe(e, t)+ operate: (e, t) => LPe(e, t)};}-X.controller = new qMe();+X.controller = new JMe();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -78768,7 +78767,7 @@ async function X7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), SPe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), CPe(), Z.sourceOnline;}function Z7() {let e = Q.surfacePath();@@ -78779,7 +78778,7 @@ function Z7() {state: $V.navigation.location.state}), t;}-function VPe(e) {+function HPe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78811,7 +78810,7 @@ function Q7(e, t) {value: e.k,label: Ln[e.k] || e.k,n: e.n ?? null,- dot: VPe(e.k),+ dot: HPe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78824,7 +78823,7 @@ function Q7(e, t) {duration: !!e.stats?.duration};}-async function HPe(e = !1) {+async function UPe(e = !1) {if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || Jl || Kl.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;@@ -78855,23 +78854,23 @@ function $7() {function e9(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function UPe(e) {+function WPe(e) {localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && kl();}-function WPe(e) {+function GPe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function t9(e) {return lc(e, { drag: !0 });}-function GPe() {+function KPe() {["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);}-function KPe() {+function qPe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function qPe() {+function JPe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",@@ -78889,10 +78888,10 @@ function qPe() {location.pathname === "/" && R7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();+ U.sort = Z.appSettings.defaultSort, U.dir = Xk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();},sortDirection: () => {- U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();+ U.dir = Xk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -78901,14 +78900,14 @@ function qPe() {},seekSeconds: () => Y7(),groupCollapse: () => s7(),- feedAutoScroll: () => vNe(),+ feedAutoScroll: () => yNe(),feedLimit: () => $8(),feedCompilations: () => $8(),miniplayer: () => {Z.appSettings.miniplayer || i8()?.closeMiniplayer();},javImage: () => {- Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), YPe();+ Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), XPe();},searchHistoryLimit: () => UV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {@@ -78919,7 +78918,7 @@ function qPe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = Ts;}-function JPe() {+function YPe() {Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js@@ -78955,7 +78954,7 @@ function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), d7(), e && Q.route(Ql || "/");}-function YPe() {+function XPe() {i8()?.repaintPoster();}function o9(e, t, n, r, i = null, a = {}) {@@ -78980,13 +78979,13 @@ function o9(e, t, n, r, i = null, a = {}) {Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });} else return l9(n == null ? null : +n, !1, s, i, r);}-function XPe(e, t = e, n = !0, r = null) {+function ZPe(e, t = e, n = !0, r = null) {return o9("mix", e, t, n, r);}-function ZPe(e, t = e, n = !0, r = null) {+function QPe(e, t = e, n = !0, r = null) {return o9("editions", e, t, n, r);}-function QPe(e, t = e, n = !0, r = null) {+function $Pe(e, t = e, n = !0, r = null) {return o9("parts", e, t, n, r);}function s9(e, t = null, n = !0) {@@ -79089,9 +79088,9 @@ async function d9(e, t = !0) {}), d7());}async function f9(e = null, t = !0) {- t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await PMe(n9.immerseHost)).open(e));+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await FMe(n9.immerseHost)).open(e));}-function $Pe() {+function eFe() {n9.total = 0, n9.facets = null, n9.stageHost = {player: {settings: () => Z.appSettings,@@ -79107,18 +79106,18 @@ function $Pe() {openItem: (e) => void l9(e)}, n9.stageOpen = () => !!i8()?.isOpen();}-function eFe() {+function tFe() {n9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => gF(e),- displayName: (e) => hF(e),+ titleHtml: (e) => _F(e),+ displayName: (e) => gF(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => Nl(e),isDurationTag: (e) => Bn.has(e),tagCandidates: () => n9.facets && n9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => c2("正在读取推荐", {+ relatedSkeletonHtml: () => s2("正在读取推荐", {cards: !0,className: "related-skeleton"}),@@ -79165,12 +79164,12 @@ function eFe() {behavior: "smooth"});},- addToPlaylist: (e) => MNe(e),- saveMix: (e) => jNe(e),+ addToPlaylist: (e) => NNe(e),+ saveMix: (e) => MNe(e),editPlaylist: () => x9("/playlists"),openPlaylists: () => x9("/playlists"),reveal: (e) => m5(e),- sync: (e) => CNe(e),+ sync: (e) => wNe(e),trashChanged: async (e, t) => {U.state === "ads" && (t || e === "trash") && (t || (TV(), a9(!0, !1, { miniplayer: !1 })), await R7());},@@ -79180,7 +79179,7 @@ function eFe() {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => hF(e),+ displayName: (e) => gF(e),route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => _7(),openItem: (e) => void l9(e),@@ -79201,7 +79200,7 @@ var p9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function tFe() {+async function nFe() {il(), await p9.writePostSetupTutorialDone(!1), await m9();}async function m9() {@@ -79255,7 +79254,7 @@ async function m9() {}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function nFe() {+function rFe() {if (vu({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), p9.postSetupTutorialDone = null, p9.postSetupTutorialNeedsReopen = !1, cu) {Yc("pending"), p9.postSetupTutorialDone = !1, p9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);@@ -79414,7 +79413,7 @@ function b9() {function x9(e) {Q.route(e), vu({ pageOpens: lu + 1 });}-function rFe() {+function iFe() {Q.routeMeta = (e) => {let t = AV(e);return t ? { route: t } : null;@@ -79422,7 +79421,7 @@ function rFe() {let t = AV(e);return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !bV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? f9(KPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? XNe() : e) : (k5(!1, !0), x9(N5({+ e === "/immerse" ? f9(qPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? ZNe() : e) : (k5(!1, !0), x9(N5({kind: e.slice(1),q: "",scope: "local",@@ -79431,7 +79430,7 @@ function rFe() {})));};}-function iFe() {+function aFe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,@@ -79450,15 +79449,15 @@ function iFe() {}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function aFe(e, t, n) {+function oFe(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 oFe(e, t = 0, n = 0) {- return n > 0 ? aFe(e, t, n) : Cs(e);+function sFe(e, t = 0, n = 0) {+ return n > 0 ? oFe(e, t, n) : Cs(e);}-async function sFe(e) {+async function cFe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -79473,14 +79472,14 @@ async function sFe(e) {await t(2e3);}}-function cFe(e) {+function lFe(e) {let t = e.note || ((e) => bs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Cs, r = e.progress || ((e, t, n) => oFe(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 || Cs, r = e.progress || ((e, t, n) => sFe(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;- sFe({+ cFe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -79529,7 +79528,7 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function lFe(e) {+function uFe(e) {let t = (e.results || []).filter((e) => !e.ok).length;C8.toast({ text: Ci(e) }, {warn: !!t,@@ -79544,7 +79543,7 @@ function lFe(e) {function S9() {return ua(C9());}-function uFe() {+function dFe() {return $.controller.read();}function C9() {@@ -79565,17 +79564,17 @@ function C9() {function w9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function dFe() {+function fFe() {let e = RV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function T9() {- return !!dFe();+ return !!fFe();}function E9(e) {T9() && UV(L("#stats"), e);}-function fFe(e, t = {}) {+function pFe(e, t = {}) {return $.controller.route(e, t);}function D9(e = !1) {@@ -79599,16 +79598,16 @@ async function O9(e, t = !0, n = null, r = !1) {resume: t ? null : r9()}), d7();}-async function pFe() {- await i9(), a9(!1, !1, { miniplayer: !1 }), TV(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (uFe(), E9({ view: C9() })) : vu({ pageOpens: lu + 1 }));+async function mFe() {+ await i9(), a9(!1, !1, { miniplayer: !1 }), TV(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (dFe(), E9({ view: C9() })) : vu({ pageOpens: lu + 1 }));}-function mFe(e) {+function hFe(e) {let t = document.createElement("div");return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-function hFe() {+function gFe() {$.followFeedHelpers = Fl({wireDrag: (e) => {e && t9(e);@@ -79617,12 +79616,12 @@ function hFe() {e && lc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: cFe+ jobProgress: lFe}), $.followFeedActions = {loaded: (e) => G5(e),openDetail: (e) => O9(e),openAuthor: (e) => Q.navigatePath(hn("creator", e)),- toggleSelection: (e, t) => RNe(e, t),+ toggleSelection: (e, t) => zNe(e, t),setImagesOnly: (e) => {Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();},@@ -79632,7 +79631,7 @@ function hFe() {canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion(),toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),failure: (e, t) => C8.actionFailure(e, t),- checkReport: (e) => lFe(e)+ checkReport: (e) => uFe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {@@ -79642,7 +79641,7 @@ function hFe() {view: C9,adoptView: w9,rememberReturn: (e) => vu({ followDetailReturnPath: e }),- close: () => void pFe(),+ close: () => void mFe(),open: (e, t, n) => void O9(e, !0, t, n),drawer: G5,openAuthor: (e) => Q.navigatePath(hn("creator", e))@@ -79651,7 +79650,7 @@ function hFe() {failure: C8.actionFailure});}-function gFe() {+function _Fe() {$.controller = pa({location: () => location,view: C9,@@ -79690,8 +79689,8 @@ function gFe() {}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function _Fe() {- $Se(), jc(document), yo(document.documentElement, { variant: "page" }), yo(L("#drawerScroll")), J.own(Oc()), Ta(document.body), X.homeHasFeed = hNe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {+function vFe() {+ tCe(), jc(document), yo(document.documentElement, { variant: "page" }), yo(L("#drawerScroll")), J.own(Oc()), Ta(document.body), X.homeHasFeed = gNe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {content: null,filters: {},latest: null@@ -79702,7 +79701,7 @@ function _Fe() {], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/react/search/recommendations.ts-async function vFe(e) {+async function yFe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79814,7 +79813,7 @@ async function vFe(e) {];}// src/application/search-morph.js-function yFe(e, t, n, r, i, a, o) {+function bFe(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);@@ -79839,7 +79838,7 @@ var k9 = {function A9() {k9.searchControl?.close();}-function bFe(e) {+function xFe(e) {let t = e ? Ia({...e,is_jav: !!e.code@@ -79858,7 +79857,7 @@ function M9(e) {if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Sc();t.classList.add("search-morphing");- let h = t.animate(yFe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(bFe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -79867,13 +79866,13 @@ function M9(e) {k9.searchMorph === h && j9();});}-function xFe() {+function SFe() {return n9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;}-function SFe(e) {+function CFe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function CFe() {+function wFe() {k9.searchControl = null, k9.searchActions = {search: (e) => {X.rememberSearchValue(), a9(!1), U.q = e, yu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);@@ -79885,9 +79884,9 @@ function CFe() {$.followMediaView = t, O9(e, !0, n);}}, k9.searchHelpers = {- pool: () => j_e(U, on),- recommendations: () => vFe(on),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : bFe(e)}</span>`,+ pool: () => M_e(U, on),+ recommendations: () => yFe(on),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : xFe(e)}</span>`,present: (e) => Uo(e),dismiss: (e) => Wo(e),wireScroller: (e) => lc(e),@@ -79921,7 +79920,7 @@ function CFe() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function wFe() {+function TFe() {k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());}, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(L("#searchBtn"), "onclick", () => {@@ -79950,7 +79949,7 @@ function wFe() {return;}if (n9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), i8().requestClose());+ e.defaultPrevented || (e.preventDefault(), i8().requestEscape());return;}if (L("#drawer").classList.contains("open")) {@@ -79963,7 +79962,7 @@ function wFe() {}return;}- if (SFe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (CFe(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) {@@ -79971,26 +79970,26 @@ function wFe() {return;}}- let t = xFe();+ let t = SFe();if (t) {if (e.key === "t" || e.key === "T") {e.preventDefault(), i8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), kM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), AM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), OM(t);+ e.preventDefault(), kM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), Lj(t, ".vjs-mute-control");+ e.preventDefault(), Rj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), Lj(t, ".vjs-fullscreen-control");+ e.preventDefault(), Rj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {@@ -80001,7 +80000,7 @@ function wFe() {});}// src/history/links.ts-function TFe(e) {+function EFe(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;@@ -80024,23 +80023,23 @@ var N9 = {shellActions: void 0,routing: void 0};-function EFe() {+function DFe() {let e = J, t = (e) => {e.kind === "item" ? l9(e.id, !1) : e.kind === "jav" ? d9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : o9(e.queue, e.key, e.item, !1);};- if (mNe(), I5.entityShapesReady = G8(), nPe(), location.pathname === "/") {+ if (hNe(), I5.entityShapesReady = G8(), rPe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), dPe(), N9.shellActions = {+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), fPe(), N9.shellActions = {openSettings: (e) => Y5(e, !0),closeSettings: () => u8()?.close(!1),openItem: (e) => void l9(e),openEntity: (e, t) => void y5(e, t),openTag: (e) => {- oPe(), F7(e);+ sPe(), F7(e);},- openTasteSignal: ANe,+ openTasteSignal: jNe,navigate: (e) => {let n = new URL(e, location.href), r = yV(n.pathname, n.search);if (r) {@@ -80059,9 +80058,9 @@ function EFe() {toast: (e, t) => C8.toast(e, t),failure: C8.actionFailure,revealSource: m5,- reopenTutorial: tFe,- routeReview: NNe,- routeFollowManage: YNe,+ reopenTutorial: nFe,+ routeReview: PNe,+ routeFollowManage: XNe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},@@ -80072,10 +80071,10 @@ function EFe() {},exitSelectMode: () => k5(!1, !1),personAvatar: (e, t, n) => M5.personAvatar(e, t, n),- authorAvatar: (e) => ZNe(e),- showIndexTags: QNe,+ authorAvatar: (e) => QNe(e),+ showIndexTags: $Ne,openFollowAuthor: F5,- openFollowTag: $Ne,+ openFollowTag: ePe,openPlaylist: (e, t) => void s9(e, t, !0),canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {@@ -80140,23 +80139,23 @@ function EFe() {}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = TFe(e);+ let t = EFe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));}), J.own($V.listen((e) => {Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !bV(e.location.pathname) && a9(!1), N9.routing && !e.claimed && b9();- })), MMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), mPe(), UNe(), Z5(), Promise.all([+ })), NMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), hPe(), WNe(), Z5(), Promise.all([X7(),- fPe(),+ pPe(),I5.entityShapesReady]).then(() => {- e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), GPe(), N9.routing = !0, vu({ pageOpens: 1 }), b9(), d7());+ e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), KPe(), N9.routing = !0, vu({ pageOpens: 1 }), b9(), d7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar P9 = !1;-async function DFe(e, t) {+async function OFe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -80178,7 +80177,7 @@ async function DFe(e, t) {}}// src/application/chrome.js-function OFe() {+function kFe() {(() => {let e = J, t = ["#brandHome",@@ -80240,7 +80239,7 @@ function OFe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), on("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- XW(t.libraries);+ YW(t.libraries);let n = [["","全部媒体库",@@ -80278,14 +80277,14 @@ function OFe() {(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" && DFe(t, () => {+ t.getAttribute("aria-pressed") !== "true" && OFe(t, () => {Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), SA();});})), SA();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 = qo(g, v, _);- e.own(y.dispose), e.own(Dse(v)), zMe({+ e.own(y.dispose), e.own(Ese(v)), BMe({root: _,store: Z.settingsStore,openDetails: () => {@@ -80428,12 +80427,12 @@ function OFe() {})(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.js-function kFe() {- _Fe(), rFe(), rPe(), iFe(), qPe(), VMe(), RPe(), nFe(), DNe(), $Pe(), WNe(), zPe(), bNe(), PNe(), hFe(), ePe(), ONe(), gFe(), tPe(), kNe(), bPe(), BPe(), CFe(), eFe(), wFe(), JPe(), EFe(), OFe(), J.own(B7), J.own(v9);+function AFe() {+ vFe(), iFe(), iPe(), aFe(), JPe(), HMe(), zPe(), rFe(), ONe(), eFe(), GNe(), BPe(), xNe(), FNe(), gFe(), tPe(), kNe(), _Fe(), nPe(), ANe(), xPe(), VPe(), wFe(), tFe(), TFe(), YPe(), DFe(), kFe(), J.own(B7), J.own(v9);}// src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function AFe(e, t) {+function jFe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -80451,7 +80450,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), jFe = (e) => {+}, { canvas: null }), MFe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -80461,17 +80460,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, MFe = (e) => {+}, NFe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = jFe(e), r = n > 0 ? AFe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = MFe(e), r = n > 0 ? jFe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), e.hasAttribute("title") && e.dataset.middleTitle !== "true" || (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, MFe(e);+ t.raf = 0, NFe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -80484,7 +80483,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function NFe(e = document) {+function PFe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -80558,7 +80557,7 @@ var q9 = ["jav-detail","wants","index"-], PFe = {+], FFe = {catalog: [...q9,...J9,@@ -80579,10 +80578,10 @@ var q9 = ["avatar-choices"]};-function FFe() {+function IFe() {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 PFe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of FFe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -80595,12 +80594,12 @@ function FFe() {})), t || Promise.resolve();};}-function IFe() {+function LFe() {let e = Pt({- queryKey: vF,- queryFn: ({ signal: e }) => bF(e),- refetchInterval: (e) => yF(e.state.data)- }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(FFe), r = e.data?.result_versions;+ queryKey: yF,+ queryFn: ({ signal: e }) => xF(e),+ refetchInterval: (e) => bF(e.state.data)+ }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(IFe), r = e.data?.result_versions;return (0, P.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -80610,24 +80609,24 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function LFe() {+function RFe() {if (!X9) {- let e = BMe();+ let e = VMe();X9 = {effects: e,owners: 0- }, e.own(NFe(document)), e.own(() => {+ }, e.own(PFe(document)), e.own(() => {kl(), H.cancelQueries();- }), e.own(NMe), e.own(whe), e.own(Vo);+ }), e.own(PMe), e.own(whe), e.own(Vo);}return X9.owners += 1, X9.effects.resume(), X9;}-function RFe() {+function zFe() {let [e, t] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {- let e = X9 === null, n = LFe(), r = jMe(t);+ let e = X9 === null, n = RFe(), r = MMe(t);if (e) try {- kFe();+ AFe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}@@ -80637,11 +80636,11 @@ function RFe() {}, []), /* @__PURE__ */ (0, F.jsx)(f_e, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, F.jsx)(IFe, {}) : null+ background: e ? /* @__PURE__ */ (0, F.jsx)(LFe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function zFe(e) {+function BFe(e) {let t = Q9.get(e);if (t) return t;let n = (0, Rt.createRoot)(e, p_e);@@ -80649,13 +80648,13 @@ function zFe(e) {let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(RFe, {}))), n;+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(zFe, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-zFe($9);-export { FI as $2ec61d1d4f780267$export$a8a3e93435678ff9, UI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, oR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, PT as $72abaeab4d80592f$export$78efe591171d7d45, QR as $76d00c5a4edb230a$export$76ccd210b9029917, YR as $76d00c5a4edb230a$export$816b5d811295e6bc, tz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, rz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, JR as $76d00c5a4edb230a$export$f850895b287ef28e, Ufe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Hfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, zfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, sz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Kfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, xw as $ea3928288112382f$export$439d29a4e110a164, yR as $f2ff30fde7b014be$export$3ddf2d174ce01153, ER as $fe21c36db05242bb$export$a98f0dcb43a68a25, DR as $fe21c36db05242bb$export$d7b12c4107be0d61, Ope as $l, nA as ACCENTS, _Ee as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, vEe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, GW as ArtSlot, q as Button, pI as ButtonLink, Lpe as Bx, Qt as CLOUD_LOCATIONS, X1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, c1 as CONFIGURATION_KEY, KY as CONFIGURATION_URL, yEe as COOKIE_TEXT_LIMIT, Y$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, G$ as CUSTOM_SOURCES_KEY, W$ as CUSTOM_SOURCES_URL, sV as Checkbox, oV as CheckboxGlyph, ZB as ChevronSortDown, sZ as Chip, J2 as CloudDownloadDialog, XH as CollapseChevron, YH as CollapseRegion, f$ as CollectionSummary, Zbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, Xxe as DIRECTORY_TEMPLATE_ERROR, j0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, fY as DUPLICATES_KEY, qJ as DataTableFooter, UJ as DataTableFrame, KJ as DataTableSort, nU as Disclosure, kke as DownloadsPanel, ype as E3, Qbe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, jpe as Ea, Jpe as EmptyFocusButton, zz as EmptyState, eU as ErrorText, Age as ExternalLink, Sr as FEEDS_KEY, eX as FEED_SCHEDULE_KEY, D$ as FIELDSET_FOOT, Oje as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, $Y as FOLLOW_SCHEDULE_KEY, Nge as Fact, Mge as FactList, tU as FieldLabel, L$ as Fieldset, I$ as FieldsetTitle, rI as FilterGlass, iI as FilterGlassRows, nI as FilterIconButton, oI as FilterPill, kge as Footer, Cz as Gg, cI as GlassPill, $H as Help, Az as HintText, bje as IDLE_POLL_MS, Bbe as IDLE_REPAIR, ZF as IconButton, Fz as Input, Pz as InputBase, wA as JAV_LAYOUTS, N0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Q3 as JavHeader, Pbe as KEEP_LABELS, wr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, mH as LIBRARY_PROCESSING_KEY, RY as LINKS_KEY, zY as LINK_CHECK_KEY, Sxe as LINK_KINDS, BY as LINK_PRUNE_KEY, Ln as LOC, kz as Label, B$ as LibraryProcessingCard, nB as LibraryShortcuts, AH as LinkButton, WH as LoadingDots, xpe as M6, Dxe as MEDIA_PROCESSING_KEY, nX as MEDIA_PROCESSING_URL, _Y as MEDIA_REPAIR_KEY, gY as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Qo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, tV as MENU_ITEM, nV as MENU_ITEM_INTERACTIVE, eV as MENU_POPOVER_SURFACE, PH as MenuDialog, VG as MixCard, Iz as ModalFrame, hy as MotionConfigContext, Oz as NR, Rz as Note, Wpe as OA, aX as ORGANIZE_KEY, cX as ORPHAN_RECORDS_KEY, Sz as OV, hz as P7, NTe as PHASES, qY as PICK_FOLDER_URL, H$ as PLAYLISTS_KEY, yDe as POLICY_COLUMNS, xDe as POLICY_COVER_NOTE, bDe as POLICY_MATRIX, K1 as POLICY_SUMMARY, GJ as Pagination, z$ as PathLine, lF as PillTabList, KH as Progress, SY as QUALITY_GOALS_KEY, A$ as REPAIR_CARD_TEXT, vY as REPAIR_LIBRARIES_KEY, pX as RESOURCE_APPLY_KEY, fX as RESOURCE_SCAN_KEY, KTe as RESULT_PANEL, qTe as RESULT_SECTION, Xbe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, $be as REVIEW_DECISION_LABELS, TY as REVIEW_KEY, EY as REVIEW_LABELS, OY as REVIEW_QUEUES, kY as REVIEW_QUEUE_LABELS, WW as RetryNote, Upe as Rf, Ege as Rows, hEe as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, mEe as SCRAPING_SETTINGS_URL, zU as SEGMENT, RU as SEGMENTED_TRACK, QY as SETTINGS_KEY, JY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, u3 as STATS_KEY, Tge as Section, Oge as SectionSkeleton, LU as SegmentedRadioGroup, C_e as SegmentedTabList, SW as Segments, WJ as Select, AU as Select$1, f1 as SelectField, jU as SelectItem, eY as SelectionActions, Pk as SelectionDock, tY as SelectionPopover, ZH as SettingsCard, wge as SettingsRow, QH as SettingsSectionLabel, Lge as SiteLabel, WU as SortDirectionIcon, TW as SortKeys, mQ as SourceAvatar, oU as SourceLabel, rU as SourceMark, Dge as Stack, R$ as StatusLabel, F2 as Switch, vF as TASKS_KEY, lje as TASTE_REFRESH_KEY, uje as TASTE_WINDOWS, tX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, xF as TRIGGER_LABELS, PJ as Table, nY as TableColumnControls, rY as TableColumnResizer, aY as TableSelectionHeader, t$ as TagManager, jge as TaskCenterLink, qH as TaskProgress, Mz as TextField, jz as TextFieldContext, xz as Un, g$ as WANTS_KEY, i4 as WantMagnets, kp as WithPromise, gz as Wt, bz as Xc, Dz as Xf, Cpe as Xt, bpe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Hpe as aB, si as addAlias, oi as addSource, v$ as addWant, cb as animate, B as apiGet, V as apiSend, vA as appSettingsStore, mSe as applyConfirmText, SX as applyLeftovers, pSe as applyPlanText, gSe as applyText, SA as applyTheme, i_ as asNumber, rSe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Sq as autoResetPageIndex, Za as avatarInner, g3 as bandRows, Zxe as baseName, zbe as batchOperate, zk as boundedPreference, Ibe as bulkCloudPreferences, Uz as busyProps, Vpe as cB, zke as cachedMagnetStates, yp as calcGeneratorVelocity, oxe as canApprove, jf as cancelFrame, cSe as candidateText, UH as cardClass, LA as cardRatio, yz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Exe as checkLine, Ci as checkReceipt, wi as checkSummary, xEe as checkText, Di as checkedText, pG as clickedBlank, Obe as cloudLocations, D0 as cloudProxySkeleton, Wx as clsx, Ppe as cn, kh as collectMotionValues, Hq as columnVisibilityFeature, kJ as column_getCanSort, TJ as column_getSortFn, ixe as commonReviewSources, dV as configurationSection, mje as configureTasteBrowser, Hc as confirmModal, iq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Nq as createColumnHelper, cEe as createPlaylist, ji as credentialDone, C0 as credentialsSkeleton, hxe as currentReviewRow, oF as cx, Tz as dZ, fxe as decisionPayload, pxe as decisionReceipt, dxe as defaultChoice, uEe as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, VTe as discoveryArtwork, C$ as discoveryKey, GDe as discoveryScore, Mbe as distinctName, xi as dropSources, Bpe as du, Lbe as duplicateVictims, LF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, xq as expandRowModel, fz as f1, Fr as feedIntervalText, $$ as fetchAmaneBridge, $r as fetchCheckJob, l1 as fetchConfiguration, Q$ as fetchCoverJob, Qr as fetchCredentials, K$ as fetchCustomSources, MQ as fetchDiagnostics, w$ as fetchDiscoveries, mY as fetchDuplicates, Rue as fetchEarlier, Axe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, kxe as fetchFollowSchedule, OX as fetchJunkSummary, UY as fetchLinkCheck, WY as fetchLinkPrune, HY as fetchLinkStats, Oxe as fetchMediaProcessing, yY as fetchMediaRepair, tr as fetchMediaSources, oX as fetchOrganize, Uxe as fetchOrganizeExample, lX as fetchOrphanRecords, fi as fetchPending, U$ as fetchPlaylists, CY as fetchQualityGoals, bY as fetchRepairLibraries, ei as fetchResolveJob, hX as fetchResourceApply, mX as fetchResourceScan, FY as fetchReview, DX as fetchReviewCounts, rX as fetchSettings, Z$ as fetchSources, d3 as fetchStats, ti as fetchSuggestions, bF as fetchTasks, I3 as fetchTaste, hje as fetchTasteJob, jxe as fetchThumbnailJobs, kX as fetchTrashSummary, _$ as fetchWants, nxe as filterReviewRows, Fn as firstGrapheme, BK as flexRender, Aje as flowGraph, jje as flowLabel, kAe as fmtCount, kn as fmtDur, jn as fmtSize, Lue as foldByKind, NF as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, IF as followupDetail, Iue as followupTally, Af as frame, upe as g4, Gq as getDefaultPaginationState, IA as gridLayout, Wr as groupByAuthor, MF as groupFollowups, MY as groupReviewRows, fSe as hasChanges, gX as hasResourceRoots, DF as hasResultProblems, xje as historySpan, pz as i2, yje as importTasteExport, w0 as indexersSkeleton, dp as interpolate, b$ as invalidateWants, FF as isActive, Pr as isBroken, Or as isLayout, eg as isMotionValue, DY as isReviewCategory, PF as isRoutine, T0 as javBrowserSkeleton, F0 as javContentSkeleton, kA as javLayout, P0 as javTagSkeleton, xSe as junkBreakdown, dEe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, f3 as known, mpe as l7, jF as latestOfKind, VAe as lengthRows, ir as localTime, _i as lookupFeedActor, _pe as m7, wz as mM, cn as mapLimit, di as markItem, _3 as max, zAe as mediumRows, zue as mergeFinished, v3 as min, bxe as mirrorText, Ube as missingToolText, hY as mixedCloudPreferences, GF as momentText, db as motion, jh as motionValue, $xe as organizeOutcome, X0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, $V as peachHistory, $V as peachHistory$1, uxe as pendingGenres, jAe as percentText, Kxe as pickOrganizeFolder, Qxe as planSummary, p3 as playedFor, NAe as playedItemUrl, yF as pollInterval, As as popCount, sEe as posterUrl, lG as previewLibraryColor, Gxe as previewOrganize, Kbe as previewUrl, AF as problemDestination, RF as progressText, aU as providerIcon, Txe as pruneText, yX as purgeCount, iSe as purgeOrphan, Ez as pv, zpe as qE, H as queryClient, mz as r2, Dje as radarRows, IAe as radialArc, LAe as radialBarSize, FAe as radialCeiling, PAe as radialSlices, eM as randomId, Tje as rankDetail, Eje as rankShares, h3 as reachedShare, BF as readableErrorHeadline, KDe as recommendationScore, gxe as recordGenre, oSe as recordsText, fEe as recreatePlaylist, aEe as refreshPlaylists, Sl as relayoutCovers, Si as reloadFollowManage, yxe as reloadReview, wDe as rememberShape, Jxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, vje as removeTasteSource, y$ as removeWants, li as renameAliasGroup, lEe as renamePlaylist, UAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, eq as require_with_selector, ITe as resetWants, Yn as resolveFollowSort, Tp as resolveStartTime, oEe as resumeAssetId, txe as reviewGroupingOptions, jY as reviewQueueData, AY as reviewQueueOf, bSe as reviewSummary, rxe as reviewWindow, cxe as rowEvidence, PY as rowFieldName, Qq as rowPaginationFeature, yJ as rowSelectionFeature, MJ as rowSortingFeature, NY as rowSubject, lxe as rowTags, sxe as rowTitle, dpe as s5, ui as saveCredential, vX as scanLine, Ixe as schedulePollInterval, RTe as searchNote, axe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, hV as settingsPath, vxe as settleReviewRows, jbe as sharedNamePrefix, eH as shellNavigate, x8 as showToast, xn as siteMarkUrl, fq as skipFirstRun, sF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, hSe as sourceMeta, xs as spinnerHtml, cp as spring, Vz as spriteGlyph, ni as startCheck, Cxe as startLinkCheck, wxe as startLinkPrune, qxe as startOrganize, ri as startResolve, uSe as startResourceApply, lSe as startResourceScan, _je as startTasteRefresh, CF as statusLabel, Hbe as statusLine, Nr as statusText, RA as storeJavLayout, mxe as submitDecision, qF as summaryItems, Pq as tableFeatures, pq as tableMemo, Kr as tableRows, OF as taskIssues, L3 as tasteDate, Cje as tasteDimensions, Sje as tasteHours, F3 as tasteKey, fje as tasteRefetchInterval, pje as tasteTime, pF as textLang, ud as time, Dpe as tl, Xr as toggleGroup, R3 as topScores, Ape as uo, jH as useAction, AZ as useBackgroundJob, CU as useClientUpdates, Su as useConstant, eI as useHorizontalScroller, Cu as useIsomorphicLayoutEffect, dG as useLibraryTints, Ft as useMutation, cV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, Yy as useReducedMotion, Fxe as useRunSchedule, Nxe as useSaveFollowSchedule, iX as useSaveSettings, Lxe as useSaveThumbnailMode, NJ as useTable, XJ as useTablePreferences, dI as useViewGlide, Rbe as victimBytes, LTe as wantName, MAe as watchNote, m3 as watchedShare, lc as wireHorizontalScroller, Yxe as withOrganizeJob };+BFe($9);+export { FI as $2ec61d1d4f780267$export$a8a3e93435678ff9, UI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, oR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, FT as $72abaeab4d80592f$export$78efe591171d7d45, QR as $76d00c5a4edb230a$export$76ccd210b9029917, YR as $76d00c5a4edb230a$export$816b5d811295e6bc, tz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, rz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, JR as $76d00c5a4edb230a$export$f850895b287ef28e, Ufe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Hfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, zfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, sz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Kfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, Sw as $ea3928288112382f$export$439d29a4e110a164, yR as $f2ff30fde7b014be$export$3ddf2d174ce01153, ER as $fe21c36db05242bb$export$a98f0dcb43a68a25, DR as $fe21c36db05242bb$export$d7b12c4107be0d61, Ope as $l, iA as ACCENTS, yEe as AMANE_BRIDGE_CHECK_URL, J$ as AMANE_BRIDGE_KEY, bEe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, WW as ArtSlot, q as Button, pI as ButtonLink, Lpe as Bx, Qt as CLOUD_LOCATIONS, J1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, o1 as CONFIGURATION_KEY, GY as CONFIGURATION_URL, xEe as COOKIE_TEXT_LIMIT, q$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, U$ as CUSTOM_SOURCES_KEY, H$ as CUSTOM_SOURCES_URL, sV as Checkbox, oV as CheckboxGlyph, ZB as ChevronSortDown, aZ as Chip, q2 as CloudDownloadDialog, XH as CollapseChevron, YH as CollapseRegion, u$ as CollectionSummary, Qbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, kQ as DIAGNOSTICS_KEY, Zxe as DIRECTORY_TEMPLATE_ERROR, A0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, dY as DUPLICATES_KEY, KJ as DataTableFooter, HJ as DataTableFrame, GJ as DataTableSort, nU as Disclosure, Ake as DownloadsPanel, ype as E3, $be as ENTITY_REVIEW_KINDS, K1 as ENTRY_LINKS_HELP, q1 as ENTRY_LINKS_HINT, jpe as Ea, Jpe as EmptyFocusButton, zz as EmptyState, eU as ErrorText, Age as ExternalLink, Sr as FEEDS_KEY, $Y as FEED_SCHEDULE_KEY, T$ as FIELDSET_FOOT, kje as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, NZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, QY as FOLLOW_SCHEDULE_KEY, Nge as Fact, Mge as FactList, tU as FieldLabel, F$ as Fieldset, P$ as FieldsetTitle, rI as FilterGlass, iI as FilterGlassRows, nI as FilterIconButton, oI as FilterPill, kge as Footer, Cz as Gg, cI as GlassPill, $H as Help, Az as HintText, xje as IDLE_POLL_MS, Vbe as IDLE_REPAIR, ZF as IconButton, Fz as Input, Pz as InputBase, wA as JAV_LAYOUTS, M0 as JAV_RECOMMENDATION_GRID, SX as JUNK_KEY, Q3 as JavHeader, Fbe as KEEP_LABELS, wr as LAYOUTS, G1 as LIBRARY_FOLDER_HELP, mH as LIBRARY_PROCESSING_KEY, LY as LINKS_KEY, RY as LINK_CHECK_KEY, Cxe as LINK_KINDS, zY as LINK_PRUNE_KEY, Ln as LOC, kz as Label, R$ as LibraryProcessingCard, nB as LibraryShortcuts, AH as LinkButton, WH as LoadingDots, xpe as M6, Oxe as MEDIA_PROCESSING_KEY, tX as MEDIA_PROCESSING_URL, gY as MEDIA_REPAIR_KEY, hY as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Qo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, tV as MENU_ITEM, nV as MENU_ITEM_INTERACTIVE, eV as MENU_POPOVER_SURFACE, PH as MenuDialog, BG as MixCard, Iz as ModalFrame, hy as MotionConfigContext, Oz as NR, Rz as Note, Wpe as OA, iX as ORGANIZE_KEY, sX as ORPHAN_RECORDS_KEY, Sz as OV, hz as P7, FTe as PHASES, KY as PICK_FOLDER_URL, B$ as PLAYLISTS_KEY, xDe as POLICY_COLUMNS, CDe as POLICY_COVER_NOTE, SDe as POLICY_MATRIX, W1 as POLICY_SUMMARY, WJ as Pagination, L$ as PathLine, uF as PillTabList, KH as Progress, xY as QUALITY_GOALS_KEY, O$ as REPAIR_CARD_TEXT, _Y as REPAIR_LIBRARIES_KEY, fX as RESOURCE_APPLY_KEY, dX as RESOURCE_SCAN_KEY, JTe as RESULT_PANEL, YTe as RESULT_SECTION, Zbe as REVIEW_CATEGORIES, xX as REVIEW_COUNTS_KEY, exe as REVIEW_DECISION_LABELS, wY as REVIEW_KEY, TY as REVIEW_LABELS, DY as REVIEW_QUEUES, OY as REVIEW_QUEUE_LABELS, UW as RetryNote, Upe as Rf, Ege as Rows, _Ee as SCRAPING_CHECK_URL, G$ as SCRAPING_COVER_URL, K$ as SCRAPING_KEY, gEe as SCRAPING_SETTINGS_URL, zU as SEGMENT, RU as SEGMENTED_TRACK, ZY as SETTINGS_KEY, qY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, u3 as STATS_KEY, Tge as Section, Oge as SectionSkeleton, LU as SegmentedRadioGroup, C_e as SegmentedTabList, xW as Segments, UJ as Select, AU as Select$1, u1 as SelectField, jU as SelectItem, $J as SelectionActions, Fk as SelectionDock, eY as SelectionPopover, ZH as SettingsCard, wge as SettingsRow, QH as SettingsSectionLabel, Lge as SiteLabel, WU as SortDirectionIcon, wW as SortKeys, fQ as SourceAvatar, oU as SourceLabel, rU as SourceMark, Dge as Stack, I$ as StatusLabel, P2 as Switch, yF as TASKS_KEY, uje as TASTE_REFRESH_KEY, dje as TASTE_WINDOWS, eX as THUMBNAIL_JOBS_KEY, wX as TRASH_KEY, Hue as TRIGGER_LABELS, NJ as Table, tY as TableColumnControls, nY as TableColumnResizer, iY as TableSelectionHeader, $Q as TagManager, jge as TaskCenterLink, qH as TaskProgress, Mz as TextField, jz as TextFieldContext, xz as Un, m$ as WANTS_KEY, r4 as WantMagnets, kp as WithPromise, gz as Wt, bz as Xc, Dz as Xf, Cpe as Xt, bpe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Hpe as aB, si as addAlias, oi as addSource, g$ as addWant, lb as animate, B as apiGet, V as apiSend, vA as appSettingsStore, gSe as applyConfirmText, bX as applyLeftovers, hSe as applyPlanText, vSe as applyText, SA as applyTheme, i_ as asNumber, iSe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, xq as autoResetPageIndex, Za as avatarInner, g3 as bandRows, Qxe as baseName, Bbe as batchOperate, Vk as boundedPreference, Lbe as bulkCloudPreferences, Uz as busyProps, Vpe as cB, Bke as cachedMagnetStates, yp as calcGeneratorVelocity, sxe as canApprove, jf as cancelFrame, lSe as candidateText, UH as cardClass, LA as cardRatio, yz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Dxe as checkLine, Ci as checkReceipt, wi as checkSummary, CEe as checkText, Di as checkedText, fG as clickedBlank, kbe as cloudLocations, T0 as cloudProxySkeleton, Gx as clsx, Ppe as cn, kh as collectMotionValues, Vq as columnVisibilityFeature, OJ as column_getCanSort, wJ as column_getSortFn, axe as commonReviewSources, dV as configurationSection, hje as configureTasteBrowser, Hc as confirmModal, rq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Mq as createColumnHelper, uEe as createPlaylist, ji as credentialDone, x0 as credentialsSkeleton, gxe as currentReviewRow, sF as cx, Tz as dZ, pxe as decisionPayload, mxe as decisionReceipt, fxe as defaultChoice, fEe as deletePlaylist, x as diagnosticHeaders, U1 as diagnosticsSkeleton, UTe as discoveryArtwork, x$ as discoveryKey, KDe as discoveryScore, Nbe as distinctName, xi as dropSources, Bpe as du, Rbe as duplicateVictims, LF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, bq as expandRowModel, fz as f1, Fr as feedIntervalText, Z$ as fetchAmaneBridge, $r as fetchCheckJob, s1 as fetchConfiguration, X$ as fetchCoverJob, Qr as fetchCredentials, W$ as fetchCustomSources, AQ as fetchDiagnostics, S$ as fetchDiscoveries, pY as fetchDuplicates, Lue as fetchEarlier, jxe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Axe as fetchFollowSchedule, EX as fetchJunkSummary, HY as fetchLinkCheck, UY as fetchLinkPrune, VY as fetchLinkStats, kxe as fetchMediaProcessing, vY as fetchMediaRepair, tr as fetchMediaSources, aX as fetchOrganize, Wxe as fetchOrganizeExample, cX as fetchOrphanRecords, fi as fetchPending, V$ as fetchPlaylists, SY as fetchQualityGoals, yY as fetchRepairLibraries, ei as fetchResolveJob, mX as fetchResourceApply, pX as fetchResourceScan, PY as fetchReview, TX as fetchReviewCounts, nX as fetchSettings, Y$ as fetchSources, d3 as fetchStats, ti as fetchSuggestions, xF as fetchTasks, I3 as fetchTaste, gje as fetchTasteJob, Mxe as fetchThumbnailJobs, DX as fetchTrashSummary, h$ as fetchWants, rxe as filterReviewRows, Fn as firstGrapheme, zK as flexRender, jje as flowGraph, Mje as flowLabel, AAe as fmtCount, kn as fmtDur, jn as fmtSize, Iue as foldByKind, NF as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, IF as followupDetail, Fue as followupTally, Af as frame, upe as g4, Wq as getDefaultPaginationState, IA as gridLayout, Wr as groupByAuthor, MF as groupFollowups, jY as groupReviewRows, pSe as hasChanges, hX as hasResourceRoots, DF as hasResultProblems, Sje as historySpan, pz as i2, bje as importTasteExport, S0 as indexersSkeleton, dp as interpolate, v$ as invalidateWants, FF as isActive, Pr as isBroken, Or as isLayout, eg as isMotionValue, EY as isReviewCategory, PF as isRoutine, C0 as javBrowserSkeleton, P0 as javContentSkeleton, kA as javLayout, N0 as javTagSkeleton, CSe as junkBreakdown, pEe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, f3 as known, mpe as l7, jF as latestOfKind, HAe as lengthRows, ir as localTime, _i as lookupFeedActor, _pe as m7, wz as mM, cn as mapLimit, di as markItem, _3 as max, BAe as mediumRows, Rue as mergeFinished, v3 as min, xxe as mirrorText, Wbe as missingToolText, mY as mixedCloudPreferences, GF as momentText, fb as motion, jh as motionValue, eSe as organizeOutcome, Y0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, $V as peachHistory, $V as peachHistory$1, dxe as pendingGenres, MAe as percentText, qxe as pickOrganizeFolder, $xe as planSummary, p3 as playedFor, PAe as playedItemUrl, bF as pollInterval, As as popCount, lEe as posterUrl, cG as previewLibraryColor, Kxe as previewOrganize, qbe as previewUrl, AF as problemDestination, RF as progressText, aU as providerIcon, Exe as pruneText, _X as purgeCount, aSe as purgeOrphan, Ez as pv, zpe as qE, H as queryClient, mz as r2, Oje as radarRows, LAe as radialArc, RAe as radialBarSize, IAe as radialCeiling, FAe as radialSlices, tM as randomId, Eje as rankDetail, Dje as rankShares, h3 as reachedShare, BF as readableErrorHeadline, qDe as recommendationScore, _xe as recordGenre, sSe as recordsText, mEe as recreatePlaylist, sEe as refreshPlaylists, Sl as relayoutCovers, Si as reloadFollowManage, bxe as reloadReview, EDe as rememberShape, Yxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, yje as removeTasteSource, _$ as removeWants, li as renameAliasGroup, dEe as renamePlaylist, WAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, $K as require_with_selector, RTe as resetWants, Yn as resolveFollowSort, Tp as resolveStartTime, cEe as resumeAssetId, nxe as reviewGroupingOptions, AY as reviewQueueData, kY as reviewQueueOf, SSe as reviewSummary, ixe as reviewWindow, lxe as rowEvidence, NY as rowFieldName, Zq as rowPaginationFeature, vJ as rowSelectionFeature, jJ as rowSortingFeature, MY as rowSubject, uxe as rowTags, cxe as rowTitle, dpe as s5, ui as saveCredential, mSe as scanLine, Lxe as schedulePollInterval, BTe as searchNote, oxe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, hV as settingsPath, yxe as settleReviewRows, Mbe as sharedNamePrefix, eH as shellNavigate, x8 as showToast, xn as siteMarkUrl, dq as skipFirstRun, cF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, _Se as sourceMeta, xs as spinnerHtml, cp as spring, Vz as spriteGlyph, ni as startCheck, wxe as startLinkCheck, Txe as startLinkPrune, Jxe as startOrganize, ri as startResolve, dSe as startResourceApply, uSe as startResourceScan, vje as startTasteRefresh, CF as statusLabel, Ube as statusLine, Nr as statusText, RA as storeJavLayout, hxe as submitDecision, qF as summaryItems, Nq as tableFeatures, fq as tableMemo, Kr as tableRows, OF as taskIssues, L3 as tasteDate, wje as tasteDimensions, Cje as tasteHours, F3 as tasteKey, pje as tasteRefetchInterval, mje as tasteTime, mF as textLang, ud as time, Dpe as tl, Xr as toggleGroup, R3 as topScores, Ape as uo, jH as useAction, OZ as useBackgroundJob, CU as useClientUpdates, Su as useConstant, eI as useHorizontalScroller, Cu as useIsomorphicLayoutEffect, uG as useLibraryTints, Ft as useMutation, cV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, Xy as useReducedMotion, Ixe as useRunSchedule, Pxe as useSaveFollowSchedule, rX as useSaveSettings, Rxe as useSaveThumbnailMode, MJ as useTable, YJ as useTablePreferences, dI as useViewGlide, zbe as victimBytes, zTe as wantName, NAe as watchNote, m3 as watchedShare, lc as wireHorizontalScroller, Xxe as withOrganizeJob };-//# debugId=7cb38b1b-13b0-4e6c-9112-edd4d7a802c1\ No newline at end of file+//# debugId=ed873e08-c65a-4a2c-99eb-e93a459bdf72\ No newline at end of file